Uncategorized

POST Generate Token

POST https://apisandbox.onepay.com/Token

When a customer card or check details are provided in the token object, token is generated. Tokens can be used to process the transactions, create billing plans and save to customer vault.

Sample Code


{  
   "card":{  
      "number":"4111111111111111",
      "code":"228",
      "expiration_date":"0419",
      "type":"AX",
      "track_data":null,
      "action_code":null,
      "default_card":null,
      "token":""
   },
   "check":null
}
 

BODY

KEY VALUE DESCRIPTION
check object Present in check object of the Transaction request
card object Present in card object of the Transaction request