Pre-Authorize an amount on a credit/debit card using a card token
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
QorCommerce provides a Secure Vault that will encrypt and store card numbers and return a token you can store with the client and/or a contract to use for future payments.
Card Tokens can be created from card data or track data during a sale or authorize transaction by providing the required card data and store_card = true parameter in the request. You can also create a card token using the Create a Payment Token endpoint.
To use a card token for a authorization, you simply pass the token as a creditcard value in the request using this endpoint.
Parameters
The following parameters are available to process a card token authorization.
| parameter |
|---|
| **mid** |
| **topt** |
| **reference\_id** |
| **amount** |
| **service\_charge** |
| **creditcard** |
| **cvv** |
| **currency** |
| **invoiceid** |
| **orderid** |
| **ipaddress** |
| **cfirstname** |
| **clastname** |
| **cemail** |
| **cphone** |
| **risk\_score** |
| **is\_recurring** |
| **first\_trxn** |
| **CAVV** |
| **ECIFlag** |
| **XID** |
| **store\_card** |
| **metadata** |
JSON Example
The following JSON example provides test values to process a card token sale. You can copy and paste these values in the Body Params section below to be used by the Try It feature
{
"transaction_data": {
"mid": "887728202",
"amount": "1.5",
"creditcard": "909055$asoCdcdt",
"cvv": "999",
"currency": "USD",
"orderid": "193383",
"invoiceid": "INV-123332",
"ipaddress": "0.0.0.0",
"cfirstname": "Russell",
"clastname": "Hanneman",
"cemail": "[email protected]",
"cphone": "1-344-877-8928",
"cwebaddress": "example.com"
}
}Response Codes
- [Payment Response Codes](doc:payment-response-codes)
Link to details on related response codes.
