🚧 This project is currently in active development. A sandbox environment will be made available soon for testing and exploration. Stay tuned!
curl --location 'https://stage-payments.datmanlabs.com/v1/transactions/by-order-id' \
--header 'api_key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"query": "ORD-123456",
"searchBy": "orderId",
"limit": 25
}'{
"data": {
"transactions": [
{
"id": "p_98123",
"source": "payments",
"transactionTime": "2026-07-08T10:30:00.000Z",
"status": "SUCCESS",
"orderRef": "ORD-123456",
"merchantId": 70138,
"merchantName": "Example Merchant",
"resellerOrderId": "RS-556677",
"pspReference": "PSP-99887766",
"customerType": "external",
"net": 45.5,
"deductions": 2.5,
"datman_fee": 1.2,
"amountRefunded": null
}
],
"timezone": "Europe/London"
},
"pagination": {
"hasMore": false,
"nextCursor": null
}
}