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

post
https://api.cpay.world
/api​/public​/wallet​/{currencyId}
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

post
https://api.cpay.world/
api/public/auth
Endpoint POST /api/public/auth

Withdrawal from public wallet

post
https://api.cpay.world
​/api​/public​/withdrawal
Endpoint POST ​/api​/public​/withdrawal

Get wallet ballance

get
https://api.cpay.world
/api/public/wallet
Endpoint GET ​/api​/public​/wallet