Payezydevelopers
Sandbox

API reference / Act as a platform

Request a customer's wallet

POST/v1/platforms/{platformOrgId}/customers/{customerOrgId}/linked-accounts/wallets

Acts on a linked customer with the platform's own key or team (platform:customer_operate). Same as POST /v1/orgs/{orgId}/linked-accounts/wallets. Requests a new wallet. Wallet creation is coming soon: the request is recorded (status requested, one per source) and nothing is opened yet. Needs accounts:manage.

Before you call it

  • Organizationplatform
  • Permissionplatform:customer_operate

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.

Request body

FieldWhat it does
sourcestringrequiredWhere this customer or account came from.
labelstringShort name chosen for this record.

Response 200

The organization already requested a wallet of this source

FieldWhat it does
idstring (uuid)requiredIdentifier of this record.
kindenumrequiredWhich kind of record this is. When uploading a document, send the kind from required_documents. One of: bank, wallet.

One of bank wallet

sourcestringrequiredWhere this customer or account came from.
source_labelstringrequiredName of the linked-account source.
labelstringrequiredShort name chosen for this record.
statusenumrequiredWhere this record is in its lifecycle. One of: requested, opening, opened, failed.

One of requested opening opened failed

created_atstring (date-time)requiredWhen this record was created, as an ISO-8601 timestamp.