v5

latestOpenAPI 3.1.02026-07-262421791.5 MB
card

Bulk update card permissions

Enable or disable multiple spending permissions on a card in a single request.

This is the recommended endpoint for updating card permissions as it allows updating multiple permissions atomically.

patch/v4/spend/profiles/{profileId}/cards/{cardToken}/spending-permissions

Path parameters

profileIdinteger required

The ID of the profile that owns the card.

cardTokenstring uuid required

The unique token identifying the card.

Headers

X-External-Correlation-Idstring uuid

Optional UUID for correlating requests across systems. If provided, Wise echoes it back in the response. Maximum 36 characters. Learn more.

Request body

Example request

{
  "permissions": [
    {
      "type": "ECOM"
    }
  ]
}

Response

Permissions updated successfully.