Rule Configuration

Delete rule config

Changed on

Delete a rule configuration.

post/rule/delete

Request

  • Base URL
    http://localhost:8080
  • URL
    http://localhost:8080/rule/delete
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Request body

merchant_idstring required
algorithm'successRate' | 'elimination' | 'debitRouting' required

Example request

{
  "merchant_id": "test_merchant",
  "algorithm": "successRate"
}

Response

Rule config deleted

messagestring
merchant_idstring

Example response

{
  "message": "Merchant account deleted successfully",
  "merchant_id": "merchant_demo"
}

Changes

    • info

      added the optional property to the response with the status

    • info

      the endpoint scheme security ApiKeyAuth was added to the API

    • info

      the endpoint scheme security BearerAuth was added to the API