Approve Wallet Tokens
POST
/api/v1/crypto/wallet/approve
const url = 'https://api.parasta.io/api/v1/crypto/wallet/approve';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.parasta.io/api/v1/crypto/wallet/approve \ --header 'Authorization: Bearer <token>'Approve selected tokens from connected wallet.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”OK
Media type application/json
Example
{ "status": "ok", "data": { "approved": true, "credential_id": "vc_wallet_xxxx" }}