Orqpay
Partner Invoices

Get invoice

Full invoice detail. Returns 404 if the invoice's merchant is not under this partner.

GET
/v1/partner/invoices/{id}

Full invoice detail. Returns 404 if the invoice's merchant is not under this partner.

Authorization

bearerAuth
AuthorizationBearer <token>

Partner API key (pt_test_... or pt_live_...)

In: header

Path Parameters

id*string
Formatuuid

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/partner/invoices/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "merchantId": "c3073b9d-edd0-49f2-a28d-b7ded8ff9a8b",  "environment": "test",  "status": "CREATED",  "token": "string",  "amount": "string",  "amountReceived": "string",  "referenceId": "string",  "metadata": {},  "successUrl": "string",  "cancelUrl": "string",  "checkoutUrl": "http://example.com",  "expiresAt": "2019-08-24T14:15:22Z",  "underpaidTopUpExpiresAt": "2019-08-24T14:15:22Z",  "addresses": [    {      "chainId": "9e7fb22a-9e5b-420e-8fd7-e3454fcfd5fd",      "chainName": "string",      "family": "evm",      "networkId": 0,      "depositAddress": "string",      "tokens": [        {          "symbol": "string",          "contractAddress": "string",          "decimals": 0        }      ]    }  ],  "payments": [    {}  ],  "statusEvents": [    {}  ],  "settlements": [    {}  ],  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}
{  "error": {    "code": "string",    "message": "string"  }}