Fund betting wallet
curl --request POST \
--url https://api.sendpadi.com/api/v1/merchant/vas/betting \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>' \
--data '
{
"provider": "SportyBet",
"amount": 100,
"accountNumber": "080*******8"
}
'const options = {
method: 'POST',
headers: {
'X-Timestamp': '<x-timestamp>',
'X-Signature': '<x-signature>',
'Idempotency-Key': '<idempotency-key>',
'X-Api-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({provider: 'SportyBet', amount: 100, accountNumber: '080*******8'})
};
fetch('https://api.sendpadi.com/api/v1/merchant/vas/betting', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.sendpadi.com/api/v1/merchant/vas/betting"
payload = {
"provider": "SportyBet",
"amount": 100,
"accountNumber": "080*******8"
}
headers = {
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"Idempotency-Key": "<idempotency-key>",
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"data": {
"transactionId": "vas_betting_001",
"reference": "BET-001",
"status": "completed",
"message": "Great! Your betting account has been funded successfully. ₦100.00 has been credited to your account.",
"details": {
"accountNumber": "080*******8",
"amount": 100,
"chargeFee": 0,
"totalAmount": 100,
"currency": "NGN",
"provider": "SPORTYBET",
"orderStatus": "completed"
}
}
}{
"success": false,
"data": {
"transactionId": "65fa7da9-898f-4962-8d34-bd472f3992dc",
"status": "failed",
"message": "The betting provider \"SportyBet\" is not available. Please select a different provider or contact support.",
"details": {
"orderStatus": "failed"
}
},
"error": "PROVIDER_NOT_CONFIGURED"
}{
"success": false,
"message": "Invalid request signature",
"error": true,
"errorCode": "MERCHANT_AUTH_SIGNATURE_INVALID"
}VAS (Bill payments)
Fund betting wallet
Fund betting wallet via merchant VAS API. Scope: vas:write. Requires Idempotency-Key.
POST
/
api
/
v1
/
merchant
/
vas
/
betting
Fund betting wallet
curl --request POST \
--url https://api.sendpadi.com/api/v1/merchant/vas/betting \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>' \
--data '
{
"provider": "SportyBet",
"amount": 100,
"accountNumber": "080*******8"
}
'const options = {
method: 'POST',
headers: {
'X-Timestamp': '<x-timestamp>',
'X-Signature': '<x-signature>',
'Idempotency-Key': '<idempotency-key>',
'X-Api-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({provider: 'SportyBet', amount: 100, accountNumber: '080*******8'})
};
fetch('https://api.sendpadi.com/api/v1/merchant/vas/betting', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.sendpadi.com/api/v1/merchant/vas/betting"
payload = {
"provider": "SportyBet",
"amount": 100,
"accountNumber": "080*******8"
}
headers = {
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"Idempotency-Key": "<idempotency-key>",
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"data": {
"transactionId": "vas_betting_001",
"reference": "BET-001",
"status": "completed",
"message": "Great! Your betting account has been funded successfully. ₦100.00 has been credited to your account.",
"details": {
"accountNumber": "080*******8",
"amount": 100,
"chargeFee": 0,
"totalAmount": 100,
"currency": "NGN",
"provider": "SPORTYBET",
"orderStatus": "completed"
}
}
}{
"success": false,
"data": {
"transactionId": "65fa7da9-898f-4962-8d34-bd472f3992dc",
"status": "failed",
"message": "The betting provider \"SportyBet\" is not available. Please select a different provider or contact support.",
"details": {
"orderStatus": "failed"
}
},
"error": "PROVIDER_NOT_CONFIGURED"
}{
"success": false,
"message": "Invalid request signature",
"error": true,
"errorCode": "MERCHANT_AUTH_SIGNATURE_INVALID"
}Pick
provider from List billers (category=betting). Sign the exact compact JSON body you send.Authorizations
API key id (sp_test_… / sp_live_…)
Headers
Unix time in seconds
HMAC-SHA256 signature
UUID. Required on money-moving writes.
Body
application/json
Response
OK
The response is of type object.

