a a

Recur Capture API Call

ENDPOINT
https://api-demo.surchx.com/v1/recur/capture

For testing purpose, please use the Test Cards

HEADERS
    Content-Type : application/json
    X-Requested-With : xhr
    Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NzE3Mjc2MDAsImlhdCI6MTU2NjUwMDMxOCwibmFtZSI6IkhVR08gRE9DUyAtKERPTlQgREVMRVRFKSIsImlkIjoiNjVlZmJiMjMtNGY4Zi00M2ZjLTk1MDQtODk4YThjZWQzNWNkIn0.ehlu051arjjraE8E5PP8WBM_YBfS2r4CPoS_V_D8hog
REQUEST BODY
{
    "sTxId": "5tjih88nsy1fzkvj0e54kuyv4",
    "country":"840",
    "region":"85004",
    "processor":"standard",
    "nicn":"424242",
    "amount":100,
    "authCode": "auth-0001"
}
RESPONSE
{
{
    "sTxId": "y7qz8piitbmd1ilnunxgupds"
}
}
Nomenclature
NameInformationMandatory
mTxIdMerchant orderId or unique identifier in the Merchant e-commerce scope referencing the Order or Shopping Cart. This field is optional.Yes, if sTxId is not passed
sTxIdUnique identifier in the SurchX system which refers to the persistence state of the Transaction Fee calculation.Yes, if mTxId is not passed
authCodeProcessing authorization code. Used for reconciliation.No; but preferred
nicnRead-only NICN used when processingNo; takes the previous Transaction Fee NICN value
regionRead-only Region of transactionNo; takes the previous Transaction Fee Region value
amountRead-only Amount of transactionNo; takes the previous Transaction Fee Amount value