v1

latestOpenAPI 3.0.02026-07-263118119.8 KB
Create & 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>
CodeHTTP StatusMessage
AP009401Unauthorized
AP101401No authenticated user
AP300200Unable to connect to bank
AP310200Credit transaction declined
AP312200Preauth already captured
AP313200Preauth ineligible for capture
AP400200No bank account linked
AP401400Cannot validate bank account
AP412200Bank account already removed
AP700400Missing or invalid required parameter
AP701400Improperly formatted parameter
AP1000200Invalid API
</details>
post/v2/capturePreauthTransaction

Headers

Content-Typestring required
authorizationstring required

A merchant scoped token.

Request body

idstring required

preauthtransactionId of transaction to capture. In UUID format.

Response

Success or Business Logic Error

OR

Example response

{
  "error": {
    "help": "Contact support@aeropay.com for help.",
    "code": "AP700",
    "message": "Missing required Parameter: 'email'"
  }
}