Betting Vending

Vend betting via parent account

Changed on

You can use this endpoint to vend betting via parent account

post/v2/bill/betting

Request

  • Base URL
    https://api.nomba.com
  • URL
    https://api.nomba.com/v2/bill/betting
  • Auth
    HTTP bearer

Headers

accountIdstring uuid required
Example:890022ce-bae0-45c1-9b9d-ee7872e6ca27

The parent accountId of the business.

Request body

bettingProviderstring
merchantTxRefstring

This is an idempotency key and must be unique per transaction.

phoneNumberstring
payerNamestring
amountinteger
customerIdstring

Example request

{
  "bettingProvider": "bet9ja",
  "merchantTxRef": "12345",
  "phoneNumber": "09012345678",
  "payerName": "John Doe",
  "amount": 1000,
  "customerId": "customer123"
}

Response

OK - your request was successful.

code'200' | '201' | '400' | '401' | '403' | '429' | '500' required

Response code. This reflects the HTTP status code of the response, e.g. 200 when the request completed successfully and 201 when it was accepted and is still being processed.

descriptionstring required

Response description

messagestring

Response message

statusboolean

Whether the request was successful

Example response

{
  "code": "200",
  "description": "SUCCESS",
  "message": "Transaction completed Successfully",
  "status": true,
  "data": {
    "id": "API-BETTING-4B8C8-7e3a91c2-58d4-4f0b-b6a2-c9d18e5f3a47",
    "status": "SUCCESS",
    "type": "betting",
    "amount": 2000,
    "source": "api",
    "customerBillerId": "1234567890",
    "productId": "bet9ja",
    "meta": {
      "api_rrn": "260927113024",
      "rrn": "260927113024",
      "api_account_id": "0167288-d989-460a-bbde-9842f2b4320f",
      "api_client_id": "2167288-d989-460a-bbde-9842f2b4320f",
      "user_id": "0167288-d989-460a-bbde-9842f2b4320f",
      "merchantTxRef": "REF-29-07-2026-15",
      "allowDuplicate": true,
      "sender_name": "John Doe",
      "idempotentKey": "0167288-d989-460a-bbde-9842f2b4320f_REF-29-07-2026-15",
      "pos_withdrawal_id": "0167288-d989-460a-bbde-9842f2b4320f_REF-29-07-2026-15",
      "userName": "John Doe",
      "isCorporate": "true",
      "currency": "NGN",
      "hooksEligible": "true",
      "isSubscribedToSavingsService": false,
      "isSubscribedToLoanService": false,
      "txnAlertEligible": false,
      "banking_entity_id": 189585760,
      "banking_entity_user_id": 188595905,
      "banking_entity_type": "CORPORATE",
      "transactionCategory": "Bills & Utility",
      "bettingProvider": "bet9ja",
      "customerId": "1234567890",
      "phoneNumber": "09012345678",
      "amount_charged": "2000.0",
      "paymentVendor": "wallet",
      "wallet_balance": "955.85",
      "wallet_currency": "NGN",
      "gatewayMessage": "Success",
      "billingServiceResponse": "SUCCESS"
    },
    "timeCreated": "2026-09-27T10:30:24.207+00:00"
  }
}

Changes