v1
latestOpenAPI 3.0.02026-07-263118119.8 KBCreate & Manage Transactions
payoutTransaction
Create a transaction that pays an amount from the logged in merchant to the specified user.
The details of the transaction are returned upon success.
<details> <summary><strong>Error Glossary</strong> (click to expand)</summary>| Code | HTTP Status | Message |
|---|---|---|
| AP101 | 401 | No authenticated user |
| AP103 | 200 | Unable to set user reputation level |
| AP109 | 200 | Delinquent activity on account |
| AP110 | 200 | User profile incomplete |
| AP201 | 200 | No merchant found for merchant id |
| AP203 | 200 | Unable to get location for merchant |
| AP205 | 200 | Unable to get rewards and fees for merchant |
| AP206 | 200 | Unable to get merchant account |
| AP300 | 200 | Unable to connect to bank |
| AP302 | 200 | Insufficient funds |
| AP303 | 200 | Transaction missing location |
| AP304 | 200 | Transaction amount exceeds limit |
| AP305 | 200 | Account blocked - delinquent activity |
| AP308 | 200 | Invalid amount |
| AP314 | 200 | Transaction already exists |
| AP315 | 200 | Payment rejected - threshold or suspended bank |
| AP400 | 200 | No bank account linked |
| AP401 | 400 | Cannot validate bank account |
| AP402 | 200 | No bank account for merchant |
| AP403 | 200 | Bank not supported |
| AP404 | 200 | Invalid routing number |
| AP411 | 200 | Invalid account type - connect a checking account |
| AP412 | 200 | Bank account already removed |
| AP700 | 400 | Missing or invalid required parameter |
| AP701 | 400 | Improperly formatted parameter |
| AP900 | 200 | External API error |
| AP1400 | 400 | Idempotency key reused with different payload |
| AP1401 | 400 | Request with same idempotency key still processing |
| AP1402 | 400 | Invalid idempotency key structure |
post/v2/payoutTransaction
Headers
Content-Typestring required
authorizationstring required
A merchant scoped token.
Idempotency-Keystring uuid
Optional UUID value to ensure idempotent transaction.
Request body
Response
Success or Business Logic Error (AP411)
Example response
{
"error": {
"help": "Contact support@aeropay.com for help.",
"code": "AP700",
"message": "Missing required Parameter: 'email'"
}
}