POST eo-creditcard/updatedefault?ClientId={ClientId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ClientId

string

Required

Body Parameters

NameDescriptionTypeAdditional 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

NameDescriptionTypeAdditional 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>