Package Tracking

OverviewAnchorIcon

If you sell tangible goods, send tracking information for PayPal transactions as soon as you ship items to your customers. Providing tracking information and item-level details on PayPal transactions can significantly enhance the customer experience and reduce your operational costs. Here are some key benefits:

  • Automatic resolution of “Item Not Received” PayPal disputes: You can automatically resolve PayPal disputes related to items not received by providing tracking information.
  • Quicker access to money in payment and dispute holds: Adding tracking information to an order can qualify payment and dispute holds for early release.
  • Live package tracking updates: Customers can receive real-time package updates through the PayPal app, which helps reduce the number of disputes and customer inquiries.
  • Item-level disputes instead of dispute on entire order: Customers can dispute individual items rather than the entire order, reducing the average cost of disputes.
  • Improved merchant risk profiles: Accurate shipping and order status information improves merchant risk profiles, potentially lowering reserve requirements.

AvailabilityAnchorIcon

  1. Check with your Braintree Account Manager if your integration qualifies for package tracking.
  2. Integrated with client SDKs and server SDKs, upgrade to the latest version:
    • Client SDK:
      • iOS - 6.12.0
      • Android - 4.41.0
    • Server SDK:
      • Ruby - 4.18.0
      • PHP - 6.16.0
      • .NET - 5.23.0
      • Java - 3.32.0
      • Python - 4.26.0
      • Node - 3.21.0

EligibilityAnchorIcon

  1. Merchants selling physical goods online
  2. Merchants who accept branded PayPal payments
  3. Only PayPal-branded transactions are eligible for automatic dispute resolution and package tracking updates on the PayPal App
  4. Merchants accepting payments from consumers in US, UK, DE, FR, ES, IT, AU, and CA
    Package Tracking doesn’t apply to:
    • Merchants who sell in-store
    • Merchants selling digital goods or services
Automatic dispute resolutionAnchorIcon

Package Tracking updates on the PayPal AppAnchorIcon

Item level disputesAnchorIcon

API SpecificationAnchorIcon

  1. Add line items when creating an order and add the following item details to the existing integration.
AttributeTypeSample ValueNote
upc_code*String012345678912 UPC (Universal Product Code) for the item. Maximum 17 characters. Optional. Must be provided if upc_type is provided.
upc_type*String The Universal Product Code type. Could be UPC-A, UPC-B, UPC-C, UPC-D, UPC-E, UPC-2, or UPC-5. Optional. Must be provided if upc_code is provided.
image_url*String The URL to product image. Optional. Should follow the pattern (https:)([/|.|\w|\s|-])*.(?:jpg|gif|png|jpeg|JPG|GIF|PNG|JPEG)
quantityNumber1 Number of units of the item purchased. This value must be a whole number and can't be negative or zero.
nameStringItem name. Maximum 127 characters.
descriptionString“description“Item description. Maximum 127 characters.
productCodeString“ABC-01”Product or UPC code for the item. Maximum 127 characters.
urlStringThe URL to product information.

2. Add tracking details after the transaction settles.

RequestAnchorIcon

a. Add tracking details

AttributeTypeSample ValueNote
transaction_idRequired, String“transaction_id” If the transaction has been submitted for partial settlements, this id should be the child transaction id.
tracking_numberRequired, String, limit 64 characters“tracking_number”Tracking number of the package given by the carrier.
carrierRequired, String, limit 64 characters“FEDEX” Find the carrier you are using in this list here. Pass the value in the middle column. If the carrier does not exist in this list, just pass the name of the carrier.
notify_payerOptional, Boolean Default value will be false. Keep the buyer/payer notified of the package tracking updates from PayPal.
line_itemsOptional, Array of LineItemsSee table below.

b. In above line_item fields each element can include these fields:

AttributeTypeSample ValueNote
upc_codeString012345678912 UPC (Universal Product Code) for the item. Maximum 17 characters. Must be provided if upc_type is provided.
upc_typeString The Universal Product Code type. Could be UPC-A, UPC-B, UPC-C, UPC-D, UPC-E, UPC-2, or UPC-5. Must be provided if upc_code is provided.
image_urlStringThe URL to product image.
quantityNumber1 Number of units of the item purchased. This value must be a whole number and can't be negative or zero.
nameStringItem name. Maximum 127 characters.
descriptionString“description“Item description. Maximum 127 characters.
productCodeString“ABC-01”Product or UPC code for the item. Maximum 127 characters.
urlStringThe URL to product information.

ResponseAnchorIcon

Note
The response of package tracking API request is a transaction object, with field “packages” returned in it. “packages” contains a list of trackers that have been created for this transaction.

AttributeTypeDescription
idStringIdentifier of the tracker
tracking_numberStringTracking number
carrierStringCarrier name of this tracker
paypal_tracker_idString A string represents the PayPal system identifier of the tracker. It might not be immediately available when the request has been made but should be available in find transaction request momentarily.

SDK Version requirementsAnchorIcon

Client SDKs:

  • iOS Client 6.12.0
  • Android Client 4.41.0

Server SDKs:

If you accept cookies, we’ll use them to improve and customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more