Last updated 1 year ago
Successful Operation.
201
true
"MyAccountId"
200
const response = await fetch('/aggregators/unlink-banking-connection', { method: 'DELETE', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
{ "statusCode": 200 }
const response = await fetch('/aggregators/token-link', { method: 'POST', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
{ "statusCode": 201, "data": { "linkToken": "myUrl" } }
const response = await fetch('/aggregators/my-accounts/{accountId}', { method: 'DELETE', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
const response = await fetch('/aggregators/banking-connection', { method: 'POST', headers: { "Authorization": "Bearer JWT", "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "statusCode": 201 }
const response = await fetch('/aggregators/banking-account-connection', { method: 'POST', headers: { "Authorization": "Bearer JWT", "Content-Type": "application/json" }, body: JSON.stringify({ "accountId": "MyAccountId" }), }); const data = await response.json();
const response = await fetch('/aggregators/my-accounts', { method: 'GET', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
{ "statusCode": 200, "data": { "accounts": [ { "baasAccountId": "myId", "baasStatus": "active", "accountId": "myId", "availableBalance": "100", "currency": "USD", "lastFourDigits": "0023", "name": "Savings Account", "type": "depository", "subType": "savings", "category": "connected", "deletedAt": null } ] } }