Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. "CreateRefundResponse": {
  2. "type": "object",
  3. "properties": {
  4. "errors": {
  5. "type": "array",
  6. "items": {
  7. "$ref": "#/definitions/Error"
  8. },
  9. "description": "Any errors that occurred during the request."
  10. },
  11. "refund": {
  12. "$ref": "#/definitions/Refund",
  13. "description": "The created refund."
  14. }
  15. },
  16. "description": "Defines the fields that are included in the response body of\na request to the [CreateRefund](#endpoint-createrefund) endpoint.\n\nOne of `errors` or `refund` is present in a given response (never both).",
  17. "example": {
  18. "refund": {
  19. "id": "b27436d1-7f8e-5610-45c6-417ef71434b4-SW",
  20. "location_id": "18YC4JDH91E1H",
  21. "transaction_id": "TRANSACTION_ID",
  22. "tender_id": "TENDER_ID",
  23. "created_at": "2016-02-12T00:28:18Z",
  24. "reason": "some reason",
  25. "amount_money": {
  26. "amount": 100,
  27. "currency": "USD"
  28. },
  29. "status": "PENDING"
  30. }
  31. },
  32. "x-sq-sdk-sample-code": {
  33. "python": "/sdk_samples/CreateRefund/CreateRefundResponse.python",
  34. "csharp": "/sdk_samples/CreateRefund/CreateRefundResponse.csharp",
  35. "php": "/sdk_samples/CreateRefund/CreateRefundResponse.php",
  36. "ruby": "/sdk_samples/CreateRefund/CreateRefundResponse.ruby"
  37. }
  38. },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement