Process a payment using a tokenized payment method from the embedded checkout
| Header | Value | Required |
|---|---|---|
x-api-key | Your API key from onboarding | Yes |
Authorization | Bearer {appToken} | Yes |
appId | Your application ID | Yes |
Content-Type | application/json | Yes |
"payments""tokenv3" for tokenized paymentsavsResult field contains Address Verification System codes:
| Code | Description |
|---|---|
| Y | Street address and ZIP code match |
| A | Street address matches, ZIP code does not |
| Z | ZIP code matches, street address does not |
| N | Neither street address nor ZIP code match |
| U | Address information unavailable |
| R | Retry - System unavailable |
| S | Service not supported |
| T | AVS not supported for this card type |
Invalid or expired token
AVS verification failure
useAVS is true, ensure the billing address ZIP code matches the card’s billing ZIP. You can disable AVS by setting useAVS to false, but this may increase fraud risk.Card declined
Invalid expiry format
useAVS: true) provides additional fraud protection but may decline legitimate transactions if address information doesn’t match. Consider your risk tolerance when configuring this setting.requestId to prevent duplicate charges if requests are retried