Update programme configuration
/v1/programs/{id}Requires an API client bearer token.
Updates mutable programme config. Requires an Idempotency-Key header. Restricted to programme admins of this programme, org admins, and org-wide API clients; programme members without the programme_admin role receive 403. Disabling a module with live dependencies (e.g. ledger with open balances) is rejected 409.
Parameters
Path parameters
| Name | Required | Description |
|---|---|---|
| id | required |
Header parameters
| Name | Required | Description |
|---|---|---|
| Idempotency-Key | required | Client-chosen. An identical retry with the same key returns the stored response; reusing the key with a different payload returns 409. |
Request body
Non-toggleable keys are accepted but persisted false
+ show properties− hide properties
true = M2 (we decide); false = M2b delegated
Per-mode platform settlement account a refund credit is drawn from. Absent ⇒ refunds decline.
+ show properties− hide properties
Example
curl -X PATCH https://api.rigid.fi/v1/programs/{id} \
-H "Authorization: Bearer $RIGID_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"name": "string",
"modules": {
"ledger": true,
"managed_authorization": true,
"kyc": true,
"fraud": true,
"three_ds": true,
"tokenization": true
},
"delegated_auth_url": "uri",
"refund_float_accounts": {
"test": "string",
"live": "string"
}
}'Responses
200Updated programme.
+ show properties− hide properties
Per-mode platform settlement account a refund credit is drawn from. Absent ⇒ refunds decline.
+ show properties− hide properties
400Validation error
401Authentication required
403Forbidden
404Programme not found
409Module has dependencies, or Idempotency-Key reused with a different payload
500Internal server error