Get Order

Use this method to get order information

Get URL

GET https://v2-order-api.citypay.io/orders/api/:token

This endpoint allows retrieving order information.

Headers

 “success”: true,
  “data”: {
    “companyName”: string,
    “id”: number,
    “customerId”: number,
    “token”: string,
    “coin”: null,
    “coinBaseName”: null,
    “exchangeRate”: null,
    “amountFiat”: string,
    “amount”: null,
    “dueDate”: null,
    “currency”: {
      “id”: number,
      “currency”: string,
      “abbreviation”: string
    },
    “createdAt”: date,
    “createdAtMiliseconds”: number,
    “type”: string,
    “expiresAt”: number,
    “expirationTime”: number,
    “email”: string,
    “qrCode”: string,
    “status”: {
      “code”: string,
      “label”: string
    },
    “coins”: [
      {
        “id”: number,
        “name”: string,
        “code”: string,
        “basename”: string
      }
    ],
    “urls”: {
      “callbackUrl”: string,
      “successUrl”: string,
      “cancelUrl”: string
    }
  },
  “message”: null
}

Last updated