--- swagger: "2.0" info: x-ibm-name: sb_billing title: SB_billing version: 1.0.0 contact: email: iConnect@vietinbank.vn description: Partners can allow their customers to topup mobile, service account or pay recurring service fees such as electricity, water, television, internet, etc through Vietinbank Bill Payment service schemes: - https basePath: /billing consumes: - application/json produces: - application/json securityDefinitions: clientSecret: type: apiKey description: "" in: header name: X-IBM-Client-Secret clientIdHeader: type: apiKey in: header name: X-IBM-Client-Id security: - clientSecret: [] clientIdHeader: [] x-ibm-configuration: testable: true enforced: true phase: realized paths: /billPayment: parameters: - name: payload required: false in: body schema: $ref: '#/definitions/billPaymentRequest' post: responses: 200: description: 200 OK schema: $ref: '#/definitions/billPaymentResponse' description: Payment /billInq: parameters: - name: payload required: false in: body schema: $ref: '#/definitions/billInqRequest' post: responses: 200: description: 200 OK schema: $ref: '#/definitions/billInqResponse' description: Request for debt information definitions: listProviderRequest: description: "" type: object properties: requestId: type: string providerId: type: string merchantId: type: string clientIP: type: string channel: type: string serviceType: type: string language: type: string version: type: string mac: type: string transTime: type: string signature: type: string required: - requestId - merchantId - clientIP - channel - serviceType - version - language - mac - transTime - signature - providerId billInqRequest: description: "" type: object properties: requestId: type: string providerId: type: string merchantId: type: string serviceType: type: string custId: type: string svrProviderCode: type: string channel: type: string version: type: string language: type: string clientIP: type: string mac: type: string transTime: type: string signature: type: string required: - requestId - providerId - merchantId - serviceType - custId - svrProviderCode - channel - version - language - clientIP - mac - transTime - signature billPaymentInqRequest: description: "" type: object properties: requestId: type: string providerId: type: string merchantId: type: string billRequestId: type: string transTime: type: string clientIP: type: string version: type: string language: type: string channel: type: string mac: type: string signature: type: string required: - requestId - providerId - merchantId - billRequestId - transTime - clientIP - version - language - channel - mac - signature billPaymentRequest: description: "" type: object properties: requestId: type: string providerId: type: string merchantId: type: string debitAcctId: type: string debitAcctType: type: string debitAcctName: type: string amount: type: string currencyCode: type: string serviceType: type: string custId: type: string svrProviderCode: type: string svrProviderCode_Ext: type: string billId: type: string billCycle: type: string note: type: string transTime: type: string clientIP: type: string version: type: string channel: type: string language: type: string mac: type: string signature: type: string required: - requestId - providerId - merchantId - amount - currencyCode - serviceType - custId - svrProviderCode - billId - billCycle - transTime - clientIP - version - channel - language - mac - signature billInqResponse: description: "" type: object properties: requestId: type: string providerId: type: string merchantId: type: string status: type: object properties: code: type: string message: type: string serviceType: type: string custId: type: string svrProviderCode: type: string svrProviderCode_Ext: type: string providerSvrName: type: string billOwnerName: type: string billOwnerAddress: type: string billInfo: type: array items: properties: billId: type: string billCycle: type: string billAmt: type: string currencyCode: type: string note: [] type: object signature: type: string example: |- { "requestId":"inquiry_159480392129", "providerId":"212", "merchantId":"2212", "status":{ "code":"00", "message":"Truy van thanh cong" }, "serviceType":"300000", "custId":"Pd2123485", "svrProviderCode":"006", "svrProviderCode_Ext":"PD22", "providerSvrName":"EVNHN", "billOwnerName":"Tran Van Phong", "billOwnerAddress":"Ha Noi", "billInfo":[ { "billId":"1191982451TD-T3.2020", "billCycle":"3/2020", "billAmt":"564235", "currencyCode":"VND", "note":null } ], "signature":"" } billPaymentResponse: description: "" type: object properties: requestId: type: string providerId: type: string merchantId: type: string status: type: object properties: code: type: string message: type: string bankTransactionId: type: string signature: type: string example: |- { "requestId":"AIRPAY20200715009854", "providerId":"212", "merchantId":"2212", "status":{ "code":"00", "message":"Giao dich hach toan thanh cong, gach no Hoa don thanh cong" }, "bankTransactionId":"1Fp8i-7IrPrXRZL", "signature":"" } tags: [] x-ibm-endpoints: - endpointUrl: https://sandbox.vietinbank.vn description: Environment for SANDBOX type: - production - development ...