Example: Requesting an Estonia Banks Sale Using the REST API

Request
{ "clientReferenceInformation": { "code": "zZx5WZ3dkbMp" }, "deviceInformation": { "ipAddress": "127.0.0.1" }, "orderInformation": { "billTo": { "country": "EE", "firstName": "firstName", "lastName": "lastName", "address1": "ABC city, XYZ street", "email": "[email protected]" }, "amountDetails": { "totalAmount": "1000", "currency": "EUR" } }, "merchantInformation": { "successUrl": "https://www.example.org/feedback.php", "merchantDescriptor": { "name": "test-merchant-descriptor" } }, "paymentInformation": { "customer": { "customerid": "12345" }, "paymentType": { "method": { "name": "estonianbanks" }, "name": "bankTransfer" } } }
Response to a Successful Request
{ "processorInformation": { "transactionId": "829605119", "rawStatus": "PENDING", "paymentUrl": "https%3A%2F%2Fr3%2Epaygate%2Ede%2Fti%2Fsimestonianbanks%3Ftx%3D829605119%26rs%3DzaphIHohw9wVXcI7SRHIvK52o5FUwbGy%26cs%3Db326db7ec24d01fb318bb6ce0a4f495b8d32f19f7a4e90451077ef9ca91a8a53" }, "reconciliationId": "zZx5WZ3dkbMp", "paymentInformation": { "binCountry": "EE" }, "message": "Successful", "status": "PENDING", "id": "65233290191267436032918", "submitTimeUtc": "2022-06-03T05:14:54Z" }