Skip to main content
A customer in the Bitliva Merchant API represents one user of yours. Each customer holds crypto balances and has a deposit address for every coin and network you generate for them.

Create a customer

Send your own id for the user as reference, plus a first and last name. The reference accepts up to 100 letters, numbers and . _ : @ -. Sending the same reference again returns the same customer, so it is safe to retry.
Names can be up to 60 characters each. If a customer is still being set up, you get customer_pending: retry in a moment with the same reference. The sandbox allows 5 customers, after which you get customer_limit_reached.

Generate a wallet address

A customer receives a coin on an address that you create for a coin and its network. The network is required for every coin and must match the coin. Repeating the same coin and network returns the existing address instead of creating a new one.
An unsupported coin returns unsupported_currency, and a missing or wrong network for that coin returns invalid_network. The address list and every wallet in a response include its network.
Generate the address before you try to buy that coin for a customer. Buying without one returns address_required.

Read customers, addresses and balances

Paginate customer lists

List customers accepts per_page (between 1 and 100, default 20) and page. The response includes a pagination object:
When a deposit reaches one of these addresses, Bitliva sends a crypto.deposit.received webhook.