POST api/creditcards/update

Request Information

URI Parameters

None.

Body Parameters

UpdateCreditCardRequest
NameDescriptionTypeAdditional information
ApplicationKey

string

Required

Max length: 100

CreditCard

CreditCardDto

Required

Request Formats

application/json, text/json

Sample:
{
  "applicationKey": "sample string 1",
  "creditCard": {
    "id": 1,
    "customerId": 1,
    "externalCustomerId": "sample string 1",
    "isOrganization": true,
    "firstName": "sample string 3",
    "lastName": "sample string 4",
    "company": "sample string 5",
    "address": "sample string 6",
    "city": "sample string 7",
    "state": "sample string 8",
    "zip": "sample string 9",
    "country": "sample string 10",
    "phoneNumber": "sample string 11",
    "cardNumber": "XXXXXXXXXXXXg 12",
    "expirationDate": "sample string 13",
    "cardCode": "XXXXXXXXXXXXXXXX",
    "cardType": "sample string 15"
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.