Study Guide

Table Of Contents
PayPal Certified Developer Program Study Guide March 2008 81
Direct Payment API
Direct Payment API Reference Information
7
ACCT Credit-card number.
Character length and limitations: Numeric characters only. No spaces or
punctuation. Must conform with the length required by each credit-card
type.
Yes
EXPDATE Credit-card expiration date.
Format: MMYYYY
Character length and limitations: 6 single-byte numeric characters,
including leading 0.
Yes
FIRSTNAME Payers first name.
Character length and limitations: 25 single-byte characters
Yes
LASTNAME Payers last name.
Character length and limitations: 25 single-byte characters
Yes
STREET First street address.
Character length and limitations: 100 single-byte characters
No
CITY City.
Character length and limitations: 40 single-byte characters
No
STATE State or province.
Character length and limitations: 40 single-byte characters
For state or province abbreviations, see PayPal Name-Value Pair API
Developer Guide and Reference.
No
COUNTRYCODE Country code.
Character length and limitations: Two single-byte characters.
For a list of country codes, see PayPal Name-Value Pair API Developer
Guide and Reference.
No
ZIP U.S. ZIP code or other country-specific postal code.
Character length and limitations: 20 single-byte characters
No
NOTIFYURL The URL for receiving Instant Payment Notification (IPN) about this
transaction.
If a URL is not specified in the request, the notification URL from the
Merchant Profile is used, if one exists.
Character length and limitations: 2,048 single-byte alphanumeric
characters.
No
T
ABLE 7.1 DoDirectPayment Request Parameters (Continued)
Parameter Description Required?