POST /v1/payment-connections/{connection_id}:deactivate
CheckoutService_DeactivatePaymentConnection
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
connection_idstringexpected_versionstring
cURL
curl --request POST 'https://nexus-api.rainlib.com/v1/payment-connections/{connection_id}:deactivate' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"expected_version": "<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.