Authorization
Unique identifier for the wallet. Must follow the format RC_WAL-XXXXXX.
Set to true to create a virtual account alongside the wallet.
If available on provider’s end you can send it here. Mostly available on production.
Customer’s unique identifier (e.g., BVN).
customer.externalCustomerID
Optional, this can be used to link an existing customer to a sub-account. This links the customer to their previous transactions; but doesn’t link the transactions to the sub-account yet.
Type of identifier (BVN, NIN, etc.).
Optional; used to enable multi-provider between wallets.
Customer’s email address.
Customer’s phone number (in international format).
Customer’s street address.
Customer’s city of residence.
Customer’s state of residence.
Customer’s postal code.
Customer’s country of residence.
curl --location --request POST 'https://api.recital.finance/api/wallets/account' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <api-key>' \
--data-raw '{
"walletID": "RC_WAL-3CRWDOWVBO",
"createVirtualAccount": true,
"customer": {
"psuId": "1232345465768",
"psuIdType": "BVN",
"name": "Donald Trump",
"email": "[email protected] ",
"phone": "08011223344",
"address": "test address",
"city": "earth",
"state": "mars",
"postcode": "test",
"country": "pluto"
}
}'
Success Response
Error Response
{
"walletId" : "RC_WAL-6DB1M9XQ" ,
"accountWalletId" : "616b3434-6318-4593-9d29-78302ee19a08" ,
"customerEmail" : "[email protected] " ,
"customerName" : null ,
"bankName" : "Mock Bank" ,
"accountNumber" : "0067100155" ,
"currency" : "NGN" ,
"amount" : 0 ,
"createdAt" : null ,
"updatedAt" : null
}