Refund
post
Request from the Supplier to The Bet Brothers Platform to refund a previously completed transaction.
Header parameters
X-REQUEST-SIGNstringRequired
HMAC-SHA256 signature of the request body using the shared password.
Body
provider_namestringRequired
Provided by The Bet Brothers.
provider_idintegerRequired
Provided by The Bet Brothers.
amountintegerRequired
Amount in subunits (ISO 4217).
currency_codestringRequired
Currency code in upper case (ISO 4217).
is_mobilebooleanRequired
True if the player is on a mobile device.
player_idstringRequired
Unique identifier of the player.
game_symbolstringRequired
Game symbol.
tokenstringRequired
Session token generated for the play.
transaction_idstringRequired
Unique transaction ID for the refund from the Game Provider.
round_idstringRequired
Game Provider round ID.
refunded_transaction_idstringRequired
Original transaction ID to be refunded.
Responses
200
Successfully processed refund
application/json
406
Previous transaction not found.
application/json
post
POST /wallet/refund HTTP/1.1
Host:
X-REQUEST-SIGN: text
Content-Type: application/json
Accept: */*
Content-Length: 272
{
"provider_name": "test",
"provider_id": 19,
"game_symbol": "book_of",
"player_id": "12345",
"is_mobile": true,
"round_id": "612233445",
"currency_code": "SEK",
"token": "801642c4-f4a7-446e-8b60-0421fd9bd45e",
"transaction_id": "29912987",
"refunded_transaction_id": "29912987",
"amount": 100
}
{
"transaction_id": "563214566",
"balance": 54636,
"token": "7848fc39-a0c3-4d56-98c2-a216f14b3fd8"
}
Last updated