---
title: "Get payment sources"
method: GET
path: "/v3/merchant-accounts/{id}/payment-sources"
tags: ["Merchant accounts"]
---

# Get payment sources

`GET /v3/merchant-accounts/{id}/payment-sources`

## Request

- Base URL: `https://api.truelayer-sandbox.com`
- URL: `https://api.truelayer-sandbox.com/v3/merchant-accounts/{id}/payment-sources`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://auth.truelayer.com/connect/token` scopes: `payments`

Get the payment sources from which the merchant account has received payment

## Path parameters

- `id` string, uuid, required: Unique ID for the Merchant Account

## Query parameters

- `user_id` string, required: Unique ID for the User

## Response `200`

User external account payment sources.

- UserPaymentSources
  - `items` SettledPaymentSource[], required
    - `id` string, uuid, required
    - `account_holder_name` string, required
    - `account_identifiers` AccountIdentifier[], required
      - union: A unique scheme identifier for an external account.
        - AccountIdentifierScan: The scheme identifier for a bank account participating in UK payment schemes.
          - `type` 'sort_code_account_number', required: The type of scheme identifier.
          - `sort_code` string, required: 6 digit sort code (no spaces or dashes). pattern: `^[0-9]{6}$`
          - `account_number` string, required: 8 digit account number. pattern: `^[0-9]{8}$`
        - AccountIdentifierIban: The international bank account number.
          - `type` 'iban', required: The type of scheme identifier.
          - `iban` string, required: Valid International Bank Account Number (no spaces). Consists of a 2 letter country code, followed by 2 check digits, and then by up to 30 alphanumeric characters (also known as the BBAN). pattern: `^[A-Z]{2}[0-9]{2}[A-Z0-9]{11,30}$`
        - AccountIdentifierNrb: The scheme identifier for a bank account participating in Poland's payment schemes.
          - `type` 'nrb', required: The type of scheme identifier.
          - `nrb` string, required: Valid Polish NRB (no spaces). Consists of 2 check digits, followed by an 8 digit bank branch number, and then by a 16 digit bank account number. Equivalent to a Polish IBAN with the country code removed.

## Other responses

- `401`: Unauthenticated
- `403`: Forbidden
- `404`: Account Not Found
- `500`: Unknown Error

---

[API](https://skmtc.dev/truelayer/apis/payments-api-v3.md) - [All operations](https://skmtc.dev/truelayer/apis/payments-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/truelayer/apis/payments-api-v3/revisions/a7c585fc9b84?raw)
