Skip to main content
PUT
/
api
/
v1
/
company
/
gateways
/
routing
Configure gateway routing percentages
curl --request PUT \
  --url http://localhost:7701/api/v1/company/gateways/routing \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "gateways": [
    {
      "gateway_id": 1,
      "percentage": 30
    }
  ],
  "payment_method": "card"
}
'

Authorizations

X-API-Key
string
header
required

Company API key. Send in the X-API-Key header.

Body

application/json
gateways
object[]
required
payment_method
enum<string> | null
Available options:
card,
pix
Example:

"card"

Response

Routing percentages updated