The endpoint and http method information used to create wallets for individual users are given below.
| HTTP Method | URL |
|---|---|
| POST | /v1/Wallet/CreateWalletForPersonalAccount |
| Params | Type | Mandatory |
|---|---|---|
| name | string | Yes |
| account_number | string | Yes |
| currency_code | string | Yes |
| tenant_id | int | No |
| use_fast_iban | bool | No |
| Params | Type |
|---|---|
| status | int |
| code | string |
| message | string |
| payload | string |
REQUEST (POST):
{
"name": "testWallet",
"account_number": "1201211179",
"currency_code": "TRY",
"use_fast_iban": true,
"tenant_id": 0
}
RESPONSE:
{
"status": 0,
"code": "100",
"message": null,
"payload": "1081756072"
}