Request Information
URI Parameters
None.
Body Parameters
The credit card.
MyAccount.CreditCard| Name | Description | Type | Additional information |
|---|---|---|---|
| firstName |
Gets or sets the disposition. |
string |
None. |
| lastName |
Gets or sets the last name. |
string |
None. |
| number |
Gets or sets the number. |
string |
None. |
| result |
Gets or sets the result. |
string |
None. |
| expirationMonth |
Gets or sets the expiration month. |
integer |
None. |
| expirationYear |
Gets or sets the expiration year. |
integer |
None. |
| securityCode |
Gets or sets the security code. |
string |
None. |
| type |
Gets or sets the card type. |
string |
None. |
| zipCode |
Gets or sets the zip code. |
string |
None. |
| app |
Gets or sets the application identifier. |
integer |
None. |
| id |
Gets or sets the credit card identifier. |
integer |
None. |
Request Formats
application/json, text/json
{
"firstName": "sample String 1",
"lastName": "sample String 2",
"number": "sample String 3",
"result": "sample String 4",
"expirationMonth": 5,
"expirationYear": 6,
"securityCode": "sample String 7",
"type": "sample String 8",
"zipCode": "sample String 9",
"app": "10",
"id": "11"
}
text/html
{"firstName":"sample String 1","lastName":"sample String 2","number":"sample String 3","result":"sample String 4","expirationMonth":5,"expirationYear":6,"securityCode":"sample String 7","type":"sample String 8","zipCode":"sample String 9","app":"10","id":"11"}
application/xml, text/xml
<CreditCard xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <FirstName>sample String 1</FirstName> <LastName>sample String 2</LastName> <Number>sample String 3</Number> <Result>sample String 4</Result> <ExpirationMonth>5</ExpirationMonth> <ExpirationYear>6</ExpirationYear> <SecurityCode>sample String 7</SecurityCode> <CardType>sample String 8</CardType> <ZipCode>sample String 9</ZipCode> <AppId>10</AppId> <CreditCardId>11</CreditCardId> </CreditCard>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
The created credit card.
MyAccount.CreditCard| Name | Description | Type | Additional information |
|---|---|---|---|
| firstName |
Gets or sets the disposition. |
string |
None. |
| lastName |
Gets or sets the last name. |
string |
None. |
| number |
Gets or sets the number. |
string |
None. |
| result |
Gets or sets the result. |
string |
None. |
| expirationMonth |
Gets or sets the expiration month. |
integer |
None. |
| expirationYear |
Gets or sets the expiration year. |
integer |
None. |
| securityCode |
Gets or sets the security code. |
string |
None. |
| type |
Gets or sets the card type. |
string |
None. |
| zipCode |
Gets or sets the zip code. |
string |
None. |
| app |
Gets or sets the application identifier. |
integer |
None. |
| id |
Gets or sets the credit card identifier. |
integer |
None. |
Response Formats
application/json, text/json
{
"firstName": "sample String 1",
"lastName": "sample String 2",
"number": "sample String 3",
"result": "sample String 4",
"expirationMonth": 5,
"expirationYear": 6,
"securityCode": "sample String 7",
"type": "sample String 8",
"zipCode": "sample String 9",
"app": "10",
"id": "11"
}
text/html
{"firstName":"sample String 1","lastName":"sample String 2","number":"sample String 3","result":"sample String 4","expirationMonth":5,"expirationYear":6,"securityCode":"sample String 7","type":"sample String 8","zipCode":"sample String 9","app":"10","id":"11"}
application/xml, text/xml
<CreditCard xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <FirstName>sample String 1</FirstName> <LastName>sample String 2</LastName> <Number>sample String 3</Number> <Result>sample String 4</Result> <ExpirationMonth>5</ExpirationMonth> <ExpirationYear>6</ExpirationYear> <SecurityCode>sample String 7</SecurityCode> <CardType>sample String 8</CardType> <ZipCode>sample String 9</ZipCode> <AppId>10</AppId> <CreditCardId>11</CreditCardId> </CreditCard>