Using the Public API for public wallet

You can integrate CPAY in your system as payment method. After you've signed up you should to create a merchant and get API keys for client(public) wallet creation in your system.

Client wallet creating

Endpoint POST ​/api​/public​/wallet​/{currencyId}
You can login to wallet and get wallet access token necessary for witdrawal from wallet and for getting wallet ballance. You need to get api keys for your merchant, also you need wallet Id and wallet passphrase.

Wallet login

Endpoint POST /api/public/auth

Withdrawal from public wallet

Endpoint POST ​/api​/public​/withdrawal

Get wallet ballance

Endpoint GET ​/api​/public​/wallet