Credit Card Capture

Credit card capture converts an authorized transaction into sale and flags it for settlement.
post
https://<PayEngine-host>
/api/payment/capture

Sample Request / Response

Request
Response

Example Request

{
"id": "54191797",
"data": {
"transactionAmount": "11.00"
}
}

Example Response

{
"data": {
"ID": "63213593-212e-4a42-b071-d19b4d664c55",
"MerchantID": "8357832f-79c9-48fd-9647-d1dae251e434",
"TransactionID": "45aaa8e9-574a-4fcf-8769-37cf74474c76",
"CaptureResponse": {
"status": "PASS",
"responseCode": "A0000",
"responseMessage": "Success",
"authCode": 466071,
"hostReferenceNumber": "159996184447",
"hostResponseCode": "00",
"taskID": "67196560",
"transactionID": "54191797",
"transactionTimestamp": "2022-05-16T05:02:16",
"cardType": "V",
"transactionAmount": "11.00",
"totalAmount": "11.00",
"customerReceipt": " Moore - Legros \\n Test \\n 2022-05-16T05:02:16 \\n CREDIT - SALE \\n CARD # : **** **** **** 1111 \\n CARD TYPE: V \\n Entry Mode : MANUAL \\n TRANSACTION ID : 54191797 \\n Invoice Number: 54191797 \\n AUTH CODE : DSC633 \\n Subtotal: $11.00 \\n Total: $11.00 \\n--------------------------------------\\n \\n \\n CUSTOMER ACKNOWLEDGES RECEIPT OF \\nGOODS AND/OR SERVICES IN THE AMOUNT \\nOF THE TOTAL SHOWN HEREON AND AGREES\\nTO PERFORM THE OBLIGATIONS SET FORTH\\nBY THE CUSTOMER`S AGREEMENT WITH THE\\n ISSUER \\n APPROVED \\n \\n \\n Customer Copy \\n",
"merchantReceipt": " Moore - Legros \\n Test \\n 2022-05-16T05:02:16 \\n CREDIT - SALE \\n CARD # : **** **** **** 1111 \\n CARD TYPE: V \\n Entry Mode : MANUAL \\n TRANSACTION ID : 54191797 \\n Invoice Number: 54191797 \\n AUTH CODE : DSC633 \\n Subtotal: $11.00 \\n Total: $11.00 \\n--------------------------------------\\n \\n \\n CUSTOMER ACKNOWLEDGES RECEIPT OF \\nGOODS AND/OR SERVICES IN THE AMOUNT \\nOF THE TOTAL SHOWN HEREON AND AGREES\\nTO PERFORM THE OBLIGATIONS SET FORTH\\nBY THE CUSTOMER`S AGREEMENT WITH THE\\n ISSUER \\n APPROVED \\n \\n \\n Merchant Copy \\n"
}
}
}
Webhook event: PAYMENT_CAPTURE

Webhook Payload Example

{
event_uid: '4d304a4ed5a4e338b4753ab832efd9c0',
event: 'PAYMENT_CAPTURE',
data: {
account_id: 'e90c1de6-4e87-4c9e-bcbc-c535d6e349ec',
payment_id: '41c4772c-aa78-41d2-b60b-52de07ec6df2',
merchant_id: 'c404d923-226f-4aae-92da-22c1ef370434',
transaction_id: '549f998c-2733-4c75-9420-17d097e95156',
auth_response: {
"status": "PASS",
"responseCode": "A0000",
"responseMessage": "Success",
"authCode": 466071,
"hostReferenceNumber": "159996184447",
"hostResponseCode": "00",
"taskID": "67196560",
"transactionID": "54191797",
"transactionTimestamp": "2022-05-16T05:02:16",
"cardType": "V",
"transactionAmount": "11.00",
"totalAmount": "11.00"
}
}
}