Merchant API
Number of APIs: 42
Introduction
As a Revolut Business customer, you can use the Merchant API to accept online payments (Card Not Present) by debit or credit cards, and also to manage the orders and customers.
This Qodex collection lets you try Revolut's Merchant API.
To see the full documentation of the Merchant API, visit: Revolut Docs - Merchant API.
Authorization
Each Merchant API request must contain an authorization header in the following format to make a call:
"Authorization: Bearer <yourSecretApiKey>"
Use the predefined environment variables (secret_api_key
) in Qodex to authorize your API calls. Make sure to use your Sandbox and Production Secret API keys with the corresponding environments!
Select the environment you want to use in the top-right corner.
To learn more about authorization, see: Merchant API - Authorization.
API versions
We highly recommend using versioning in your API calls. If you don't provide a version header on the operations where it's required, you will receive an error response.
The Merchant API uses request header versioning. Where it is required you need to use the Revolut-Api-Version
header parameter to specify an API version. Each request, where it is indicated in the API specification, must contain a version header in the following format:
'Revolut-Api-Version: 2023-09-01'
For more information, see: API versions
-
Customers - Delete a customer's payment method DELETE {{base_url}}/api/1.0/customers/:customer_id/payment-methods/:payment_method_id
-
Orders - Retrieve an order list GET {{base_url}}/api/1.0/orders?limit=100&from_created_date=1991-03-12T03:51:25.311Z
-
Orders - Retrieve an order GET {{base_url}}/api/orders/:order_id
-
Orders - Update an order PATCH {{base_url}}/api/orders/:order_id
-
Orders - Capture an order POST {{base_url}}/api/orders/:order_id/capture
-
Orders - Cancel an order POST {{base_url}}/api/orders/:order_id/cancel
-
Orders - Refund an order POST {{base_url}}/api/1.0/orders/:order_id/refund
-
Orders - Pay for an order POST {{base_url}}/api/orders/:order_id/payments
-
Customers - Create a customer POST {{base_url}}/api/1.0/customers
-
Customers - Retrieve a customer list GET {{base_url}}/api/1.0/customers