Operations
Get operation detail
This endpoint will return an operation corresponding to the specified ID. Fields may differ depending on operation_type field, which can be purchase or payout. For payout operations, the status included in the response can be either committed or completed depending on wether the payout execution has finished or still being carried out. Committed status will eventually move to completed. Completed payouts will populate the airtm_operation_hash related to the completed transaction
getoperations/{operationId}
Request
- Base URLhttps://payments.air-pay.io
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
operationIdstring
Response
OK
Example response
{
"id": "5c55efac-2e10-4511-918b-8a27271c074e",
"partner_id": "2c3e7d5e-0cfb-411f-9e34-78ba4d3b8ce7",
"status": "COMPLETED",
"amount": "1.00",
"description": "Payout test",
"confirmation_uri": "http://your.site/payout/success",
"airtm_operation_id": "1e1042ac-acae-4e7f-91ae-6d4589f8ac9c",
"created_at": "2023-06-13T23:37:53.471Z",
"updated_at": "2023-06-13T23:40:09.569Z",
"airtm_user_id": "3c4ca4b7-36d4-4d05-bb86-12512644c901",
"airtm_user_email": "john.doe@gmail.com",
"operation_type": "payout",
"failure_uri": "http://your.site/payout/failure",
"airtm_operation_hash": "ACAEBV4E7FNE91AE"
}Changes
No recorded changes to this operation across all 1 revision of this API.