This document explains the flow of events related to Domestic Payments - Payment Initiation API v3.1.1.
Multiexcerpt | ||
---|---|---|
| ||
You need to deploy the Payment Initiation API in According to OBIE, the v3.1 and v3.1.1 APIs have the same context values. Therefore, if you have already deployed v3.1 APIs, the v3.1.1 APIs cannot be deployed as new versions of existing APIs. You have to update the swagger file content. If yo |
Table of Contents | ||||
---|---|---|---|---|
|
Multiexcerpt | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Step 1 - Sign up as a TPPA Third-Party Provider(TPP), is an authorized third-party that allows merchants to accept a wide variety of payments through a single channel/third-party application, and manage the entire payment flow from start to finish. For more information on the role, see The TPP needs to register its Payment Initiation Service Provider (PISP) application in WSO2 API store in order to access the data.
Step 2 - Approve the TPPNow that you have signed up as a TPP, an admin who overlooks all TPP sign-up forms must approve it. It is not mandatory to include the approval step for approving the TPP. In order to add this step, you need to configure workflows in the WSO2 Open Banking solution.
Now the TPP can sign in to the API store. Step 3 - Sign in to the API store as the TPPUsers can sign in to the API store and proceed with the steps mentioned below.
The homepage of the API store is now displayed along with the APIs. Step 4 - Create an applicationThe TPP with a P
An application can be used to subscribe to multiple APIs. See for the instructions. Step 5 - Subscribe to APIThe TPP user needs to subscribe to the
Now that you have subscribed to the API, generate access tokens and invoke the API. Step 6 - Create certificatesThe TPP user needs to create certificates to validate whether the TPP is registered in a gove
Step 7 - Generate keys The TPP user requires a Client ID(Consumer Key) and a Client Secret(Consumer Secret) to access the subscribed APIs.
Step 8 - Approve Production Key generation This step includes instructions to an Approver user to review and approve a request to generate production keys for an appli It is not mandatory to include the approval step for the Production Key generation. In order to add this step, you need to configure workflows in the WSO2 Open Banking solution.
Step 9 - Generate application access tokenWhen invoking APIs in the payment flow, application access tokens must be generated using the client credential grant type. The generated application access token is used to invoke the PaymentInitiationAPI - v3.1 API. You can skip the above steps and use
|
Step 10 - Initiate domestic payment consent
In this step, the TPP creates a request to get the consent of the PSU to access the payment account and create a new payment-order. This informs the bank(ASPSP) that one of its PSUs intends to make a payment-order.
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
POST /domestic-payment-consentsThis endpoint allows the PISP to ask an ASPSP to create a new domestic-payment-consent resource. The ASPSP creates the domestic-payment-consent resource and responds with a unique
GET /domestic-payment-consents/{ConsentId}A PISP is able to retrieve a payment consent resource that they have created to check its status. The PISP must have an access token issued by the ASPSP using a client credentials grant.
|
Multiexcerpt | ||
---|---|---|
| ||
Step 11 - Authorizing payment consentsThe PISP redirects the bank customer to authenticate and approve/deny application-provided consents.
Step 12 - Generate user access tokenIn this section, you will be generating an access token using the authorization code generated in the section above . Run the following cURL command in a command prompt to generate the access token as a TPP user: The response contains an access token and a refresh token. The access tokens have an expiration period, once an access token expires, you need to regenerate it. Run the following cURL command to generate a new access token as a PISP: |
Step 13 - Invoke payment submission API
Once the domestic-payment-consent has been authorised by the PSU, the PISP can proceed to submitting the domestic-payment for processing. This request is an instruction to the ASPSP to begin the process of domestic payment and creates a domestic-payments resource.
Expand | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
POST /domestic-paymentsThe PISP must ensure that the The response contains
|
The following API functionalities are also available in the Domestic Payments v3.1.1 API.
Expand | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
GET /domestic-payment-consents/{ConsentId}/funds-confirmationThe API endpoint allows the PISP to ask an ASPSP to confirm funds on a domestic-payment-consent resource. An ASPSP can only respond to a funds confirmation request if the domestic-payment-consent resource has an Authorised status. The confirmation of funds requests do not affect the status of the domestic-payment-consent resource.
|
Expand | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
GET /domestic-payments/{DomesticPaymentId}The PISP retrieves the domestic-payment resource to check its status.
|