Recurring
iDEAL does not support native recurring payments. Instead, SEPA Direct Debit is used for all subsequent recurring charges . You can offer iDEAL recurring payments easily with our Payment Agreements API.
When you offer iDEAL in the checkout for a recurring product, you should get explicit approval (mandate) from the consumer to have their account charged on a recurring basis via direct debit. SEPA Direct Debits have a chargeback risk, which can be reduced by being as transparent with the consumer as possible.
Create the Payment Agreement
To create an Amazon Pay payment agreement, provide the following information when calling our /v1/payment-agreements API:
Data Field | Required | Description |
---|---|---|
paymentMethod | M | IDEAL |
consumer.name | M | Full name of the consumer. |
consumer.country | M | The country from which the consumer is shopping. |
instrument: BANK_ACCOUNT details.debitMandateId | M | When a consumer chooses iDEAL for recurring payments and agrees to a direct debit mandate, generate a mandate ID and store it. Provide this ID when creating the payment agreement with PPRO. |
authenticationSettings: REDIRECT settings.returnUrl | M | Add the url where the consumer should be redirected to after they complete the payment. Required for the REDIRECT payment flow. |
instrument: BANK_ACCOUNT details.bankCode | O | Providing the bankCode will bypass the bank selection. Optional and must meet the conditions listed above. |
You can also include the initialPaymentCharge
object in this agreement creation call to immediately initiate the first payment without making a separate call. If you include this object, you'll need to specify:
- The exact
amount.value
andamount.currency
of the first payment
If you don't include an initialPaymentCharge
when creating the agreement, a €0.01 verification payment will be made and immediately refunded to validate the bank account. You'll need to make a separate API call to /v1/payment-agreements/{agreement_id}/payment-charges to create the first charge.
Request
POST /v1/payment-agreements
{
"paymentMethod": "IDEAL",
"consumer": {
"name": "John Smith",
"country": "NL"
},
"instrument": {
"type": "BANK_ACCOUNT",
"details": {
"debitMandateId": "YOURGENERATEDMANDATEID"
}
},
"authenticationSettings": [
{
"type": "REDIRECT",
"settings": {
"returnUrl": "https://www.webshop.com/order-results-page"
}
}
]
}
{
"paymentMethod": "IDEAL",
"consumer": {
"name": "John Smith",
"country": "NL"
},
"instrument": {
"type": "BANK_ACCOUNT",
"details": {
"debitMandateId": "YOURGENERATEDMANDATEID"
}
},
"authenticationSettings": [
{
"type": "REDIRECT",
"settings": {
"returnUrl": "https://www.webshop.com/order-results-page"
}
}
],
"initialPaymentCharge": {
"amount": {
"value": 1000,
"currency": "EUR"
}
}
}
Response
You'll receive our standard payment agreement response (see responses in the API Reference)
Although no initial payment charge is submitted in the request, a €0.01 verification payment is authorized and immediately refunded to verify the agreement.
{
"id": "agr_z3RcfOXROR7nmy3WlJI94",
"status": "AUTHENTICATION_PENDING",
"paymentMethod": "IDEAL",
"startDate": "2025-04-15T17:11:59.354Z",
"instrumentId": "instr_eU80TTzNzRPj7XfHwO3Q3",
"consumer": {
"name": "John Smith",
"country": "NL"
},
"authenticationMethods": [
{
"details": {
"requestUrl": "https://redirection-target.ppro.com",
"requestMethod": "GET"
},
"type": "REDIRECT"
}
],
"history": [
{
"id": "ahist_lqBDnAWmqpluqCDo3MJi8",
"status": "AUTHENTICATION_PENDING",
"createdAt": "2025-04-15T17:12:00.019Z"
}
],
"initialPaymentChargeId": "charge_AoLMTgQe2AmGDq3ePPnav",
"createdAt": "2025-04-15T17:12:00.019Z",
"updatedAt": "2025-04-15T17:12:00.019Z"
}
{
"id": "agr_rTOfYUHHaxfuEYQrCDc0L",
"status": "AUTHENTICATION_PENDING",
"paymentMethod": "IDEAL",
"startDate": "2025-04-14T12:25:04.274Z",
"instrumentId": "instr_UJ5dpTkpNZxL7kPgRSM7v",
"consumer": {
"name": "John Smith",
"country": "NL"
},
"authenticationMethods": [
{
"details": {
"requestUrl": "https://redirection-target.ppro.com",
"requestMethod": "GET"
},
"type": "REDIRECT"
}
],
"history": [
{
"id": "ahist_pz7KWLQ993LgjaK5GzYNI",
"status": "AUTHENTICATION_PENDING",
"createdAt": "2025-04-14T12:25:04.712Z"
}
],
"initialPaymentChargeId": "charge_58Uoysih1v5uPAJhEoWpc",
"createdAt": "2025-04-14T12:25:04.712Z",
"updatedAt": "2025-04-14T12:25:04.712Z"
}
Pick the desired authentication method
REDIRECT
- Redirect your consumer to the returned
$.authenticationMethods[?(@.type == "REDIRECT")].details.requestUrl
.
For example, with the value ofhttps://redirection-target.ppro.com/
using the returned$.authenticationMethods[?(@.type == "REDIRECT")].details.requestMethod
HTTP method. - The consumer will finalize the agreement and/or the payment process on the redirected page.
Handling the result
REDIRECT
- Once the consumer has confirmed the agreement and/or payment, they are redirected to the
returnUrl
provided in the initial payment agreement creation request. - After the consumer is redirected back to your site, check the agreement and/or payment status and use the
Status
that you received to display the outcome to the consumer.
GET /v1/payment-agreements/{agreement-id}
GET /v1/payment-charges/{paymentChargeId} - Webhooks are also sent to inform you of the agreement and/or payment outcome. If the shopper closes the browser and doesn't return to your website, you can rely on webhooks to receive the result.
- Store the Payment Agreement ID for subsequent payments.
Create a recurring payment
To initiate a subsequent recurring payment, send a request against an active agreement /v1/payment-agreements/{agreement-id}/payment-charges
Request
POST /v1/payment-agreements/{agreement-id}/payment-charges
{
"amount": {
"value": 1100,
"currency": "EUR"
}
}
Response
{
"id": "charge_fmUbxp5wZi1zZj4mUDn4S",
"paymentMethod": "IDEAL",
"currency": "EUR",
"country": "NL",
"instrumentId": "instr_UJ5dpTkpNZxL7kPgRSM7v",
"status": "AUTHORIZATION_ASYNC",
"consumer": {
"name": "John Smith",
"country": "NL"
},
"authorizations": [
{
"id": "authz_5WhS0eutxeiOHHLbAP7ad",
"amount": 1100,
"status": "PROVIDER_CONFIRMATION_PENDING",
"createdAt": "2025-04-14T12:30:56.522Z",
"updatedAt": "2025-04-14T12:30:56.522Z"
}
],
"captures": [],
"refunds": [],
"voids": [],
"createdAt": "2025-04-14T12:30:55.957Z",
"updatedAt": "2025-04-14T12:30:56.522Z"
}
Updated about 11 hours ago