Created
January 11, 2018 19:42
-
-
Save mauriciogofas/3c39351ab29623989f09096fe2578083 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array | |
( | |
[0] => pp_host: https://api.sandbox.paypal.com | |
[1] => stdClass Object | |
( | |
[scope] => https://uri.paypal.com/services/subscriptions https://api.paypal.com/v1/payments/.* https://api.paypal.com/v1/vault/credit-card https://uri.paypal.com/services/applications/webhooks openid https://uri.paypal.com/payments/payouts https://api.paypal.com/v1/vault/credit-card/.* | |
[nonce] => 2018-01-11T19:12:04ZIAD5eVavFPtwW49Jxsh8QUgAKdVxLkmLuu5nN0WfxQg | |
[access_token] => A21AAEqpishg9yso6ZCh5P-CNKNyaUjkMYJZAXjxsV_l7qvPX27sIrMbEUGajPXfBioGcdcDc_iK62ewNebVQkfLNsqLbccIQ | |
[token_type] => Bearer | |
[app_id] => APP-80W284485P519543T | |
[expires_in] => 31118 | |
) | |
[refund_data] => { | |
"amount": { | |
"total": "250.00", | |
"currency": "BRL" | |
}, | |
"invoice_number": "797" | |
} | |
[refund_info] => Array | |
( | |
[url] => https://api.sandbox.paypal.com/v1/payments/sale/25C91593974229401/refund | |
[content_type] => application/json | |
[http_code] => 201 | |
[header_size] => 596 | |
[request_size] => 438 | |
[filetime] => -1 | |
[ssl_verify_result] => 0 | |
[redirect_count] => 0 | |
[total_time] => 12.226495 | |
[namelookup_time] => 2.3E-5 | |
[connect_time] => 0.200419 | |
[pretransfer_time] => 0.609491 | |
[size_upload] => 99 | |
[size_download] => 807 | |
[speed_download] => 66 | |
[speed_upload] => 8 | |
[download_content_length] => 807 | |
[upload_content_length] => 99 | |
[starttransfer_time] => 12.226468 | |
[redirect_time] => 0 | |
[redirect_url] => | |
[primary_ip] => 173.0.82.78 | |
[certinfo] => Array | |
( | |
) | |
[primary_port] => 443 | |
[local_ip] => 192.168.246.128 | |
[local_port] => 52838 | |
) | |
[http_code] => 201 | |
[refund_response] => HTTP/1.1 201 Created | |
Date: Thu, 11 Jan 2018 19:33:26 GMT | |
Server: Apache | |
paypal-debug-id: 16ef68bf7d1da | |
Content-Language: * | |
HTTP_X_PP_AZ_LOCATOR: sandbox.slc | |
Paypal-Debug-Id: 16ef68bf7d1da | |
Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dapiplatformproxyserv%26TIME%3D264001370%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Thu, 11 Jan 2018 20:03:38 GMT; domain=.paypal.com; path=/; Secure; HttpOnly | |
Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT | |
Vary: Authorization | |
Content-Length: 807 | |
Connection: close | |
Content-Type: application/json | |
{"id":"0RE3570254392344N","create_time":"2018-01-11T19:33:38Z","update_time":"2018-01-11T19:33:38Z","state":"completed","amount":{"total":"250.00","currency":"BRL"},"refund_from_transaction_fee":{"currency":"BRL","value":"8.90"},"total_refunded_amount":{"currency":"BRL","value":"250.00"},"refund_from_received_amount":{"currency":"BRL","value":"241.10"},"sale_id":"25C91593974229401","parent_payment":"PAY-35L64137B7361910ELJL3WHA","invoice_number":"797","links":[{"href":"https://api.sandbox.paypal.com/v1/payments/refund/0RE3570254392344N","rel":"self","method":"GET"},{"href":"https://api.sandbox.paypal.com/v1/payments/payment/PAY-35L64137B7361910ELJL3WHA","rel":"parent_payment","method":"GET"},{"href":"https://api.sandbox.paypal.com/v1/payments/sale/25C91593974229401","rel":"sale","method":"GET"}]} | |
[refund_array_response] => | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment