Capture a transaction
Allows you to capture an auth only transaction. To do this, you must complete the following steps:
- Run an auth only transaction using the Run card transaction endpoint (by setting the isAuthOnly parameter to true).
- Retrieve the id from the response. This is the Nexio Payment ID.
- Include that id in the body of your request to this endpoint.
If you do not know the paymentId or amount to use, make a call with the View transactions endpoint with the query filter of transactionStatus=11 and plugin= to get an array of possible transactions.
<!-- theme: warning --><div style="display:none;">⚠️ Try It
To use the Try It feature for this endpoint, you can use the credentials for your Sandbox API user.<br/><br/>You can also use the following test account. Copy the value and paste it into the appropriate space in the Try It section to the right. username: docs@nexiopay.com password: JZdzoXpdDeH6VA<br/><br/>Include the ID as indicated above for an <<glossary:auth only>> transaction.
Request parameters
- id
- data
- data.amount
Response parameters
- amount
- authCode
- currency
- data
- data.amount
- data.currency
- data.settlementCurrency
- gatewayResponse
- gatewayResponse.gatewayName
- gatewayResponse.refNumber
- id
- merchantId
- message
- transactionDate
- transactionStatus
- transactionType
Request body
Response
Success
Changes
No recorded changes to this endpoint across all 1 revision of this API.