Clover

Token Response

Onepay Payment Gateway
POST https://apisandbox.onepay.com/Token

The token response contains information of the token requested.

Sample Code


{

    "result_code":1,

    "result_text":"SUCCESS",

    "result_sub_code":"000",

    "transaction_datetime":"20190423T054855Z",

    "token":"330314863046666"

}
 

BODY

KEY VALUE DESCRIPTION
result_code numeric (1) The overall status of the transaction. One of the following: 1 - Approved from First Data **2- Any kind of Declined or Reject from First Data 3- Error from API validations
result_text string Description of the outcome of the transaction from First Data. Erro details are provided from Gateway.
transaction_datetime date and time in yyyyMMddTHHmmssZ format Date and Time of the generated token
token numeric (up to 16 digits) The generated token's value