# BLTOKENSALE

This endpoint is used to finalize a sale using a tokenized form of payment. Token can be received through BLTOKENIZE

# POST Request Attributes

Attribute Description Required
atoken Authorization token to allow access to the service ✔️
entity This tells the api what database to use for your transactions ✔️
store The unique assignment for you location(s) Merchant accounts are assigned by store/location ✔️
reg this identifies the POS station, user, terminal or process requesting transaction ✔️
date Date of the request made to Rover Pay
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
amount Amount to be authorized with two implied decimal places (example: to specify "$10.00," use "1000") ✔️
expiry Credit Crad expirtaion date ✔️
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": "rc7825",
    "ctoken": "9478848718650076",
    "expiry": "1222",
    "amount": "100",
    "debug": {{debug}}
}
1
2
3
4
5
6
7
8
9
10
11
12
13

# Example Response

Attribute Description
verified Flag will be set to 1 if call was successful or 0 if it failed
errorCode Error Code, empty if call was successful
errMessage Error Message, empty if call was successful
resultId Result ID that can be used as the reqID field in BLTOKENREFUND
ccvRec Base 64 Encoded String which holds the Token
{
    "verified": "1",
    "errorCode": "",
    "errorMessage": "",
    "resultId": "1*19562*110*rc783*11",
    "ccvRec": "NCoqKioqKioqMDA3Nv4xMjIy/v5QUFM2MTP+MjAzMTExMTYzNTI4/v5FTkNSWVBURUT+Vv5WaXNh/v5Q/v5bRDIwXSBDaGFyZ2UgQWNjZXB0ZWQu/v7+/v7+MSoxOTU2MioxMTAqcmM3ODMqMTH+/v7+/v7+/v7+/v4xMDD+/v7+/v7+/lRPS0VOLVNBTEX+OTQ3ODg0ODcxODY1MDA3Nv5CT0xU/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+Wv5Y/nJjNzgyNQ=="
}
1
2
3
4
5
6
7