Payezydevelopers
Sandbox

API reference / Act as a platform

Remove a customer's own account

DEL/v1/platforms/{platformOrgId}/customers/{customerOrgId}/own-accounts/{externalAccountId}

Acts on a linked customer with the platform's own key or team (platform:customer_operate). Same as DELETE /v1/orgs/{orgId}/own-accounts/{externalAccountId}.

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.
externalAccountIdpath, uuidrequiredA bank account or wallet id on the recipient, or on an account the organization owns.

Response 204

Removed

No body.