Delayed Routing API
Create a delayed route
Changed onCreate a route for a specific payment. The routed amount is credited to the account of your customer.
post/v2/payments/{paymentId}/routes
Request
- Base URLhttps://api.mollie.com
- URLhttps://api.mollie.com/v2/payments/{paymentId}/routes
- Auth
- HTTP bearer
- or HTTP bearer
- or OAuth 2Authorization code: https://my.mollie.com/oauth2/authorizeToken URL: https://api.mollie.com/oauth2/tokens scopes: payments.write
Headers
idempotency-keystring
Example:123e4567-e89b-12d3-a456-426
A unique key to ensure idempotent requests. This key should be a UUID v4 string.
Request body
Example request
{
"amount": {
"currency": "EUR",
"value": "10.00"
},
"destination": {
"type": "organization",
"organizationId": "org_1234567"
},
"description": "Payment for Order #12345"
}Response
The route object.
Example response
{
"resource": "route",
"id": "crt_dyARQ3JzCgtPDhU2Pbq3J",
"paymentId": "tr_5B8cwPMGnU",
"amount": {
"currency": "EUR",
"value": "10.00"
},
"description": "Payment for Order #12345",
"destination": {
"type": "organization",
"organizationId": "org_1234567"
},
"createdAt": "2024-03-20T09:13:37+00:00",
"_links": {
"self": {
"href": "https://...",
"type": "application/hal+json"
},
"documentation": {
"href": "https://...",
"type": "application/hal+json"
},
"payment": {
"href": "https://...",
"type": "application/hal+json"
}
}
}Changes
- info
added the non-success response with the status
- info
- info
the endpoint scheme security
advancedAccessTokenwas added to the API - info
the endpoint scheme security
organizationAccessTokenwas removed from the API
- info