How to get a purse
Last updated
Last updated
To get an address for deposits use the following endpoint: customer (POST https://api.calypso.finance/api/v1/customer-purse/address/get
)
You can find the detailed description of all the parameters in the documentation:
Here we consider the most important ones.
To get an address for deposits in a specific currency, you need to pass this parameter in the request:
account (required) - your product/service account id.
timestamp (required) - Current unix UTC timestamp in milliseconds. Must not be less than 3 minutes in the past and not greater than 3 minutes in the future
payload (required) - Request data for get a deposit address
customerId (required)
currency (required)
So to get a depost address, you just have to send request:
JSON
If the address is successfully given, you receive the response:
JSON
If a deposit address has not received any deposits within 30 days of its receipt, it will expired.
And you will receive a webhook - CUSTOMER_PURSE_EXPIRED