Tokenizing a Payment Method Via Payfields
It is important to use a referrer private API key to process the transactions.
Sample $0 Authorization Response
$0 Auth and Tokenization
For a $0 Dollar Auth, use '0' as the value in the transaction. Not just 0.
Set to txnToken - see below
Set to auth - see below
Sample $0 Authorization Response
Running a Transaction with a Token
It is important to use a referrer private API key to process the transactions.
To submit a transaction with a token via the API you will need to add the token (which can be found on the customer’s profile page) to your POST request to the /txns endpoint. If the customer’s address information was saved then it will be automatically included when a Merchant submits a transaction using their token
Sample card payment and eCheck payment using a saved token:
The API syntax for card on file card payments and eCheck payments differs slightly as shown below:
Location | Syntax |
URL |
|
HEADER |
|
BODY (for card payments) |
|
BODY (for eCheck payments) |
|
Notes
Do not use it in combination with Customer, since Customer is a unique token / card holder.
When creating a tokenized card, this creates a unique Customer.