# List Location payment methods

Returns the payment methods configured for the Location (cash, cards, Pix, custom methods)
with the default cash account, processing fee, card brands and installment rates. Built-in
methods have a `slug`; custom methods have `slug: null`.
Available only for Locations with the payment methods and fees settings enabled;
otherwise the request returns `403`. The Business User needs access to the Location.

Endpoint: GET /locations/{location_id}/payment_methods
Version: 1.0.0
Security: BearerPartnerUser

## Security:

  - `BearerPartnerUser` (unknown)
    http bearer Bearer {PartnerToken}, User {UserToken}

## Path parameters:

  - `location_id` (integer, required)
    Location ID

## Header parameters:

  - `Accept` (string, required)

  - `Content-Type` (string, required)

  - `Authorization` (string, required)
    Bearer {partner_token}, User {user_token}

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `success` (boolean)

  - `data` (object)

  - `data.payment_methods` (array)

  - `data.payment_methods.id` (integer)

  - `data.payment_methods.slug` (string | null)
    Built-in method slug, for example `debit_card` or `credit_card`; `null` for a custom method

  - `data.payment_methods.name` (string)

  - `data.payment_methods.default_account_id` (integer)
    Cash account that receives payments by default

  - `data.payment_methods.fee_rate` (number)
    Processing fee, percent

  - `data.payment_methods.is_default` (boolean)
    Whether this is a built-in method

  - `data.payment_methods.selection_mode` (string)
    Enum: "default", "select", "disabled"

  - `data.payment_methods.has_card_brands` (boolean)

  - `data.payment_methods.use_card_brands` (boolean)

  - `data.payment_methods.card_brands` (array)
    Card brands with their own fee and installment rates

  - `data.payment_methods.card_brands.id` (integer)

  - `data.payment_methods.card_brands.slug` (string)

  - `data.payment_methods.card_brands.name` (string)

  - `data.payment_methods.card_brands.is_default` (boolean)

  - `data.payment_methods.card_brands.fee_rate` (number)

  - `data.payment_methods.card_brands.installments` (array)

  - `data.payment_methods.card_brands.installments.count` (integer)

  - `data.payment_methods.card_brands.installments.rate` (number)

  - `data.payment_methods.has_installments` (boolean)

  - `data.payment_methods.use_installments` (boolean)

  - `data.payment_methods.installments` (array)
    Installment options with their fee rate, percent

  - `data.payment_methods.installments.count` (integer)

  - `data.payment_methods.installments.rate` (number)

  - `data.payment_methods.has_funds_receipt_period` (boolean)

  - `data.payment_methods.funds_receipt_period` (integer)
    Days until the funds are received

  - `meta` (array)

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 fields (application/json):

  - `success` (boolean)
    Response status.
    Example: false

  - `data` (object | null)
    Response data.
    Example: null

  - `meta` (object)
    Additional response data.

  - `meta.message` (string)
    Error message.
    Example: Authentication needed.

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 fields (application/json):

  - `success` (boolean)
    Response status.
    Example: false

  - `data` (object | null)
    Response data.
    Example: null

  - `meta` (object)
    Additional response data.

  - `meta.message` (string)
    Error message.
    Example: Access denied.

## Response 404:

  - `404` (unknown)
    Not Found

## Response 404 fields (application/json):

  - `success` (boolean)
    Response status.
    Example: false

  - `data` (object | null)
    Response data.
    Example: null

  - `meta` (object | array)
    Additional response data (empty object or empty array)
    Example: {}

