As part of the open banking framework for Payment Initiation Service Providers (PISPs), Adyen provides endpoints to initiate payment transactions on behalf of account holders who have given their consent.
This page explains how you, as a third-party PISP, use the /payments
endpoint to:
Requirements
Requirement | Description |
---|---|
Integration type | Not applicable; this documentation is intended for third-party providers. |
Setup steps | Before you begin, you must:
|
Initiate a payment
To initiate a single payment on behalf of your account holder:
-
Make a POST
/payments/target-2-payments
request with the following parameters in the request body. The request header includes, for example, an IPv4 address like 19.68.26.143, or an IPv6 address like 2001:db8:1:1:1:1:1:1.Parameter Required Description instructedAmount
The currency and the amount of the payment. creditorAccount
The account number of the creditor—the person or entity who will receive the payment. debtorAccount
The account number of the debtor. creditorName
The name of the creditor. creditorAddress
The address of the creditor. Here is an example of a request to initiate a payment of EUR 0.50 to Railway Company.
-
The response contains the details of the initiated payment, including the
transactionStatus
and thepaymentId
. The response contains the following fields:Parameter Description transactionStatus
Current status of the payment. Possible values: - ACCP: Accepted customer profile.
- ACFC: Accepted funds checked.
- ACCC: Accepted settlement completed on the creditor's account.
- ACSC: Accepted settlement completed on the debtor's account.
- ACSP: Accepted settlement in process.
- ACTC: Accepted technical validation.
- ACWC: Accepted with change.
- ACWP: Accepted without posting.
- CANC: Payment initiation has been cancelled before execution.
- RCVD: Payment initiation has been received.
- RJCT: Payment initiation or individual transaction included in the payment initiation has been rejected.
- PDNG: Payment initiation or individual transaction included in the payment initiation is pending.
- PART: Partially accepted.
- PATC: Partially accepted technical.
paymentId
A list of characters that represents the ID of a specific payment.
Get payment status
To get the status of the payment:
-
Make a GET
/payments/target-2-payments/{paymentId}
request. Use this endpoint to check if the payment has been confirmed. ThepaymentId
is found in the response of the Initiate a payment step. Keep polling the endpoint for status updates (recommended every 5 seconds). -
The response contains the
transactionStatus
which describes the current state of the payment. The response may look like this:
Get authorization status
To get information about the payment authorization details and determine where your account holder is in the in authorization flow to initiate payments.
-
Make a GET
/payments/target-2-payments/{paymentId}/authorisations/{authorizationId}
request, wherepaymentId
represents a unique identifier for a payment transaction andauthorizationId
is a unique identifier for a specific payment authorization. -
The response contains the authorization status. See the
scaStatus
for all possible values.Parameter Description scaStatus
Status of authorization. Possible values: - scaMethodSelected: The account holder/third-party provider has selected the related SCA routine.
- started: The addressed SCA routine has been started.
- finalised: The SCA routine has been finalized successfully (including a potential confirmation command). This is a final status of the authorization resource.
- failed: The SCA routine failed. This is a final status of the authorization resource.