X-Api-Version
header to 2.4
to use v2.4 of the API.paymentType
field logic has been refined for better accuracy.paymentType
is provided, it remains blank, allowing the system to determine the best value internally.GATEWAY_TIMEOUT
decision type for better timeout tracking.transactionEventId
, enabling better tracking.firstPaymentReason
to specify why a payment method is vaulted (CardOnFile
, Recurring
, Unscheduled
).vaultOnAgreement
to support vaulting after an agreement mandate is successfully completed.
Removed processor data and external IDs from the API responses and webhooks in favour of transactions.events
.
For more details, please see our detailed migration guide.X-Api-Version
header to 2.3
to use v2.3 of the API.IdempotencyKeyAlreadyExists
with status 409
when a payment request is submitted with an X-Idempotency-Key
that was already sent in a previous request.X-Api-Version
header to 2.1
to use v2.1 of the API.paymentMethod.paymentType
and paymentMethod.descriptor
on the request and response of the client sessionorder.lineItems[].productType
on the request and response of the client sessionGET /client-session
to get the content of a client sessionPATCH /client-session
to update the content of a client sessioncurrencyCode
is always passed if any amount
value is passedpaymentMethod.isVaulted
boolean field to indicate whether the paymentMethod.paymentMethodToken
in the response is a vaulted token (and can therefore be used for future payments) or not. This replaces vaultedPaymentMethodToken
.order.lineItems[].productType
on the request and response
amount
, currencyCode
, customerId
and orderId
are now required fields when making a payment with a vaulted token (i.e. a recurring payment).POST /payment-instruments/{paymentMethodToken}/vault
to set whether or not the payment method token should be verified before vaultingisVerified
to the payment method responseX-API-Version
-> 2021-09-27
order
, customer
and metadata
passed on the Client Session request is then used for the payment.
order
, customer
, etc.
paymentInstrument
from the previous Payments API version have been refactored to paymentMethod
to be more consistent throughout
billingAddress
and shippingAddress
fields are now all optional
X-API-Version
-> 2021-09-27
order
, customer
and metadata
passed on the Client Session request is then used for the payment.
order
, customer
, etc. It now more closely resembles the /client-session
endpoint
paymentInstrument
from the previous Payments API version have been refactored to paymentMethod
to be more consistent throughout
paymentMethodData
in PaymentMethod
responses (for card payment method types ) all now contain a first6digits
field in addition to the last4digits
returned. This is an opt-in field, so it is null by default.
billingAddress
and shippingAddress
fields are now all optional