Appearance
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
Property | Type | Required | Description |
---|---|---|---|
username | string | Required | Player username |
transactionId | string | Required | Transaction id that your system got from callback /deposit or /withdraw on product SLOTXO /JOKER |
Response parameter description
Property | Type | Required | Description |
---|---|---|---|
code | number | Required | Code status0 : success1 : failed. |
message | string | Required | Message description |
data | [ object ] or null | Required | An array of transaction data description (See more below). null value if verify failed or an error occur |
Response data
parameter description
Property | Type | Required | Description |
---|---|---|---|
id | string | Required | Transaction id (This should be the same id with your input) |
time | string | Required | Time when transaction generated (ISO format) |
amount | number | Required | Transaction amount (This amount can be negative number when the type is Withdraw ) |
type | string | Required | Type of transactionTopUp : Deposit credit to SLOTXO or JOKER systemWithdraw : Withdraw credit back to player |
username | string | Required | Player 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
}