POST api/{version}/MyAccount/UpdateCardDetails

Update existing card details

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

IMS_Payments
NameDescriptionTypeAdditional information
PayID

string

None.

PaymentID

Object

None.

CardNumber

string

None.

CVV

string

None.

ExpMonth

integer

None.

ExpYear

integer

None.

CardHolderName

string

None.

CardHolderLastName

string

None.

AddressLine1

string

None.

AddressLine2

string

None.

City

string

None.

StateId

integer

None.

Zip

string

None.

CountryId

integer

None.

IsSaveFutureCard

boolean

None.

StudentPaymentDetailId

integer

None.

StudentPaymentProfileId

string

None.

RegistrationId

integer

None.

StudentProductId

integer

None.

IsUpdateSponsorCard

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PayID": "sample string 1",
  "PaymentID": {},
  "CardNumber": "sample string 3",
  "CVV": "sample string 4",
  "ExpMonth": 5,
  "ExpYear": 6,
  "CardHolderName": "sample string 7",
  "CardHolderLastName": "sample string 8",
  "AddressLine1": "sample string 9",
  "AddressLine2": "sample string 10",
  "City": "sample string 11",
  "StateId": 12,
  "Zip": "sample string 13",
  "CountryId": 14,
  "IsSaveFutureCard": true,
  "StudentPaymentDetailId": 16,
  "StudentPaymentProfileId": "sample string 17",
  "RegistrationId": 18,
  "StudentProductId": 19,
  "IsUpdateSponsorCard": true
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'IMS_Payments'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string"

text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string</string>