Endpoint
Headers
string
required
Your public API key.
string
required
Your API secret. Use a
stl_test_... value in sandbox, stl_live_... in production.string
required
Your business ID.
Request body
string
required
The customer account number to debit.
string
required
A unique reference you generate for this withdrawal. Used for idempotency and reconciliation.
string
required
A description of the withdrawal.
Response
boolean
true on success.string
Confirmation message.
string
Amount withdrawn, in kobo.
string
Fee charged for the withdrawal, in kobo.
string
Total amount debited from the account (amount + charge), in kobo.
Code examples
Example response
All amounts are in kobo. Divide by 100 to convert to naira.