Make a copy of an existing Stax Payment Method in an external gateway
Enable merchants to copy an existing Stax payment method to an external gateway without re-entering card details. This facilitates integration with third-party services that require access to the payment method.
Key Features
Copies a Stax payment method token to an external gateway seamlessly.
Enables seamless third-party gateway integrations without requiring additional customer input.
Supports pre-auth transactions to validate the payment method before sharing.
Prerequisites: Ensure the payment method has been validated (e.g., via a pre-authorization).
Risk of Unusable Tokens: Sharing a payment method that hasn't been validated may result in unusable tokens.
Contact Support: Work with your Partner Success representative to obtain the necessary gateway_token.
| Code | Response | Reason |
|---|---|---|
| 200 | Success | Returns an object with tokens |
| 400 | Bad Request | Invalid input data. |
| 401 | Unauthorized | Authentication failed. |
| 404 | Not Found | A payment method does not exist. |
| 500 | Internal Server Error | An unexpected error occurred on the server. |
Security
Ensure secure handling of tokens and avoid exposing them to unauthorized parties.
Validation
Validate payment methods before sharing to reduce risk.
Third-Party Compliance
Ensure the external gateway complies with necessary security standards.
