DoCapture API Operation (NVP)
Last updated: Aug 15th, 7:45am
Captures an authorized payment. More about authorization and capture.
DoCapture Request Message
DoCapture Request Fields
Field | Description |
---|---|
| (Required) Must be |
| (Required) Authorization identification number of the payment you want to capture. This is the transaction ID returned from Character length and limitations: 19 single-byte characters maximum |
| (Required) Amount to capture. 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 3-character currency code (default is USD). |
| (Required) Indicates whether or not this is your last capture. Value is:
|
| (Optional) Your invoice number or other identification number that is displayed to you and to the buyer in their transaction history. The value is recorded only if the authorization you are capturing is an Express Checkout order authorization. Character length and limitations: 127 single-byte alphanumeric characters |
| (Optional) An informational note about this settlement that is displayed to the buyer in email and in their transaction history. Character length and limitations: 255 single-byte characters |
| (Optional) If you provide a value in this field, the full descriptor on the buyer's statement has the following format: Character length and limitations: The soft descriptor can contain only alphanumeric characters, dashes, asterisks, periods, and spaces. If you pass any other characters, such as comma ( 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. Of this, 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:
For example, assume the following conditions:
The resulting descriptor string on the credit card is: |
| (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. |
Merchant Store Details Fields
Field | Description |
---|---|
| Identifier of the merchant store at which the refund is given. This field is required for point-of-sale transactions. Character length and limitations: 50 single-byte characters This field is available since version 82.0. |
| (Optional) ID of the terminal. Character length and limitations: 50 single-byte characters This field is available since version 82.0. |
DoCapture Response Message
DoCapture Response Fields
Field | Description |
---|---|
| Authorization identification number you specified in the request. Character length and limits: 19 single-byte characters maximum |
| (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. |
Payment Information Fields
Field | Description |
---|---|
| Unique transaction ID of the payment. Character length and limitations: 17 characters. Orders transactions have 19 characters. |
| Parent or related transaction identification number. This field is populated for the following transaction types:
Character length and limitations: 17 characters. Orders transactions have 19 characters. Only authorization of an order and capture of an order authorization apply to point-of-sale transactions. |
| Indicates whether the payment is instant or delayed. Value is:
Character length and limitations: 7 single-byte characters |
| Date/time stamp of the payment. Character length and limitations: Must be a valid date, in UTC/GMT format; for example, |
| The final amount charged, including any shipping and taxes from your Merchant Profile. Shipping and taxes do not apply to point-of-sale transactions. 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 ( |
| PayPal fee amount charged for the 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 ( |
| Amount deposited in your PayPal account after a currency conversion. 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 ( |
SETTLEAMTCURRENCYCODE | The 3-character currency code of This field is available since version 216. |
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. |
SETTLEMENTFEECURRENCYCODE | The 3-character currency code of This field is available since version 216. |
| Exchange rate if a currency conversion occurred. Relevant only if your are billing in their non-primary currency. If the customer chooses to pay with a currency other than the non-primary currency, the conversion occurs in the buyer's account. Character length and limitations: A decimal that does not exceed 17 characters, including decimal point |
| Status of the payment. Value is:
|
| Reason the payment is pending. Value is:
|
| Prior to version 64.4, the kind of seller protection in force for the transaction. Value is:
|
| Since version 64.4, the kind of seller protection in force for the transaction. It is one or more of the following values:
If more than one of these values is returned in this field, they will be returned in a comma-delimited string; for example, This field is available since version 64.4. |
INSTRUMENTCATEGORY | This field holds the category of the instrument only when it is promotional. Value is:1 represents PayPal Credit2 represents PLCC (Private Label Credit Card) / Co-branded payment cards. |
INSTRUMENTID | This field holds an instrument ID (issued by the external party) corresponding to the funding source used in the payment. |
Deprecated Fields
The following fields are deprecated. Replacement fields are noted when available.
Deprecated Payment Information Fields
Deprecated field | Replacement field | |
---|---|---|
| (No replacement.) Receipt identification number. Character length and limitations: 16 digits Empty for point-of-sale transactions. | April 2019 |
| (No replacement.) Tax charged on the 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 ( | April 2019 |
| (No replacement.) The type of transaction. Value is:
Character length and limitations:15 single-byte characters | April 2019 |