POST api/v1/payv1/GetUserBank

Request Information

URI Parameters

None.

Body Parameters

UserBankParam
NameDescriptionTypeAdditional information
WithdrawTypeId

integer

None.

CountryCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "WithdrawTypeId": 1,
  "CountryCode": "sample string 2"
}

application/xml, text/xml

Sample:
<UserBankParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DDO.AppApi.Models.v1.Params">
  <CountryCode>sample string 2</CountryCode>
  <WithdrawTypeId>1</WithdrawTypeId>
</UserBankParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UserBankDto_Web
NameDescriptionTypeAdditional information
UserID

integer

None.

IsBindBankCard

integer

None.

IsAllowEdit

boolean

None.

BankName

string

None.

BankID

integer

None.

AccountName

string

None.

AccountNumber

string

None.

DocumenCode

string

None.

IDCard

string

None.

WithdrawalAccountType

integer

None.

Branch

string

None.

DigitCode

string

None.

Response Formats

application/json

Sample:

Sample not available.

application/xml

Sample:
<UserBankDto_Web xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <UserID>1</UserID>
  <IsBindBankCard>2</IsBindBankCard>
  <IsAllowEdit>true</IsAllowEdit>
  <BankName>sample string 4</BankName>
  <BankID>5</BankID>
  <AccountName>sample string 6</AccountName>
  <AccountNumber>sample string 7</AccountNumber>
  <DocumenCode>sample string 8</DocumenCode>
  <IDCard>sample string 9</IDCard>
  <WithdrawalAccountType>10</WithdrawalAccountType>
  <Branch>sample string 11</Branch>
  <DigitCode>sample string 12</DigitCode>
</UserBankDto_Web>

text/json

Sample:
{
  "UserID": 1,
  "IsBindBankCard": 2,
  "IsAllowEdit": true,
  "BankName": "sample string 4",
  "BankID": 5,
  "AccountName": "sample string 6",
  "AccountNumber": "sample string 7",
  "DocumenCode": "sample string 8",
  "IDCard": "sample string 9",
  "WithdrawalAccountType": 10,
  "Branch": "sample string 11",
  "DigitCode": "sample string 12"
}

text/xml

Sample:
<UserBankDto_Web xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Smart.Domain.Dto.Trades.Sheep">
  <AccountName>sample string 6</AccountName>
  <AccountNumber>sample string 7</AccountNumber>
  <BankID>5</BankID>
  <BankName>sample string 4</BankName>
  <Branch>sample string 11</Branch>
  <DigitCode>sample string 12</DigitCode>
  <DocumenCode>sample string 8</DocumenCode>
  <IDCard>sample string 9</IDCard>
  <IsAllowEdit>true</IsAllowEdit>
  <IsBindBankCard>2</IsBindBankCard>
  <UserID>1</UserID>
  <WithdrawalAccountType>10</WithdrawalAccountType>
</UserBankDto_Web>