Skip to main content

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 either accountId or paymentId as 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.