The relevant endpoint and http method information for updating the institution information is given below.
| HTTP Method | URL |
|---|---|
| POST | /v1/Account/UpdateBusinessAccount |
| Params | Type | Mandatory | Description |
|---|---|---|---|
| account_number | string | Yes | Account Number |
| name | string | Yes | Name |
| alias | string | Yes | Alias |
| group_code | string | No | Group Code |
| tax_office | string | Yes | Tax Office |
| tax_number | string | Yes | Tax Number |
| business_type | integer | Yes | Business Type Example "AŞ: 0, LTD:1, Individual:2, Freelance:3" |
| contact_address | object | No | Contact Address |
| first_name | string | No | Name |
| last_name | string | No | Surname |
| string | No | E-mail Address | |
| address_line1 | string | No | Address Line 1 |
| address_line2 | string | No | Address Line 2 |
| zip_postal_code | string | No | Postal Code |
| phone_number | string | No | Phone Number |
| state_province_code | string | No | State Province Code |
| country_code | string | No | Country Code |
| Params | Type | Description |
|---|---|---|
| status | int | Status |
| code | string | Code |
| message | string | Message |
| payload | object | Payload |
REQUEST:
{
"account_number": 0,
"name": "John",
"alias": "BXNALIAS",
"group_code": "55",
"tax_office": "string",
"tax_number": "1111111111",
"business_type": 2,
"contact_address": {
"first_name": "John",
"last_name": "Doe",
"email": "BTXN23456789@fb.com",
"address_line1": "FB",
"address_line2": "FB",
"zip_postal_code": "3333",
"phone_number": "+905552222222",
"state_province_code": "TR",
"country_code": "90"
}
}
RESPONSE:
{
"status": 0,
"code": null,
"message": null,
"payload": true
}