API reference/Payment links
Find links by order reference
GET
https://api.cadmospay.com/machine/v1/gateway/ordersExact reference match within your wallet. Duplicates are returned oldest first. An unknown reference returns an empty page. Pass the same reference with next as cursor.
Jump to parametersAuthentication
Authorization: Bearer <accessToken>
The accessToken from POST /v1/external-auth/token, valid 15 minutes.
Parameters
externalReferencestring · queryRequiredYour own reference, such as an order number. Returned with every settlement. Trimmed.
length 1 to 120cursorstring · queryOptionalpattern ^[1-9]\d{0,9}$limitinteger · queryOptionalvalue 1 to 100
Responses
Find links by order reference
Response schema · OrderPage
itemsarray of objectRequireditems[].uuidstringRequiredpattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$items[].externalReferencestringRequireditems[].statusstringRequiredone of active, void, expireditems[].createdAtstringRequiredformat date-timenextstring or nullRequired
Next in api referenceList webhook signers