POST api/v2/ClientApp/manage/submitPhoneNo

✅ 提交钱包账号(印度手机号) 1. 新绑定钱包时 调用 2. 提交成功后,应该 跳转 到钱包编辑页面 这样可以统一流程 节约代码

Request Information

URI Parameters

None.

Body Parameters

SubmitPhoneNoRequest
NameDescriptionTypeAdditional information
wallet_type_id

钱包类型ID (新增时传这个)

integer

Required

phoneNo

钱包账号(手机号)

string

None.

mobile

仅为兼容,后续需去掉

string

None.

clientType

客户端类型,默认值:website

string

None.

clientVersion

客户端版本,默认值:1.0.0

string

None.

Request Formats

application/json, text/json

Sample:
{
  "wallet_type_id": 1,
  "phoneNo": "sample string 1",
  "mobile": "sample string 2",
  "clientType": "sample string 3",
  "clientVersion": "sample string 4"
}

Response Information

Resource Description

SubmitPhoneNoResponse
NameDescriptionTypeAdditional information
account_id

integer

None.

data

BoundAccount

None.

code

1 为成功,其他为失败

integer

None.

msg

请求描述

string

None.

elapsed_time

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "account_id": 1,
  "data": {
    "account_id": 1,
    "wallet_account_id": 1,
    "user_id": 2,
    "bank_id": 3,
    "bank_name": "sample string 4",
    "bank_type": 5,
    "bank_type_description": "Other",
    "icon": "sample string 6",
    "mobile": "sample string 7",
    "status": 8,
    "create_time": "sample string 9",
    "UPI_count": 10,
    "account_holder": "sample string 11",
    "account_num": "sample string 12",
    "today_used": "sample string 13",
    "today_success": "sample string 14",
    "total_used": "sample string 15",
    "total_success": "sample string 16",
    "payin_status": 17
  },
  "code": 2,
  "msg": "sample string 3",
  "elapsed_time": 0.011
}