Credit Card Capture

Credit card capture converts an authorized transaction into sale and flags it for settlement.

POST https://<Platform-host>/api/payment/capture

Request

Request Body

Name
Type
Description

id*

string

transactionID returned from original Auth request

data.transactionAmount

string

Max Length=12 Allowed characters: 0-9 and .(dot) Note: this value always reflects the total dollar amount for example 1.00 and 1 both will be considered $1.00 and 0.10 will be 10 cents.

Transaction amount must be less or equal to the authorized amount. If not provided, the entire authorized amount is converted into sale and flag for settlement.

data.description

string

Transaction Description. Character limit is 255

Field Name
Type
Description
Required?

ID

string

Platform system ID for the sale request

Required

TransactionID

String

Unique transaction ID

Required

MerchantID

string

Merchant ID

Required

description

string

Transaction Description

Optional

CaptureResponse.status

string

Transaction execution status. Allowed values PASS | FAIL | PENDING_3DSAUTH

Required

CaptureResponse.responseCode

string

The code representing the status of the processed request

Required

CaptureResponse.responseMessage

string

The corresponding message for the response code

Required

CaptureResponse.authCode

string

Authorization code received for the transaction

Optional

CaptureResponse.hostReferenceNumber

string

A unique reference number by the acquiring processor for each transaction

Optional

CaptureResponse.hostResponseCode

string

Response code indicating the status of the authorization request

Optional

CaptureResponse.taskID

string

Task identification number from acquiring processor

Required

CaptureResponse.transactionID

string

Transaction Identifier

Optional

CaptureResponse.transactionTimestamp

string

Transaction timestamp in merchant's timezone

Required

CaptureResponse.transactionAmount

string

Total amount requested in this transaction

Optional

CaptureResponse.totalAmount

string

Total amount of this transaction

Optional

CaptureResponse.addressVerificationCode

string

Address verification system response

Optional

CaptureResponse.cardHolderVerificationCode

string

Optional

CaptureResponse.cardType

string

Card Type - visa, mastercard, american express, discover, dinersclub, ebt

Required

captureResponse.fraudScore

int

Return the fraud score between 0 - 100. 100 means less confidence i.e. more fraudulent i and 0 means lower chance of fraudulent. Note: The fraud monitoring has to be enabled. Please contact support to enable it

Optional

captureResponse.kountScore

int

Return the Kount Omniscore

Optional

CaptureResponse.customerReceipt

string

Printable customer receipt

Required

CaptureResponse.merchantReceipt

string

Printable merchant receipt

Required

Sample Request / Response

Example Request

{
    
    "id": "54191797",
    "data": {
        "transactionAmount": "11.00",
        "description": "Payment for the services"
    }
}

Last updated