PATCH /v1/payment-connections/{connection_id}
CheckoutService_UpdatePaymentConnection
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
connection_idpath · string · required
Request body
api_secret_refstringconnection_idstringexpected_versionstringmerchant_account_idstringnamestringwebhook_secret_refstring
cURL
curl --request PATCH 'https://nexus-api.rainlib.com/v1/payment-connections/{connection_id}' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"api_secret_ref": "<value>",
"expected_version": "<value>",
"merchant_account_id": "<value>",
"name": "<value>",
"webhook_secret_ref": "<value>"
}'Response contract
200 · OK
api_secret_refstringcodestringcreated_atstringenvironment_idstringidstringlast_probe_atstringlast_probe_statusstringmerchant_account_idstringmodestringnamestringproviderstringstatusstringupdated_atstringvalidation_reportarrayExpand fields
codestringdetailstringlevelstringpassedbooleantitlestring
versionstringwebhook_secret_refstring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.