POST eo-creditcard/updatedefault?ClientId={ClientId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientId | string |
Required |
Body Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SavedCardId | globally unique identifier |
None. |
|
| IsDefault | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"SavedCardId": "7ede28bd-0739-469e-987a-fa5701c26cbc",
"IsDefault": true
}
application/xml, text/xml
Sample:
<UpdateDefaultCreditCardRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SavedCardId>7ede28bd-0739-469e-987a-fa5701c26cbc</SavedCardId> <IsDefault>true</IsDefault> </UpdateDefaultCreditCardRequest>
Response Information
Resource Description
| Name | Description | Type | Additional information |
|---|---|---|---|
| IsActionSuccessful | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsActionSuccessful": true,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<CreditCardActionResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <IsActionSuccessful>true</IsActionSuccessful> <Message>sample string 2</Message> </CreditCardActionResult>