---
title: "List payment rails"
method: GET
path: "/v1/payment-methods/rails"
tags: ["Payments"]
---

# List payment rails

`GET /v1/payment-methods/rails`

Get available payment rails for a specific payment method and currency combination. Use this to determine which payment rails are available before creating a quote. The 'id' field from the response should be used as the 'payment_rail' parameter when creating quotes.

## Query parameters

- `payment_method` 'CARD' | 'CRYPTO' | 'BANK_TRANSFER' | 'MOBILE_MONEY', required
- `currency` string, required
- `country_code` string

## Response `200`

Success - Payment rails retrieved

- PaymentRailsResponse — Response containing available rails for a method and currency.
  - `payment_method` string, required — Payment method requested.
  - `currency` string, required — Currency requested.
  - `country_code` string, nullable — Resolved country code for this rail lookup.
  - `rails` PaymentRailOption[], required — Available rails for this method and currency.
    - `id` string, required — Rail identifier. Use this value as the 'payment_rail' parameter when creating quotes.
    - `name` string, nullable — Human-readable rail name
    - `active` boolean, nullable — Whether the rail is currently active and available for use

## Other responses

- `400` — Bad Request - Validation errors or invalid request format. Check the `details` object for field-specific validation errors. Common causes: missing required fields, invalid data types, values outside allowed ranges, or invalid formats.
- `401` — Unauthorized - Invalid, missing, or expired API key. Verify your API key is correctly formatted and included in the Authorization header as `Bearer sk_sandbox_...` or `Bearer sk_live_...`. Check that your key hasn't been revoked.
- `403` — Forbidden - API key does not have permission for the requested resource. Verify you're using the correct organization's API key and that you're not trying to access another organization's data.
- `404` — Not Found - The requested resource does not exist. Verify the resource ID is correct and that it belongs to your organization.
- `429` — Too Many Requests - Rate limit exceeded. Standard tier allows 100 requests per minute per API key. Wait a few seconds before retrying. Check X-RateLimit-Reset header for when the window resets.
- `500` — Internal Server Error - An unexpected error occurred while processing the request. Retry with exponential backoff. If the issue persists, contact support with your request context.

---

[API](https://skmtc.dev/bachs/apis/bachs-api.md) · [All operations](https://skmtc.dev/bachs/apis/bachs-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bachs/bachs-api/revisions/f29efa8a22df/schema)
