Skip to main content

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:
  1. Create a payout.
  2. KryptaPay validates and processes the request.
  3. Receive a webhook notification.
  4. Verify the final transaction status.

Payout Flow


Step 1: Create a Payout

Send a request to create a new payout.
Request body:

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.
If validation succeeds, the payout is submitted to the selected payment provider.

Step 3: Receive a Webhook

Once processing is complete, KryptaPay sends a webhook to your configured endpoint. Example:
Always verify webhook signatures before processing webhook events.

Step 4: Verify the Payout

Before marking a payout as complete in your system, retrieve its latest status.
Example response:

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.
See the Transaction Failure Codes guide for the complete list of failure codes and recommended actions.

Best Practices

  • Generate a unique Idempotency-Key for 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-Id response 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.