The Transaction Status API enables merchants to provide their customers and service agents with Ratepay's payment details at any customer contact point. This allows the merchant to remain the face to customers while gaining additional supplier services. The Transaction Status API is built around RESTful principles. It is HTTPS-based and uses JSON as the request and response format. It delivers standard HTTP response types.
Transaction Status OpenAPI specification (version 1)
http://api.ratepay.com/
For each request, a valid access token must be provided in the Authorization header. See Authentication API for obtaining a valid token.
- Production environment
http://api.ratepay.com/transaction/status/v2/transactions/{transaction-id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
http://api.ratepay.com/transaction/status/v2/transactions/12-3456789123456789 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json'Is returned if transaction status information is returned for the given transaction_id
The transaction id as specified in the URL
The transaction ID generated by the partner. This ID can be displayed in the settlement files.
Timestamp of the Payment Request for this transaction (ISO 8601, YYYY-MM-DDThh:mm:ss.ffffff+hh:mm).
The buyer id as transmitted by the shop to the Ratepay Payment API. Is null if the shop does not provide this information in the checkout process.
The currency of the current transaction, e.g. EUR (ISO 4217 alphabetic currency code, 3 chars). All currency fields in the response hold values of this currency.
One basket for each shop contained in the transaction. The definition of multiple shops is only relevant for marketplace integrations.
{ "ratepay_transaction_id": "12-3456789123456789", "partner_transaction_id": "test-shop-transaction-id", "created": "2020-03-10T18:06:52.438+01:00", "shop_buyer_id": "test-shop-buyer-id", "currency": "EUR", "shop_baskets": [ { … } ], "payment_information": { "maximum_processing_offset_in_hours": 0, "payment_method": { … }, "payment_status": { … }, "dunning_status": [ … ] } }