Skip to main content
Custom ProviderVersion: v3

Disconnect existing provider config

POST/payments/custom-provider/disconnect

API to disconnect an existing payment config for given location

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:payments/custom-provider.write
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3

Query Parameters

locationIdstringrequired

Location id

Example:Lk3nlfk4lxlelVEwcW

Body

liveModebooleanrequired

Whether the config is for test mode or live mode. true represents config is for live payments

Example:true

Response

Successful response

successbooleanrequired

Whether the custom provider config is disconnect or not. true represents config is disconnect

Example:true