Create an A2A refund
Please note that a new feature called Payment account has been introduced to simplify the refund process.
Here's how you can initiate a refund for a transaction that was previously initiated without a Payment account.
Step 1: Get the Payer's IBAN
Call the following endpoint to obtain the IBAN of the payer:
{
"id": "e959dccd632c49d7922a766e946ad9e9",
"status": "ACSC",
"user": {
"name": "Firstname Lastname",
"external_reference": "AEF142536-890",
"ip_address": "0.0.0.0"
},
"sender": {
"name": "John doe",
"iban": "FR183490204820028402" // <------ Get this value
},
"transactions": [
{
"amount": 99.5,
"currency": "EUR",
"label": "Payment label",
"id": "79e61d0c29b1491196bc0c39f27b5bb8",
"status": "ACSC",
"beneficiary": {
"first_name": "Test",
"last_name": "Name",
"iban": "FR2310096000301695931368H67"
},
"client_reference": "12345678-AZERTY"
}
],
Create a payment-request (Amount of refund, label of refund, IBAN of payer retrieved in the previous step, Bank id of the merchant account).
Step 2: Create a Payment Request
Create a payment-request with the following details:
- Amount of refund
- Label of refund
- IBAN of the payer (retrieved in the previous step)
- Bank ID of the merchant account
Step 3: Redirect to the consent_url
Read the value of the consent_url attribute generated in step 2 and redirect the merchant accordingly.
Contact your Account manager
To access the non-obfuscated IBAN of the payer, please reach out to your Account Manager. If eligible, your Account Manager will grant this capability to your app.
Updated 9 months ago