Create vaulted card account
Store a customer's credit card on file
post/v3/customercardaccount
Request
- Base URLhttps://sandbox.api.mxmerchant.com/checkout
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
idinteger required
Customer id
echoboolean
Return results (otherwise, you will just see an HTTP response code)
Request body
Response
201
Example response
{
"isDefault": true,
"id": 10000000532311,
"created": "2019-10-24T15:40:54.63Z",
"alias": "alias - credit",
"cardType": "Visa",
"last4": "3343",
"cardId": "eXlrPIqkMmVxqnqTxmvMMJO0dOcf",
"token": "TRKOO2SD9ZJAHYBTRUNNHBKJYCQWAUJS",
"expiryMonth": "11",
"expiryYear": "2038",
"name": "NoTax Customer",
"avsStreet": "1776 Main Street Unit 3",
"avsZip": "30005"
}Changes
No recorded changes to this operation across all 1 revision of this API.