The Order 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 Order 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.
The general flow to use the Order Status API is as follows:
Get a token to access the Order Status API (token can be used for any number of orders as long as it is valid)
Call the Order Status API
Each API call to the Order Status API must contain the authentication token in the header and must use and accept JSON as content type.
Get current payment status incl. open amount, claims, fees and settlements
Get payment method information for invoice documents, instalment plans and prepayment
Get current dunning status incl. dunning information
Get current basket information incl. shipping status