# Get Order

## Get URL

<mark style="color:blue;">`GET`</mark> `https://v2-order-api.citypay.io/orders/api/:token`

This endpoint allows retrieving order information.

#### Headers

| Name          | Type   | Description                    |
| ------------- | ------ | ------------------------------ |
| bearer\_token | string | Use log in to get bearer token |

{% tabs %}
{% tab title="200 " %}

```
 “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
}
```

{% endtab %}
{% endtabs %}
