Advertisement
jigneshkaila

Capture Authorized request and response log

Oct 20th, 2023
1,571
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2023-10-20T08:11:41+00:00 INFO Action: Capture Authorized
  2. 2023-10-20T08:11:41+00:00 INFO Request URL: https://api-m.sandbox.paypal.com/v2/payments/authorizations/7XR20029U2690803X/capture
  3. 2023-10-20T08:11:41+00:00 INFO Request Body: Array
  4. (
  5.     [amount] => Array
  6.         (
  7.             [value] => 16.00
  8.             [currency_code] => USD
  9.         )
  10.  
  11.     [payment_instruction] => Array
  12.         (
  13.             [payee] => Array
  14.                 (
  15.                     [merchant_id] => K75H4EE58B5FL
  16.                 )
  17.  
  18.         )
  19.  
  20.     [invoice_id] => WC-PPCP-fmmkeb287
  21. )
  22.  
  23. 2023-10-20T08:11:41+00:00 INFO Response Headers: Array
  24. (
  25.     [paypal-debug-id] => 5bbec1535f598
  26. )
  27.  
  28. 2023-10-20T08:11:41+00:00 INFO Response Body: Array
  29. (
  30.     [id] => 9DK69411MK494441T
  31.     [amount] => Array
  32.         (
  33.             [currency_code] => USD
  34.             [value] => 16.00
  35.         )
  36.  
  37.     [final_capture] => 1
  38.     [seller_protection] => Array
  39.         (
  40.             [status] => ELIGIBLE
  41.             [dispute_categories] => Array
  42.                 (
  43.                     [0] => ITEM_NOT_RECEIVED
  44.                     [1] => UNAUTHORIZED_TRANSACTION
  45.                 )
  46.  
  47.         )
  48.  
  49.     [disbursement_mode] => INSTANT
  50.     [seller_receivable_breakdown] => Array
  51.         (
  52.             [gross_amount] => Array
  53.                 (
  54.                     [currency_code] => USD
  55.                     [value] => 16.00
  56.                 )
  57.  
  58.             [paypal_fee] => Array
  59.                 (
  60.                     [currency_code] => USD
  61.                     [value] => 1.05
  62.                 )
  63.  
  64.             [platform_fees] => Array
  65.                 (
  66.                     [0] => Array
  67.                         (
  68.                             [amount] => Array
  69.                                 (
  70.                                     [currency_code] => USD
  71.                                     [value] => 0.02
  72.                                 )
  73.  
  74.                             [payee] => Array
  75.                                 (
  76.                                     [merchant_id] => B82TS7QWRJ6TS
  77.                                 )
  78.  
  79.                         )
  80.  
  81.                 )
  82.  
  83.             [net_amount] => Array
  84.                 (
  85.                     [currency_code] => USD
  86.                     [value] => 14.93
  87.                 )
  88.  
  89.         )
  90.  
  91.     [invoice_id] => WC-PPCP-fmmkeb287
  92.     [custom_id] => WC-PPCP-fmmkeb287
  93.     [status] => COMPLETED
  94.     [payee] => Array
  95.         (
  96.             [email_address] => kcppdevelopers@gmail.com
  97.             [merchant_id] => K75H4EE58B5FL
  98.         )
  99.  
  100.     [create_time] => 2023-10-20T08:11:39Z
  101.     [update_time] => 2023-10-20T08:11:39Z
  102. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement