GET
/
v1
/
routing
/
decisions
List routing decisions for payments
curl --request GET \
  --url http://localhost:8081/v1/routing/decisions \
  --header 'X-Org-Id: <x-org-id>' \
  --header 'X-Reevit-Key: <api-key>'
{
  "decisions": [
    {
      "payment_id": "<string>",
      "status": "<string>",
      "amount": 123,
      "currency": "<string>",
      "method": "<string>",
      "country": "<string>",
      "provider": "<string>",
      "connection_id": "<string>",
      "route": [
        {
          "connection_id": "<string>",
          "provider": "<string>",
          "status": "<string>",
          "error": "<string>",
          "labels": [
            "<string>"
          ],
          "routing_hints": {
            "country_preference": [
              "<string>"
            ],
            "method_bias": {},
            "fallback_only": true
          },
          "latency_ms": 123
        }
      ],
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

X-Reevit-Key
string
header
required

API key for server-to-server authentication

Headers

X-Org-Id
string
required

Organization identifier for multi-tenancy

Query Parameters

status
string
provider
string
method
string
currency
string
country
string
from
string<date-time>

Filter payments created on or after this date (RFC3339)

to
string<date-time>

Filter payments created before this date (RFC3339)

limit
integer
default:50
Required range: 1 <= x <= 200
offset
integer
default:0
Required range: x >= 0

Response

OK

decisions
object[]