Skip to main content
GET
/
v2
/
request
/
{requestId}
/
routes
Get payment routes
curl --request GET \
  --url https://api.stage.request.network/v2/request/{requestId}/routes
{
"routes": [
{
"id": "REQUEST_NETWORK_PAYMENT",
"fee": 0,
"speed": "FAST",
"price_impact": 0,
"chain": "MAINNET",
"token": "REQ"
}
]
}

Headers

x-api-key
string

API key for authentication (optional if using Client ID)

x-client-id
string

Client ID for frontend authentication (optional if using API key)

Origin
string

Origin header (required for Client ID auth, automatically set by browser)

Path Parameters

requestId
string
required

The requestId of the request

Example:

"01e273ecc29d4b526df3a0f1f05ffc59372af8752c2b678096e49ac270416a7cdb"

Query Parameters

wallet
string
required

The wallet address of the payer

Example:

"0x6923831ACf5c327260D7ac7C9DfF5b1c3cB3C7D7"

amount
string

The amount to pay, in human readable format

feePercentage
string

Fee percentage to apply at payment time (e.g., '2.5' for 2.5%)

feeAddress
string

Address to receive the fee

Response

Available payment routes

Available payment routes for the request

routes
object[]
required

Array of available payment routes

⌘I