Welcome‎ > ‎Version 2‎ > ‎Publisher Api (Read/Write)‎ > ‎Data Structures‎ > ‎

Credit Card

Data Structure holding information about a previously used credit card.

Fields:
  storedCreditCardId - The previously used credit card id to be placed on the purchase request.
  expiration - The expiration date on the card.
  type - The type of payment type.
  maskedCardNumber - The masked card number that can be safely displayed.

Sample XML Response:
<creditcard>
    <expiration>2011-00</expiration>
    <maskedCardNumber>XXXX1111</maskedCardNumber>
    <storedCreditCardId>2125587</storedCreditCardId>
    <type>MasterCard</type>
</creditcard>


Sample JSON Response:
{
    "creditcard": {
        "expiration": "2011-00",
        "maskedCardNumber": "XXXX1111",
        "storedCreditCardId": "2329470",
        "type": "Visa"
    }
}

Comments