v1

latestOpenAPI 3.1.02026-07-2413059.7 KB

Capture

The Capture API allows you to finalize (settle) a transaction that was previously preauthorized (reserved), such as when the "preauth_only" flag was used in the Payment API. The Capture API follows the same authentication process as the Payment API, so please refer to the Payment API documentation for full details.

post/capture

Request body

api_secretstring required

This is the credential that Vendo will use to authenticate your request

is_testinteger

Set to 1 if you want to process a test transaction.

merchant_idinteger required

Your Vendo Merchant ID.

transaction_idinteger required

The Vendo Transaction ID you received when performing the preauthorization.

Response

200

statusinteger
request_idstring

Example response

{
  "status": 1,
  "request_id": "XoMgrUtN4CXZnJrJ2sRT5wAAAMc"
}