Making a Payout
A payout allows you to transfer funds from your KryptaPay account to a recipient using one of the supported payment methods, such as Mobile Money, Bank Transfer, or Stablecoins. The typical payout flow consists of four steps:- Create a payout.
- KryptaPay validates and processes the request.
- Receive a webhook notification.
- Verify the final transaction status.
Payout Flow
Step 1: Create a Payout
Send a request to create a new payout.Successful Response
A successful response indicates that the payout request has been accepted for processing. It does not guarantee that the recipient has already received the funds.
Step 2: Processing
After the payout is created, KryptaPay validates:- Your available account balance.
- Recipient information.
- Provider availability.
- Transaction limits.
- Compliance and fraud checks.
Step 3: Receive a Webhook
Once processing is complete, KryptaPay sends a webhook to your configured endpoint. Example:Step 4: Verify the Payout
Before marking a payout as complete in your system, retrieve its latest status.Payout Statuses
Failure Scenarios
A payout may fail for several reasons, including:- Insufficient merchant balance.
- Invalid recipient account or phone number.
- Provider temporarily unavailable.
- Transaction amount exceeds provider limits.
- Compliance or fraud checks failed.
- Recipient account is blocked or inactive.
Best Practices
- Generate a unique
Idempotency-Keyfor every payout. - Store the KryptaPay payout ID.
- Use unique merchant references.
- Verify webhook signatures.
- Retrieve the payout before updating your records.
- Implement retries with exponential backoff for temporary failures.
- Log the
X-Request-Idresponse header for troubleshooting.
Next Steps
Webhooks
Learn how to set up webhook to get notified in real time.
Verification and Compliance
Learn how KryptaPay uses KYB and KYC verification to provide secure, transparent, and trusted payment services.
