Documentation Index Fetch the complete documentation index at: https://docs.kwugwo.africa/llms.txt
Use this file to discover all available pages before exploring further.
Creates a payment request (an ugwo ) on the workspace that owns
your secret key. The ugwo starts in the requires_ugwo status —
running a charge activity against it moves
it through the rest of its lifecycle.
Body parameters
Amount to charge, in the smallest currency unit (kobo for NGN,
pesewas for GHS, cents for USD).
ISO-4217 currency code. Must be a supported
currency and must be enabled on at least one
of your PSPs.
ID of an existing customer (ony.…). When set, the ugwo is
attached to that customer and the merchant dashboard groups it under
their record.
Your own reference (max 150 chars) — typically an order number or
invoice ID. Echoed back on the ugwo and on webhook deliveries.
Human-readable description (max 150 chars) shown to the customer on
the hosted checkout.
ID of a checkout (chk.…). When set, the ugwo
uses that checkout’s routing rules instead of the workspace
defaults.
Free-form { string: string } map for your own tagging. Stored
verbatim and surfaced on the dashboard. Not shown to the customer.
Response
The new ugwo’s ID (ugw.…). Persist this on your order.
Amount in smallest currency unit.
Always requires_ugwo for a freshly created ugwo.
Your reference, if you sent one.
Description, if you sent one.
The attached customer, if any (null otherwise).
The attached checkout, if any.
curl https://api.kwugwo.africa/v1/ugwo \
-H "Authorization: Bearer $KWUGWO_SECRET_KEY " \
-H "Content-Type: application/json" \
-d '{
"amount": 500000,
"currency": "NGN",
"ref": "order_4719",
"description": "Order #4719",
"onye": "ony.VCvr.7K2qPmRtV9xLnQ8sD1cYwHfE",
"metadata": { "order_id": "4719", "channel": "web" }
}'
200 OK
422 Validation Failed
{
"uid" : "ugw.VCvr.7K2qPmRtV9xLnQ8sD1cYwHfE" ,
"amount" : 500000 ,
"currency" : "NGN" ,
"status" : "requires_ugwo" ,
"ref" : "order_4719" ,
"description" : "Order #4719" ,
"metadata" : { "order_id" : "4719" , "channel" : "web" },
"onye" : {
"uid" : "ony.VCvr.7K2qPmRtV9xLnQ8sD1cYwHfE" ,
"email" : "ada@example.com" ,
"first_name" : "Ada" ,
"last_name" : "Okeke"
},
"checkout" : null ,
"created_at" : "2026-05-15T09:14:22+00:00"
}