Delivery
GET /accounts/net_delivery_obligations
GET /accounts/net_delivery_obligations
const getNDO = () => {
const timestamp = Math.round(Date.now() / 1000)
const payload = timestamp + 'GET' + '/accounts/net_delivery_obligations' + '{}'
const decodedSecret = Buffer.from(apiSecret, 'base64')
const hmac = crypto.createHmac('sha256', decodedSecret)
const signedPayload = hmac.update(payload).digest('base64')
// SET HEADERS
const headers = {
'X-NDAX-API-KEY': 'public_key',
'X-NDAX-SIGNED': signedPayload,
'X-NDAX-TIMESTAMP': timestamp,
'X-NDAX-PASSPHRASE': 'passphrase'
}
const options = {
headers,
body,
json: true
}
return request.get(
`https://api.ndax.in/accounts/net_delivery_obligations`,
options
)
}
Sample Response
{
"message": [
{
"asset": "e₹",
"amount": "10532.15",
"account_group": "00NDAX",
"account_label": "general"
},
{
"asset": "BTC",
"amount": "3",
"account_group": "00NDAX",
"account_label": "general"
}
]
}
Your current net delivery obligations (NDO) across all accounts. See here for more information on NDOs: What does NDO mean?
Response parameters listed below.
Parameter
Description
Type
asset
The asset code for the specific account, e.g. e₹
string
amount
The amount owed
string
account_group
The sub account determination used for allocating towards settlements
string
account_label
The account label associated with the account
string
Last updated