{ "openapi": "3.0.1", "info": { "title": "api-datalake", "version": "2024-10-31T18:50:46Z" }, "servers": [ { "url": "https://api.payerset.com" } ], "paths": { "/v1/metadata/payers/payer_detail": { "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/payerDetail" } } } } }, "security": [ { "api_key": [] } ], "x-amazon-apigateway-integration": { "credentials": "arn:aws:iam::847536253128:role/dynamoDbRole", "httpMethod": "POST", "uri": "arn:aws:apigateway:us-east-1:dynamodb:action/GetItem", "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" }, "responseTemplates": { "application/json": "#set($inputRoot = $input.path('$'))\n{\n \"items\": [\n {\n \"payer_region\": \"$inputRoot.Item.payer_region.S\",\n \"payer_category\": \"$inputRoot.Item.payer_category.S\",\n \"payer_friendly_name\": \"$inputRoot.Item.payer_friendly_name.S\",\n \"payer_system_name\": \"$inputRoot.Item.payer_system_name.S\"\n }\n ]\n}\n" } } }, "requestTemplates": { "application/json": "{\n \"TableName\": \"payers_$stageVariables.version\",\n \"Key\": {\n \"payer_system_name\": { \"S\": \"$input.params('payer_system_name')\" }\n }\n}\n" }, "passthroughBehavior": "when_no_match", "type": "aws" }, "parameters": [ { "name": "x-api-key", "in": "header", "required": true, "schema": { "type": "string" }, "description": "API key for authorization" } ] } }, "/v1/metadata/payers/payer_list": { "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/payerList" } } } } }, "security": [ { "api_key": [] } ], "x-amazon-apigateway-integration": { "credentials": "arn:aws:iam::847536253128:role/dynamoDbRole", "httpMethod": "POST", "uri": "arn:aws:apigateway:us-east-1:dynamodb:action/Scan", "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" }, "responseTemplates": { "application/json": "#set($inputRoot = $input.path('$'))\n{\n \"payers\": [\n #foreach($item in $inputRoot.Items)\n \"$item.payer_system_name.S\"#if($foreach.hasNext()), #end\n #end\n ]\n}\n" } } }, "requestTemplates": { "application/json": "{\n \"TableName\": \"payers_$stageVariables.version\",\n \"ProjectionExpression\": \"payer_system_name\",\n \"Select\": \"SPECIFIC_ATTRIBUTES\"\n}\n" }, "passthroughBehavior": "when_no_match", "type": "aws" }, "parameters": [ { "name": "x-api-key", "in": "header", "required": true, "schema": { "type": "string" }, "description": "API key for authorization" } ] } }, "/v1/metadata/providers/npi_detail": { "get": { "parameters": [ { "name": "npi", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "x-api-key", "in": "header", "required": true, "schema": { "type": "string" }, "description": "API key for authorization" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/npiDetail" } } }, "required": true }, "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/npiDetail" } } } } }, "security": [ { "api_key": [] } ], "x-amazon-apigateway-integration": { "credentials": "arn:aws:iam::847536253128:role/dynamoDbRole", "httpMethod": "POST", "uri": "arn:aws:apigateway:us-east-1:dynamodb:action/GetItem", "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" }, "responseTemplates": { "application/json": "#set($inputRoot = $input.path('$'))\n{\n \"items\": [\n {\n \"npi\": \"$inputRoot.Item.npi.S\",\n \"taxonomygrouping\": \"$inputRoot.Item.taxonomygrouping.S\",\n \"taxonomyclassification\": \"$inputRoot.Item.taxonomyclassification.S\",\n \"taxonomyspecialization\": \"$inputRoot.Item.taxonomyspecialization.S\",\n \"taxonomydisplayname\": \"$inputRoot.Item.taxonomydisplayname.S\",\n \"organizationname\": \"$inputRoot.Item.organizationname.S\",\n \"state\": \"$inputRoot.Item.state.S\",\n \"city\": \"$inputRoot.Item.city.S\",\n \"zip\": \"$inputRoot.Item.zip.S\",\n \"primarytaxonomycode\": \"$inputRoot.Item.primarytaxonomycode.S\",\n \"orgfriendlyname\": \"$inputRoot.Item.orgfriendlyname.S\",\n \"county\": \"$inputRoot.Item.county.S\",\n \"ein\": \"$inputRoot.Item.ein.S\",\n \"latitude\": \"$inputRoot.Item.latitude.S\",\n \"longitude\": \"$inputRoot.Item.longitude.S\",\n \"medicare_enrollment_id\": \"$inputRoot.Item.medicare_enrollment_id.S\",\n \"medicare_enrollment_specialty\": \"$inputRoot.Item.medicare_enrollment_specialty.S\"\n }\n ]\n}\n" } } }, "requestTemplates": { "application/json": "{\n \"TableName\": \"npi_$stageVariables.version\",\n \"Key\": {\n \"npi\": { \"S\": \"$input.params('npi')\" }\n }\n}\n" }, "passthroughBehavior": "when_no_match", "cacheNamespace": "pfeiq0", "cacheKeyParameters": [ "method.request.querystring.npi" ], "type": "aws" } } }, "/v1/metadata/providers/npi_to_parent": { "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/npiToParent" } } } } }, "security": [ { "api_key": [] } ], "x-amazon-apigateway-integration": { "credentials": "arn:aws:iam::847536253128:role/dynamoDbRole", "httpMethod": "POST", "uri": "arn:aws:apigateway:us-east-1:dynamodb:action/GetItem", "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" }, "responseTemplates": { "application/json": "#set($inputRoot = $input.path('$'))\n{\n \"items\": [\n {\n \"npi\": \"$inputRoot.Item.npi.S\",\n \"npi_parent\": \"$inputRoot.Item.npi_parent.S\",\n \"tin_value\": \"$inputRoot.Item.tin_value.S\",\n }\n ]\n}\n" } } }, "requestTemplates": { "application/json": "{\n \"TableName\": \"npi_to_parent_$stageVariables.version\",\n \"Key\": {\n \"npi\": { \"S\": \"$input.params('npi')\" }\n }\n}\n" }, "passthroughBehavior": "when_no_match", "type": "aws" }, "parameters": [ { "name": "x-api-key", "in": "header", "required": true, "schema": { "type": "string" }, "description": "API key for authorization" } ] } }, "/v1/metadata/billing_codes/code_detail": { "get": { "parameters": [ { "name": "billing_code", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "x-api-key", "in": "header", "required": true, "schema": { "type": "string" }, "description": "API key for authorization" } ], "responses": { "200": { "description": "200 response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/billingCode" } } } } }, "security": [ { "api_key": [] } ], "x-amazon-apigateway-integration": { "credentials": "arn:aws:iam::847536253128:role/dynamoDbRole", "httpMethod": "POST", "uri": "arn:aws:apigateway:us-east-1:dynamodb:action/GetItem", "responses": { "default": { "statusCode": "200", "responseTemplates": { "application/json": "#set($inputRoot = $input.path('$'))\n{\n \"items\": [\n {\n \"billing_code\": \"$inputRoot.Item.billing_code.S\",\n \"name\": \"$inputRoot.Item.name.S\",\n \"code_type\": \"$inputRoot.Item.code_type.S\",\n \"category\": \"$inputRoot.Item.category.S\",\n \"subcategory\": \"$inputRoot.Item.subcategory.S\"\n }\n ]\n}\n" } } }, "requestTemplates": { "application/json": "{\n \"TableName\": \"billing_code_$stageVariables.version\",\n \"Key\": {\n \"billing_code\": { \"S\": \"$input.params('billing_code')\" },\n \"code_type\": { \"S\": \"$input.params('code_type')\" }\n }\n}\n" }, "passthroughBehavior": "when_no_match", "cacheNamespace": "gkv1ba", "cacheKeyParameters": [ "method.request.querystring.billing_code" ], "type": "aws" } } }, "/v1/metadata/billing_codes/code_types": { "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/codeType" } } } } }, "x-amazon-apigateway-integration": { "credentials": "arn:aws:iam::847536253128:role/dynamoDbRole", "httpMethod": "POST", "uri": "arn:aws:apigateway:us-east-1:dynamodb:action/Scan", "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" }, "responseTemplates": { "application/json": "#set($uniqueCodeTypes = {})\n#foreach($item in $input.path('$.Items'))\n #set($codeType = $item.code_type.S)\n #if(!$uniqueCodeTypes.containsKey($codeType))\n $util.qr($uniqueCodeTypes.put($codeType, $codeType))\n #end\n#end\n\n{\n \"code_types\": [\n #foreach($type in $uniqueCodeTypes.keySet())\n \"$type\"#if($foreach.hasNext()),#end\n #end\n ]\n}\n" } } }, "requestTemplates": { "application/json": "{\n \"TableName\": \"billing_code_$stageVariables.version\",\n \"ProjectionExpression\": \"code_type\",\n \"Select\": \"SPECIFIC_ATTRIBUTES\"\n}\n" }, "passthroughBehavior": "when_no_match", "type": "aws" }, "parameters": [ { "name": "x-api-key", "in": "header", "required": true, "schema": { "type": "string" }, "description": "API key for authorization" } ], "security": [ { "api_key": [] } ] } }, "/v1/rates/rate_query": { "get": { "parameters": [ { "name": "billing_code", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "payer", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "npi", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "x-api-key", "in": "header", "required": true, "schema": { "type": "string" }, "description": "API key for authorization" } ], "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Empty" } } } } }, "security": [ { "api_key": [] } ], "x-amazon-apigateway-integration": { "httpMethod": "POST", "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:847536253128:function:api-datalake/invocations", "responses": { "default": { "statusCode": "200" } }, "passthroughBehavior": "when_no_match", "timeoutInMillis": 29000, "contentHandling": "CONVERT_TO_TEXT", "type": "aws_proxy" } } }, "/v1/hospital_mrf/hospital_list": { "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/hospitalList" } } } } }, "security": [ { "api_key": [] } ], "x-amazon-apigateway-integration": { "credentials": "arn:aws:iam::847536253128:role/dynamoDbRole", "httpMethod": "POST", "uri": "arn:aws:apigateway:us-east-1:dynamodb:action/Scan", "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" }, "responseTemplates": { "application/json": "#set($inputRoot = $input.path('$'))\n{\n \"Count\": $inputRoot.Count,\n \"Items\": [\n #foreach($item in $inputRoot.Items)\n {\n \"system_name\": \"$item.system_name.S\",\n \"hospital_id\": \"$item.hospital_id.S\",\n \"hospital_name\": \"$item.hospital_name.S\"\n }#if($foreach.hasNext),#end\n #end\n ]\n}\n" } } }, "requestTemplates": { "application/json": "{\n \"TableName\": \"hospitals_$stageVariables.version\",\n \"ProjectionExpression\": \"system_name, hospital_name, hospital_id\"\n}\n" }, "passthroughBehavior": "when_no_match", "type": "aws" }, "parameters": [ { "name": "x-api-key", "in": "header", "required": true, "schema": { "type": "string" }, "description": "API key for authorization" } ] } }, "/v1/metadata/providers/tin_to_npi": { "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/tinToNpi" } } } } }, "security": [ { "api_key": [] } ], "x-amazon-apigateway-integration": { "credentials": "arn:aws:iam::847536253128:role/dynamoDbRole", "httpMethod": "POST", "uri": "arn:aws:apigateway:us-east-1:dynamodb:action/Query", "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" }, "responseTemplates": { "application/json": "#set($inputRoot = $input.path('$'))\n{\n \"count\": \"$inputRoot.Count\",\n \"items\": [\n #foreach($item in $inputRoot.Items)\n {\n \"npi\": \"$item.npi.S\",\n \"tin_value\": \"$item.tin_value.S\"\n }#if($foreach.hasNext),#end\n #end\n ]\n}\n" } } }, "requestTemplates": { "application/json": "{\n \"TableName\": \"tin_to_npis_$stageVariables.version\",\n \"KeyConditionExpression\": \"tin_value = :tin_value\",\n \"ExpressionAttributeValues\": {\n \":tin_value\": { \"S\": \"$input.params('tin_value')\" }\n }\n}\n" }, "passthroughBehavior": "when_no_match", "type": "aws" }, "parameters": [ { "name": "x-api-key", "in": "header", "required": true, "schema": { "type": "string" }, "description": "API key for authorization" } ] } }, "/v1/hospital_mrf/payer_list": { "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/hospitalPayerList" } } } } }, "security": [ { "api_key": [] } ], "x-amazon-apigateway-integration": { "credentials": "arn:aws:iam::847536253128:role/dynamoDbRole", "httpMethod": "POST", "uri": "arn:aws:apigateway:us-east-1:dynamodb:action/Scan", "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" }, "responseTemplates": { "application/json": "#set($inputRoot = $input.path('$'))\n{\n \"Count\": $inputRoot.Count,\n \"Items\": [\n #foreach($item in $inputRoot.Items)\n {\n \"original_payer\": \"$item.original_payer.S\",\n \"friendly_payer\": \"$item.new_payer.S\"\n }#if($foreach.hasNext),#end\n #end\n ]\n}\n" } } }, "requestTemplates": { "application/json": "{\n \"TableName\": \"hospital_payers_$stageVariables.version\",\n \"ProjectionExpression\": \"original_payer, new_payer\"\n}\n" }, "passthroughBehavior": "when_no_match", "type": "aws" }, "parameters": [ { "name": "x-api-key", "in": "header", "required": true, "schema": { "type": "string" }, "description": "API key for authorization" } ] } }, "/v1/hospital_mrf/system_list": { "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/systemList" } } } } }, "security": [ { "api_key": [] } ], "x-amazon-apigateway-integration": { "credentials": "arn:aws:iam::847536253128:role/dynamoDbRole", "httpMethod": "POST", "uri": "arn:aws:apigateway:us-east-1:dynamodb:action/Scan", "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" }, "responseTemplates": { "application/json": "#set($uniqueSystemNames = {})\n#foreach($item in $input.path('$.Items'))\n #set($systemName = $item.system_name.S)\n #if(!$uniqueSystemNames.containsKey($systemName))\n $util.qr($uniqueSystemNames.put($systemName, $systemName))\n #end\n#end\n\n{\n \"system_names\": [#foreach($type in $uniqueSystemNames.keySet())\"$type\"#if($foreach.hasNext()),#end\n #end\n ]\n}\n" } } }, "requestTemplates": { "application/json": "{\n \"TableName\": \"hospitals_$stageVariables.version\",\n \"ProjectionExpression\": \"system_name\",\n \"Select\": \"SPECIFIC_ATTRIBUTES\"\n}\n" }, "passthroughBehavior": "when_no_match", "type": "aws" }, "parameters": [ { "name": "x-api-key", "in": "header", "required": true, "schema": { "type": "string" }, "description": "API key for authorization" } ] } }, "/v1/metadata/providers/npi_parent": { "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/npiParent" } } } } }, "security": [ { "api_key": [] } ], "x-amazon-apigateway-integration": { "credentials": "arn:aws:iam::847536253128:role/dynamoDbRole", "httpMethod": "POST", "uri": "arn:aws:apigateway:us-east-1:dynamodb:action/Query", "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" }, "responseTemplates": { "application/json": "#set($inputRoot = $input.path('$'))\n{\n \"count\": \"$inputRoot.Count\",\n \"items\": [\n #foreach($item in $inputRoot.Items)\n {\n \"npi_parent\": \"$item.npi_parent.S\",\n \"npi\": \"$item.npi.S\"\n }#if($foreach.hasNext),#end\n #end\n ]\n}\n" } } }, "requestTemplates": { "application/json": "{\n \"TableName\": \"npi_parent_$stageVariables.version\",\n \"KeyConditionExpression\": \"npi_parent = :npi_parent\",\n \"ExpressionAttributeValues\": {\n \":npi_parent\": { \"S\": \"$input.params('npi_parent')\" }\n }\n}\n" }, "passthroughBehavior": "when_no_match", "type": "aws" }, "parameters": [ { "name": "x-api-key", "in": "header", "required": true, "schema": { "type": "string" }, "description": "API key for authorization" } ] } }, "/v1/metadata/providers/npi_to_tin": { "get": { "responses": { "200": { "description": "200 response", "headers": { "Access-Control-Allow-Origin": { "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/npiToTin" } } } } }, "security": [ { "api_key": [] } ], "x-amazon-apigateway-integration": { "credentials": "arn:aws:iam::847536253128:role/dynamoDbRole", "httpMethod": "POST", "uri": "arn:aws:apigateway:us-east-1:dynamodb:action/GetItem", "responses": { "default": { "statusCode": "200", "responseParameters": { "method.response.header.Access-Control-Allow-Origin": "'*'" }, "responseTemplates": { "application/json": "#set($inputRoot = $input.path('$'))\n{\n \"items\": [\n {\n \"npi\": \"$inputRoot.Item.npi.S\",\n \"tin_value\": \"$inputRoot.Item.tin_value.S\",\n }\n ]\n}\n" } } }, "requestTemplates": { "application/json": "{\n \"TableName\": \"tin_map_$stageVariables.version\",\n \"Key\": {\n \"npi\": { \"S\": \"$input.params('npi')\" }\n }\n}\n" }, "passthroughBehavior": "when_no_match", "type": "aws" }, "parameters": [ { "name": "x-api-key", "in": "header", "required": true, "schema": { "type": "string" }, "description": "API key for authorization" } ] } } }, "components": { "schemas": { "payerDetail": { "type": "object", "properties": { "items": { "type": "array", "items": { "type": "object", "properties": { "payer_region": { "type": "string" }, "payer_category": { "type": "string" }, "payer_friendly_name": { "type": "string" }, "payer_system_name": { "type": "string" } } } } } }, "systemList": { "required": [ "Count", "Items" ], "type": "object", "properties": { "Count": { "type": "integer" }, "Items": { "type": "array", "items": { "required": [ "state", "system_id", "system_name" ], "type": "object", "properties": { "system_id": { "type": "string" }, "system_name": { "type": "string" }, "state": { "type": "string" } } } } } }, "codeType": { "required": [ "code_types" ], "type": "object", "properties": { "code_types": { "type": "array", "items": { "type": "string" } } } }, "payerList": { "required": [ "payers" ], "type": "object", "properties": { "payers": { "type": "array", "items": { "type": "string" } } } }, "npiToTin": { "type": "object", "properties": { "items": { "type": "array", "items": { "type": "object", "properties": { "npi": { "type": "string" }, "tin_value": { "type": "string" } } } } } }, "tinToNpi": { "type": "object", "properties": { "count": { "type": "string" }, "items": { "type": "array", "items": { "type": "object", "properties": { "npi": { "type": "string" }, "tin_value": { "type": "string" } } } } } }, "billingCode": { "type": "object", "properties": { "items": { "type": "array", "items": { "type": "object", "properties": { "billing_code": { "type": "string" }, "name": { "type": "string" }, "code_type": { "type": "string" }, "category": { "type": "string" }, "subcategory": { "type": "string" } } } } } }, "npiDetail": { "type": "object", "properties": { "items": { "type": "array", "items": { "type": "object", "properties": { "npi": { "type": "string" }, "taxonomygrouping": { "type": "string" }, "taxonomyclassification": { "type": "string" }, "taxonomyspecialization": { "type": "string" }, "taxonomydisplayname": { "type": "string" }, "organizationname": { "type": "string" }, "state": { "type": "string" }, "city": { "type": "string" }, "zip": { "type": "string" }, "primarytaxonomycode": { "type": "string" }, "orgfriendlyname": { "type": "string" }, "county": { "type": "string" }, "ein": { "type": "string" }, "latitude": { "type": "string" }, "longitude": { "type": "string" }, "medicare_enrollment_id": { "type": "string" }, "medicare_enrollment_specialty": { "type": "string" } } } } } }, "Empty": { "title": "Empty Schema", "type": "object" }, "npiToParent": { "type": "object", "properties": { "items": { "type": "array", "items": { "type": "object", "properties": { "npi": { "type": "string" }, "npi_parent": { "type": "string" }, "tin_value": { "type": "string" } } } } } }, "hospitalList": { "required": [ "Count", "Items" ], "type": "object", "properties": { "Count": { "type": "integer" }, "Items": { "type": "array", "items": { "required": [ "hospital_id", "hospital_name", "system_name" ], "type": "object", "properties": { "system_name": { "type": "string" }, "hospital_id": { "type": "string" }, "hospital_name": { "type": "string" } } } } } }, "npiParent": { "type": "object", "properties": { "count": { "type": "string" }, "items": { "type": "array", "items": { "type": "object", "properties": { "npi_parent": { "type": "string" }, "npi": { "type": "string" } } } } } }, "hospitalPayerList": { "required": [ "Count", "Items" ], "type": "object", "properties": { "Count": { "type": "integer" }, "Items": { "type": "array", "items": { "required": [ "payer_id", "payer_name", "payer_type", "state" ], "type": "object", "properties": { "payer_id": { "type": "string" }, "payer_name": { "type": "string" }, "payer_type": { "type": "string" }, "state": { "type": "string" } } } } } } }, "securitySchemes": { "api_key": { "type": "apiKey", "name": "x-api-key", "in": "header" } } }, "x-amazon-apigateway-policy": { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": "*", "Action": "execute-api:Invoke", "Resource": "arn:aws:execute-api:us-east-1:847536253128:82g0shb1fe/*" } ] } }