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
- Organization
platform - Permission
platform:customer_operate
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. |
Request body
| Field | What it does |
|---|---|
sourcestringrequired | Where this customer or account came from. |
labelstring | Short name chosen for this record. |
Response 200
The organization already requested a wallet of this source
| Field | What it does |
|---|---|
idstring (uuid)required | Identifier of this record. |
kindenumrequired | Which kind of record this is. When uploading a document, send the kind from required_documents. One of: bank, wallet. One of |
sourcestringrequired | Where this customer or account came from. |
source_labelstringrequired | Name of the linked-account source. |
labelstringrequired | Short name chosen for this record. |
statusenumrequired | Where this record is in its lifecycle. One of: requested, opening, opened, failed. One of |
created_atstring (date-time)required | When this record was created, as an ISO-8601 timestamp. |