Order status and delivered goods

The access_token returned by createOrder authorises this read. Poll until status is completed (code / esim / phone populated) or failed.

get/api/public/order/{id}

Request

  • Base URL: https://blinkcodes.com
  • URL: https://blinkcodes.com/api/public/order/{id}
  • Auth: none required

Path parameters

idstring required

Query parameters

tokenstring required

Response

Order status

idstring
emailstring email
createdstring date-time
product_type'giftcard' | 'topup' | 'esim' | 'phone_rental' | 'phone_rental_renew'

Same vocabulary createOrder accepts

product_dataobject

Snapshot of what was ordered, taken at create time

status'pending' | 'awaiting_payment' | 'paid' | 'fulfilling' | 'completed' | 'failed'
pricenumber

Order total, in currency

currencystring
price_rubnumber

Legacy alias of price

deliveryobject

Gift card code(s) once completed

esimobject

ICCID + QR payload for eSIM orders

phoneobject

Rented number for phone_rental orders

Example response

{
  "currency": "USD"
}

Changes

No recorded changes to this operation across all 1 revision of this API.