DoExpressCheckoutPayment API Operation (NVP)
Last updated: Oct 1st, 5:28pm
Completes an Express Checkout transaction. If you set up a billing agreement in your SetExpressCheckout
API call, the billing agreement is created when you call DoExpressCheckoutPayment
.
DoExpressCheckoutPayment Request Message
DoExpressCheckoutPayment Request Fields
Field | Description |
---|---|
METHOD |
(Required) Must be DoExpressCheckoutPayment . |
TOKEN |
(Required) The timestamped token value that was returned in the SetExpressCheckout response and passed in the GetExpressCheckoutDetails request. PayPal also appends the token as a GET parameter named token to your RETURN URL when redirecting the buyer back to your website from paypal.com.Character length and limitations: 20 single-byte characters. |
PAYERID |
(Required) Unique PayPal buyer account identification number as returned in the GetExpressCheckoutDetails response. PayPal also appends the payer ID as a GET parameter named PayerID to your RETURN URL when redirecting the buyer back to your website from paypal.com.Character length and limitations: 13 single-byte alphanumeric characters. |
|
(Optional) Unique ID passed for each API request to help prevent duplicate payments. This ID is passed directly back in the response. For more information, see Idempotency. Character length and limitations: 38 single-byte characters maximum. |
PAYMENTREQUEST_n_PAYMENTACTION |
(Conditional) Defines how to obtain payment. Required for parallel payments and digital goods. You can specify up to 10 payments, where n is a digit between 0 and 9, inclusive; except in the case of digital goods, which supports single payments only and where n is
Character length and limitations: Up to 13 single-byte alphabetic characters. |
BUYERMARKETINGEMAIL |
(Optional) The buyer email address opted in by the buyer on the PayPal pages. Character length and limitations: 127 single-byte characters. |
BUTTONSOURCE |
(Optional) Identification code for use by third-party applications to identify transactions. Character length and limitations: 32 single-byte alphanumeric characters. |
SKIPBACREATION |
(Optional) Merchant specified flag which indicates whether to create a billing agreement as part of |
RETURNFMFDETAILS |
(Optional) Flag to indicate whether you want the results returned by Fraud Management Filters. By default, you do not receive this information. Value is:
|
Payment Details Type Fields
When implementing parallel payments, you can create up to ten sets of payment details type parameter fields, each representing one payment you are hosting on your marketplace.
Field | Description |
---|---|
PAYMENTREQUEST_n_AMT |
The total cost of the transaction to the buyer. If shipping cost, which is not applicable to digital goods, and tax charges are known, include them in this. If not, this value is the current sub-total of the order. If the transaction includes one or more one-time purchases, this field must be equal to the sum of the purchases. Set this field to 0 if the transaction does not include a one-time purchase such as when you set up a billing agreement for a recurring payment that is not immediately charged. When the field is set to 0, purchase-specific fields are ignored. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive; except for digital goods, which supports single payments only. For digital goods, the following must be true:
Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period (. ), and the optional thousands separator must be a comma (, ). Some currencies do not allow decimals. For details, see the currency codes page.
|
PAYMENTREQUEST_n_CURRENCYCODE |
(Optional) A three-character currency code. Default: USD. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. |
PAYMENTREQUEST_n_ITEMAMT |
Sum of cost of all items in this order. For digital goods, this field is required. PayPal recommends that you pass the same value in the call to Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period (. ), and the optional thousands separator must be a comma (, ). Some currencies do not allow decimals. For details, see the currency codes page.
|
PAYMENTREQUEST_n_SHIPPINGAMT |
(Optional) Total shipping costs for this order. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period (. ), and the optional thousands separator must be a comma (, ). Some currencies do not allow decimals. For details, see the currency codes page.
|
|
(Optional) Total shipping insurance costs for this order. The value must be a non-negative currency amount or You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period (. ), and the optional thousands separator must be a comma (, ). Some currencies do not allow decimals. For details, see the currency codes page.
|
PAYMENTREQUEST_n_SHIPDISCAMT |
(Optional) Shipping discount for this order, specified as a negative number. You can specify up to ten payments, wheren is a digit from 0 to 9, inclusive. Character length and limitations: Value is a negative number. It includes no currency symbol. Most currencies require 2 decimal places. The decimal separator must be a period (. ), and the optional thousands separator must be a comma (, ). Some currencies do not allow decimals. See the currency codes page for details.
|
|
(Optional) Indicates whether insurance is available as an option the buyer can choose on the PayPal Review page. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Is one of the following values:
|
PAYMENTREQUEST_n_HANDLINGAMT |
(Optional) Total handling costs for this order. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period (. ), and the optional thousands separator must be a comma (, ). Some currencies do not allow decimals. For details, see the currency codes page.
|
PAYMENTREQUEST_n_TAXAMT |
(Optional) Sum of tax for all items in this order. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive; except for digital goods, which supports single payments only. Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period (. ), and the optional thousands separator must be a comma (, ). Some currencies do not allow decimals. For details, see the currency codes page.
|
PAYMENTREQUEST_n_DESC |
(Optional) Description of items the buyer is purchasing. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive; except for digital goods, which supports single payments only. Character length and limitations: 127 single-byte alphanumeric characters. |
PAYMENTREQUEST_n_CUSTOM |
(Optional) A free-form field for your own use. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Character length and limitations: 256 single-byte alphanumeric characters. |
PAYMENTREQUEST_n_INVNUM |
(Optional) Your own invoice or tracking number.You can specify up to ten payments, where n is a digit from 0 to 9, inclusive; except for digital goods, which supports single payments only. Character length and limitations: 256 single-byte alphanumeric characters. |
PAYMENTREQUEST_n_NOTIFYURL |
(Optional) Your URL for receiving Instant Payment Notification (IPN) about this transaction. If you do not specify this value in the request, the notification URL from your Merchant Profile is used, if one exists. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Character length and limitations: 2,048 single-byte alphanumeric characters. |
|
(Optional) The value 1 indicates that this payment is associated with multiple shipping addresses. Character length and limitations: Four single-byte numeric characters. |
|
(Optional) The category of a payment. Value is:
|
|
(Optional) Note to the merchant. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Character length and limitations: 255 single-byte characters. |
PAYMENTREQUEST_n_SOFTDESCRIPTOR |
You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. (Optional) If you provide a value in this field, the full descriptor on the buyer's statement has the following format: <PP*|PAYPAL*><Merchant descriptor in Payment Receiving Preferences> <1 space><soft descriptor> Character length and limitations: The soft descriptor can contain only the following characters:
, ), PayPal returns an error code.The soft descriptor can also include a phone number, which can be toggled between the merchant's customer service number and PayPal's customer service number. The maximum length of the soft descriptor is 22 characters. The PayPal prefix uses either four or eight characters of the data format. The maximum length of the soft descriptor information that you can pass in this field is: 22 - len(<PP * | PAYPAL *>) - len(<var>Descriptor in Payment Receiving Preferences</var> + 1) For example, assume the following conditions:
PAYPAL *EBAY JanesFlow
|
|
(Optional) The payment method type. Specify the value |
|
(Conditional) How you want to obtain payment. When implementing parallel payments, this field is required and must be set to
Character length and limitations: Up to 13 single-byte alphabetic characters. |
PAYMENTREQUEST_n_PAYMENTREQUESTID |
A unique identifier of the specific payment request. Required when implementing parallel payments. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Character length and limitations: Up to 127 single-byte characters. |
Address Type Fields
Field | Description |
---|---|
PAYMENTREQUEST_n_SHIPTONAME |
xs:string Person's name associated with this shipping address. It is required if using a shipping address. Character length and limitations: 128 double-byte characters. |
PAYMENTREQUEST_n_SHIPTOSTREET |
First street address. It is required if using a shipping address. Character length and limitations: 100 single-byte characters. |
PAYMENTREQUEST_n_SHIPTOSTREET2 |
(Optional) Second street address. Character length and limitations: 100 single-byte characters. |
PAYMENTREQUEST_n_SHIPTOCITY |
Name of city. It is required if using a shipping address. Character length and limitations: 40 single-byte characters. |
PAYMENTREQUEST_n_SHIPTOSTATE |
State or province. Required for transactions only if the address is in one of the following countries: Argentina, Brazil, Canada, China, Indonesia, India, Japan, Mexico, Thailand or USA. See the list of PayPal state codes. Character length and limitations: 40 single-byte characters. |
PAYMENTREQUEST_n_SHIPTOZIP |
U.S. ZIP code or other country-specific postal code. It is required if using a U.S. shipping address and may be required for other countries. Character length and limitations: 20 single-byte characters. |
PAYMENTREQUEST_n_SHIPTOCOUNTRYCODE |
Country code. It is required if using a shipping address. Character length and limitations: 2 single-byte characters. |
PAYMENTREQUEST_n_SHIPTOPHONENUM |
(Optional) Phone number. Character length and limitations: 20 single-byte characters. |
Payment Details Item Type Fields
Field | Description |
---|---|
L_PAYMENTREQUEST_n_NAMEm |
Item name. This field is required when Character length and limitations: 127 single-byte characters. This field is introduced in version 53.0. |
L_PAYMENTREQUEST_n_DESCm |
(Optional) Item description. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive, and m specifies the list item within the payment; except for digital goods, which supports single payments only. These parameters must be ordered sequentially beginning with 0 (for example L_PAYMENTREQUEST_n_DESC0 , L_PAYMENTREQUEST_n_DESC1 ).Character length and limitations: 127 single-byte characters. This field is introduced in version 53.0. |
|
Cost of item. This field is required when Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period (. ), and the optional thousands separator must be a comma (, ). Some currencies do not allow decimals. For details, see the currency codes page.This field is introduced in version 53.0. |
L_PAYMENTREQUEST_n_NUMBERm |
(Optional) Item number. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive, and m specifies the list item within the payment. These parameters must be ordered sequentially beginning with 0 (for example L_PAYMENTREQUEST_n_NUMBER0 , L_PAYMENTREQUEST_n_NUMBER1 ).Character length and limitations: 127 single-byte characters. This field is introduced in version 53.0. |
L_PAYMENTREQUEST_n_QTYm |
Item quantity. This field is required when L_PAYMENTREQUEST_n_ITEMCATEGORYm is passed. For digital goods (L_PAYMENTREQUEST_n_ITEMCATEGORYm=Digital ), this field is required. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive, and m specifies the list item within the payment; except for digital goods, which only supports single payments. These parameters must be ordered sequentially beginning with 0 (for example L_PAYMENTREQUEST_n_QTY0 , L_PAYMENTREQUEST_n_QTY1 ).Character length and limitations: Any positive integer. This field is introduced in version 53.0. |
|
(Optional) Item sales tax. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive, and m specifies the list item within the payment; except for digital goods, which only supports single payments. These parameters must be ordered sequentially beginning with 0 (for example Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period (. ), and the optional thousands separator must be a comma (, ). Some currencies do not allow decimals. For details, see the currency codes page.
|
L_PAYMENTREQUEST_n_ITEMWEIGHTVALUEm , L_PAYMENTREQUEST_n_ITEMWEIGHTUNITm |
(Optional) Item weight corresponds to the weight of the item. You can pass this data to the shipping carrier as is without having to make an additional database query. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive, and m specifies the list item within the payment;. These parameters must be ordered sequentially beginning with 0 (for example L_PAYMENTREQUEST_n_ITEMWEIGHTVALUE0 , L_PAYMENTREQUEST_n_ITEMWEIGHTVALUE1 ).Character length and limitations: Any positive integer. |
L_PAYMENTREQUEST_n_ITEMLENGTHVALUEm , L_PAYMENTREQUEST_n_ITEMLENGTHUNITm |
(Optional) Item length corresponds to the length of the item. You can pass this data to the shipping carrier as is without having to make an additional database query. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive, and m specifies the list item within the payment. These parameters must be ordered sequentially beginning with 0 (for example L_PAYMENTREQUEST_n_ITEMLENGTHVALUE0 , L_PAYMENTREQUEST_n_ITEMLENGTHVALUE1 ).Character length and limitations: Any positive integer. |
L_PAYMENTREQUEST_n_ITEMWIDTHVALUEm , L_PAYMENTREQUEST_n_ITEMWIDTHUNITm |
(Optional) Item width corresponds to the width of the item. You can pass this data to the shipping carrier as is without having to make an additional database query. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive, and m specifies the list item within the payment. These parameters must be ordered sequentially beginning with 0 (for example L_PAYMENTREQUEST_n_ITEMWIDTHVALUE0 , L_PAYMENTREQUEST_n_ITEMWIDTHVALUE1 ).Character length and limitations: Any positive integer. |
L_PAYMENTREQUEST_n_ITEMHEIGHTVALUEm , L_PAYMENTREQUEST_n_ITEMHEIGHTUNITm |
(Optional) Item height corresponds to the height of the item. You can pass this data to the shipping carrier as is without having to make an additional database query. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive, and m specifies the list item within the payment. These parameters must be ordered sequentially beginning with 0 (for example L_PAYMENTREQUEST_n_ITEMHEIGHTVALUE0 , L_PAYMENTREQUEST_n_ITEMHEIGHTVALUE1 ).Character length and limitations: Any positive integer. |
L_PAYMENTREQUEST_n_ITEMURLm |
(Optional) URL for the item. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive, and m specifies the list item within the payment. These parameters must be ordered sequentially beginning with 0 (for example L_PAYMENTREQUEST_n_ITEMURL0 , L_PAYMENTREQUEST_n_ITEMURL1 ). |
L_PAYMENTREQUEST_n_ITEMCATEGORYm |
Indicates whether an item is digital or physical. For digital goods, this field is required and must be set to Digital . You can specify up to ten payments, where n is a digit from 0 to 9, inclusive, and m specifies the list item within the payment; except for digital goods, which only supports single payments. These parameters must be ordered sequentially beginning with 0 (for example L_PAYMENTREQUEST_n_ITEMCATEGORY0 , L_PAYMENTREQUEST_n_ITEMCATEGORY1 ). Value is:
This field is available since version 65.1. |
EbayItemPaymentDetailsItemType Fields
Field | Description |
---|---|
L_PAYMENTREQUEST_n_EBAYITEMNUMBERm |
(Optional) Auction item number. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive, and m specifies the list item within the payment. These parameters must be ordered sequentially beginning with 0 (for example L_PAYMENTREQUEST_n_EBAYITEMNUMBER0 , L_PAYMENTREQUEST_n_EBAYITEMNUMBER1 ).Character length: 765 single-byte characters. |
L_PAYMENTREQUEST_n_EBAYITEMAUCTIONTXNIDm |
(Optional) Auction transaction identification number. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive, and m specifies the list item within the payment. These parameters must be ordered sequentially beginning with 0 (for example L_PAYMENTREQUEST_n_EBAYITEMAUCTIONTXNID0 , L_PAYMENTREQUEST_n_EBAYITEMAUCTIONTXNID1 ).Character length: 255 single-byte characters. |
L_PAYMENTREQUEST_n_EBAYITEMORDERIDm |
(Optional) Auction order identification number. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive, and m specifies the list item within the payment. These parameters must be ordered sequentially beginning with 0 (for example L_PAYMENTREQUEST_n_EBAYITEMORDERID0 , L_PAYMENTREQUEST_n_EBAYITEMORDERID1 ).Character length: 64 single-byte characters. |
L_PAYMENTREQUEST_n_EBAYCARTIDm |
(Optional) The unique identifier provided by eBay for this order from the buyer. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive, and m specifies the list item within the payment. These parameters must be ordered sequentially beginning with 0 (for example L_PAYMENTREQUEST_n_EBAYITEMCARTID0 , L_PAYMENTREQUEST_n_EBAYITEMCARTID1 ).Character length: 255 single-byte characters. |
DiscountInfoType Fields
Describes discount information.
Field | Description |
---|---|
|
(Optional) The name of the buyer's wallet item offer redeemed in this transaction, such as, a merchant coupon or a loyalty program card. Character length and limitations: 127 single-byte characters |
|
(Optional) Description of the offer redeemed in this transaction, such as, a merchant coupon or a loyalty program. Character length and limitations: 127 single-byte characters |
|
(Optional) Amount of the offer redeemed in this transaction. Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period (. ), and the optional thousands separator must be a comma (, ). Some currencies do not allow decimals. For details, see the currency codes page.
|
|
(Optional) Type of the offer redeemed in this transaction. Value is:
|
|
(Optional) Unique ID of the offer redeemed in this transaction or the buyer's loyalty card account number. Character length and limitations: 64 single-byte characters. |
|
(Optional) The number of loyalty points accrued in this transaction. |
|
(Optional) The name of the loyalty points program in which the buyer earned points in this transaction. Character length and limitations: 127 single-byte characters |
|
(Optional) Description of the loyalty points program. Character length and limitations: 127 single-byte characters |
|
(Optional) Type of discount or loyalty program. It is one of the following:
|
|
(Optional) Unique ID of the buyer's loyalty points account. Character length and limitations: 64 single-byte characters. |
|
(Optional) The cumulative number of loyalty points the buyer has accrued. |
|
(Optional) Key name of a merchant data key-value pair passed with the transaction. You can pass up to 16 key-value pairs (where m is between Character length and limitations: 64 single-byte characters. You can specify up to 10 payments in each request. The charactern , in the field name, is the payments array index and should be replaced with an integer in the inclusive range of 0 and 9 . For example, if you are passing only one payment in the request, replace n with the digit 0 . For multiple payments within a single request, you must order the payments sequentially. If you are using digital goods, you can send only a single payment in each request. This field also allows you to pass an array of information for each payment. Replace the character m in the field name with an integer (an array key). The keys must be ordered sequentially, beginning with 0.
|
|
(Optional) Merchant data value, part of a key-value pair, passed with the transaction. You can pass up to 16 key-value pairs (where m is between Character length and limitations: 8192 single-byte characters. You can specify up to 10 payments in each request. The charactern , in the field name, is the payments array index and should be replaced with an integer in the inclusive range of 0 and 9 . For example, if you are passing only one payment in the request, replace n with the digit 0 . For multiple payments within a single request, you must order the payments sequentially. If you are using digital goods, you can send only a single payment in each request. This field also allows you to pass an array of information for each payment. Replace the character m in the field name with an integer (an array key). The keys must be ordered sequentially, beginning with 0.
|
UserSelectedOptions Type Fields
Field | Description |
---|---|
INSURANCEOPTIONSELECTED |
(Optional) The option that the buyer chose for insurance. Value is:
|
SHIPPINGOPTIONISDEFAULT |
(Optional) Whether the buyer chose the default shipping option. Value is:
|
SHIPPINGOPTIONAMOUNT |
(Optional) The shipping amount that the buyer chose. Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period (. ), and the optional thousands separator must be a comma (, ). Some currencies do not allow decimals. For details, see the currency codes page.
|
SHIPPINGOPTIONNAME |
(Optional) The name of the shipping option, such as air or ground. |
Seller Details Type Fields
Field | Description |
---|---|
PAYMENTREQUEST_n_SELLERID |
(Optional) Unique non-changing identifier for the merchant at the marketplace site. This ID is not displayed. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Character length and limitations: 13 single-byte alphanumeric characters. |
PAYMENTREQUEST_n_SELLERUSERNAME |
xs:string (Optional) Current name of the merchant or business at the marketplace site. This name may be shown to the buyer. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. |
PAYMENTREQUEST_n_SELLERREGISTRATIONDATE |
(Optional) Date when the merchant registered with the marketplace. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Character length and limitations: Must be a valid date, in UTC/GMT format; for example,2013-08-24T05:38:48Z . No wildcards are allowed.
|
DoExpressCheckoutPayment Response Message
DoExpressCheckoutPayment Response Fields
Field | Description |
---|---|
TOKEN |
The time-stamped token value that was returned by Character length and limitations: 20 single-byte characters. |
BILLINGAGREEMENTID |
Identification number of the billing agreement. When the buyer approves the billing agreement, it remains valid until canceled by the buyer. Character length and limitations: 19 single-byte alphanumeric characters |
REDIRECTREQUIRED |
Flag to indicate whether you need to redirect the buyer back to PayPal after successfully completing the transaction. If set to true, you can redirect users to the following URL with the https://www.paypal.com/cgi-bin/webscr?cmd=_complete-express-checkout&token=(token)
|
NOTE |
The text entered by the buyer on the PayPal website if you set the This field is available since version 53.0. Character length and limitations: 255 single-byte characters. |
MSGSUBID |
Unique ID passed for each API request to help prevent duplicate payments. This ID is passed directly back in the response. For more information, see Idempotency. Character length and limitations: 38 single-byte characters maximum. |
SUCCESSPAGEREDIRECTREQUESTED |
Flag to indicate whether you would like to redirect the buyer to sign up for PayPal after completing the transaction. If set to true, you can redirect users to the following URL with the https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout-success&token=(token)
|
Payment Information Type Fields
When implementing parallel payments, up to 10 payment information type sets of payment information type parameter fields can be returned, each representing one payment you are hosting on your marketplace.
Field | Description |
---|---|
PAYMENTINFO_n_TRANSACTIONID |
Unique transaction ID of the payment. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Character length and limitations: 17 characters. Orders transactions have 19 characters.
|
PAYMENTINFO_n_EBAYITEMAUCTIONTXNID |
eBay transaction identification number. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Character length and limitations: 255 single-byte characters. |
PAYMENTINFO_n_PARENTTRANSACTIONID |
Parent or related transaction identification number. This field is populated for the following transaction types:
|
PAYMENTINFO_n_RECEIPTID |
Character length and limitations: 16 digits in xxxx-xxxx-xxxx-xxxx format. |
PAYMENTINFO_n_TRANSACTIONTYPE |
Type of transaction. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Value is:
Character length and limitations: 15 single-byte characters. |
PAYMENTINFO_n_PAYMENTTYPE |
Indicates whether the payment is instant or delayed. Value is: You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Value is:
Character length and limitations: 7 single-byte characters. |
PAYMENTINFO_n_EXPECTEDECHECKCLEARDATE |
eCheck latest expected clear date. |
PAYMENTINFO_n_ORDERTIME |
Date/time stamp of the payment. Character length and limitations: Date and time are in UTC/GMT format. For example,2013-08-24T05:38:48Z .
|
PAYMENTINFO_n_AMT |
The final amount charged, including any shipping and taxes from your Merchant Profile. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period (. ), and the optional thousands separator must be a comma (, ). Some currencies do not allow decimals. For details, see the currency codes page.
|
PAYMENTINFO_n_CURRENCYCODE |
A 3-character currency code. Default: USD. |
PAYMENTINFO_n_FEEAMT |
PayPal fee amount charged for the transaction. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period (. ), and the optional thousands separator must be a comma (, ). Some currencies do not allow decimals. For details, see the currency codes page.
|
PAYMENTINFO_n_SETTLEAMT |
Amount deposited in your PayPal account after a currency conversion. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period (. ), and the optional thousands separator must be a comma (, ). Some currencies do not allow decimals. For details, see the currency codes page.
|
PAYMENTINFO_n_SETTLEAMTCURRENCYCODE |
The 3-character currency code of This field is available since version 216. |
PAYMENTINFO_n_SETTLEMENTFEEAMOUNT |
Transaction fee associated with the payment in the settlement currency. Applicable only for use cases where the PayPal fee is charged in the settlement currency. Example: This field is available since version 216. |
PAYMENTINFO_n_SETTLEMENTFEECURRENCYCODE |
The 3-character currency code of This field is available since version 216. |
PAYMENTINFO_n_TAXAMT |
Tax charged on the transaction. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period (. ), and the optional thousands separator must be a comma (, ). Some currencies do not allow decimals. For details, see the currency codes page.
|
PAYMENTINFO_n_EXCHANGERATE |
Exchange rate if a currency conversion occurred. Relevant only if your are billing in their non-primary currency. If the buyer chooses to pay with a currency other than the non-primary currency, the conversion occurs in the buyer's account. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Character length and limitations: Decimal value that does not exceed 17 characters, including decimal point. |
PAYMENTINFO_n_PAYMENTSTATUS |
The status of the payment. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Value is:
|
PAYMENTINFO_n_PENDINGREASON |
Reason the payment is pending. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Value is:
|
PAYMENTINFO_n_REASONCODE |
Reason for a reversal if TransactionType is reversal. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Value is:
|
PAYMENTINFO_n_HOLDDECISION |
Reason that this payment is being held. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Value is:
This field is available since version 71.0 and is returned only if |
PAYMENTINFO_n_SHIPPINGMETHOD |
Shipping method selected by the user during check-out. |
PAYMENTINFO_n_PROTECTIONELIGIBILITY |
Prior to version 64.4, the kind of seller protection in force for the transaction. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Value is:
|
PAYMENTINFO_n_PROTECTIONELIGIBILITYTYPE |
Since version 64.4, the type of seller protection in force for the transaction. It is one or more of the following values:
This field is available since version 64.4.
|
PAYMENTINFO_n_RECEIPTREFERENCENUMBER |
Receipt Reference Number for this Transaction |
PAYMENTINFO_n_SHIPPINGAMT |
Amount of shipping charged on this transaction. Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period (. ), and the optional thousands separator must be a comma (, ). Some currencies do not allow decimals. For details, see the currency codes page. |
PAYMENTINFO_n_HANDLINGAMT |
Amount of ship handling charged on transaction Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period (. ), and the optional thousands separator must be a comma (, ). Some currencies do not allow decimals. For details, see the currency codes page.
|
STOREID |
xs:string StoreId as entered in the transaction. |
TERMINALID |
xs:string TerminalId as entered in the transaction. |
PAYMENTINFO_n_PAYMENTREQUESTID |
Unique identifier of the specific payment request. The value should match the one you passed in the Character length and limitations: Up to 127 single-byte characters. |
PAYMENTINFO_n_INSTRUMENTCATEGORY |
Returns the category of the instrument only when it is promotional. Value is:
|
PAYMENTINFO_n_INSTRUMENTID |
Reserved for future use. Returns the instrument ID (issued by the external party) corresponding to the funding source used in the payment. |
PAYMENTINFO_n_OFFERCODE |
Code used to identify the promotion offer. |
PAYMENTINFO_n_OFFERTRACKINGID |
Unique identification for merchant/buyer/offer combo. |
UserSelectedOptions Type Fields
Field | Description |
---|---|
SHIPPINGCALCULATIONMODE |
Describes how the options that were presented to the buyer were determined. Value is:
|
INSURANCEOPTIONSELECTED |
The option that the buyer chose for insurance. Value is:
|
SHIPPINGOPTIONISDEFAULT |
Indicates whether the buyer chose the default shipping option. Value is:
Character length and limitations: true or false |
SHIPPINGOPTIONAMOUNT |
The shipping amount that the buyer chose. Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period (. ), and the optional thousands separator must be a comma (, ). Some currencies do not allow decimals. For details, see the currency codes page.
|
SHIPPINGOPTIONNAME |
The name of the shipping option, such as air or ground. |
Error Type Fields
Field | Description |
---|---|
L_SHORTMESSAGE_n_ |
xs:string Payment error short message. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. |
L_LONGMESSAGE_n_ |
xs:string Payment error long message. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. |
L_ERRORCODE_n_ |
xs:string Payment error code. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. |
L_SEVERITYCODE_n_ |
xs:string Payment error severity code. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. |
ACK |
xs:string The final status of API request, whether success/failure/partial success/duplicate request. |
If you receive a PAYMENTINFO_n_XXXXX
error, these are listed under Deprecated Error Codes below.
Seller Details Type Fields
Field | Description |
---|---|
PAYMENTINFO_n_SELLERPAYPALACCOUNTID |
Unique identifier for the merchant. For parallel payments, this field contains either the Payer Id or the email address of the merchant. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Character length and limitations: 127 single-byte alphanumeric characters. |
PAYMENTINFO_n_SECUREMERCHANTACCOUNTID |
Unique PayPal customer account number (of the merchant). This field is returned in the response. It is ignored if passed in the request. |
PAYMENTINFO_n_SELLERID |
Unique, non-changing identifier for the merchant at the marketplace site. (Optional) You can specify up to ten payments, where n is a digit from 0 to 9, inclusive.Character length and limitations: 13 single-byte alphanumeric characters. |
PAYMENTINFO_n_SELLERUSERNAME |
Current name of the merchant or business at the marketplace site. This name may be shown to the buyer. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. |
PAYMENTINFO_n_SELLERREGISTRATIONDATE |
Date when the merchant registered with the marketplace. up to ten payments can be specified, where Character length and limitations: Date and time are in UTC/GMT format. For example,2013-08-24T05:38:48Z .
|
RiskFilterList Type Fields
Field | Description |
---|---|
L_PAYMENTINFO_n_FMFfilterIDm |
Filter ID, including the filter type, (PENDING , REPORT , or DENY ), the filter ID, and the entry number, m, starting from 0. Filter ID is one of the following values:
You can specify up to ten payments, where n is a digit from 0 to 9, inclusive, and m specifies the list item within the payment. |
L_PAYMENTINFO_n_FMFfilterNAMEm |
Filter name, including the filter type, (PENDING , REPORT , or DENY ), the filter NAME, and the entry number, m, starting from 0. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive, and m specifies the list item within the payment. |
Deprecated Fields
The following fields are deprecated. Replacement fields are noted when available.
Deprecated DoExpressCheckoutPayment Request Fields
Field | Use this field instead |
---|---|
PAYMENTACTION |
PAYMENTREQUEST_n_PAYMENTACTION |
GIFTMESSAGE |
Discontinued Sept. 8, 2016. (No replacement.) (Optional) The gift message the buyer entered on the PayPal pages. Character length and limitations: 150 single-byte characters. |
GIFTRECEIPTENABLE |
Discontinued Sept. 8, 2016. (No replacement.) (Optional) Whether the buyer selected a gift receipt on the PayPal pages. It is one of the following vaues:
|
GIFTWRAPNAME |
Discontinued Sept. 8, 2016. (No replacement.) (Optional) Return the gift wrap name only if the buyer selected the gift option on the PayPal pages. Character length and limitations: 25 single-byte characters. |
GIFTWRAPAMOUNT |
Discontinued Sept. 8, 2016. (No replacement.) (Optional) Amount only if the buyer selected the gift option on the PayPal pages. Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period (. ), and the optional thousands separator must be a comma (, ). Some currencies do not allow decimals. For details, see the currency codes page.
|
SURVEYQUESTION |
Discontinued Sept. 8, 2016. (No replacement.) (Optional) Survey question on the PayPal pages. Limitations: 50 single-byte characters. |
SURVEYCHOICESELECTED |
Discontinued Sept. 8, 2016. (No replacement.) (Optional) Survey response that the buyer selected on the PayPal pages. Character length and limitations: 15 single-byte characters. |
Deprecated Payment Details Type Fields
Field | Use this field instead |
---|---|
AMT |
PAYMENTREQUEST_n_AMT |
CURRENCYCODE |
PAYMENTREQUEST_n_CURRENCYCODE |
ITEMAMT |
PAYMENTREQUEST_n_ITEMAMT |
SHIPPINGAMT |
PAYMENTREQUEST_n_SHIPPINGAMT |
INSURANCEAMT |
PAYMENTREQUEST_n_INSURANCEAMT |
SHIPPINGDISCAMT |
PAYMENTREQUEST_n_SHIPDISCAMT |
INSURANCEOPTIONOFFERED |
PAYMENTREQUEST_n_INSURANCEOPTIONOFFERED |
HANDLINGAMT |
PAYMENTREQUEST_n_HANDLINGAMT |
TAXAMT |
PAYMENTREQUEST_n_TAXAMT |
DESC |
PAYMENTREQUEST_n_DESC |
CUSTOM |
PAYMENTREQUEST_n_CUSTOM |
INVNUM |
PAYMENTREQUEST_n_INVNUM |
NOTIFYURL |
PAYMENTREQUEST_n_NOTIFYURL |
NOTETEXT |
PAYMENTREQUEST_n_NOTETEXT |
SOFTDESCRIPTOR |
PAYMENTREQUEST_n_SOFTDESCRIPTOR |
TRANSACTIONID |
PAYMENTREQUEST_n_TRANSACTIONID |
ALLOWEDPAYMENTMETHOD |
PAYMENTREQUEST_n_ALLOWEDPAYMENTMETHOD |
PAYMENTACTION |
PAYMENTREQUEST_n_PAYMENTACTION |
PAYMENTREQUESTID |
PAYMENTREQUEST_n_PAYMENTREQUESTID |
SETTLEMENTFEEAMOUNT |
PAYMENTINFO_n_SETTLEMENTFEEAMOUNT |
SETTLEMENTFEECURRENCYCODE |
PAYMENTINFO_n_SETTLEMENTFEECURRENCYCODE |
SETTLEAMTCURRENCYCODE |
PAYMENTINFO_n_SETTLEAMTCURRENCYCODE |
Deprecated Address Type Fields
Field | Use this field instead |
---|---|
SHIPTONAME |
PAYMENTREQUEST_n_SHIPTONAME |
SHIPTOSTREET |
PAYMENTREQUEST_n_SHIPTOSTREET |
SHIPTOSTREET2 |
PAYMENTREQUEST_n_SHIPTOSTREET2 |
SHIPTOCITY |
PAYMENTREQUEST_n_SHIPTOCITY |
SHIPTOSTATE |
PAYMENTREQUEST_n_SHIPTOSTATE |
SHIPTOZIP |
PAYMENTREQUEST_n_SHIPTOZIP |
SHIPTOCOUNTRY |
PAYMENTREQUEST_n_SHIPTOCOUNTRYCODE |
SHIPTOPHONENUM |
PAYMENTREQUEST_n_SHIPTOPHONENUM |
Deprecated Payment Details Item Type Fields
Field | Use this field instead |
---|---|
L_NAMEn |
L_PAYMENTREQUEST_n_NAMEm |
L_DESCn |
L_PAYMENTREQUEST_n_DESCm |
L_AMTn |
L_PAYMENTREQUEST_n_AMTm |
L_NUMBERn |
L_PAYMENTREQUEST_n_NUMBERm |
L_QTYn |
L_PAYMENTREQUEST_n_QTYm |
L_TAXAMTn |
L_PAYMENTREQUEST_n_TAXAMTm |
L_ITEMWEIGHTTVALUEn |
L_PAYMENTREQUEST_n_ITEMWEIGHTVALUEm |
L_ITEMWEIGHTUNITn |
L_PAYMENTREQUEST_n_ITEMWEIGHTUNITm |
L_ITEMLENGTHVALUEn |
L_PAYMENTREQUEST_n_ITEMLENGTHVALUEm |
L_ITEMLENGTHUNITn |
L_PAYMENTREQUEST_n_ITEMLENGTHUNITm |
L_ITEMWIDTHVALUEn |
L_PAYMENTREQUEST_n_ITEMWIDTHVALUEm |
L_ITEMWIDTHUNITn |
L_PAYMENTREQUEST_n_ITEMWIDTHUNITm |
L_ITEMHEIGHTVALUEn |
L_PAYMENTREQUEST_n_ITEMHEIGHTVALUEm |
L_ITEMHEIGHTUNITn |
L_PAYMENTREQUEST_n_ITEMHEIGHTUNITm |
L_ITEMURLn |
L_PAYMENTREQUEST_n_ITEMURLm |
Deprecated EbayItemPaymentDetailsItemType Fields
Field | Use this field instead |
---|---|
L_EBAYITEMNUMBERn |
L_PAYMENTREQUEST_n_EBAYITEMNUMBERm |
L_EBAYAUCTIONTXNIDn |
L_PAYMENTREQUEST_n_EBAYAUCTIONTXNIDm |
L_EBAYITEMORDERIDn |
L_PAYMENTREQUEST_n_EBAYITEMORDERIDm |
L_EBAYITEMCARTIDn |
L_PAYMENTREQUEST_n_EBAYITEMCARTIDm |
Deprecated Seller Details Type Fields
Field | Use this field instead |
---|---|
SELLERID |
PAYMENTREQUEST_n_SELLERID |
SELLERUSERNAME |
PAYMENTREQUEST_n_SELLERUSERNAME |
SELLERREGISTRATIONDATE |
PAYMENTREQUEST_n_SELLERREGISTRATIONDATE |
Deprecated DoExpressCheckoutPayment Response Fields
Field | Use this field instead |
---|---|
L_FMFfilterIDn |
L_PAYMENTINFO_n_FMFfilterIDm |
L_FMFfilterNAMEn |
L_PAYMENTINFO_n_FMFfilterNAMEm |
Deprecated Payment Information Fields
Field | Use this field instead |
---|---|
TRANSACTIONID |
PAYMENTINFO_n_TRANSACTIONID |
TRANSACTIONTYPE |
PAYMENTINFO_n_TRANSACTIONTYPE |
PAYMENTTYPE |
PAYMENTINFO_n_PAYMENTTYPE |
ORDERTIME |
PAYMENTINFO_n_ORDERTIME |
AMT |
PAYMENTINFO_n_AMT |
CURRENCYCODE |
PAYMENTINFO_n_CURRENCYCODE |
FEEAMT |
PAYMENTINFO_n_FEEAMT |
SETTLEAMT |
PAYMENTINFO_n_SETTLEAMT |
TAXAMT |
PAYMENTINFO_n_TAXAMT |
EXCHANGERATE |
PAYMENTINFO_n_EXCHANGERATE |
PAYMENTSTATUS |
PAYMENTINFO_n_PAYMENTSTATUS |
PENDINGREASON |
PAYMENTINFO_n_PENDINGREASON |
REASONCODE |
PAYMENTINFO_n_REASONCODE |
PROTECTIONELIGIBILITY |
PAYMENTINFO_n_PROTECTIONELIGIBILITY |
EBAYITEMAUCTIONTXNID |
PAYMENTINFO_n_EBAYITEMAUCTIONTXNID |
PAYMENTREQUESTID |
PAYMENTINFO_n_PAYMENTREQUESTID |
L_FMFfilterIDn |
L_PAYMENTINFO_n_FMFfilterIDm |
L_FMFfilterNAMEn |
L_PAYMENTINFO_n_FMFfilterNAMEm |
SHIPPINGAMT |
PAYMENTINFO_n_SHIPPINGAMT |
PARENTTRANSACTIONID |
PAYMENTINFO_n_PARENTTRANSACTIONID |
RECEIPTID |
PAYMENTINFO_n_RECEIPTID |
EXPECTEDECHECKCLEARDATE |
PAYMENTINFO_n_EXPECTEDECHECKCLEARDATE |
SHIPPINGMETHOD |
PAYMENTINFO_n_SHIPPINGMETHOD |
Deprecated Error Codes
Field | Use this field instead |
---|---|
PAYMENTINFO_n_SHORTMESSAGE |
L_SHORTMESSAGE_n_ |
PAYMENTINFO_n_LONGMESSAGE |
L_LONGMESSAGE_n_ |
PAYMENTINFO_n_ERRORCODE |
L_ERRORCODE_n_ |
PAYMENTINFO_n_SEVERITYCODE |
L_SEVERITYCODE_n_ |
PAYMENTINFO_n_ACK |
ACK |