Payment Methods
The Payment Methods API allows you to retrieve available payment methods for an account or a specific payment. This information can be used to display appropriate payment options to your customers.
Payment methods vary by country, currency, and merchant configuration. This API helps you dynamically determine which payment methods are available for a specific transaction or account.
There are two main endpoints:
- Get Allowed Payment Methods (
/allowed-payment-methods) — Server-side endpoint that requires API key authentication. The account is determined from the API key. Use this from your backend. - Get Client Payment Methods (
/client-payment-methods) — Client-side endpoint that does not require authentication. Requires eitheraccountIdorpaymentIdas a query parameter. Use this from browser-based payment forms. Country is auto-detected via GeoIP when not provided.
The legacy /payment-methods endpoint is deprecated. Use the endpoints above instead.
Payment Methods object
See PaymentMethods for more information.
Get Payment Methods
**Deprecated.** Use [Get Allowed Payment Methods](#tag/Payment-Methods/operation/paymentMethods_getAllowed) for server-side (API key) or [Get Client Payment Methods](#tag/Payment-Methods/operation/paymentMethods_getClient) for client-side usage instead.
Get Allowed Payment Methods
Retrieve allowed payment methods for your account. Requires API key authentication.
Get Client Payment Methods
Retrieve available payment methods from the client side. No authentication required.