When building in Sandbox, you will want to be able to send crypto transactions to an Individual or Corporate Unblock wallet to simulate a cryptoToFiat transaction.
2. You will need to get the wallet address of the Individual or Corporate using this endpoint
curl --request GET \ --url https://api.getunblock.com/user/wallet/polygon \ --header 'Authorization: <<API key>>' \ --header 'accept: application/json' \ --header 'unblock-session-id: <<unblock session id>>'
This can be done using our test tokens contracts on all the respective chains; here is a list with a link to them:
Each of these token contracts has a public
mint() function that can be used to mint test tokens directly to any wallet of your choice; these tokens can then be used to simulate a
As soon as the funds are received in the Individual or Corporate wallet, the rest of the normal.
CryptoToFiat process will automatically get triggered, and then if the API keys used are for a private Sandbox, the Merchant will receive all the webhooks described here
This will only work once for non KYC users
As per the Unblock KYC policy, users that have no KYC will only be able to complete one transaction fiatToCrypto and one transaction cryptoToFiat up to the no KYC limit. For further information, please read more here.
Updated 2 days ago