Skip to content

Validate Name

POST
/open/transact/validate

This endpoint is used to confirm the name on a Mobile Money or Bank Account.

lightbulb

Validate Account Name before Transfer

We recommend that you validate account name before initiating a transfer to ensure you are sending to the right recipient. For transactions initiated by third parties, its strongly recommended that you show the initator the name of the recipient before proceeding to transfer.

history

Request History

Your request history will appear here.

Headers

X-API-USER stringrequired

This is your Moolre username.

X-API-KEY stringrequired

This is your API Key (accepts both Public Key and Private Key).

Body Params

typerequired

ID of the function. Must be 1.

receiverrequired

Recipient mobile money number, beginning with 0.

channelrequired

Send the channel name (case-insensitive). The numeric ids still work but are deprecated and return a notice.

  • MTNMTN Mobile Money (deprecated id 1).
  • TELECELTelecel Cash (deprecated id 6).
  • ATAT Money (deprecated id 7).
  • BANKInstant bank transfer (deprecated id 2).
currencyrequired

Select the recipient account currency.

accountnumberrequired

Your Moolre Account Number.

Responses

RESPONSE BODY
statusinteger
1
codestring
messagestring
datastring
The name of the account holder.
The account was not found.

Language

curl --request POST \     --url 'https://api.moolre.com/open/transact/validate' \     --header 'X-API-USER: Your Username' \     --header 'X-API-KEY: YOUR_API_KEY' \     --header 'Content-Type: application/json' \     --data '{  "type": 1,  "receiver": "",  "channel": "",  "currency": "GHS",  "accountnumber": ""}'

Response

Body

{  "status": 1,  "code": "AVD01",  "message": "Successful",  "data": "BRIGHT BUAME",  "go": null,  "meta": {    "requestid": "req_c68f4c66115c26725c796242",    "notices": []  }}