Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Nestcoin ledger-accounts API

The ledger-accounts API from Nestcoin — 5 operation(s) for ledger-accounts.

Nestcoin ledger-accounts API is one of 23 APIs that Nestcoin publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include ledger-accounts. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 6 operations across 5 paths, and defines 11 schemas. It is described by OpenAPI 3.0.3, at version 3.0.2.

Requests are made against a single base URL, https://external.dev.onboardpay.co.

6 operations 5 paths 11 schemas 5 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
3.0.2
Base URL
https://external.dev.onboardpay.co
Authentication
API Key, API Key
License
UNLICENSED
Resource Areas
1

Authentication & Security 2

Nestcoin ledger-accounts API declares 2 security schemes for authenticating requests. An API key is passed in the header as x-signature (authSignature). An API key is passed in the header as x-auth-token (authToken).

  • authToken — Auth Token header for inter-service communication

Paths & Operations 6

Across 5 paths, the API surfaces 6 operations — 5 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

ledger-accounts 6
GET
/ledger/accounts
Fetch All Customer Account
fetchCustomerAccounts → 200400401403default
GET
/ledger/accounts/{accountId}
Fetch account details
getAccountDetails 1 param → 200400401403default
GET
/ledger/currency/assets
Get list of supported assets for main accounts.
getSupportedAssets → 200400401403default
GET
/ledger/assets/{assetCode}/network-tokens
Get stablecoin tokens supported for account.
getAssetNetworkTokens 1 param → 200400401403default
GET
/ledger/accounts/{accountId}/account-details
Get the bank account number for an account.
getAccountNumber 2 params → 200400401403404default
POST
/ledger/accounts/{accountId}/account-details
Create a bank account number for an account.
createAccountNumber 2 params → 201400401403default

Schemas 11

The contract defines 11 schemas that model the data the API accepts and returns. The most detailed are LedgerSvcBlockchainNetwork (10 properties), TokenNetwork (8 properties), Account (7 properties), Asset (5 properties). Each schema is shown below with its type and property counts.

ErrorMessageDto
object
Default error object for services. This gives consistent error object that all services may use.
3 properties 2 required
AssetBlockchainTokens
object
2 properties 2 required
LedgerSvcBlockchainNetwork
object
Details of blockchain network
10 properties 6 required
TokenNetwork
object
8 properties 5 required
TokenDetails
object
Details of supported funding token object.
4 properties 4 required
CustomerAccountList
object
1 property
Asset
object
5 properties
CashDepositPaymentDetails
object
Destination account details the customer must pay into to fund the deposit. Mirrors a Beneficiary (without an id). Carries only the account details needed to m…
2 properties 2 required
SupportedAssetsList
object
List of assets supported for main account.
1 property
CashAccountDetails
object
4 properties 3 required
Account
object
7 properties 7 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

nestcoin-ledger-accounts-api-openapi.yml Raw ↑

Other APIs Nestcoin publishes across the network.

Nestcoin auth-oauth API
Nestcoin auth-userauth API
Nestcoin exchange-external-api API
Nestcoin exchange-orders API
Nestcoin ledger-account activity API
Nestcoin ledger-beneficiaries API
Nestcoin ledger-cash deposits API
Nestcoin ledger-offramp accounts API
Nestcoin ledger-payments API
Nestcoin ledger-sub-accounts API
Nestcoin ledger-transfer API
Nestcoin offers-offers API