curl --request POST \
--url https://api.zerocash.tech/api/b2b/utilities/account/resolve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"accountNumber": "25471234567",
"currency": "KES",
"method": "momo",
"momoOperator": "mpesa"
}
'{
"success": true,
"data": {
"accountId": "8014311",
"accountName": "Wayne Industries"
}
}{
"success": false,
"message": "Account does not exist.",
"errorCode": "E-CH-PY.S-37"
}Reference Data
Account Resolver
Resolve and verify account details across multiple payment methods and currencies. This endpoint routes the request to the appropriate provider based on the currency and method combination, returning a normalised account name and ID.
POST
/
api
/
b2b
/
utilities
/
account
/
resolve
curl --request POST \
--url https://api.zerocash.tech/api/b2b/utilities/account/resolve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"accountNumber": "25471234567",
"currency": "KES",
"method": "momo",
"momoOperator": "mpesa"
}
'{
"success": true,
"data": {
"accountId": "8014311",
"accountName": "Wayne Industries"
}
}{
"success": false,
"message": "Account does not exist.",
"errorCode": "E-CH-PY.S-37"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json