Payment
Making an authenticated call to the payment endpoint
Get a new blockchain address
Create address
Headers
Name
Type
Description
{
address: address
}curl -X POST https://api.bloqifi.com/v0/payment/${blockchain} \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${TOKEN}"const rawResponse = await fetch(`https://api.bloqifi.com/v0/payment/${blockchain}`, {
method: 'GET',
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${token}`
}
});
const json = await rawResponse.json();
if (rawResponse.status === 200) {
return json.address;
}Generate payment request
Get Payment Request
Headers
Name
Type
Description
Request Body
Name
Type
Description
Cancel Order
Cancel order
Headers
Name
Type
Description
Request Body
Name
Type
Description
Last updated