Skip to content

Verify Deposit/Withdraw Fishing game type transaction POST

Optional For product SLOTXO or JOKER only.
This API is neccessary if you need to verify the transaction when user playing Fishing game type.

Authorization

Seamless uses Basic Authentication with your agent credentials. (Authentication)

HTTP Request (For SLOTXO product)

POST {{ API_URL }}/xo_seamless/verify-topup

HTTP Request (For JOKER product)

POST {{ API_URL }}/joker_seamless/verify-topup

Content Type

Type: application/json

Request parameter description

PropertyTypeRequiredDescription
usernamestringRequiredPlayer username
transactionIdstringRequiredTransaction id that your system got from callback /deposit or /withdraw on product SLOTXO/JOKER

Response parameter description

PropertyTypeRequiredDescription
codenumberRequiredCode status
0: success
1: failed.
messagestringRequiredMessage description
data[ object ] or nullRequiredAn array of transaction data description (See more below). null value if verify failed or an error occur

Response data parameter description

PropertyTypeRequiredDescription
idstringRequiredTransaction id (This should be the same id with your input)
timestringRequiredTime when transaction generated (ISO format)
amountnumberRequiredTransaction amount (This amount can be negative number when the type is Withdraw)
typestringRequiredType of transaction
TopUp: Deposit credit to SLOTXO or JOKER system
Withdraw: Withdraw credit back to player
usernamestringRequiredPlayer username

JSON example request:

json
{
  "username": "foobar",
  "transactionId": "xe6ns1mycwwwh_xe6gxumgykk3e_795913499644948991"
}

JSON example response:

json
/* Verified success transaction */
{
  "code": 0,
  "message": "Success",
  "data": [
    {
      "id": "xe6ns1mycwwwh_xe6gxumgykk3e_795913499644948991",
      "time": "2021-08-05T15:16:03.982",
      "amount": 500,
      "type": "TopUp",
      "username": "foobar"
    }
  ]
}

/* Verified failed transaction */
{
  "code": 1,
  "message": "Can't verify transaction id: xe6ns1mycwwwh_xe6gxumgykk3e_795913499644948991",
  "data": null
}