API Reference
Revoke Connected Member

Revoke Connected Member

Description

This endpoint is used to disconnect a merchant or business from their ERP system, revoking their integration and access.

POST {BaseURL}/api/v1/auth/revoke
Content-Type: application/json
Authorization: Basic base64encode({clientId:clientSecret})
{
  "endpoint_id": "{endpoint_id}"
}

Method

POST

Headers

  • Content-Type: application/json
  • Authorization: Basic base64encode({clientId:clientSecret})
    • The clientId:clientSecret should be base64 encoded.

Request Parameters

ParameterDescriptionRequired
endpoint_idendpoint_id of business to revokeYes

Success Response

http status code: 200

KeyDefinition
messageThe message after revoke

Error Response

http status code: 403

KeyDefinition
messageerror message