This webhook event is triggered when a card is tokenized and stored as a payment method.
Request example
{
"event": {
"id": "evt_01JS21X856RR8R69GV5F17XK9C",
"type": "token.created",
"timestamp": "2025-04-16T14:30:00Z"
},
"originalResponse": {
"id": "trx_01J2F0ZJ2JW5B63CJFPXRGAB1S",
"type": "Auth",
"status": "Completed",
"timestamp": "2025-05-27T18:49:31Z",
"resultCode": 0,
"resultText": "APPROVED",
"referenceId": "ref_add_card_12345",
"accountHolder": {
"id": "aho_01JRZPRGFF4J2SZC3HMDBYEN2J",
"contact": {
"city": "Chicago",
"name": "John Doe",
"state": "IL",
"address": "300 S Wacker Dr",
"zipCode": "60606",
"countryCode": "US"
},
"externalId": "usr_1234567890123"
},
"paymentMethod": {
"id": "pmt_trm_01JRZPTMTBN41PC3VPQNZ5T3HF",
"type": "Physical",
"currency": "USD",
"description": "Main Store Terminal"
},
"approvedAmount": 0,
"requestedAmount": 0,
"transactionResponses": [
{
"authCode": "123456",
"cardType": "VISA",
"avsResult": "Y",
"cvvResult": "M",
"accountType": "Credit",
"responseCode": 1,
"paymentMethod": {
"id": "pmt_tkn_01JRZPRGFF4J2SZC3HMDBYEN2J",
"type": "Token",
"cardType": "VISA",
"currency": "USD",
"cardExpDate": "1225",
"description": "Token for John Doe's Visa",
"billingContact": {
"city": "Anytown",
"name": "John Doe",
"state": "NY",
"address": "123 Main St",
"zipCode": "12345",
"countryCode": "US"
},
"maskedCardNumber": "************0011"
},
"amountApproved": 0,
"hostResponseText": "APPROVED 00"
}
]
}
}
Response examples (200)
{
"value": {}
}