Payouts allow you to disburse funds from your Payonify account to recipients via mobile money. The Payouts API supports multiple destination types, with EcoCash mobile money currently available.
Approval Required
The Payouts API requires prior approval from Payonify before going live. Your merchant account must be approved by the payment processor for B2C (Business-to-Customer) services. Contact support to request access.
How Payouts Work
sequenceDiagram
participant Your Server
participant Payonify
participant Mobile Money
Your Server->>Payonify: POST /v1/payouts/validate
Payonify->>Mobile Money: Verify recipient
Mobile Money-->>Payonify: Recipient details
Payonify-->>Your Server: {valid: true, recipient: {...}}
Your Server->>Payonify: POST /v1/payouts
Payonify-->>Your Server: {status: "pending"}
Note over Payonify,Mobile Money: Async processing
Payonify->>Mobile Money: Send funds
Mobile Money-->>Payonify: Transaction result
Payonify->>Your Server: Webhook: payout.succeeded
Payout Flow
Validate the recipient's mobile money account (recommended)
Create the payout with amount, currency, and destination
Receive a webhook notification when the payout completes or fails
Step-by-Step Guide
Validate the Recipient
Before sending a payout, validate the recipient's account to ensure it exists and can receive funds:
See the Webhooks guide for details on verifying webhook signatures.
Validate First
Always validate recipients before creating payouts in production. This helps catch invalid numbers early and provides a better experience for your users.
Checking Payout Status
You can check the status of a payout at any time by retrieving it: