DoAuthorization API Operation (SOAP)
Last updated: Sept 18th, 5:34pm
Authorizes a payment.
DoAuthorization Request Message
DoAuthorization Request Fields
Field | Description |
---|---|
|
(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) Details about each individual item included in the order. |
|
(Optional) Shipping address for this order. |
|
(Optional) Sum of cost of all items in this order. You must set the 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. You must set the 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. You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. 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. 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) 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 if the item purchased will be 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 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. It is 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. It is 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. It is required if using a U.S. shipping address; may be required for other countries. Character length and limitations: 20 single-byte characters |
|
Country code. It is 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) Information relating to an auction sale on eBay. |
|
(Optional) Promotional financing code for item. Part of the Merchant Services Promotion Financing feature. |
|
(Optional) |
|
(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) Enhanced data for each item in the cart. |
|
(Optional) Item category - physical or digital. |
DoAuthorization Response Message
DoAuthorization Response Fields
Field | Description |
---|---|
TransactionID
|
(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 ( |
|
Details on the Authorization transaction such as the payment status, pending reason (if applicable), and protection eligibility. |
|
(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. |