API Reference
Betting Services
Betting Services
This service enables funding of a betting account across multiple betting providers.
Fetch Providers
GETService Information
{{baseUrl}}betting/providers?loginId={{loginId}}&key={{publicKey}}
GET
| Parameter Name | Type | M/O | Description |
|---|---|---|---|
| loginId | Numeric | M | Merchant id provided during integration |
| key | String | M | Merchant’s (public) key |
{
"loginId": "{{loginId}}",
"key": "{{publicKey}}",
}
{
"statusCode": "00",
"statusDescription": "Successful",
"result": {
"B01T": "Bet9ja",
"B02T": "BangBet",
"B03T": "NairaBet",
"B04T": "SupaBet",
"B05T": "CloudBet",
"B06T": "BetLion",
"B07T": "1xBet",
"B08T": "MerryBet",
"B09T": "BetWay",
"B10T": "BetLand",
"B11T": "BetKing",
"B12T": "LiveScoreBet",
"B13T": "NaijaBet" }
}
Bet Account Validation
POSTService Information
{{baseUrl}}betting/validate
POST
| Parameter Name | Type | M/O | Description |
|---|---|---|---|
| loginId | Numeric | M | Merchant id provided during integration |
| key | String | M | Merchants (public) key |
| customerId | String | M | Id of Bet account |
| provider | String | M | name associated with fetch provider |
{
"loginId": "{{loginId}}",
"key": "{{publicKey}}",
"customerId": "965820",
"provider" : "BetKing"
}
{"statusCode":"00","statusDescription":"Successful","result":
{"status":"200","message":"Successful","name":"","username":"Arete995","type":"BetKing",
"customerId":"965820","reference":"163042564610000","accountNumber":null,"phoneNumber":null,
"emailAddress":null,"canVend":null,"minPayableAmount":100,"charge":0},"status":true}
Bet Account Funding
POSTService Information
{{baseUrl}}betting/pay
POST
| Parameter Name | Type | M/O | Description |
|---|---|---|---|
| loginId | Numeric | M | Merchant id provided during integration |
| key | String | M | Merchants (public) key |
| serviceId | String | M | B01T Is the service code for betting |
| customerId | String | M | Bet ID of the customer |
| requestId | String | M | Unique Identifier for your request |
| fee | Numeric | M | Amount to fund Bet ID |
| Provider | String | M | Bet Provider associated with customer ID |
| name | String | M | name of the account associated with the Bet ID |
{
"loginId": "{{loginId}}",
"key": "{{publicKey}}",
"serviceId" : "B01T",
"customerId":"34382",
"amount": 200,
"name" : "OLUFEMI ISAAC BABATUNDE",
"provider" : "BangBet"
}
{
"statusCode": "00",
"statusDescription": "successful"
{
"status": true,
"result": {
"status": "200",
"message": "Transaction Successful",
"name": "Arete995",
"customerId": "965820",
"amount": "100.00",
"transId": "5624071398",
"date": "2021-08-24 12:23:34",
"type": "BetKing" }
}
}