Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "CreateRefundResponse": {
- "type": "object",
- "properties": {
- "errors": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Error"
- },
- "description": "Any errors that occurred during the request."
- },
- "refund": {
- "$ref": "#/definitions/Refund",
- "description": "The created refund."
- }
- },
- "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).",
- "example": {
- "refund": {
- "id": "b27436d1-7f8e-5610-45c6-417ef71434b4-SW",
- "location_id": "18YC4JDH91E1H",
- "transaction_id": "TRANSACTION_ID",
- "tender_id": "TENDER_ID",
- "created_at": "2016-02-12T00:28:18Z",
- "reason": "some reason",
- "amount_money": {
- "amount": 100,
- "currency": "USD"
- },
- "status": "PENDING"
- }
- },
- "x-sq-sdk-sample-code": {
- "python": "/sdk_samples/CreateRefund/CreateRefundResponse.python",
- "csharp": "/sdk_samples/CreateRefund/CreateRefundResponse.csharp",
- "php": "/sdk_samples/CreateRefund/CreateRefundResponse.php",
- "ruby": "/sdk_samples/CreateRefund/CreateRefundResponse.ruby"
- }
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement