---
title: "Get payment sources"
method: GET
path: "/organisations/{organisationId}/payment-sources"
tags: ["Organisations", "Payment Sources"]
---

# Get payment sources

`GET /organisations/{organisationId}/payment-sources`

## Request

- Base URL: `https://api.partners.uat.crezco.com`
- URL: `https://api.partners.uat.crezco.com/organisations/{organisationId}/payment-sources`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/crezco/apis/payables-api/docs/organisations/:organisationId/payment-sources/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves all payment sources (bank accounts and stored cards) for an organisation. Returns connected bank accounts and previously used cards.

## Path parameters

- `organisationId` string, uuid, required

## Headers

- `Crezco-Version` string

## Response `200`

OK

- union[]
  - union: Base representation for a payment source (bank account or card)
    - BankPaymentSourceResourceRepresentationVersion4: Base representation for a payment source (bank account or card)
      - `paymentSourceType` string, required
      - `paymentSourceId` string, uuid: Unique ID of the payment source in Crezco
      - `organisationId` string, uuid: Unique ID of the owning organisation in Crezco
      - `country` string, required: ISO 3166-1 alpha-2 country code
      - `currencyCode` string, nullable, required: ISO 4217 alpha-3 currency code
      - `status` string, required: Status of the payment source
    - CardPaymentSourceResourceRepresentationVersion4: Base representation for a payment source (bank account or card)
      - `paymentSourceType` string, required
      - `paymentSourceId` string, uuid: Unique ID of the payment source in Crezco
      - `organisationId` string, uuid: Unique ID of the owning organisation in Crezco
      - `country` string, required: ISO 3166-1 alpha-2 country code
      - `currencyCode` string, nullable, required: ISO 4217 alpha-3 currency code
      - `status` string, required: Status of the payment source

## Other responses

- `400`: Bad Request
- `401`: You do not have access. Check your API key is correct.
- `403`: You do not have access to this organisation.
- `404`: Not Found
- `406`: The version of the API that you requested is not available. Check your Crezco-Version header. If you omit this header you will use the latest version of the API.
- `429`: You have made too many requests to the API in too short a period. Wait a while and try again.

---

[API](https://skmtc.dev/crezco/apis/payables-api.md) - [All operations](https://skmtc.dev/crezco/apis/payables-api/llms.txt) - [OpenAPI document](https://skmtc.dev/crezco/apis/payables-api/revisions/4427e79fba09?raw)
