Updates mutable fields on an instrument (label, is_default, status). Credentials cannot be changed — create a new instrument instead.
cURL
curl --request PUT \ --url https://api.antonpayments.com/v1/instruments/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "label": "<string>", "is_default": true, "status": "active" } '
{ "data": { "id": "ins_abc123", "payee_id": "<string>", "merchant_id": "<string>", "method": "iban", "currency": "<string>", "country": "<string>", "label": "<string>", "display_last4": "<string>", "display_bank": "<string>", "display_network": "<string>", "masked_account": "<string>", "status": "active", "is_default": true, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } }
Merchant API key: ak_live_* (production) or ak_test_* (sandbox).
ak_live_*
ak_test_*
Resource identifier.
active
disabled
Instrument updated.
Show child attributes