Skip to main content
POST
/
api
/
bill-payment
/
account-validation
/
{biller_id}
Validate Bill Payment
curl --request POST \
  --url https://test.digitaltermination.com/api/bill-payment/account-validation/{biller_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "destination_account": "233201854694",
  "payer_name": "Internal QA",
  "receive_currency": "GHS",
  "receive_country": "GHA",
  "send_country": "ZMB",
  "send_currency": "ZMW",
  "reference": "ZMB3492bdu",
  "receive_amount": "1",
  "send_amount": "2"
}
'
{
  "account_name": "Vodafone",
  "account": 233201854694,
  "amount": null,
  "zeepay_id": 61108,
  "route": "Sochitel"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

biller_id
string<uuid>
required

The unique identifier for the biller

Example:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"

Body

application/json
destination_account
number
required

The mobile Network to top up

Example:

"233201854694"

payer_name
string
required

The sender's name

Example:

"Internal QA"

receive_currency
string
required

The ISO-3 of receiver's currency

Example:

"GHS"

receive_country
string
required

The ISO-3 of receiver's country

Example:

"GHA"

send_country
string
required

The ISO-3 of sender's country

Example:

"ZMB"

send_currency
string
required

The ISO-3 of sender's currency

Example:

"ZMW"

reference
string
required

Transaction reference

Example:

"ZMB3492bdu"

receive_amount
number
required

The amount paid out

Example:

"1"

send_amount
number
required

The amount sent

Example:

"2"

Response

200 - application/json

Validation successful

account_name
string
Example:

"Vodafone"

account
number
Example:

233201854694

amount
number
Example:

null

zeepay_id
number
Example:

61108

route
string
Example:

"Sochitel"