charge
activity against it, and poll for the result.
1
Set your secret key
Export the key from your dashboard’s API Keys screen:
2
Create an ugwo
Charge You’ll get back the new ugwo. Save the
5,000.00 NGN. Amounts are sent in the smallest
currency unit (kobo for NGN, pesewas for GHS, cents for USD).uid.3
Charge it
Run a The response includes the activity, its initial
charge activity. The medium and any medium-specific
parameters go in the data object.status, and any
next_action your customer needs to take. For bank_transfer
that’s a user_action with a virtual account number and an
expires_at in the headers block.4
Poll the activity
Poll the activity (or wait for your webhook) until
status is
successful or failed. The same ugwo can host many activities,
so make sure you track the specific act.… ID you just
submitted.Next steps
- Persist the
uidon your order so you can match webhook notifications later. - Set up a customer record and pass its
uidasonyewhen you create the ugwo, so your dashboard groups payments by payer. - Configure a hosted checkout and reference it on
the ugwo (
"checkout": "chk.…") to override the workspace’s default routing rules.

