Openapi
Add a bank account of the organization itself. The first account becomes the primary account.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidThe bank account payload.
application/jsonbic?|nullholderName*|length <= 140iban*ibanInputSchemaisPrimary?booleanlabel*|length <= 80Returns the created bank account.
application/jsonbic*string|nullcreatedAt*stringdate-timeholderName*string|nulliban*stringid*companyBankAccountIdSchemauuidisPrimary*booleanlabel*string|nullorganizationId*stringuuidposition*integer0 <= valueupdatedAt*stringdate-timecurl -X POST 'https://app.localhost/api/v1/organizations/123/company-bank-accounts' \ -H 'Content-Type: application/json' \ -d '{ "holderName": "string", "iban": "string", "label": "string"}'{ "bic": "string", "createdAt": "2019-08-24T14:15:22Z", "holderName": "string", "iban": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "isPrimary": true, "label": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "position": 0, "updatedAt": "2019-08-24T14:15:22Z"}