Guest User

Untitled

a guest
Apr 30th, 2018
1,969
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. {
  2. "id": "PAY-1B56960729604235TKQQIYVY",
  3. "create_time": "2017-09-22T20:53:43Z",
  4. "update_time": "2017-09-22T20:53:44Z",
  5. "state": "created",
  6. "intent": "sale",
  7. "payer": {
  8. "payment_method": "paypal"
  9. },
  10. "transactions": [
  11. {
  12. "amount": {
  13. "total": "30.11",
  14. "currency": "USD",
  15. "details": {
  16. "subtotal": "30.00",
  17. "tax": "0.07",
  18. "shipping": "0.03",
  19. "handling_fee": "1.00",
  20. "insurance": "0.01",
  21. "shipping_discount": "-1.00"
  22. }
  23. },
  24. "description": "The payment transaction description.",
  25. "custom": "EBAY_EMS_90048630024435",
  26. "invoice_number": "48787589673",
  27. "item_list": {
  28. "items": [
  29. {
  30. "name": "hat",
  31. "sku": "1",
  32. "price": "3.00",
  33. "currency": "USD",
  34. "quantity": "5",
  35. "description": "Brown hat.",
  36. "tax": "0.01"
  37. },
  38. {
  39. "name": "handbag",
  40. "sku": "product34",
  41. "price": "15.00",
  42. "currency": "USD",
  43. "quantity": "1",
  44. "description": "Black handbag.",
  45. "tax": "0.02"
  46. }
  47. ],
  48. "shipping_address": {
  49. "recipient_name": "Brian Robinson",
  50. "line1": "4th Floor",
  51. "line2": "Unit #34",
  52. "city": "San Jose",
  53. "state": "CA",
  54. "phone": "011862212345678",
  55. "postal_code": "95131",
  56. "country_code": "US"
  57. }
  58. }
  59. }
  60. ],
  61. "links": [
  62. {
  63. "href": "https://api.sandbox.paypal.com/v1/payments/payment/PAY-1B56960729604235TKQQIYVY",
  64. "rel": "self",
  65. "method": "GET"
  66. },
  67. {
  68. "href": "https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-60385559L1062554J",
  69. "rel": "approval_url",
  70. "method": "REDIRECT"
  71. },
  72. {
  73. "href": "https://api.sandbox.paypal.com/v1/payments/payment/PAY-1B56960729604235TKQQIYVY/execute",
  74. "rel": "execute",
  75. "method": "POST"
  76. }
  77. ]
  78. }
Advertisement
Add Comment
Please, Sign In to add comment