List Invoices
Retrieve a list of all invoices.
Request Parameters
| Name | Type | Description |
|---|---|---|
public_keyRequired | String | Merchant identifier. Example: `i000000001` |
typeOptional | String | Invoice type filter: `incoming`, `sent`, `static`. |
orderOptional | String | Sort order: ascending or descending. |
Request Example
Send Request
Payload
{ "public_key": "i000000001"}1DATA=$(echo -n '{"public_key":"i000000001"}' | base64)2SIGNATURE=$(echo -n "$PRIVATE_KEY$DATA$PRIVATE_KEY" | openssl dgst -sha1 -binary | base64)3
4curl -X POST *** \5-H "Content-Type: application/x-www-form-urlencoded" \6-d "data=$DATA&signature=$SIGNATURE"Response Parameters
| Name | Type | Description |
|---|---|---|
statusRequired | String | Operation result: `success` or `error` |
invoicesOptional | Array | List of invoice objects. Present on success. |
messageOptional | String | Error description. Present on failure. |
trace_idRequired | String | Unique request identifier for debugging. Provide this to Epoint support for issue investigation. |
Success
Success Response
1{2 "status": "success",3 "invoices": [4 {5 "id": 12345,6 "sum": 100,7 "name": "John Doe"8 }9 ],10 "trace_id": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6"11}