# BLTOKENFINAL

Updated: 9/7/2021, 1:14:21 PM
Created: 9/7/2021, 1:14:21 PM
Last Updated By: Mike Street
Read Time: 2 minute(s)

This endpoint finalizes a transaction on an authorized form of payment.

# POST Attribute Format

Attribute Description Required
atoken Authorization token to allow access to the service ✔️
entity This tells the api what databse to use for your transactions ✔️
store The unique assignment for you location(s) Merchant accounts are assigned by store/loction ✔️
reg this identifies the POS station, user, termial or process requesting transaction ✔️
date Date of the request made to TotaLink
tran This is the sequential number for the REG requesting the transaction
invoice Invoice must be unique per card request in order to request Inquiry from blinquire
ctoken This is the token recieved from BLTOKENIZE ✔️
expiry Credit Card expiration date ✔️
amount Amount to be credited back to the credit card
reqid This is the resultID from the transaction ✔️
debug If flag is set then error messages will be more verbose

# Example Request

{
    "atoken": {{atoken}},
    "entity": {{entity}},
    "store": {{store}},
    "reg": {{reg}},
    "date": "",
    "tran": "rc783",
    "invoice": "rc7823",
    "ctoken": "9478848718650076",
    "expiry": "1222",
    "amount": "800",
    "reqid": "1*19562*110*rc783*7",
    "debug": {{debug}}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14

# Example Response

Attribute Description
verified Flag will be set to 1 if call was succesfull or 0 if it failed
errorCode Error Code
errMessage Error Message
resultId Result ID that can be used as the reqIid
ccvRec Base 64 Encoded String which holds the Token
{
    "verified": "1",
    "errorCode": "",
    "errorMessage": "",
    "resultId": "1*19562*110*rc783*6",
    "ccvRec": "NCoqKioqKioqMDA3Nv4xMjIy/v5QUFMxNTL+MjAzNTYzNzQ3MzM3/v5FTkNSWVBURUT+Vv5WaXNh/v5Q/v5bRDIwXSBDaGFyZ2UgQWNjZXB0ZWQu/v7+/v7+MSoxOTU2MioxMTAqcmM3ODMqNv7+/v7+/v7+/v7+/jgwMP7+/v7+/v7+Q0MtQ09NUExFVEX+/kJPTFT+/v7+/v4xKjE5NTYyKjExMCpyYzc4Myo1/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v5yYzc4MjM="
}
1
2
3
4
5
6
7