Order API
Create order API
Create an eSIM purchase order from SimplifyTrip.
Request Headers
X-Signature - requiredstringA signature is a string used to verify data integrity between your system and SimplifyTrip. Use checksumKey from API Key and HMAC_SHA256 to generate signature on alphabetically sorted data format. See Verify data with signature.
Request Body
trackId - required | ID generated by your system to identify the order. For example, when receiving webhook data, | ||||||
items - required | | ||||||
| |||||||
Responses
application/jsonsuccess | | ||||||||||
orderId | ID generated by SimplifyTrip, used to query order information on SimplifyTrip | ||||||||||
trackId | ID provided by your system | ||||||||||
items | | ||||||||||
| |||||||||||
application/jsontimestamp | |
statusCode | |
errorCode | |
message | |
Cancel order API
Cancel an order by the provided ID.
Request Headers
X-Signature - requiredstringA signature is a string used to verify data integrity between your system and SimplifyTrip. Use checksumKey from API Key and HMAC_SHA256 to generate signature on alphabetically sorted data format. See Verify data with signature.
Request Body
orderId - required |
|
reason |
|
Responses
application/jsonid | | ||||||||||||
trackId | | ||||||||||||
createdAt | | ||||||||||||
updatedAt | | ||||||||||||
status | | ||||||||||||
reason | | ||||||||||||
items | | ||||||||||||
| |||||||||||||
application/jsontimestamp | |
statusCode | |
errorCode | |
message | |
Get order details API
Returns detailed information of an order by the provided ID.
Path Parameters
id - required | Order ID or |
Responses
application/jsonid | Order ID generated by SimplifyTrip | ||||||||||||||||
trackId | System-generated ID | ||||||||||||||||
createdAt | | ||||||||||||||||
updatedAt | | ||||||||||||||||
status | Order status | ||||||||||||||||
error | Order failure reason, present when | ||||||||||||||||
total | Total order value | ||||||||||||||||
items | | ||||||||||||||||
| |||||||||||||||||
application/jsontimestamp | |
statusCode | |
errorCode | |
message | |