The relevant endpoint and http method information are given below to match the wallet with the user.
| HTTP Method | URL |
|---|---|
| POST | /v1/Account/AssignUserToWallet |
| Params | Type | Mandatory | Description |
|---|---|---|---|
| tenant_id | int | No | |
| account_number | string | Yes | |
| account_type | int | Yes | |
| user_number | string | Yes | |
| wallet_number | string | Yes |
| Params | Type | Description |
|---|---|---|
| status | int | |
| code | string | |
| message | string | |
| payload | object |
REQUEST (POST) :
{
"tenant_id": 5,
"account_number": "1211581141",
"account_type": 1,
"user_number": "6511111109131710119",
"wallet_number": "1155121211"
}
RESPONSE:
{
"status": 0,
"code": "100",
"message": "Cüzdana erişim eklendi",
"payload": true
}