Download OpenAPI specification:Download
Pay Later allows shoppers to postpone the due date of an open invoice transaction between 14 and 150 days. Shoppers may use Pay Later to prevent getting dunned. It gives them the ability to plan their payments more individually. Charges apply when using this feature.
The Pay Later API enables sellers to integrate this functionality into their frontends. The Pay Later API offers endpoints to check the Pay Later status of a purchase order and to book a Pay Later option. By using the Pay Later API shops can offer their customers greater payment flexibility when paying by open invoice while keeping them inside their own frontends.
Booked Pay Later options can be withdraw within 14 days. Therefore the shopper can use one of the channels referenced in Ratepay Pay Later Terms of Use.
Get Pay Later status for one order
Content-Type required | string Example: application/json |
Authorization required | string For each request, a valid access token must be provided in the Authorization header. See Authentication API for obtaining a valid token. |
Returns Pay Later status for the given transaction_id.
Is returned if the transaction_id is unknown.
Is returned if this endpoint is called with a request method other than GET.
Is returned if the request accept header does not specify JSON as an accepted content type for the response.
Is returned if the request does not contain content type headers or if the request content type is anything other than JSON.
Is returned in case of a technical server error at Ratepay. Try again later.
{- "transaction_id": "12-34567890123456789",
- "pay_later_status": "ALREADY_WITHDRAWN",
- "booking": {
- "fee": 1.95,
- "currency": "EUR",
- "delta_due_date": 14,
- "original_due_date": "2020-02-01",
- "updated_due_date": "2020-02-15",
- "booking_timestamp": "2020-02-05T16:42:59.974067+01:00",
- "withdrawal_date": "2020-02-06"
}
}