Payment Status Webhooks
v2.1 → v2.2
customer
object addedisVaulted
field is added and if set totrue
thenpaymentMethodToken
will be the multi-use token. Iffalse
, it’ll be the single-use token. Previously,paymentMethodToken
was always the single-use token.
Example webhook when payment is created:
v2.0 → v2.1
v2.01 is the same as v2.0, so this migration guide applies for v2.01 as well.
-
no longer return the
order
object -
paymentMethod.vaultedPaymentMethodToken
is no longer returned.paymentMethodToken
is now returned but this is always the single-use token (If you are keen to retrieve the multi-use token from the webhook, see the v2.2 updates). -
Transaction objects now include
date
,amount
andcurrencyCode
-
no longer return the following fields from
paymentMethod
object:cryptogram
eci
threeDsVersion
domainServerTransactionId
networkTransactionId
cvvAvailable
transStatus
Example webhook when payment is created: