Commit payout
After calling this endpoint, Airtm will execute/process the previously received payout instruction. The RESPONSE confirms the reception and incorporation of the payout instruction for processing. Funds will be deducted from your balance while the payout execution process is being carried out.
Please note that a 200 response doesn't necessarily mean the money moved, it simply means the system is now trying to send the amount. Use webhooks OR call /operations/:id to get an update.
The status of the payout will either be committed, pending or failed, A committed status means that the recipient's email has been identified as an active Airtm user and the payout process has successfully started. A pending status means that the recipient's email does not have an Airtm account. The payout process will be completed when the user signs up at Airtm. A committed payout will eventually move on to completed once the payout execution process finishes. Extra information of the recently completed payout can be queried by calling /operations/:id
Request
- Base URLhttps://payments.air-pay.io
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Request body
Response
OK
Example response
{
"id": "57f384ac-c5f7-492a-aaf7-daa928de9b40",
"partner_id": "2abf29df-4c6d-4de4-ae55-d26556ac5475",
"status": "COMMITTED",
"amount": "1.00",
"description": "Payout test",
"confirmation_uri": "https://your.site/success",
"failure_uri": "https://your.site/failure",
"airtm_operation_id": "a8bc79c2-cde3-4906-b3f5-5af028b3a57e",
"created_at": "2019-03-05T18:48:07.000Z",
"updated_at": "2019-03-05T18:48:21.000Z",
"airtm_user_email": "john.doe@gmail.com",
"airtm_user_id": "d2f17c25-4aa2-46c2-aecb-498ffdd23aa2",
"operation_type": "payout"
}Changes
No recorded changes to this operation across all 1 revision of this API.