bank_account_usage_required
The bank account does not declare what it is for: neither `collection` nor `payment`, and it does not flag a default usage to infer it from. An account with no purpose cannot be used for collections or payments.
| Code | Type | HTTP | Category |
|---|---|---|---|
bank_account_usage_required | invalid_request_error | 422 | Contacts |
Cause
The bank account does not declare what it is for: neither collection nor payment, and it does not flag a default usage to infer it from. An account with no purpose cannot be used for collections or payments.
What to do
Set collection: true if the account is used for collections, payment: true if it is used for payments, or both. Flagging it as is_default_collection or is_default_payment is enough too: the usage is inferred from the default.
Related
All Contacts error codes
Causes and actions for errors in this category.
Error codes by category
Find an error by the category that emits it.
Full reference table
All codes, HTTP statuses, types and descriptions in one reference.
Error model
Interpret the error envelope and handle errors by code.