API reference / Act as a platform
List a customer's account types
GET/v1/platforms/{platformOrgId}/customers/{customerOrgId}/linked-accounts/sources
Acts on a linked customer with the platform's own key or team (platform:customer_accounts_view). Same as GET /v1/orgs/{orgId}/linked-accounts/sources. Kinds of bank account and wallet the organization can open, with whether each is available now.
Before you call it
- Organization
platform - Permission
platform:customer_accounts_view
Parameters
| Parameter | What it does |
|---|---|
platformOrgIdpath, uuidrequired | Your platform's organization id. platformOrgId is the platform response's org_id. |
customerOrgIdpath, uuidrequired | customerOrgId is the customer response's org_id. |
Response 200
Sources
| Field | What it does |
|---|---|
itemsAccountSource[]required | Records in this page. |
items[].idstringrequired | Identifier of this record. |
items[].kindenumrequired | Which kind of record this is. When uploading a document, send the kind from required_documents. One of: bank, wallet. One of |
items[].labelstringrequired | Short name chosen for this record. |
items[].descriptionstringrequired | What this linked-account source is for. |
items[].statusenumrequired | unavailable until the organization is verified for this source One of |