API Document

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

Headers

PropertyTypeRequiredDescription
X-Api-KeystringRequiredOn 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-TimestampstringRequiredOn 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-SignaturestringRequiredOn 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-LanguagestringOptionalThe 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

PropertyTypeRequiredDescription
pageintegerOptional
limitintegerOptional
ref_idstringOptionalThe ref_id of one transfer. Send it alone, with no from, to, external_player_id or currency.
fromstringOptionalRFC 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.
tostringOptionalRFC 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_idstringOptionalOnly the transfers of this customer.
currencystringOptionalAn 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

PropertyTypeRequiredDescription
successbooleanRequiredAlways true
codenumberRequiredAlways 0
messagestringRequiredFor people only. Never decide on it.
request_uuidstringRequiredOur id of the request. Quote it to support.
dataobjectRequired
data.dataobject[]Required
data.data[].ref_idstringRequiredYour id of the transfer.
data.data[].txn_idstringRequiredOur id of the transfer, as the deposit or withdraw answered it.
data.data[].type | stringRequiredThe direction. Accept values you do not know.
data.data[].external_player_idstringRequired
data.data[].currencystringRequiredAn ISO 4217 code in three capital letters, such as THB, JPY or KWD.
data.data[].amountnumberRequiredAn 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_beforenumberRequiredA 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_afternumberRequiredA 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_clearednumberRequiredAn 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_atstringRequiredWhen we made the transfer, in UTC.
data.paginationobjectRequired
data.pagination.pageintegerRequired
data.pagination.limitintegerRequired
data.pagination.totalintegerRequiredHow many items the filter matches.
data.pagination.total_pagesintegerRequired
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

HTTPcodeWhen
4004001A field has the wrong shape
4011001A header is missing or the key is unknown
4011030The signature does not match
4011025X-Timestamp is too far from our clock
4031031The caller's IP is not on the key's allowlist
4031032The endpoint is not for your agent's wallet mode
4031026A production key without an IP allowlist
4031002The request could not be checked
4043133No transfer with this ref_id
4224005The range reaches back too far
5009001Something failed on our side