Payezydevelopers
Sandbox

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

  • Organizationplatform
  • Permissionplatform:customer_accounts_view

Parameters

ParameterWhat it does
platformOrgIdpath, uuidrequiredYour platform's organization id. platformOrgId is the platform response's org_id.
customerOrgIdpath, uuidrequiredcustomerOrgId is the customer response's org_id.

Response 200

Sources

FieldWhat it does
itemsAccountSource[]requiredRecords in this page.
items[].idstringrequiredIdentifier of this record.
items[].kindenumrequiredWhich kind of record this is. When uploading a document, send the kind from required_documents. One of: bank, wallet.

One of bank wallet

items[].labelstringrequiredShort name chosen for this record.
items[].descriptionstringrequiredWhat this linked-account source is for.
items[].statusenumrequiredunavailable until the organization is verified for this source

One of available coming_soon unavailable