POST api/Account/SetAccountPaymentTypeAndMethod

Request Information

URI Parameters

None.

Body Parameters

AccountModel
NameDescriptionTypeAdditional information
AccountKey

string

None.

CountryId

integer

None.

PaymentMethodKey

string

None.

PaymentTypeKey

string

None.

HasActiveCard

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountKey": "sample string 1",
  "CountryId": 1,
  "PaymentMethodKey": "sample string 2",
  "PaymentTypeKey": "sample string 3",
  "HasActiveCard": true
}

application/xml, text/xml

Sample:
<AccountModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Payment.Models">
  <AccountKey>sample string 1</AccountKey>
  <CountryId>1</CountryId>
  <HasActiveCard>true</HasActiveCard>
  <PaymentAccountKey>sample string 5</PaymentAccountKey>
  <PaymentMethodKey>sample string 2</PaymentMethodKey>
  <PaymentTypeKey>sample string 3</PaymentTypeKey>
</AccountModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.