It is used to confirm whether the person to be sent is a user or not. This query can be performed in two different ways, with a phone number and a customer number.The endpoint and http method information used for the query are given below.
| HTTP Method | URL |
|---|---|
| POST | /v1/Account/CheckPersonalWallet |
| Params | Type | Mandatory | Description |
|---|---|---|---|
| account_number | string | Yes | Wallet account number |
| currency_code | string | Yes | Currency |
| Params | Type | Description |
|---|---|---|
| status | int | Status |
| code | string | Code |
| message | string | Message |
| payload | object | Payload |
| wallet_number | string | User wallet number |
| first_name | string | User First name |
| last_name | string | User surname |
| currency_code | string | Currency Code |
REQUEST (POST) :
{
"account_number": "XXX48400",
"currency_code": "TRY"
}
RESPONSE:
{
"status" : 0,
"code" : "100",
"message" : "Kullanıcı sisteme kayıtlı",
"payload" : {
"exist": true,
"wallet_number": "484863917",
"first_name": "John",
"last_name": "Doe",
"currency_code": "TRY"
}
}
| HTTP Method | URL |
|---|---|
| POST | v1/Account/CheckPersonalWallet |
| Params | Type | Mandatory | Description |
|---|---|---|---|
| phone_country_number | string | Yes | Phone Country Code |
| phone_number | string | Yes | Phone Number |
| currency_code | string | Yes | Currency Code |
| Params | Type | Description |
|---|---|---|
| status | int | Status |
| code | string | Code |
| message | string | Message |
| payload | object | Payload |
| wallet_number | string | User Wallet Number |
| first_name | string | User First Name |
| last_name | string | User Last Name |
| currency_code | string | Currency Code |
REQUEST (POST) :
{
"phone_country_number": "90",
"phone_number":"1111111111"
"currency_code": "TRY"
}
RESPONSE:
{
"status" : 0,
"code" : "100",
"message" : "Kullanıcı sisteme kayıtlı",
"payload" : {
"exist": true,
"wallet_number": "484863917",
"first_name": "John",
"last_name": "Doe",
"currency_code": "TRY"
}
}