- an
objectfield which designates the type of event notification, e.g.APPLICATION,PAYMENT_METHOD,TRANSACTION,REWARD,CUSTOMER_LINK,STREAK, orACCOUNT_STATUS. - a
datafield that includes details about the event
data also carries merchant_key (when a merchant key is configured for the product) and customer_metadata (when the customer has partner metadata containing it). Both are enrichments applied at delivery time, so treat them as present on a best-effort basis rather than guaranteed.
Application Event
Receive a notification regarding a credit card application.object equals APPLICATION
data field structure
Example:
Application Statuses
Applicationstatus values include:
Payment Method Event
Receive a notification when a payment method is created (e.g. new credit card account) or updated (e.g. virtual card reissued)object equals PAYMENT_METHOD
data field structure
tokens field structure
Example:
status values include:
-
ACTIVE- Payment method is active and available for use. -
INACTIVE- Payment method is paused or has not yet been activated by the customer. -
CANCELED- Payment method has been permanently canceled due to customer request or account closure.
Status Transitions By Card Type
Virtual Cards Virtual cards are always created inACTIVE status.
ACTIVE→INACTIVE— Customer pauses their card.ACTIVE→CANCELED— Customer cancels their card or closes their account.INACTIVE→CANCELED— Customer cancels their card or closes their account.
INACTIVE status and transition to ACTIVE when the customer initiates activation.
INACTIVE→ACTIVE— Customer activates their physical card.ACTIVE→INACTIVE— Customer pauses their card.ACTIVE→CANCELED— Customer cancels their card or closes their account.INACTIVE→CANCELED— Customer cancels their card or closes their account.
ACTIVE status. They serve both online and in-person use cases with a single set of card details.
ACTIVE→INACTIVE— Customer pauses their card.ACTIVE→CANCELED— Customer cancels their card or closes their account.INACTIVE→CANCELED— Customer cancels their card or closes their account.
- A
CANCELEDwebhook for the old card. - A new payment method webhook for the replacement card (
ACTIVEfor virtual,INACTIVEfor physical).
Transaction Event
Receive a notification when atransaction is created or transitions statuses.
object equals TRANSACTION
data field structure
merchant field structure
address Field Structure
Example:
purchase_method values include:
-
CHIP -
CONTACTLESS -
KEYEDIN -
ONLINE -
SWIPE -
QRCODE -
OCR
status values include:
-
APPROVED- Authorization request was received from the merchant and approved by Imprint. This creates a pending transaction on the customer’s statement. -
UPDATED- Authorization request was updated by the merchant. The pending transaction was updated. -
VOIDED- Approved authorization has been cancelled by the merchant or expired by Imprint, resulting in the pending transaction being removed from the customer’s statement. -
CAPTURED- Approved authorization has been captured, or a force capture has been created (bypassing the authorization step). This creates a confirmed purchase transaction on the customer’s statement. -
REFUNDED- Refund has been created by the merchant, either related to a previous capture or standalone (e.g. blind return). This results in a confirmed refund transaction on the customer’s statement.
Transaction Event Examples
Webhook 1: Customer’s successfully authorized a $50 transaction at ShellReward Event
Receive a notification when a reward is created or transitions statuses.object equals REWARD
data field structure
Example:
Customer Link Event
Receive a notification when a customer linked their partner account.object equals CUSTOMER_LINK
data field structure
Example:
status values include:
ACTIVE- Customer link is active.