deleteCustomerWallet

deleteCustomerWallet

This method deletes a specific wallet associated with a customer.

Parameters

  • id (string, required): The UUID of the wallet to be deleted.
  • customerId (string, required): The UUID of the customer.

Returns

A JSON object confirming the successful deletion of the wallet.

Usage Example

const axios = require('axios');

let config = {
  method: 'delete',
  maxBodyLength: Infinity,
  url: 'https://api.nexera.id/customers/:customerId/wallets/:id',
  headers: { 
    'Accept': 'application/json', 
    'Authorization': 'Bearer <TOKEN>'
  }
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});