POST api/Payment/SavePaymentMethod

Request Information

URI Parameters

None.

Body Parameters

SaveNewPaymentMethodRequestVM
NameDescriptionTypeAdditional information
AdminUserId

string

Required

CardHolderName

string

Required

ParentAccountId

string

Required

CardToken

string

Required

CountryId

string

Required

StateId

string

None.

City

string

None.

StreetAddress1

string

None.

StreetAddress2

string

None.

Country

string

Required

State

string

None.

ZipCode

string

None.

IsDefault

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AdminUserId": "sample string 1",
  "CardHolderName": "sample string 2",
  "ParentAccountId": "sample string 3",
  "CardToken": "sample string 4",
  "CountryId": "sample string 5",
  "StateId": "sample string 6",
  "City": "sample string 7",
  "StreetAddress1": "sample string 8",
  "StreetAddress2": "sample string 9",
  "Country": "sample string 10",
  "State": "sample string 11",
  "ZipCode": "sample string 12",
  "IsDefault": true
}

application/xml, text/xml

Sample:
<SaveNewPaymentMethodRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.BillingAndPaymentRequestViewModels">
  <CardHolderName>sample string 2</CardHolderName>
  <CardToken>sample string 4</CardToken>
  <City>sample string 7</City>
  <Country>sample string 10</Country>
  <CountryId>sample string 5</CountryId>
  <IsDefault>true</IsDefault>
  <ParentAccountId>sample string 3</ParentAccountId>
  <State>sample string 11</State>
  <StateId>sample string 6</StateId>
  <StreetAddress1>sample string 8</StreetAddress1>
  <StreetAddress2>sample string 9</StreetAddress2>
  <ZipCode>sample string 12</ZipCode>
  <AdminUserId>sample string 1</AdminUserId>
</SaveNewPaymentMethodRequestVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.