2009
Table Of Contents
- Name-Value Pair API Developer Guide
- Preface
- This Document
- Intended Audience
- Revision History
- PayPal NVP API Overview
- Authorization and Capture API Operation Reference
- DoDirectPayment API
- Express Checkout API Operations
- GetTransactionDetails API
- MassPay API
- RefundTransaction API
- TransactionSearch API
- Recurring Payments and Reference Transactions API Operations
- DoNonReferencedCredit API
- ManagePendingTransactionStatu s API
- GetBalance API
- AddressVerify API
- API Error Codes
- General API Errors
- Validation Errors
- Direct Payment API Errors
- SetExpressCheckout API Errors
- GetExpressCheckoutDetails API Errors
- DoExpressCheckoutPayment API Errors
- Authorization and Capture API Errors
- GetTransactionDetails API Errors
- TransactionSearch API Errors
- RefundTransaction API Errors
- Mass Pay API Errors
- Recurring Payments Errors
- SetCustomerBillingAgreement Errors
- GetBillingAgreementCustomerDetails Errors
- CreateBillingAgreement Errors
- UpdateBillingAgreement Errors
- DoReferenceTransaction Errors
- AddressVerify API Errors
- ManagePendingTransactionStatus API Errors
- Country Codes
- State and Province Codes
- Currency Codes
- AVS and CVV2 Response Codes
Name-Value Pair API Developer Guide 08 April 2009 89
7
RefundTransaction API
Issue a refund to the PayPal account holder associated with a transaction.
z “RefundTransaction Request” on page 89
z “RefundTransaction Response” on page 89
RefundTransaction Request
RefundTransaction Request Fields
RefundTransaction Response
RefundTransaction Response Fields
Field Description
METHOD (Required) Must be RefundTransaction.
TRANSACTIONID (Required) Unique identifier of a transaction.
Character length and limitations: 17 single-byte alphanumeric characters.
REFUNDTYPE (Required) Type of refund you are making:
z Other
z Full
z Partial
AMT (See description) Refund amount.
Amount is required if RefundType is Partial.
NOTE: If RefundType is Full, do not set Amount.
NOTE (Optional) Custom memo about the refund.
Character length and limitations: 255 single-byte alphanumeric characters.
Field Description
REFUNDTRANSACTIONID Unique transaction ID of the refund.
Character length and limitations:17 single-byte characters.
FEEREFUNDAMT Transaction fee refunded to original recipient of payment.
GROSSREFUNDAMT Amount of money refunded to original payer.
NETREFUNDAMT Amount subtracted from PayPal balance of original recipient of payment to make this
refund.