Fund Wallet
POST /v1/api/betting/{providerSlug}/payment
This endpoint is used to fund the betting wallet
Parameters
Field | Mandatory | Parameter Type | Data Type | Description |
---|---|---|---|---|
api-key | Yes | Header | String | The client’s API key |
secret | Yes | Header | String | The client's secret key for the environment to which the request is being made |
providerSlug | Yes | Path | String | The slug of the betting provider |
amount | Yes | Body | String | The amount (in Kobo) |
clientId | Yes | Body | String | The client id of the wallet |
username | Yes | Body | String | The username of the wallet |
reference | Yes | Body | String | The unique identifier of the transaction |
Sample Request
curl --location '{BASE_URL}/v1/api/betting/{providerSlug}/payment' \--header 'secret: {SECRET_KEY}' \--header 'api-key: {API_KEY}' \--header 'Content-Type: application/json' \--data '{ "amount": "10000", "clientId": "26691", "username": "dbuttazzo", "reference": "f71cd0160faf250f0e3d0e7d712a5c05"}'
Sample Response (200 - OK)
{
"status": "SUCCESS",
"message": "Successfully funded betting wallet",
"statusCode": "00"
}
Sample Response (400 - Bad Request)
{
"status": "FAILED",
"message": "The minimum amount is ₦100.00",
"statusCode": "09"
}