This is the documentation for the Ratepay Payment API v2. The API is still in development and subject to change. The documentation will evolve as the development of the API progresses.
Payment OpenAPI Specification (version 2)
https://api-integration.ratepay.com/transaction/management/
https://api.ratepay.com/transaction/management/
ID of transaction. Get an overview of key identifiers used in payment API.
ID of capture the shipping information should be added to. Get an overview of key identifiers used in payment API.
ID generated by client to uniquely identify the request. It is highly recommended to use a UUID version 4. Do not reuse an idempotency key for different calls. See Idempotency for further details.
According to RFC 7240: Provide return=representation if you prefer that the response to a request includes the current state of the resource.
Name of carrier responsible for shipment.
- Ratepay Integration Platform
https://api-integration.ratepay.com/transaction/management/v2/transactions/{ratepay_transaction_id}/captures/{ratepay_capture_id}/shipping-information
- Ratepay Production Platform
https://api.ratepay.com/transaction/management/v2/transactions/{ratepay_transaction_id}/captures/{ratepay_capture_id}/shipping-information
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api-integration.ratepay.com/transaction/management/v2/transactions/{ratepay_transaction_id}/captures/{ratepay_capture_id}/shipping-information' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: string' \
-H 'Prefer: return=representation' \
-H 'X-Partner: string' \
-d '{
"carrier_name": "DHL",
"tracking_number": "tracking-123456789"
}'Shipping information added
Links related to the resource following specification by IANA.
The self relation identifying the shipping information resource itself.
Timestamp with offset according to ISO 8601.
ID of added shipping information generated by Ratepay. Get an overview of key identifiers used in payment API.
{ "_links": { "self": { … } }, "created": "2019-08-24T14:15:22Z", "ratepay_shipping_information_id": "HR1iyZYradbGbvOQzZ79" }