Interface PisScaAuthorisationService

    • Method Detail

      • createCommonPaymentAuthorisation

        Optional<Xs2aCreatePisAuthorisationResponse> createCommonPaymentAuthorisation​(String paymentId,
                                                                                      de.adorsys.psd2.xs2a.core.profile.PaymentType paymentType,
                                                                                      de.adorsys.psd2.xs2a.core.psu.PsuIdData psuData)
        Creates authorisation for a payment
        Parameters:
        paymentId - ASPSP identifier of a payment
        paymentType - Type of payment
        psuData - PsuIdData container of authorisation data about PSU
        Returns:
        create payment authorisation response
      • createCommonPaymentCancellationAuthorisation

        Optional<Xs2aCreatePisCancellationAuthorisationResponse> createCommonPaymentCancellationAuthorisation​(String paymentId,
                                                                                                              de.adorsys.psd2.xs2a.core.profile.PaymentType paymentType,
                                                                                                              de.adorsys.psd2.xs2a.core.psu.PsuIdData psuData)
        Creates authorisation cancellation for the payment
        Parameters:
        paymentId - ASPSP identifier of a payment
        paymentType - Type of payment
        psuData - PsuIdData container of authorisation data about PSU
        Returns:
        create payment cancellation authorisation response
      • getCancellationAuthorisationSubResources

        Optional<Xs2aPaymentCancellationAuthorisationSubResource> getCancellationAuthorisationSubResources​(String paymentId)
        Gets authorisation cancellation sub resources
        Parameters:
        paymentId - ASPSP identifier of a payment
        Returns:
        authorisation cancellation sub resources
      • getAuthorisationSubResources

        Optional<Xs2aAuthorisationSubResources> getAuthorisationSubResources​(String paymentId)
        Gets authorisation sub resources
        Parameters:
        paymentId - ASPSP identifier of a payment
        Returns:
        authorisation sub resources
      • getAuthorisationScaStatus

        Optional<de.adorsys.psd2.xs2a.core.sca.ScaStatus> getAuthorisationScaStatus​(String paymentId,
                                                                                    String authorisationId)
        Gets SCA status of authorisation
        Parameters:
        paymentId - ASPSP identifier of the payment, associated with the authorisation
        authorisationId - authorisation identifier
        Returns:
        SCA status
      • getCancellationAuthorisationScaStatus

        Optional<de.adorsys.psd2.xs2a.core.sca.ScaStatus> getCancellationAuthorisationScaStatus​(String paymentId,
                                                                                                String authorisationId)
        Gets SCA status of cancellation authorisation
        Parameters:
        paymentId - ASPSP identifier of the payment, associated with the authorisation
        authorisationId - authorisation identifier
        Returns:
        SCA status