User Management
Update a Bank Account
Update a bank account for the user
Authorization
bearerAuth AuthorizationBearer <token>
Send your Spinwheel secret key as a bearer token: Authorization: Bearer <secretKey>. Keys are environment-specific.
In: header
Path Parameters
userId*string
bankAccountId*string
Request Body
application/json
accountNumber?string
Bank account number
accountType?string
Bank account type
Value in
- "CHECKING"
- "SAVINGS"
telephoneBankingPin?string
The telephone banking pin associated with the user's account
Response Body
application/json
application/json
curl -X PATCH "https://example.com/v1/users/string/bankAccounts/string" \ -H "Content-Type: application/json" \ -d '{}'{ "status": { "code": 200, "desc": "success" }, "data": { "bankAccountId": "e9e7258e-f010-40ff-8c11-3f7e80207d1f", "userId": "cb444634-40a8-4a62-849d-4e2db7b8a9af", "accountType": "CHECKING", "accountNumberLastFourDigits": "1234", "createdOn": 1614602485926, "updatedOn": 1614602485926, "capabilities": { "payments": { "billPayment": { "availability": "NOT_SUPPORTED" }, "receiveOnlyPayment": { "availability": "NOT_SUPPORTED" } }, "data": { "realtimeBalance": { "availability": "SUPPORTED" } } } }}
