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": "1b54b692-6f02-4fd8-baf2-3c38e323941d", "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>1b54b692-6f02-4fd8-baf2-3c38e323941d</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>