UNPKG

openapi-directory

Version:

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

1 lines 5.78 kB
{"openapi":"3.0.0","info":{"description":"The Bill Payment Validator service allows RPPS origination (payment sender) customers to identify if a potential RPPS transaction would process successfully before transmitting the formal payment transaction, reducing RPPS payment rejects and costly payment processing exceptions.","title":"Bill Payment Validator","version":"1.0","x-artifactId":"billpayAPI","x-origin":[{"format":"swagger","url":"https://developer.mastercard.com/devzone/api/portal/swagger/bill-payment-validator","version":"2.0"}],"x-providerName":"mastercard.com","x-serviceName":"BillPay"},"paths":{"/isRoutingValid":{"post":{"description":"Bill Payment Validator performs real time transaction validation against the specified Biller ID's account masks, account check digits and all other registered RPPS processing parameters.","requestBody":{"content":{"application/JSON":{"schema":{"$ref":"#/components/schemas/BillPayRequest"}}},"description":"Contains the details of the get PAR API request message."},"responses":{"200":{"description":"The Bill Payment Validator response.","content":{"application/JSON":{"schema":{"$ref":"#/components/schemas/BillPayResponse"}}}},"default":{"description":"unexpected error","content":{"application/JSON":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Bill Payment Validator service returns the processing status for a potential RPPS transaction","tags":["RPPSPaymentValidatorAPI"],"x-samples":[{"name":"example_billpay_routing_validation_request_explorer","populateDefaults":{"application/json":"{\n \"BillPayAccountValidation\": {\n \"RppsId\": true,\n \"BillerId\": true,\n \"AccountNumber\": true,\n \"TransactionAmount\": true\n }\n}"},"request":{"application/json":"{\n \"BillPayAccountValidation\": {\n \"RppsId\": \"99887761\",\n \"BillerId\": \"9998887771\",\n \"AccountNumber\": \"1234567890\",\n \"TransactionAmount\": \"250.00\",\n \"CustomerIdentifier1\": \"\",\n \"CustomerIdentifier2\": \"\",\n \"CustomerIdentifier3\": \"\",\n \"CustomerIdentifier4\": \"\",\n \"ResponseString\": \"\"\n }\n}"},"response":{"application/json":"{\n \"BillPayAccountValidation\": {\n \"RppsId\": \"99887761\",\n \"BillerId\": \"9998887771\",\n \"AccountNumber\": \"1234567890\",\n \"TransactionAmount\": \"250.00\",\n \"CustomerIdentifier1\": null,\n \"CustomerIdentifier2\": null,\n \"CustomerIdentifier3\": null,\n \"CustomerIdentifier4\": null,\n \"ResponseString\": \"Successful\"\n }\n}"},"type":"documentation"},{"name":"example_billpay_routing_validation_request","request":{"application/json":"{\n \"BillPayAccountValidation\": {\n \"RppsId\": \"99887761\",\n \"BillerId\": \"9998887771\",\n \"AccountNumber\": \"1234567890\",\n \"TransactionAmount\": \"250.00\",\n \"CustomerIdentifier1\": \"\",\n \"CustomerIdentifier2\": \"\",\n \"CustomerIdentifier3\": \"\",\n \"CustomerIdentifier4\": \"\",\n \"ResponseString\": \"\"\n }\n}"},"response":{"application/json":"{\n \"BillPayAccountValidation\": {\n \"RppsId\": \"99887761\",\n \"BillerId\": \"9998887771\",\n \"AccountNumber\": \"1234567890\",\n \"TransactionAmount\": \"250.00\",\n \"CustomerIdentifier1\": null,\n \"CustomerIdentifier2\": null,\n \"CustomerIdentifier3\": null,\n \"CustomerIdentifier4\": null,\n \"ResponseString\": \"Successful\"\n }\n}"}}]}}},"servers":[{"url":"https://api.mastercard.com/billpayAPI/v1"}],"components":{"schemas":{"BillPayAccountValidation":{"properties":{"AccountNumber":{"description":"Consumer account number populated in the message. The minimum length is 8 and the maximum length is 22.","example":"1234567890","type":"string","x-explorer":true},"BillerId":{"description":"Biller ID populated in the message. The maximum length is 10.","example":"9998887771","type":"string","x-explorer":true},"CustomerIdentifier1":{"description":"Consumer identifier populated in the message.","example":"","type":"string"},"CustomerIdentifier2":{"description":"Consumer identifier populated in the message.","example":"","type":"string"},"CustomerIdentifier3":{"description":"Consumer identifier populated in the message.","example":"","type":"string"},"CustomerIdentifier4":{"description":"Consumer identifier populated in the message.","example":"","type":"string"},"ResponseString":{"description":"Indicates if the bill payment transaction information passed all RPPS transaction processing edits for the specified biller ID or indicates errors. The minimum length is 0 and the maximum length is 120.","example":"Successful","type":"string"},"RppsId":{"description":"Originator RPPS ID populated in the message. The maximum length is 8.","example":"99887761","type":"string","x-explorer":true},"TransactionAmount":{"description":"Amount populated in the message.","example":"250.00","type":"string","x-explorer":true}}},"BillPayRequest":{"properties":{"BillPayAccountValidation":{"$ref":"#/components/schemas/BillPayAccountValidation"}}},"BillPayResponse":{"properties":{"BillPayAccountValidation":{"$ref":"#/components/schemas/BillPayAccountValidation"}}},"Error":{"properties":{"ReasonCode":{"description":"This will identify the reason for the error.","type":"string"},"Source":{"description":"This is the unique identifier that attempts to define the field in error when available. If a specific field can't be identified System will be returned.","example":"Atms.Atm.Location.Address.Line1","type":"string"}}},"ErrorResponse":{"properties":{"Errors":{"$ref":"#/components/schemas/Errors"}}},"Errors":{"properties":{"Error":{"items":{"$ref":"#/components/schemas/Error"},"type":"array"}}}}}}