Create a payout
Initiate a payout to a bank or mobile money account.
Initiate payout by specifying the details of the beneficiary, wallet address and payout type. You can send a payout to over 80 countries. The recipient's details and the sender's details are very much dependent on the payout type. Let's look at the request body for the different payout types.
Create a payout endpoint
POST
https://sandbox.moneymie.com/api/v1/payout/transactions
The API lets you initiate a payout by specifying the details of the beneficiary, payout type and destination currency.
Asides from specifying the beneficiary, payout type and wallet address, you will need to specify the rate id. The rate id can be gotten by calling the generate rate endpoint to specify the amount, country and currency you intend that will receive the payout. The endpoint will return a rate id, which you will pass into the create a payout endpoint.
Here's an example of what the request payload should look like.
Request Body
payoutType*
String
The payout method you intend to use, e.g. MOBILE_MONEY.
rateId*
String
The rate id returned when you call the generate rate endpoint.
walletAddress*
String
The wallet address that is tied to your account.
recipient*
Object
Recipient details. This is based on the payout type selected.
senderDetails*
Object
Sender details
Purpose
String
The purpose of the transaction. Required for all payouts to NGN.
Last updated