Get Exchange Names
By using the GET /api/vasp/all_exchanges_info_list endpoint, you will get the Out-of-Network VASP name that is required for initiating Out-of-Network Travel Rule requests.
Request & Response
Please submit the following payload to this endpoint:
curl --silent --location --request GET "/api/vasp/all_exchanges_info_list" \
--cert-type P12 --cert ./certificate.p12:'[MY_PASSWORD_OF_CERT]' \
--header 'Content-Type: application/json' \
--header "Authorization: Bearer [YOUR LOGIN TOKEN]" \
--header "Connection: keep-alive"
You can expect to receive below response body with HTTP Status = 200.
gtrIdentifyName is the name you should use when you call Initiate Out-of-Network Request.
{
"verifyStatus": 100000,
"verifyMessage": "success",
"data": [
{
"gtrIdentifyName":"axchange", // please use this field to initiate OON api
"exchangeName":"Axchange",
"exchangeSlug":"axchange"
}
]
}