a a

Recur Surcharge API Call

ENDPOINT
https://api-test.surchx.com/v1/recur/surcharge
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"
 }
RESPONSE
{
    "transactionFee": 3.75,
    "sTxId": "47k17y158esu5yz158exfq22o",
    "message": "ok"
}
Nomenclature
NameInformationMandatory
mTxIdMerchant orderId or unique identifier value assigned during a previous transaction to be used to retrieve the parameter values from the previous transaction to be used for this transaction unless overriddenAt leaset one is required from mTAt leaset one is required from mTxId, sTxId, or cardTokenxId, sTxId, or cardToken
sTxIdUnique identifier in the SurchX transaction ID value assigned during a previous transaction to be used to retrieve the parameter values from the previous transaction to be used for this transaction unless overridden.At leaset one is required from mTAt leaset one is required from mTxId, sTxId, or cardTokenxId, sTxId, or cardToken
cardTokenCredit card token value assigned during a previous transaction to be used to retrieve the parameter values from the previous transaction to be used for this transaction unless overridden.At leaset one is required from mTAt leaset one is required from mTxId, sTxId, or cardTokenxId, sTxId, or cardToken
nicnOptional value to override the NICN value of the original tranaction. The NICN is the First 6 digits of the credit card.
regionOptional value to override the region value of the original tranaction.Zip code or 2 letter state code value, supplied if needed to override the previous tranaction region value.
amountOptional value to override the amount value of the original tranaction.Read-only Amount of transaction
CampaignOptional value to override the Campaign value of the original tranaction. This is opaque data that is available for further data analytics
CountryOptional value to override the Country code of the original transaction. This is an optional field and will default to 840/US. The ISO Numerical Country Code. See for Reference .
ProcessorOptional value to override the Processor Name of the orginal transaction.