developer_guide:call_reference:updatecreditcardrequest

UpdateCreditCardRequest

Overview

UpdateCreditCardRequest allows you to update an expired credit card with new billing details.

Learn More:

UpdateCreditCardRequest

XML

<?xml version="1.0" encoding="utf-8"?>
    <UpdateCreditCardRequest>
        <Username>string</Username>	
        <Token>string</Token>
        <Guid>string</Guid>	
        <CreditCard>
             <CardNumber>string</CardNumber>
             <CardType>string</CardType>
             <ExpMonth>string</ExpMonth>
             <ExpYear>string</ExpYear>
             <SecureCode>string</SecureCode>
        </CreditCard>		
    </UpdateCreditCardRequest>

Elements

Name Type Occurrence Meaning
UpdateCreditCardRequest container required Parent Element
Username string required Merchant API Username (Not your Merchant Center login)
Token string required Hash of API Username and Password. Creating a Token
Guid string always This is the identifier for the subscription and should be referenced in future management requests
CreditCard container required Parent Element
CreditCard/CardNumber string required valid credit card number
CreditCard/CardType string required card type (Visa, MasterCard, Discover, Amex)
CreditCard/ExpMonth string required expiration month in format “mm”
CreditCard/ExpYear string required expiration year in format “yyyy”
CreditCard/SecureCode string required 3 or 4 digit security code

UpdateCreditCardResponse

XML

<?xml version="1.0" encoding="utf-8"?>
    <UpdateCreditCardResponse>
        <Ack>string</Ack> 
	<Timestamp>timestamp</Timestamp>
    </UpdateCreditCardResponse>

Elements

Name Type Occurrence Meaning
UpdateCreditCardResponse container required Parent Element
Ack string always Success, Error, or Warning
Timestamp string always All responses return the official SB time stamp in UTC/GMT
developer_guide/call_reference/updatecreditcardrequest.txt · Last modified: 2012/02/25 23:37 by matt