Skip to main content

Credit/Debit Card

You can capture the authorized amount in a single API request as depicted in the payment flow below.

Card Capture Process

Send an API Capture Request​

The previously authorized transaction is identified by the "uniqueReference". Set at most the same amount as initially authorized under the "modifiedAmount" parameter in the API method 1.29 Capture.

Capture Request​

Path:

POST {baseURL}/payment/{uniqueReference}/capture
POST {baseURL}/payment/BNkk4BRkQEufPSvgf9lDwA/capture

Header:

Content-Type: application/json
Accept-Language: en-US
X-Auth-Token: eyJhbGciOiJSUzI1NiI{abbreviated}RW5kVG9rZW4=
{
"partnerReference": "DEV-SVR001-DE_CUSTID-KD97TH2FP6_CARTID-PYQRTGMCMQ_Y98CGTK2CJ",
"modifiedAmount": 3.99,
"modifiedAmountCurrCode": "EUR",
"localDate": "2018-10-22",
"localTime": "172047"
}

Receive an API Capture Response​

The payment platform sends an API response with the status of the payment to your server.

Capture Response​

Status Code:

200 (OK)

Header:

Content-Type: application/json
Accept-Language: en-US
{
"initiatorAccno": "1679541175",
"accno": "1679797975",
"uniqueReference": "BNkk4BRkQEufPSvgf9lDwA",
"modifiedAmount": 3.99,
"modifiedAmountCurrCode": "EUR",
"processedAmount": 3.99,
"processedCurrCode": "EUR",
"custom1": "WVWZZZ3BZWE689725",
"statusCode": "CAPTURED",
"statusReason": "Request successfully processed in 'Merchant in Integrator Test Mode'",
"paymentProviderResponse": {
"id": "8ac7a4a26668b22f0166781f1c881f59",
"referencedId": "8ac7a4a26668b22f0166780ef9b571d1",
"paymentType": "CP",
"amount": "3.99",
"currency": "EUR",
"descriptor": "BNkk4BRkQEufPSvgf9lDwA",
"merchantTransactionId": "BNkk4BRkQEufPSvgf9lDwA",
"result": {
"code": "000.100.110",
"description": "Request successfully processed in 'Merchant in Integrator Test Mode'"
},
"risk": {
"score": "0"
},
"buildNumber": "b5487567b639c21ffd60a5f42c484f3276ff93b3@2018-10-11 13:50:52 +0000",
"timestamp": "2018-10-15 14:26:36+0000",
"ndc": "8a82941866453ec60166457e642b0084_fb80ad2cac4d47d998379e01b0b4bd5c"
},
"partnerReference": "DEV-SVR001-DE_CUSTID-KD97TH2FP6_CARTID-PYQRTGMCMQ_Y98CGTK2CJ",
"localDate": "2018-10-22",
"localTime": "172047",
"sysDate": "2018-10-22",
"sysTime": "162048",
"responseCode": "0000",
"responseDescription": "Successful execution",
"additionalInformation": {
"requestId": "aff2728481a181dc36daedc14055b516"
}
}

In the case of a successful completed Guest Payment the status code should return "CAPTURED" (see example above).

With that, the payment process is completed.