Skip to main content

Overview

The betting funding endpoint lets you deposit funds directly into a customer’s account on supported betting platforms (SportyBet, BetKing, 1xBet, etc.). Use account_id for the customer’s betting account id on the platform.

Authentication

Requires your merchant API key.
Authorization: Bearer dcy_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Fund a betting account

POST /api/v1/betting/funding

Request body

FieldTypeRequiredDescription
productstringBetting platform name (e.g., "SportyBet")
account_idstringTheir betting account id
amountnumberAmount in NGN (minimum ₦100)
customerRefstringYour internal reference ID
saveAsBeneficiarybooleanSave account as beneficiary
beneficiaryNamestringLabel for saved beneficiary
curl -sS -X POST "https://api.dancity.app/api/v1/betting/funding" \
  -H "Authorization: Bearer $DANCITY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "product": "SportyBet",
    "account_id": "12345678",
    "amount": 1000
  }'

Sample response

{
  "success": true,
  "message": "Betting wallet funded successfully",
  "data": {
    "transactionId": "TXN-2025-XXXXX",
    "tranxId": "dcy_ref_xxxxxxxx",
    "status": "SUCCESS",
    "amount": 1000,
    "product": "SportyBet",
    "account_id": "12345678"
  }
}
The minimum funding amount is ₦100. Always verify the account_id with your customer before sending — funds credited to a wrong betting account cannot be reversed automatically.
Use customerRef to pass your own transaction or order ID. This makes it easy to reconcile records with your system.

Checking available betting platforms

Use the products catalog to get the list of supported betting platforms:
curl -sS "https://api.dancity.app/api/v1/products?service=Betting" \
  -H "Authorization: Bearer $DANCITY_API_KEY"

Next steps