Skip to main content
This guide walks through the full local-currency flow with GHS. ZAR and NGN work the same way; only the required customer details and the payout destinations differ.
  1. Create a customer and verify them.
  2. Create a GHS wallet for them.
  3. Add a bank credential. This is the named virtual account.
  4. Receive a deposit.
  5. Create a beneficiary and pay out with a transfer.
No conversion happens at any point: money comes in as GHS, is held as GHS, and goes out as GHS.
Send an Idempotency-Key header on create requests, so a retry never opens a second account or sends a second payout. See Idempotency.

Before you start: set up webhooks

This guide waits for webhook events, so register an endpoint first:
  1. Store signing_secret (whsec_…) from the response. It’s shown only once.
  2. Activate the endpoint. New endpoints start inactive: PATCH /v1/notifications/webhooks/{id} with { "active": true }.
  3. Verify every delivery with the secret. See Verify webhook signatures.

Collect

1

Create a customer

Save 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

Save 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:
A ZAR account may also return details.reference. When it does, the payer must quote it as the payment reference, or the deposit can’t be matched automatically.
5

Receive a deposit

Share the account details with the payer. When their bank transfer lands, the wallet is credited and you receive deposit.confirmed:
The payload is trimmed here. See Webhook events for the full shape. To check the balance at any time, call 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 provider_id. List the providers for the country:
Use 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.
account_number is the mobile number. account_name is required, because mobile money names aren’t looked up for you.
Save 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

The transfer starts as 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.