> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orqex.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List available methods

> Payment methods available for this payment from the given country, in recommended order. The `value` of each entry is what you send as `method_code`.



## OpenAPI

````yaml /api-reference/openapi.json get /payment/intents/{paymentIntentId}/countries/{countryCode}/methods
openapi: 3.1.0
info:
  title: Orqex Orchestrate API
  version: 1.0.0
  description: >-
    The Orqex Orchestrate API for collecting payments and sending payouts.


    Authenticate with a secret key as a bearer token; the key also selects the
    environment. Amounts are in major units everywhere: `50` means 50.00. Writes
    accept an `X-Idempotency-Key` header. Lists are cursor-paginated.


    Which countries, currencies and payment methods are available depends on
    your project configuration: read them from the discovery endpoints at
    payment time, or look them up in your dashboard.
  contact:
    name: Orqex Orchestrate
    url: https://orqex.com
servers:
  - url: https://api.orqex.com/v1
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Checkout
    description: Hosted checkout sessions.
  - name: Payment intents
    description: Payments, discovery and reconciliation.
  - name: Payment attempts
    description: Collecting a payment and confirming it.
  - name: Refunds
    description: Returning money to a payer.
  - name: Payouts
    description: Sending money out.
  - name: Utilities
    description: Exchange rates and method status.
paths:
  /payment/intents/{paymentIntentId}/countries/{countryCode}/methods:
    get:
      tags:
        - Payment intents
      summary: List available methods
      description: >-
        Payment methods available for this payment from the given country, in
        recommended order. The `value` of each entry is what you send as
        `method_code`.
      operationId: listPaymentIntentCountryMethods
      parameters:
        - name: paymentIntentId
          in: path
          required: true
          description: The payment intent id.
          schema:
            type: string
        - name: countryCode
          in: path
          required: true
          description: ISO 3166-1 alpha-2 country code.
          schema:
            type: string
            pattern: ^[A-Za-z]{2}$
        - name: currency
          in: query
          required: false
          description: Restrict to methods that can charge this currency.
          schema:
            type: string
          example: USD
      responses:
        '200':
          description: Available payment methods.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/PaymentMethod'
        '401':
          description: Missing, invalid, inactive or expired API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The request address is not on the API key's allowlist.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Validation failed or the operation was rejected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
        '429':
          description: Rate limit exceeded (100 requests per minute per key).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    PaymentMethod:
      type: object
      description: >-
        A payment method available for this payment. Method codes are discovered
        at runtime and must not be hard-coded.
      properties:
        value:
          type: string
          description: The code to send as `method_code`.
          example: test
        label:
          type: string
        description:
          type:
            - string
            - 'null'
        icon_url:
          type:
            - string
            - 'null'
        category:
          type:
            - string
            - 'null'
          description: Broad family the method belongs to.
        requires_phone:
          type: boolean
          description: Whether a payer phone number must be supplied.
    Error:
      type: object
      properties:
        message:
          type: string
    ValidationError:
      type: object
      properties:
        message:
          type: string
          example: The given data was invalid.
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Your secret key, e.g. `sk_live_...` or `sk_sandbox_...`.

````