DoAuthorization API Operation (NVP)
Last updated: Sept 18th, 5:32pm
Authorizes a payment.
DoAuthorization Request Message
DoAuthorization Request Fields
Field | Description |
---|---|
|
(Required) Must be |
|
(Required) Value of the order's transaction identification number returned by PayPal. Character length and limitations: 17 characters. Orders transactions have 19 characters. |
|
(Required) Amount to authorize. 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) Type of transaction to authorize. The only allowable value is |
|
(Optional) A three-character currency code. |
|
(Optional) Sum of cost of all items in this order. 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) Total shipping costs for this order. 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) Total handling costs for this order. 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) Sum of tax for all items in this order. 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) Total shipping insurance costs for this order. |
|
(Optional) Shipping discount for this order, specified as a negative number. 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 ( |
|
(Optional) Description of items the customer is purchasing. Character length and limitations: 127 single-byte alphanumeric characters. |
|
(Optional) A free-form field for your own use. Character length and limitations: 256 single-byte alphanumeric characters. |
|
(Optional) IP address of the buyer. |
|
(Optional) Indicates whether the item purchased is shipped to a store location. |
|
(Optional) A message ID used for idempotence to uniquely identify a message. This ID can later be used to request the latest results for a previous request without generating a new request. Examples of this include requests due to timeouts or errors during the original request. Character length and limitations: string of up to 38 single-byte characters. This field is available since API version 92.0. |
AddressType Fields
Field | Description |
---|---|
|
Person's name associated with this shipping address. It is required if using a shipping address. Character length and limitations: 128 double-byte characters |
|
First street address. Required if using a shipping address. Character length and limitations: 100 single-byte characters |
|
(Optional) Second street address. Character length and limitations: 100 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 length and limitations: 2 single-byte characters |
|
(Optional) Phone number. Character length and limitations: 20 single-byte characters |
PaymentDetailsItemType Fields
Field | Description |
---|---|
|
(Optional) Item name. Character length and limitations: 127 single-byte characters |
|
(Optional) Item number. Character length and limitations: 127 single-byte characters |
|
(Optional) Item quantity. Character length and limitations: Any positive integer |
|
(Optional) Item sales tax. 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) Cost of item. 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) Item description. Character length and limitations: 127 single-byte characters |
|
(Optional) Information about the Item weight. |
|
(Optional) Information about the Item length. |
|
(Optional) Information about the item width. |
|
(Optional) Information about the item height. |
|
(Optional) URL for the item. Character length and limitations: no limit. |
|
(Optional) Item category — physical or digital. |
DoAuthorization Response Message
DoAuthorization Response Fields
Field | Description |
---|---|
|
(Optional) Authorization identification number. Character length and limitations: 17 characters. Orders transactions have 19 characters. |
|
Amount you specified in the request. 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) A message ID used for idempotence to uniquely identify a message. This ID can later be used to request the latest results for a previous request without generating a new request. Examples of this include requests due to timeouts or errors during the original request. Character length and limitations: string of up to 38 single-byte characters. This field is available since version 92.0. |