Change subledger title
Relevant webhooks
For this endpoint be sure you have registered for this webhook:
API reference
Changes the title on a subledger (subaccount).
Endpoint: /core/v1/dda/subaccounts/{accountNumber}/title
PUT
https://sandbox.crbcos.com/core/v1/dda/subaccounts/{accountNumber}/title
var request = require('request');
var options = {
'method': 'PUT',
'url': 'https://sandbox.crbcos.com/core/v1/subaccounts/395388745774/title',
'headers': {
},
body: '{\r\n "title": "Devra business checking acct"\r\n}'
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});