Operations
Get operation by code
This endpoint will return an operation corresponding to the specified code used to create a payout.
getcode/{code}
Request
- Base URLhttps://payments.air-pay.io
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
codestring
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.