Public
Documentation Settings

NOW Custody

NOW Custody API is a tool to store your crypto funds and process exchanges, payments, and payouts. To access the NOW Custody API you need to:

The set of functions available:

  • Store crypto assets: secure and clear. Get access to 300+ crypto assets with no need to maintain full nodes and blockchain-related infrastructure.
  • Process on-chain payments: access your assets at any moment to receive and send payments.
  • Create users and operate funds on their behalf - track balances, request payouts and convert crypto via API.

General Info

Base URL: api.changenow.io/v2

Max Precision: 6 decimals.

JWT token: also mentioned here as 'Bearer token' and 'access token', can be acquired with the 'Auth', valid for 5 minutes.

Master account & subaccounts:

  • The master account is considered to be an account, which API key is registered in affiliate program.
  • The subaccount (also referred to as subpartner) - the new user account, which was created by master account.
    • Its API key is registered in Custody, but not related to the affiliate program directly, therefore subpartner has no access to ChangeNOW API endpoints which require API key authorization.

Work Flow

How to top up balance:

  • Get a list of currently available currencies for sell with the 'List of available currencies' method;
  • Call the 'Estimated Exchange Amount' method to get the estimated amount for the exchange in case it is needed to convert initial currency to make a deposit in another or to check the estimation of the amount to be credited;
  • Get your partnerId with the 'User info';
  • Create an exchange with the 'Create deposit', using your partnerId as a part of a payout address - 'changenow_partner_partnerId'.
Loading