{"openapi":"3.0.3","info":{"title":"ABSA Advice API","description":"API for receiving payment advice notifications from ABSA bank.","version":"1.0.0"},"servers":[{"url":"https://integration.mua.ac.ke"}],"paths":{"/api/b2b/absaadvice":{"post":{"summary":"Submit ABSA payment advice","description":"ընդուն payment advice, checks for duplicates, and inserts into NAV system.\nThe bank field is automatically set to 1 (ABSA).\n","operationId":"absaAdvice","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Request"},"example":{"billNumber":"CUST001","amount":"1500.50","bankReference":"ABSA123456789","transactionDate":"2026-04-23T10:30:00"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"},"example":{"responseCode":"200","responseMessage":"Success"}}}},"409":{"description":"Duplicate transaction","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"},"example":{"responseCode":"409","responseMessage":"Duplicate transaction"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"},"example":{"responseCode":"500","responseMessage":"Failed to insert transaction"}}}}}}}},"components":{"schemas":{"Request":{"type":"object","required":["billNumber","amount","bankReference","transactionDate"],"properties":{"billNumber":{"type":"string","example":"CUST001"},"amount":{"type":"string","example":"1500.50"},"bankReference":{"type":"string","example":"ABSA123456789"},"transactionDate":{"type":"string","format":"date-time","example":"2026-04-23T10:30:00"},"bank":{"type":"integer","example":1,"description":"Ignored by API (auto-set to 1 for ABSA)"}}},"Response":{"type":"object","properties":{"responseCode":{"type":"string","example":"200"},"responseMessage":{"type":"string","example":"Success"}}}}}}