Capture

Last changes: 09-18-2020

The API method Capture enables you to perform a partial of full capture of an authorized transaction.

API Parameters

Field Description Type Length Mandatory
transactionId Unique transaction identifier. String 36 Yes
modifiedAmount Additional transaction data. Object   No
modifiedAmount.value Transaction amount. Decimal 18,2 Yes
modifiedAmount.currency Transaction currency. The 3-letter currency ISO-4217 code. String 3 Yes
merchantKey Merchant identifier. String 36 Yes

Example

Request

Path:

POST {Base URL}/payment/capture

Header:

Content-Type: application/json
Accept-Language: en-US

{
  "transactionId": "933a0fab-80a0-42c5-b010-c71174f4ab32",
  "modifiedAmount": {
    "value": 25,
    "currency": "EUR"
  },
  "merchantKey": "31928de9-1344-469f-b0eb-8e5d0fef3d21"
}

Response

Status Code:

200 (OK)

Header:

Content-Type: application/json
Accept-Language: en-US

{
  "transactionId": "933a0fab-80a0-42c5-b010-c71174f4ab32",
  "result": "Successful execution"
}