Skip to main content
View as Markdown

Evaluate a Route

POST 

/v2/routes/:id/evaluation

Shows where a Route would send a payment, without creating one. Send the payment's facts, and either a published version, a tree you have not published, or neither to use the active version. The answer lists the gateway profiles the payment would be sent to, in order, and every node the Route reached on the way. Nothing is charged or stored. Gateway profiles are taken as they are now, so an inactive one is skipped. A roundRobin pool starts where the next payment would start it. A weighted pool draws a new random order on every request, as each payment does.

Request​

Responses​

OK