Skip to content

BLTOKENCREDIT

This endpoint is used to credit the specified amount to a tokenized form of payment.

POST Request Attributes

AttributeDescriptionRequired
atokenAuthorization token to allow access to the service✔️
entityThis tells the API what database to use for your transactions.✔️
storeThe unique assignment for your location(s). Merchant accounts are assigned by store/location. Defaults to 1 if not provided
regThis identifies the POS station, user, terminal or process requesting transaction. Defaults to 1 if not provided
dateDate of the request made to Rover Pay. Supports MM/DD/YYYY or YYYY-MM-DD formats. Defaults to current date if not provided
tranThis is the sequential number for the REG requesting the transaction. Defaults to current time (in seconds) if not provided
invoiceInvoice must be unique per card request in order to request Inquiry from BLINQUIRE
ctokenThis is the token received from BLTOKENIZE or BLAUTH✔️
expiryCredit Card expiration date✔️
amountAmount to be credited with two implied decimal places (example: to specify "-$10.00," use "-1000"). (Note: negative amount)✔️
avsOptional AVS data. See AVS Data for the schema and validation rules
level23Optional Level 2 / Level 3 transaction data. See Level 2 / Level 3 Data for the schema and validation rules
fee_exclude_amountOptional fee amount to exclude from surcharge calculation. (Note: negative amount)
waiverOptional fee waiver flag for token forced credits (Y if original sale was not surcharged)
debugIf flag is set then error messages will be more verbose

Example Request (basic)

javascript
{
    "atoken": {{atoken}},
    "entity": {{entity}},
    "store": {{store}},
    "reg": {{reg}},
    "date": "",
    "tran": "rc783",
    "invoice": "rc783.7",
    "ctoken": "9478848718650076",
    "expiry": "1222",
    "amount": "-353",
    "debug": {{debug}}
}

Example Response

AttributeDescription
verifiedFlag will be set to 1 if call was successful or 0 if it failed
errorCodeError code, empty if call was successful
errorMessageError message, empty if call was successful
resultIdResult ID that can be used as the reqid field in BLTOKENREFUND
authAuthorization code returned from the processor
referenceAuthorization reference number returned from the processor
cardTypeCard type code (e.g., V for Visa, M for Mastercard)
cardDescCard type description (e.g., Visa, Mastercard)
nameCardholder name returned from the processor
avsCodeAddress Verification Service (AVS) response code
fee_amountSurcharge fee amount (if applicable)
fee_authcodeFee authorization code (if applicable)
fee_formatFee format (if applicable)
fee_merchidFee merchant ID (if applicable)
fee_retrefFee retrieval reference (if applicable)
fee_typeFee type (if applicable)
fee_valueFee value (if applicable)
ccvRecBase64 encoded string containing the full CCV record
level23ErrorsComma-delimited list of Level 2 / Level 3 validation issues, omitted when none. See Level 2 / Level 3 Data
Javascript
{
    "verified": "1",
    "errorCode": "",
    "errorMessage": "",
    "resultId": "1*19562*110*rc783*10",
    "auth": "123456",
    "reference": "203563747337",
    "cardType": "V",
    "cardDesc": "Visa",
    "name": "",
    "avsCode": "Y",
    "ccvRec": "NCoqKioqKioqMDA3Nv4xMjIy/v5SRUZVTkT+MjAzMjUzMTUxMDc0/v5FTkNSWVBURUT+Vv5WaXNh/v5Q/v5bRDIwXSBDaGFyZ2UgQWNjZXB0ZWQu/v7+/v7+MSoxOTU2MioxMTAqcmM3ODMqMTD+/v7+/v7+/v7+/v4tMzUz/v7+/v7+/v5UT0tFTi1DUkVESVT+OTQ3ODg0ODcxODY1MDA3Nv5CT0xU/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+Vf5V/nJjNzgyNw=="
}