Last active
August 31, 2015 18:04
-
-
Save landonalder/3414391d8ade0b395ba1 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
{ | |
"swagger": "2.0", | |
"host": "paymentservice.nordstrom.com", | |
"info": { | |
"title": "HoneyBadger Payment Service", | |
"version": "0.1" | |
}, | |
"paths": { | |
"/admin/register": { | |
"get": { | |
"responses": { | |
"200": { | |
"description": "success" | |
} | |
} | |
} | |
}, | |
"/binrange/version": { | |
"get": { | |
"responses": { | |
"200": { | |
"description": "success" | |
} | |
} | |
} | |
}, | |
"/default/get": { | |
"get": { | |
"responses": { | |
"200": { | |
"description": "success" | |
} | |
} | |
} | |
}, | |
"/demo/two": { | |
"get": { | |
"responses": { | |
"200": { | |
"description": "success" | |
} | |
} | |
} | |
}, | |
"/demo/one": { | |
"get": { | |
"responses": { | |
"200": { | |
"description": "success" | |
} | |
} | |
} | |
}, | |
"/demo/echo": { | |
"get": { | |
"parameters": [ | |
{ | |
"name": "body", | |
"in": "body", | |
"required": true, | |
"schema": { | |
"properties": { | |
"CASE_INSENSITIVE_ORDER": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "success" | |
} | |
} | |
} | |
}, | |
"/demo/post": { | |
"post": { | |
"parameters": [ | |
{ | |
"name": "body", | |
"in": "body", | |
"required": true, | |
"schema": { | |
"properties": { | |
"text": { | |
"type": "string" | |
}, | |
"number": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "success" | |
} | |
} | |
} | |
}, | |
"/giftcard/settlement": { | |
"post": { | |
"parameters": [ | |
{ | |
"name": "body", | |
"in": "body", | |
"required": true, | |
"schema": { | |
"properties": { | |
"accessNumber": { | |
"type": "string" | |
}, | |
"accountNumber": { | |
"type": "string" | |
}, | |
"isCustomerPresent": { | |
"type": "string" | |
}, | |
"registerNumber": { | |
"type": "string" | |
}, | |
"currencyAmount": { | |
"type": "string" | |
}, | |
"currencyCode": { | |
"type": "string" | |
}, | |
"employeeNumber": { | |
"type": "string" | |
}, | |
"storeNumber": { | |
"type": "string" | |
}, | |
"transactionNumber": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "success" | |
} | |
} | |
} | |
}, | |
"/giftcard/voidTender": { | |
"delete": { | |
"parameters": [ | |
{ | |
"name": "body", | |
"in": "body", | |
"required": true, | |
"schema": { | |
"properties": { | |
"accessNumber": { | |
"type": "string" | |
}, | |
"accountNumber": { | |
"type": "string" | |
}, | |
"isCustomerPresent": { | |
"type": "string" | |
}, | |
"registerNumber": { | |
"type": "string" | |
}, | |
"currencyAmount": { | |
"type": "string" | |
}, | |
"currencyCode": { | |
"type": "string" | |
}, | |
"employeeNumber": { | |
"type": "string" | |
}, | |
"storeNumber": { | |
"type": "string" | |
}, | |
"transactionNumber": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "success" | |
} | |
} | |
} | |
}, | |
"/giftcard/refund": { | |
"put": { | |
"parameters": [ | |
{ | |
"name": "body", | |
"in": "body", | |
"required": true, | |
"schema": { | |
"properties": { | |
"accessNumber": { | |
"type": "string" | |
}, | |
"accountNumber": { | |
"type": "string" | |
}, | |
"isCustomerPresent": { | |
"type": "string" | |
}, | |
"registerNumber": { | |
"type": "string" | |
}, | |
"currencyAmount": { | |
"type": "string" | |
}, | |
"currencyCode": { | |
"type": "string" | |
}, | |
"employeeNumber": { | |
"type": "string" | |
}, | |
"storeNumber": { | |
"type": "string" | |
}, | |
"transactionNumber": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "success" | |
} | |
} | |
} | |
}, | |
"/nordstromcard/settlement": { | |
"delete": { | |
"parameters": [ | |
{ | |
"name": "body", | |
"in": "body", | |
"required": true, | |
"schema": { | |
"properties": {} | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "success" | |
} | |
} | |
} | |
}, | |
"/nordstromcard/refund": { | |
"put": { | |
"parameters": [ | |
{ | |
"name": "body", | |
"in": "body", | |
"required": true, | |
"schema": { | |
"properties": {} | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "success" | |
} | |
} | |
} | |
}, | |
"/othercard/voidTender": { | |
"delete": { | |
"parameters": [ | |
{ | |
"name": "body", | |
"in": "body", | |
"required": true, | |
"schema": { | |
"properties": {} | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "success" | |
} | |
} | |
} | |
}, | |
"/othercard/settlement": { | |
"post": { | |
"parameters": [ | |
{ | |
"name": "body", | |
"in": "body", | |
"required": true, | |
"schema": { | |
"properties": { | |
"storeID": { | |
"type": "string" | |
}, | |
"registerID": { | |
"type": "string" | |
}, | |
"transactionID": { | |
"type": "string" | |
}, | |
"transactionType": { | |
"type": "string" | |
}, | |
"tenderType": { | |
"type": "string" | |
}, | |
"tenderAmount": { | |
"type": "string" | |
}, | |
"accountNumber": { | |
"type": "string" | |
}, | |
"systemID": { | |
"type": "string" | |
}, | |
"accessNumber": { | |
"type": "string" | |
}, | |
"expirationDate": { | |
"type": "string" | |
}, | |
"employeeID": { | |
"type": "string" | |
}, | |
"activityReasonCode": { | |
"type": "string" | |
}, | |
"activityCode": { | |
"type": "string" | |
}, | |
"orginalTransactionDate": { | |
"type": "string" | |
}, | |
"entryMethodCode": { | |
"type": "string" | |
}, | |
"currencyCode": { | |
"type": "string" | |
}, | |
"requestDateTime": { | |
"type": "string" | |
}, | |
"protectionMethod": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "success" | |
} | |
} | |
} | |
}, | |
"/othercard/refund": { | |
"put": { | |
"parameters": [ | |
{ | |
"name": "body", | |
"in": "body", | |
"required": true, | |
"schema": { | |
"properties": {} | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "success" | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment