v1
latestOpenAPI 3.0.02026-07-263118119.8 KBCreate & Manage Transactions
capturePreauthTransaction
Execute the preauthorized transaction which is specified by provided 'id'.
The AeroPay transaction is returned.
<details> <summary><strong>Error Glossary</strong> (click to expand)</summary>| Code | HTTP Status | Message |
|---|---|---|
| AP009 | 401 | Unauthorized |
| AP101 | 401 | No authenticated user |
| AP300 | 200 | Unable to connect to bank |
| AP310 | 200 | Credit transaction declined |
| AP312 | 200 | Preauth already captured |
| AP313 | 200 | Preauth ineligible for capture |
| AP400 | 200 | No bank account linked |
| AP401 | 400 | Cannot validate bank account |
| AP412 | 200 | Bank account already removed |
| AP700 | 400 | Missing or invalid required parameter |
| AP701 | 400 | Improperly formatted parameter |
| AP1000 | 200 | Invalid API |
post/v2/capturePreauthTransaction
Headers
Content-Typestring required
authorizationstring required
A merchant scoped token.
Request body
Response
Success or Business Logic Error
Example response
{
"error": {
"help": "Contact support@aeropay.com for help.",
"code": "AP700",
"message": "Missing required Parameter: 'email'"
}
}