Callback API Operation (NVP)
Last updated: Aug 15th, 7:29am
Updates the PayPal Review page with shipping options, insurance, and tax information.
Callback API Request Message
Callback Request Fields
Field | Description |
---|---|
| (Required) Must be |
| (Optional) A timestamped token, the value of which was returned by Character length and limitations: 20 single-byte characters |
| (Required) The three-character currency code for the transaction from the Express Checkout API. Default: USD |
| (Optional) Locale of the pages displayed by PayPal during Express Checkout. It is either a two-letter country code or five-character locale code supported by PayPal. Character length and limitations: A two-letter country code or five-character locale code supported by PayPal. |
| Item name from the Express Checkout API. These parameters must be ordered sequentially beginning with |
| Item number from the Express Checkout API. These parameters must be ordered sequentially beginning with |
| Item description from the Express Checkout API. These parameters must be ordered sequentially beginning with |
| Item unit price from the Express Checkout API. These parameters must be ordered sequentially beginning with |
| Item unit quantity from the Express Checkout API. These parameters must be ordered sequentially beginning with |
| The weight of the item. You can pass this data to the shipping carrier as is without having to make an additional database query. These parameters must be ordered sequentially beginning with |
| The height of the item. You can pass this data to the shipping carrier as is without having to make an additional database query. These parameters must be ordered sequentially beginning with |
| The width of the item. You can pass this data to the shipping carrier as is without having to make an additional database query. These parameters must be ordered sequentially beginning with |
| The length of the item. You can pass this data to the shipping carrier as is without having to make an additional database query. These parameters must be ordered sequentially beginning with |
| First street address. Required if using a shipping address. Character length and limitations: 300 single-byte characters. |
| Second street address. Character length and limitations: 300 single-byte characters. |
| Name of city. Required if using a shipping address. Character length and limitations: 40 single-byte characters. |
| State or province. Character length and limitations: 40 single-byte characters. |
| U.S. ZIP code or other country-specific postal code. Required if using a U.S. shipping address; may be required for other countries. Character length and limitations: 20 single-byte characters. |
| Country code. Required if using a shipping address. Character limit: 2 single-byte characters. |
Callback Response Message
Callback Response Fields
Field | Description |
---|---|
| (Required) The method sent to the PayPal server. The value is always |
| (Required) The three-character currency code for the transaction from the Express Checkout API. |
| (Optional) Indicates whether or not PayPal should display insurance in a drop-down list on the Review page. When the value is |
| (Required) Is the internal/system name of a shipping option, such as Air, Ground, or Expedited. These parameters must be ordered sequentially beginning with 0 (for example, Character length and limitations: 50 characters |
| (Required) The label for the shipping option as displayed to the buyer. Examples: Air: Next Day, Expedited: from three to five days, Ground: from five to seven days. These labels can be localized based on the buyer's locale, which is a part of the callback request. These parameters must be ordered sequentially beginning with Character length and limitations: 50 characters |
| (Required) Is the amount for this shipping option. These parameters must be ordered sequentially beginning with Character length and limitation: 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 ( |
| (Required) The default shipping option that appears on the PayPal pages. This field is required if you specify the callback URL. Value is:
|
| (Optional) New tax amount based on this shipping option and the shipping address. 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 ( |
| (Optional) New insurance amount based on this shipping option and the shipping address. 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 ( |
| (Optional) Indicates whether or not PayPal should display insurance in a drop-down list on the Review page. When the value is |
| (Optional) If you do not ship to the buyer's shipping address, set this field to 1. The value of CALLBACKVERSION=<61.0 or greater> Character length and limitations: string |