curl --request POST \
--url https://api.royalti.io/ddex/delivery/test-connection \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"providerId": "<string>"
}
'{
"status": "<string>",
"data": {
"success": true,
"responseTime": 123
}
}Test connection to a DDEX provider
curl --request POST \
--url https://api.royalti.io/ddex/delivery/test-connection \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"providerId": "<string>"
}
'{
"status": "<string>",
"data": {
"success": true,
"responseTime": 123
}
}const response = await fetch('https://api.royalti.io/ddex/delivery/test-connection', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
"providerId": "sample-providerId"
})
});
const data = await response.json();
console.log(data);