InitiatePayment endpoint to create a time-limited IRIS payment request (valid for 1–3 minutes)./InitiatePayment click here:/InitiatePayment{
"issuerTin": "EL123456789",
"payeeInfo": {
"displayName": "Customer's Name",
"companyName": "Customer's Company Name",
"tin": "EL234567891"
},
"paymentAmount": 124,
"validityPeriod": 3,
"orderDescription": "Test Order Description",
"remittanceInformation": "INV-12345",
"destination": "test_destination",
"generateQrCodeImage": false,
"qrCodeSize": 0,
"issueDate": "2019-11-24T14:15:22.123Z",
"branchCode": 0,
"invoiceTypeCode": "1.1",
"series": "INV",
"identifier": "INV-12345",
"mark": 0,
"totalNetAmount": 100,
"totalVatAmount": 24,
"totalAmount": 124,
"merchantId": "merchantId",
"tipAmount": 0
}{
"endToEndDiasId": "string",
"authorisationRequestId": "string",
"qrCode": "string",
"qrCodeImage": "string",
"createdAt": "2019-11-24T14:15:22.123Z",
"expiresAt": "2019-11-24T14:15:22.123Z"
"signedDataInput": "string",
"signature": "string"
}
{
"generateQrCodeImage": true,
"qrCodeSize": 300 // desired qrCodeSize
}GET /paymentsapi/IrisPayments/GetPaymentStatus?endToEndDiasId=1234567890/GetPaymentStatus click here: /GetPaymentStatus{
"endToEndDiasId": "string",
"paymentStatus": "Completed",
"paymentStatusDescription": "string",
"completedAt": "2019-11-24T14:15:22.123Z",
"isFinalStatus": true
}| Status | Meaning |
|---|---|
| Pending | Customer has not yet approved the payment. Continue polling. |
| Completed | Payment was successfully completed. Proceed to Step 5. |
| Expired | QR code validity window ended without payment. Merchant must restart the flow. |
| Failed | The payment failed. Merchant must restart the flow. |
{
"paymentMethods": [
{
"paymentMethodTypeCode": 8, // Mandatory
"paymentMethodType": "IRIS", // Mandatory
"amount": 3548.88, // PaymentAmount from InitiatePayment request
"TransactionId": "string", // AuthorizationRequestID from InitiatePayment response
"TerminalID": "string", // MerchantId for Provider IRIS
"TipAmount": 0.00,
"ProvidersSignature": "string", // Signature from InitiatePayment response
"PosInput": "string" // SignedDataInput from InitiatePayment Response (IRIS via Provider)
}
]
}