POST api/MyAccount/UpdateCreditCardDetails?StudentId={StudentId}&frompage={frompage}
Update existing card details
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| StudentId | integer |
Required |
|
| frompage | string |
Default value is |
Body Parameters
IMS_Payments| Name | Description | Type | Additional 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:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string"
text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string</string>