UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 1.9 kB
{"openapi":"3.0.0","info":{"contact":{"email":"mastercard@mastercard.com","name":"Mastercard"},"description":"MasterCard Bin Table Listing API","license":{"name":"mastercard","url":"http://www.mastercard.com"},"title":"MasterCard Bin Table Listing","version":"1.0","x-artifactId":"bintable","x-origin":[{"format":"swagger","url":"https://developer.mastercard.com/devzone/api/portal/swagger/bin-table-resource","version":"2.0"}],"x-providerName":"mastercard.com","x-serviceName":"BINTableResource","x-test-on-environment":{"environment":"SANDBOX_MTF"}},"paths":{"/binlisting":{"get":{"description":"REST service will retrieve and return the BIN Table file to Merchants.","responses":{"200":{"description":"Successfully retrieved the BIN Table Listing file and available to Merchants","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BinTableResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoResource"}}}}},"summary":"BIN Table Listing file","tags":["BIN Table Listing Service"],"x-samples":[{"keyId":"default2","name":"example_BinTAble_Getrequest","request":{"application/json":"{\n } "},"response":{"application/json":"{\n \"data\":\"04241000000000000000424109999999999999MSI0000004782FIFTH\"\n\n }"}}]}}},"servers":[{"url":"https://api.mastercard.com/fraud/mtf/bintable/v1"}],"components":{"schemas":{"BinTableResponse":{"properties":{"data":{"description":"BIN Table Listing file.","example":"001234","type":"string"}},"required":["data"],"type":"object"},"NoResource":{"properties":{"ReasonCode":{"description":"RESOURCE_UNKOWN","example":"RESOURCE_UNKOWN","type":"string"},"Source":{"description":"System.","example":"System","type":"string"},"description":{"description":"Resource not found","example":"Resource not found","type":"string"},"recoverable":{"example":false,"type":"boolean"}}}}}}