Payouts
Create a payout
This endpoint allows you to create a payout instruction. In the request body, information about the payout such as the recipient's email, description, amount, and any URLs needed for confirmation or failure redirects should be provided.
Upon successful creation, the API returns a response containing the details of the newly created payout, including a unique ID.
[!tip] After making a call to this endpoint, no money is moved yet. To finish moving the money to a user, you must call the POST /v2/payouts/:id/commit endpoint with the id from this response. Alternatively, you may pass commit: true to do the payout in a single API call.
post/payouts
Request
- Base URLhttps://api.enterprise.airtm.com/v2
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Ok
Example response
{
"grossAmount": 10,
"amount": 9.5,
"netAmount": 9,
"airtmFee": 0.5,
"enterpriseFee": 0.5
}Changes
No recorded changes to this operation across all 1 revision of this API.