Advertisement
jigneshkaila

Second Refund Order request and response log

Oct 20th, 2023
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. 2023-10-20T09:12:14+00:00 INFO Action: Refund Order
  2. 2023-10-20T09:12:14+00:00 INFO Request URL: https://api-m.sandbox.paypal.com/v2/payments/captures/2B214740R31958233/refund
  3. 2023-10-20T09:12:14+00:00 INFO Request Body: Array
  4. (
  5. [note_to_payer] => Refund
  6. [amount] => Array
  7. (
  8. [value] => 15.00
  9. [currency_code] => USD
  10. )
  11.  
  12. )
  13.  
  14. 2023-10-20T09:12:14+00:00 INFO Response Headers: Array
  15. (
  16. [paypal-debug-id] => 45bd4098689b0
  17. )
  18.  
  19. 2023-10-20T09:12:14+00:00 INFO Response Body: Array
  20. (
  21. [name] => UNPROCESSABLE_ENTITY
  22. [message] => The requested action could not be performed, semantically incorrect, or failed business validation.
  23. [debug_id] => 45bd4098689b0
  24. [details] => Array
  25. (
  26. [0] => Array
  27. (
  28. [issue] => PLATFORM_FEE_EXCEEDED
  29. [description] => Platform fee amount specified exceeds the amount that is available for refund. You can only refund up to the available platform fee amount. This error is also returned when no platform_fee was specified or was zero when the payment was captured.
  30. )
  31.  
  32. )
  33.  
  34. [links] => Array
  35. (
  36. [0] => Array
  37. (
  38. [href] => https://developer.paypal.com/docs/api/payments/v2/#error-PLATFORM_FEE_EXCEEDED
  39. [rel] => information_link
  40. )
  41.  
  42. )
  43.  
  44. )
  45.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement