Study Guide

Table Of Contents
Direct Payment API
Direct Payment API Reference Information
7
84 March 2008 PayPal Certified Developer Program Study Guide
DoDirectPayment Response
A DoDirectPayment response comes from the PayPal server after a request to charge a
credit card or authorize a credit card for later capture.
CVV2 Card Verification Value, version 2.
The Merchant Account settings determine whether this field is required.
Contact a PayPal Account Manager for more information.
Character length for Visa, MasterCard, and Discover: Three digits.
Character length for American Express: Four digits.
I MPORTANT: To comply with credit-card-processing regulations,
once a transaction has been completed, the application
must not store the value of CVV2.
See
description
EMAIL Email address of payer.
Character length and limit: 127 single-byte characters
No
STREET2 Second street address.
Character length and limit: 127 single-byte characters
No
PHONENUM Phone number
Character length and limit: 20 single-byte characters
No
ShippingAddress An optional shipping address, as described in “ShippingAddress
Parameter” on page 153. ShippingAddress is optional, but if it is
included, certain fields are required.
No
T
ABLE 7.2 DoDirectPayment Response Fields
Field Description Possible Values
AMT The amount of the payment as specified in the
DoDirectPayment request.
See description.
AVSCODE Address Verification System response code.
Character limit: One single-byte alphanumeric character.
See “AVS Response Codes”
on page 155.
CVV2MATCH Result of the CVV2 check by PayPal. See “CVV2 Response
Codes” on page 156.
TRANSACTIONID Unique transaction ID of the payment.
NOTE: If the PAYMENTACTION of the request was
Authorization, the value of TRANSACTIONID is
the AuthorizationID for use with the
Authorization & Capture APIs.
Character length and limitation: 19 single-byte characters.
See description.
T
ABLE 7.1 DoDirectPayment Request Parameters (Continued)
Parameter Description Required?