- Create a customer and verify them.
- Create a GHS wallet for them.
- Add a bank credential. This is the named virtual account.
- Receive a deposit.
- Create a beneficiary and pay out with a transfer.
Before you start: set up webhooks
This guide waits for webhook events, so register an endpoint first:- Store
signing_secret(whsec_…) from the response. It’s shown only once. - Activate the endpoint. New endpoints start inactive:
PATCH /v1/notifications/webhooks/{id}with{ "active": true }. - Verify every delivery with the secret. See Verify webhook signatures.
Collect
1
Create a customer
data.id (cust_…).To collect into an account in your own name instead, skip this step and the next, and
leave
customer_id out when you create the wallet.2
Verify the customer
The customer must pass verification before you can open a GHS wallet for them. Start a
verification session:Send the customer to the returned
hosted_url to complete verification. When it passes you
receive kyc.approved, and the customer’s kyc_status is approved. Until then, creating the
wallet returns 409 invalid_status. See
Verify the customer first.GHS accounts also need a phone number. Verification usually captures it. If it didn’t, add it
with PATCH /v1/customers/cust_... and { "profile": { "phone": "+233201234567" } }.3
Create a GHS wallet
data.id (wal_…). The wallet holds the balance, but it has no account details yet.4
Open the virtual account
Create a bank credential on the wallet:If the response has
status: "pending", fetch the credential until it’s active:details then holds the account, in the customer’s name:5
Receive a deposit
Share the account details with the payer. When their bank transfer lands, the wallet is
credited and you receive The payload is trimmed here. See Webhook events for the full shape. To
check the balance at any time, call
deposit.confirmed:GET /v1/wallets/wal_... and read available_balance.Pay out
1
Find the bank or mobile money provider
Bank and mobile money beneficiaries need a Use
provider_id. List the providers for the country:network=bank for banks. Save the provider’s id (prov_…).2
Create a beneficiary
The beneficiary’s currency must match the wallet you pay from.Save
- GHS — mobile money
- GHS — bank
- ZAR — PayShap
account_number is the mobile number. account_name is required, because mobile money
names aren’t looked up for you.data.id (ben_…). See Create a beneficiary
for every field.3
Check the fee (optional)
A local-currency transfer is charged a fee on top of the amount. The beneficiary receives
amount in full, and the wallet is debited amount + fee, so the balance must cover both.To work out the fee before you send, read your route’s schedule from
fees.payment_methods[].transfer on GET /v1/currencies. The calculation is on the
Execute a transfer reference, under “Fiat transfers”.4
Send the transfer
processing, and the response’s fee shows what you were charged:5
Track the outcome
You receive
transfer.success or transfer.failed. On failure, failure_reason says why;
see Failure reasons. You can also poll
GET /v1/transfers/{transferId}.Next steps
Virtual accounts
Supported currencies, required details and whose name is on the account.
Webhook events
Every
deposit.* and transfer.* event and when it fires.