IBExWalletAPI
PrivacyModify

Update IBAN metadata for a tenant user

Updates IBAN metadata (label, accountType, bonus) for an IBAN owned by the given externalUserId. At least one metadata field must be provided. The user must belong to the current tenant (rpId resolved from host/origin and x-api-key).

PATCH
/v1.2/domain/users/{id}/iban/modify

Authorization

x-api-key<token>

In: header

Request Body

application/jsonRequired
ibanRequiredstring
Minimum length: 1
labelstring
Maximum length: 100
accountTypestring
Value in: "savings" | "current" | ""
bonusnumber | null

Path Parameters

idRequiredstring

externalUserId in current tenant

curl -X PATCH "https://passkeys-productionv2.ibex.fi/v1.2/domain/users/<string>/iban/modify" \
  -H "x-api-key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "iban": "string",
    "label": "string",
    "accountType": "savings",
    "bonus": 0
  }'

Default Response

{
  "success": true,
  "data": {
    "iban": "string",
    "label": "string",
    "accountType": "string",
    "bonus": null
  }
}