Endpoint, TRANSFER mode
Find your transfers POST
Finds one transfer by ref_id, or lists your transfers in both directions made in the half-open range [from, to), newest first and then by txn_id, optionally for one external_player_id or one currency. Both answer one page of records. A ref_id you never made a transfer with, or one a refused request left behind, is refused with 3133, and ref_id takes none of from, to, external_player_id and currency (4001). The range follows bet-records: without from and to it is the last 30 days, and one that starts more than 90 days ago is refused (4005). A suspended agent can still call it.
HTTP Request
POST {{ API_URL }}/api/v1/transfer/transactions| Property | Type | Required | Description |
|---|
X-Api-Key | string | Required | On the endpoints: the API key of your API credential. A missing header or a key we do not know is answered 401 with code 1001. Send it with X-Timestamp and X-Signature on every request. |
X-Timestamp | string | Required | On the endpoints: Unix time in seconds when you signed the request. One more than 300 seconds away from our clock, in either direction, is answered 401 with code 1025. Keep your clock in sync (NTP). |
X-Signature | string | Required | On the endpoints: lowercase hex of HMAC-SHA256 with the secret of your API credential as the key, over the X-Timestamp value, a dot (.), then the raw request body exactly as you send it. One that does not match is answered 401 with code 1030. There is no nonce. |
Accept-Language | string | Optional | The language of message. English when absent or when we do not have the language; th for Thai. It is the only way to choose the language. message is for people only: decide on code. |
Parameter Description
| Property | Type | Required | Description |
|---|
page | integer | Optional | |
limit | integer | Optional | |
ref_id | string | Optional | The ref_id of one transfer. Send it alone, with no from, to, external_player_id or currency. |
from | string | Optional | RFC 3339 with an offset: Z or +hh:mm or -hh:mm (at most 14 hours), with or without a fraction of a second. A date without a time, or a date that does not exist, is answered 4001. |
to | string | Optional | RFC 3339 with an offset: Z or +hh:mm or -hh:mm (at most 14 hours), with or without a fraction of a second. A date without a time, or a date that does not exist, is answered 4001. |
external_player_id | string | Optional | Only the transfers of this customer. |
currency | string | Optional | An ISO 4217 code in three capital letters, such as THB, JPY or KWD. |
Request Body
Request body: The transfer of one ref_id, after a timeoutjson
{
"ref_id": "dep-20260101-0001"
}Request body: One day of THB transfers in GMT+7json
{
"from": "2026-01-01T00:00:00+07:00",
"to": "2026-01-02T00:00:00+07:00",
"currency": "THB",
"page": 1,
"limit": 50
}Response
| Property | Type | Required | Description |
|---|
success | boolean | Required | Always true |
code | number | Required | Always 0 |
message | string | Required | For people only. Never decide on it. |
request_uuid | string | Required | Our id of the request. Quote it to support. |
data | object | Required | |
data.data | object[] | Required | |
data.data[].ref_id | string | Required | Your id of the transfer. |
data.data[].txn_id | string | Required | Our id of the transfer, as the deposit or withdraw answered it. |
data.data[].type | | string | Required | The direction. Accept values you do not know. |
data.data[].external_player_id | string | Required | |
data.data[].currency | string | Required | An ISO 4217 code in three capital letters, such as THB, JPY or KWD. |
data.data[].amount | number | Required | An amount in the major unit of currency, with at most as many decimals as the currency has (THB 2, JPY 0, KWD 3). Never negative; the direction comes from the path or direction. |
data.data[].balance_before | number | Required | A member's balance in the major unit of currency, with the currency's decimals. Negative when the member owes money, for example after a provider took back a win that was already spent. |
data.data[].balance_after | number | Required | A member's balance in the major unit of currency, with the currency's decimals. Negative when the member owes money, for example after a provider took back a win that was already spent. |
data.data[].debt_cleared | number | Required | An amount in the major unit of currency, with at most as many decimals as the currency has (THB 2, JPY 0, KWD 3). Never negative; the direction comes from the path or direction. |
data.data[].created_at | string | Required | When we made the transfer, in UTC. |
data.pagination | object | Required | |
data.pagination.page | integer | Required | |
data.pagination.limit | integer | Required | |
data.pagination.total | integer | Required | How many items the filter matches. |
data.pagination.total_pages | integer | Required | |
JSON response examplejson
{
"success": true,
"code": 0,
"message": "Transfers fetched",
"data": {
"data": [
{
"ref_id": "wd-20260101-0002",
"txn_id": "2b3c4d5e-6f70-4812-93a4-b5c6d7e8f901",
"type": "WITHDRAW",
"external_player_id": "member01",
"currency": "THB",
"amount": 50,
"balance_before": 70,
"balance_after": 20,
"debt_cleared": 0,
"created_at": "2026-01-01T03:10:00.000Z"
},
{
"ref_id": "dep-20260101-0001",
"txn_id": "1a2b3c4d-5e6f-4701-8293-a4b5c6d7e8f9",
"type": "DEPOSIT",
"external_player_id": "member01",
"currency": "THB",
"amount": 100,
"balance_before": -30,
"balance_after": 70,
"debt_cleared": 30,
"created_at": "2026-01-01T02:00:00.000Z"
}
],
"pagination": {
"page": 1,
"limit": 50,
"total": 2,
"total_pages": 1
}
},
"request_uuid": "3c4d5e6f-7081-4923-a4b5-c6d7e8f90a1b"
}Errors
| HTTP | code | When |
|---|
| 400 | 4001 | A field has the wrong shape |
| 401 | 1001 | A header is missing or the key is unknown |
| 401 | 1030 | The signature does not match |
| 401 | 1025 | X-Timestamp is too far from our clock |
| 403 | 1031 | The caller's IP is not on the key's allowlist |
| 403 | 1032 | The endpoint is not for your agent's wallet mode |
| 403 | 1026 | A production key without an IP allowlist |
| 403 | 1002 | The request could not be checked |
| 404 | 3133 | No transfer with this ref_id |
| 422 | 4005 | The range reaches back too far |
| 500 | 9001 | Something failed on our side |