Create bank account for the current user

POST /users/{user_id}/bank_accounts

Create bank account for the current user.

Path parameters

Body Required

Bank account information

Responses

POST /users/{user_id}/bank_accounts
curl \
 -X POST https://client-subdomain.bitbond.net/api/v1/users/{user_id}/bank_accounts \
 -H "Content-Type: application/json" \
 -d '{"bank_account":{"iban":"string","bic":"string","bank_name":"string","account_owner":"string"}}'
Request example
{
  "bank_account": {
    "iban": "string",
    "bic": "string",
    "bank_name": "string",
    "account_owner": "string"
  }
}
Request examples
{
  "bank_account": {
    "iban": "string",
    "bic": "string",
    "bank_name": "string",
    "account_owner": "string"
  }
}
Response examples (201)
{
  "id": "string",
  "iban": "string",
  "bic": "string",
  "bank_name": "string",
  "account_owner": "string"
}
Response examples (201)
{
  "id": "string",
  "iban": "string",
  "bic": "string",
  "bank_name": "string",
  "account_owner": "string"
}