Skip to content

Instantly share code, notes, and snippets.

@landonalder
Last active August 31, 2015 18:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save landonalder/3414391d8ade0b395ba1 to your computer and use it in GitHub Desktop.
Save landonalder/3414391d8ade0b395ba1 to your computer and use it in GitHub Desktop.
{
"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