Fund a virtual card

The fund card endpoint allows you to fund a card by passing in the card_id and amount in the request body as shown in the example below.

Example

var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
  'card_id': '63f12f80fc9b4e40441831e9',
  'amount': '1000' 
});
var config = {
  method: 'post',
  url: 'https://integrations.getravenbank.com/v1/cards/fund',
  headers: { },
  data : data
};

axios(config)
.then(function (response) { 
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
{
    "status": "success",
    "message": "card funded succesfully",
    "data": null
}
👍

Try it in the console

Click here to try it