Buy Ramp
This endpoint can be used to intiate an NGNC On-ramp transaction.
Initiate a Buy Transaction
curl --request POST \
--url https://api.ngnc.online/transactions/v1/onramp \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'ngnc-sec-key: NGNC_SECRET_KEY' \
--data '
{
"business_id": "string",
"link_tag": "string",
"type": "string",
"amount": 0,
"vendor_number": "string",
"vendor_name": "string",
"vendor_bank": "string",
"account_number": "string",
"bank_name": "string",
"network": "string",
"wallet_address": "string"
}'const options = {
method: 'POST',
headers: {
accept: 'application/json',
'ngnc-sec-key': 'NGNC_SECRET_KEY',
'content-type': 'application/json'
},
body: JSON.stringify({
"business_id": "string",
"link_tag": "string",
"type": "string",
"amount": 0,
"vendor_number": "string",
"vendor_name": "string",
"vendor_bank": "string",
"account_number": "string",
"bank_name": "string",
"network": "string",
"wallet_address": "string"
});
};
fetch('https://api.ngnc.online/transactions/v1/onramp', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));Parameter
Type
Description
Required
On Ramp NGNC
Headers
Name
Type
Description
Request Body
Name
Type
Description
Last updated