---
title: Get the available payment methods
endpoint: GET /api/v1/buy/payment-methods/{type}
description: If you provide the User-Identifier or User-Authorization header, the limits returned will take into account the user limits (max amount per transaction, not the remaining daily limit).
---

`GET /api/v1/buy/payment-methods/{type}`

## Parameters

| Field | Type | Required | Example | Description |
| --- | --- | --- | --- | --- |
| `type` | string (path) | required |  | You can choose to receive all payment methods per country, or only the preferred ones for each country. One of: all, preferred. |

## Responses

| Status | Meaning |
| --- | --- |
| 200 | Returns a list of available payment methods. |
| 400 | A list of possible errors for this endpoint. |

| Field | Type | Required | Example | Description |
| --- | --- | --- | --- | --- |
| `paymentMethods` | object[] | optional |  |  |
| `paymentMethods[].code` | string | required | `creditCard` | The BTC Direct payment method code. |
| `paymentMethods[].label` | string | required | `Credit card` | Payment method label. |
| `paymentMethods[].psp` | string | required | `cm` | The PSP that will be used for this payment method. |
| `paymentMethods[].limit` | float | required | `1000.01` | The maximum amount for this payment method. |
| `paymentMethods[].fees` | object | optional |  |  |
| `paymentMethods[].fees.fixed` | float | optional | `0.35` | Fixed fee amount |
| `paymentMethods[].fees.percentage` | float | optional | `1.9` | Fee percentage |
| `paymentMethods[].expirationPeriod` | int | required | `420` | The number of seconds a user has to pay the order |
| `paymentMethods[].openInNewTab` | boolean | required |  | Indicates if the payment method should open in a new tab. |
| `paymentMethods[].context` | object[] | required |  | Optional metadata that provides additional configuration for the payment method. Each context item specifies a type and corresponding value. For example, it may define which card brands are supported or a PSP-specific checkout identifier. The required context types depend on the PSP and selected payment method. |
| `paymentMethods[].context[].type` | string | required |  | One of: acceptedCards, clientId, countries, country, currency, disableFunding, displayName, enableFunding, features, identifier, intent, scope. |
| `paymentMethods[].context[].value` | {} | required |  | The value associated with the context type. This is dynamically typed: it can be a string, array, boolean, or integer depending on the context type. For example, for "acceptedCards", this will be an array of strings (e.g., ["visa", "mastercard"]). |
| `countries` | array[] | optional |  | The payment methods per country. |
