Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
Settlement instructions Update a settlement instruction

Update a settlement instruction

Changes the details of an active settlement instruction, or makes it the default for its currency. To change the currency or type, delete it and create a new one. This route needs no Idempotency-Key.

PATCHhttps://api.gravv.xyz/v1/settlement-instructions/{id}Try it
Api-Key

Path parameters

NameDescription
id:stringRequired
ID of the settlement instruction

Body parameters

NameDescription
is_default:boolean
account_name:string
account_number:string
bank_name:string
bank_code:string
routing_number:string
swift_code:string
iban:string
country:string
address:object
wallet_address:string
network:string
memo:string

Response

Returns 200 OK. The updated settlement instruction

NameDescription
data:object
A settlement instruction. The response leaves out empty fields.
Show 23 child attributesobject
error:null

Errors

StatusMeaning
200The updated settlement instruction
400Invalid request, an unknown or deleted ID, or a failure. Not-found is a 400 here, not a 404.
Was this page helpful? Yes No
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl --request PATCH \
--url 'https://api.gravv.xyz/v1/settlement-instructions/b7e1c2d3-4f5a-4b6c-9d8e-7f6a5b4c3d2e' \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"account_name": "Acme Treasury Operating",
"is_default": true
}'
Responseapplication/json
200400OK
{
"data": {
"id": "b7e1c2d3-4f5a-4b6c-9d8e-7f6a5b4c3d2e",
"tenant_id": "550e8400-e29b-41d4-a716-446655440000",
"type": "bank_account",
"instruction_type": "bank_account",
"account_name": "Acme Treasury LLC",
"currency": "USD",
"is_default": true,
"status": "active",
"account_number": "string",
"bank_name": "string",
"bank_code": "string",
"routing_number": "string",
"swift_code": "string",
"iban": "string",
"country": "string",
"address": {},
"wallet_address": "string",
"network": "string",
"memo": "string",
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z",
"date_created": "2026-01-01T00:00:00Z",
"date_updated": "2026-01-01T00:00:00Z"
},
"error": {}
}