How to get paypal fees amount after executing a Payment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am integrating paypal Java API and I would like to get fees and net amount. What is the API call to get these amounts?
Thank you for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @fhassani,
Thank you for contacting PayPal community.
Our sincere apologies for the inconvenience caused.
Yes, you can get the transaction fee details by implementing Express Checkout via NVP/SOAP:
Please use the filed "PAYMENTINFO_n_FEEAMT" which will be returned by DoExpressCheckoutPayment API Operation.
PAYMENTINFO_n_FEEAMT | PayPal fee amount charged for the transaction. You can specify up to ten payments, where n is a digit from 0 to 9, inclusive. Character length and limitations: Value is typically a positive number that cannot exceed 10,000.00 USD 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 (.), and the optional thousands separator must be a comma (,). Some currencies do not allow decimals. For details, see the currency codes page. |
Detailed integration guide link for reference.
Thank you for understanding and patience.
Chiranjeevi
PayPal, Inc.
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Chiranjeevi_L,
Thank you for your quick answer.
The link you sent me seems to be deprecated.
I am using the REST API in Java, so I creation a Payment object then I approve it then I execute the Payment. I can get a Transaction object from the Payment object but none of them contains the fees amount.
Is there a possibility to use the REST API to get the fees amount?
Thank you!
Fouad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @fhassani,
I apologize for any inconvenience.
You can still integrate Express Checkout via NVP/SOAP, deprecated means that there will be no further enhancement.
Yes, please use transaction_fee value to get PayPal fee details.
I hope that above information is helpful.
Thank you for understanding and patience.
Sincerely,
Chiranjeevi
PayPal, Inc.
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Add Others data in SDKs
- Shipping options are not appearing in my cart through link or button. in PayPal Payments Standard
- Change the button from Sandbox to Production in REST APIs
- My webhook stopped working 2 weeks ago in REST APIs
- What is the order of execution for latest Rest APIs for paypal payment ecomerce site in REST APIs