Developers

Read an Order

GET
/billing/orders/{orderNo}

One of the caller’s Orders.

Authorization

headerAuthorizationBearer <token>

An API Key the User creates in account settings, sent as Authorization: Bearer <key>. It holds the Scopes chosen at creation.

Path Parameters

orderNo*string
Length1 <= length

Response Body

Success.

application/json
  1. response
orderNo*string
status*string
Value in"canceled""checkout_created""checkout_failed""completed""created""expired""replaced"
purchaseKind*string
Value in"plan""credit_pack"
offerId*string|null
packCredits*|null
amount*integer
Range-9007199254740991 <= value <= 9007199254740991
currency*string
providerCode*string
createdAt*string
Formatdate-time
completedAt*|null
Example request
curl -X GET 'https://ximagesplitter.com/api/v1/billing/orders/string'
Example response
{
  "orderNo": "string",
  "status": "canceled",
  "purchaseKind": "plan",
  "offerId": "string",
  "packCredits": -9007199254740991,
  "amount": -9007199254740991,
  "currency": "string",
  "providerCode": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "completedAt": "2019-08-24T14:15:22Z"
}