Skip to main content

Payment Initiation API

info

Some content in this documentation is subject to the MIT Open Licence. For further information, see Copyright and Licence.

Introduction​

This page explains the flow of the Payment Initiation API by OBIE. The API endpoints described here allow a PISP to:

  • Register a payment-order consent.
  • Optionally confirm available funds for a payment-order (domestic and international immediate payments only).
  • Subsequently, submit the payment-order for processing.
  • Optionally retrieve the status of a payment-order consent or payment-order resource.

Basic flow​

The diagram below shows the basic payment flow (using the Payment APIs) for all payment-order types:

uk payment flow

PSU requests the PISP to process a transaction. The consent is between the PSU and the PISP. The PISP connects to the ASPSP that services the PSU's payment account and requests the ASPSP to initiate the transaction, a payment-order consent is created. The PISP requests the PSU to authorise the consent. The ASPSP may carry this out by using a redirection flow.

In a redirection flow, the PISP redirects the PSU to the ASPSP.

  1. The redirect includes the ConsentId generated in the previous step.
  2. This allows the ASPSP to correlate the payment order consent that was setup.
  3. The ASPSP authenticates the PSU.
  4. The PSU selects the debtor account at this stage (if it has not been previously specified).
  5. The ASPSP updates the state of the payment order consent resource internally to indicate that the consent has been authorised.
  6. Once the consent has been authorised, the PSU is redirected back to the PISP.

Then the PSU approves the consent. The PISP may optionally invoke the following APIs during the flow:

  • Confirm available funds for a payment-order - Using an access token of the Client Credentials grant type.
  • Retrieve the status of a payment-order consent or payment-order resource - Using an access token of the Authorization Code grant type.
note

The payment-order consent and payment-order resource is generalised for the different payment-order types. For example, for a domestic payment, the payment-order consent resource is domestic-payment-consents, and the payment-order resource is domestic-payments.

For more information, see Payment Initiation API Flow.

Endpoints​

Once you deploy the Payment Initiation API, you can access payment information via the following API endpoints:

Endpoint NameSupported VersionResourceEndpoint URLMandatory/Optional
Domestic Paymentsv3.1.5
v3.1.6
v3.1.8
v3.1.9
v3.1.10
v3.1.11
domestic-payment-consentsPOST /domestic-payment-consentsMandatory
GET /domestic-payment-consents/{ConsentId}Mandatory
GET /domestic-payment-consents/{ConsentId}/funds-confirmationMandatory
domestic-paymentsPOST /domestic-paymentsMandatory
GET /domestic-payments/{DomesticPaymentId}Mandatory
Domestic Scheduled Paymentv3.1.5
v3.1.6
v3.1.8
v3.1.9
v3.1.10
v3.1.11
domestic-scheduled-payment-consentsPOST /domestic-scheduled-payment-consentsConditional
GET /domestic-scheduled-payment-consents/{ConsentId}Mandatory (if resource POST implemented)
domestic-scheduled-paymentsPOST /domestic-scheduled-paymentsConditional
GET /domestic-scheduled-payments/{DomesticScheduledPaymentId}Mandatory (if resource POST implemented)
Domestic Standing Ordersv3.1.5
v3.1.6
v3.1.8
v3.1.9
v3.1.10
v3.1.11
domestic-standing-order-consentsPOST /domestic-standing-order-consentsConditional
GET /domestic-standing-order-consents/{ConsentId}Mandatory (if resource POST implemented)
domestic-standing-ordersPOST /domestic-standing-ordersConditional
GET /domestic-standing-orders/{DomesticStandingOrderId}Mandatory (if resource POST implemented)
International Paymentsv3.1.5
v3.1.6
v3.1.8
v3.1.9
v3.1.10
v3.1.11
international-payment-consentsPOST /international-payment-consentsConditional
GET /international-payment-consents/{ConsentId}Mandatory (if resource POST implemented)
GET /international-payment-consents/{ConsentId}/funds-confirmationMandatory (if resource POST implemented)
international-paymentsPOST /international-paymentsConditional
GET /international-payments/{InternationalPaymentId}Mandatory (if resource POST implemented)
International Scheduled Paymentsv3.1.5
v3.1.6
v3.1.8
v3.1.9
v3.1.10
v3.1.11
international-scheduled-payment-consentsPOST /international-scheduled-payment-consentsConditional
GET /international-scheduled-payment-consents/{ConsentId}Mandatory (if resource POST implemented)
GET /international-scheduled-payment-consents/{ConsentId}/funds-confirmationMandatory (if immediate debit supported)
international-scheduled-paymentsPOST /international-scheduled-paymentsConditional
GET /international-scheduled-payments/{InternationalScheduledPaymentId}Mandatory (if resource POST implemented)
International Standing Ordersv3.1.5
v3.1.6
v3.1.8
v3.1.9
v3.1.10
v3.1.11
international-standing-order-consentsPOST /international-standing-order-consentsConditional
GET /international-standing-order-consents/{ConsentId}Mandatory (if resource POST implemented)
international-standing-ordersPOST /international-standing-ordersConditional
GET /international-standing-orders/{InternationalStandingOrderPaymentId}Mandatory (if resource POST implemented)
File Paymentsv3.1.5
v3.1.6
v3.1.8
v3.1.9
v3.1.10
v3.1.11
file-payment-consentsPOST /file-payment-consentsConditional
GET /file-payment-consents/{ConsentId}Conditional
POST /file-payment-consents/{ConsentId}/fileMandatory (if resource POST implemented)
GET /file-payment-consents/{ConsentId}/fileConditional
file-paymentsPOST /file-paymentsConditional
GET /file-payments/{FilePaymentId}Mandatory (if resource POST implemented)
GET /file-payments/{FilePaymentId}/report-fileConditional

Was this page helpful?