Config

Configure SR dimensions

Changed on

Configure success-rate routing dimensions.

post/config-sr-dimension

Request

  • Base URL
    http://localhost:8080
  • URL
    http://localhost:8080/config-sr-dimension
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Request body

merchant_idstring required

Example request

{
  "merchant_id": "merchant_demo",
  "paymentInfo": {
    "udfs": [],
    "fields": [
      "currency",
      "country",
      "auth_type"
    ]
  }
}

Response

OK

string required

Bare JSON string, not an object.

Example response

"SR Dimension configuration updated successfully"

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      the response's body type changed from object to string for status

    • info

      endpoint added