TypeScript
const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: JSON.stringify({ accountName: '<string>', sortCode: '<string>', accountNumber: '<string>', routingNumber: '<string>', iban: '<string>', swiftBic: '<string>', currency: 'GBP' }) }; fetch('https://api.prudra.dev/wallet-infra/bank-accounts', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "id": "bac_abc123", "accountName": "Vendlyst Ltd — Operations", "currency": "GBP", "isActive": true, "createdAt": "2023-11-07T05:31:56Z" }
Documentation IndexFetch the complete documentation index at: https://docs.prudra.dev/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.prudra.dev/llms.txt
Use this file to discover all available pages before exploring further.
Your Prudra API key. Get one at dashboard.prudra.com/settings/api-keys
UK sort code
US ABA routing number
Bank account registered
"bac_abc123"
"Vendlyst Ltd — Operations"
"GBP"