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));link_tag
String
Your business link_tag. Also provided on your dashbaord.
True
type
String
buy_ramp
True
amount
String
Amount user wishes to onramp and meant to send to vendor. (Min โฆ15000)
True
vendor_name Vendor_bank Vendor_number
String
Use the List Vendors ENDPOINT to fetch the list of supported payment vendors
True
network
String
Our supported networks are (Stellar, Polygon, Solana, Avalanche)
False
wallet_address
String
Wallet address where the on-ramp stablecoin token will be sent to.
False
bank_name
String
Proof of payment Bank used to send money to the vendor account
True
account_number
String
Proof of payment Account number of bank used to send money to the vendor account.
True
On Ramp NGNC
POST https://api.ngnc.online/transactions/v1/onramp
Headers
ngnc-sec-key*
String
Get Key from Bridge App
Request Body
business_id*
String
Get your business id from Bridge App
account_name*
String
link_tag*
String
amount*
Number
type*
String
use: buy_ramp
wallet_address*
String
network*
String
bank_name*
String
account_number*
String
vendor_bank*
String
vendor_number*
String
vendor_name*
String
Last updated