Estonia Banks Sales
This section describes how to process a sale.
Endpoints
Production:
POST
https://api.cybersource.com
/pts/v2/paymentsTest:
POST
https://apitest.cybersource.com
/pts/v2/paymentsEstonia Banks Required Fields
Estonia Banks Optional Field
- paymentOptions.resources[].id
Example: Requesting an Estonia Banks Sale Using the REST API
Request
1234567891011121314151617181920212223242526272829303132333435363738{"clientReferenceInformation": { "code": "zZx5WZ3dkbMp" }, "deviceInformation": { "ipAddress": "127.0.0.1" }, "orderInformation": { "billTo": { "country": "EE", "firstName": "firstName", "lastName": "lastName", "address1": "ABC city, XYZ street", "email": "abc@estoniabanks.com" }, "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
12345678910111213{"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"}