### Basic Authentication Example (C#) Source: https://developer.makecommerce.net/api/get-refund Demonstrates how to make a GET request to retrieve a refund using Basic Authentication with HttpClient in C#. ```csharp var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Get, "https://api.test.maksekeskus.ee/v1/refunds/:refund_id"); request.Headers.Add("Accept", "application/hal+json"); request.Headers.Add("Authorization", "Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ>"); var response = await client.SendAsync(request); response.EnsureSuccessStatusCode(); Console.WriteLine(await response.Content.ReadAsStringAsync()); ``` -------------------------------- ### HTTP Basic Authentication Example (C#) Source: https://developer.makecommerce.net/api/get-payment-methods Demonstrates how to make a GET request to retrieve payment methods using Basic Authentication with HttpClient in C#. ```csharp var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Get, "https://api.test.maksekeskus.ee/v1/methods"); request.Headers.Add("Accept", "application/json"); request.Headers.Add("Authorization", "Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ+ "); var response = await client.SendAsync(request); response.EnsureSuccessStatusCode(); Console.WriteLine(await response.Content.ReadAsStringAsync()); ``` -------------------------------- ### C# HttpClient Example Source: https://developer.makecommerce.net/api/get-fees This C# code snippet demonstrates how to make a GET request to the Get Fees API using HttpClient, including setting the Authorization header. ```csharp var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Get, "https://api.test.maksekeskus.ee/v1/shop/fees"); request.Headers.Add("Accept", "application/json"); request.Headers.Add("Authorization", "Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ+"); var response = await client.SendAsync(request); response.EnsureSuccessStatusCode(); Console.WriteLine(await response.Content.ReadAsStringAsync()); ``` -------------------------------- ### Static Payment Link Example Source: https://developer.makecommerce.net/guides/custom-api/paymentLinks An example of a static Payment Link URL with GET parameters. This link creates a new transaction each time it's opened and is suitable for low-volume transactions. ```url https://payment.maksekeskus.ee/pay/1/link.html?shopId=1ca58c6f-89c2-442f-950a-cd5fa3484397&amount=100&paymentId=abc123&locale=en&country=ee ``` -------------------------------- ### HTTP Basic Authentication Example (C#) Source: https://developer.makecommerce.net/api/get-transaction Demonstrates how to make an authenticated GET request to retrieve transaction details using C# HttpClient. Ensure your Authorization header is correctly formatted with base64-encoded credentials. ```csharp var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Get, "https://api.test.maksekeskus.ee/v1/transactions/:transaction_id"); request.Headers.Add("Accept", "application/hal+json"); request.Headers.Add("Authorization", "Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ+"); var response = await client.SendAsync(request); response.EnsureSuccessStatusCode(); Console.WriteLine(await response.Content.ReadAsStringAsync()); ``` -------------------------------- ### C# HttpClient Example Source: https://developer.makecommerce.net/api/get-transaction-statement Demonstrates how to make a GET request to retrieve a transaction statement using HttpClient in C#. Ensure the Authorization header is correctly formatted with base64-encoded credentials. ```csharp var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Get, "https://api.test.maksekeskus.ee/v1/transactions/:transaction_id/statement"); request.Headers.Add("Accept", "application/json"); request.Headers.Add("Authorization", "Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ+"); var response = await client.SendAsync(request); response.EnsureSuccessStatusCode(); Console.WriteLine(await response.Content.ReadAsStringAsync()); ``` -------------------------------- ### C# HttpClient Example for Account Statement XML Source: https://developer.makecommerce.net/api/get-account-statement-xml Demonstrates how to use HttpClient in C# to make a GET request for account statements in XML format, including setting the Authorization header. ```csharp var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Get, "https://api.test.maksekeskus.ee/v1/shop/accountstatements/xml"); request.Headers.Add("Accept", "application/xml"); request.Headers.Add("Authorization", "Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ+"); var response = await client.SendAsync(request); response.EnsureSuccessStatusCode(); Console.WriteLine(await response.Content.ReadAsStringAsync()); ``` -------------------------------- ### Shop Configuration Response Example Source: https://developer.makecommerce.net/api/get-shop-configuration This JSON object represents a successful response from the Get Shop Configuration API, detailing available payment methods across different categories like Revolut, cards, and pay-later options. ```json { "payment_methods": { "revolut": [ { "channel": "Revolut PIS", "countries": [ "fi" ], "country": "fi", "display_name": "Revolut", "logo_url": "https://static.test.maksekeskus.ee/img/channel/lnd/revolut.png", "max_amount": 15000, "name": "revolut", "url": "https://payment.test.maksekeskus.ee/open-banking.html?method=REVOLUT_PIS&trx=" }, { "channel": "Revolut PIS", "countries": [ "lt" ], "country": "lt", "display_name": "Revolut", "logo_url": "https://static.test.maksekeskus.ee/img/channel/lnd/revolut.png", "max_amount": 15000, "name": "revolut", "url": "https://payment.test.maksekeskus.ee/open-banking.html?method=REVOLUT_PIS&trx=" }, { "channel": "Revolut PIS", "countries": [ "lv" ], "country": "lv", "display_name": "Revolut", "logo_url": "https://static.test.maksekeskus.ee/img/channel/lnd/revolut.png", "max_amount": 15000, "name": "revolut", "url": "https://payment.test.maksekeskus.ee/open-banking.html?method=REVOLUT_PIS&trx=" } ], "cards": [ { "channel": "Visa", "display_name": "Visa", "logo_url": "https://static.test.maksekeskus.ee/img/channel/lnd/visa.png", "max_amount": 1000, "name": "visa", "url": "https://payment.test.maksekeskus.ee/card.html?trx=" }, { "channel": "MasterCard", "display_name": "MasterCard", "logo_url": "https://static.test.maksekeskus.ee/img/channel/lnd/mastercard.png", "max_amount": 1000, "name": "mastercard", "url": "https://payment.test.maksekeskus.ee/card.html?trx=" } ], "other": [], "payLater": [ { "channel": "Inbank jaga osadeks", "countries": [ "ee" ], "country": "ee", "display_name": "Inbank jaga osadeks", "logo_url": "https://static.test.maksekeskus.ee/img/channel/lnd/slice.png", "max_amount": 2500, "min_amount": 75, "name": "slice", "url": "https://payment.test.maksekeskus.ee/pay-later.html?method=EE_SLICE&trx=" }, { "channel": "Liisi ID EE", "countries": [ "ee" ], "country": "ee", "display_name": "Liisi ID", "logo_url": "https://static.test.maksekeskus.ee/img/channel/lnd/liisi_ee.png", "max_amount": 10000, "min_amount": 30, "name": "liisi_ee", "url": "https://payment.test.maksekeskus.ee/pay-later.html?method=EE_LIISI_EE&trx=" }, { "channel": "Inbank lizingas LT", "countries": [ "lt" ], "country": "lt", "display_name": "Inbank lizingas", "logo_url": "https://static.test.maksekeskus.ee/img/channel/lnd/mokilizingas.png", "max_amount": 10000, "min_amount": 50, "name": "moki", "url": "https://payment.test.maksekeskus.ee/pay-later.html?method=LT_MOKI&trx=" }, { "channel": "Inbank moki3 LT", "countries": [ "lt" ], "country": "lt", "display_name": "Inbank moki3", "logo_url": "https://static.test.maksekeskus.ee/img/channel/lnd/moki3.png", "max_amount": 10000, "min_amount": 50, "name": "moki3", "url": "https://payment.test.maksekeskus.ee/pay-later.html?method=LT_MOKI3&trx=" } ] }, "return": { "method": "GET", "url": "https://developer.maksekeskus.ee/return.php" }, "status": "ACTIVE" } ``` -------------------------------- ### Create Refund Request Body Example Source: https://developer.makecommerce.net/api/create-refund This example shows the required and optional fields for the refund request body. Ensure 'amount' and 'comment' are provided. 'app_info' can be included for tracking. ```json { "amount": "5", "comment": "Refund reason", "app_info": { "module": "WooCommerce", "module_version": "3.2.0", "platform": "Wordpress", "platform_version": "5.1" } } ``` -------------------------------- ### Full Transaction Response Example Source: https://developer.makecommerce.net/api/get-transaction This snippet shows a comprehensive example of a successful transaction response, including details about the customer, amounts, payment method, and associated URLs. ```json { "_links": { "self": { "href": "string" } }, "id": "string", "object": "string", "created_at": "2024-07-29T15:51:28.071Z", "completed_at": "2024-07-29T15:51:28.071Z", "refunded_at": "2024-07-29T15:51:28.071Z", "status": "string", "reference": "string", "customer": { "id": "string", "object": "string", "created_at": "2024-07-29T15:51:28.071Z", "email": "string", "locale": "string", "country": "string", "ip": "string", "ip_country": "string", "name": "string" }, "refunded_amount": 0, "refunded_original_amount": 0, "type": "string", "method": "string", "channel": "string", "country": "string", "fees": 0, "fees_vat": 0, "net_amount": 0, "merchant_data": "string", "banklink": { "object": "string", "created_at": "2024-07-29T15:51:28.071Z", "iban": "string", "description": "string" }, "card": { "amount": 75.95, "card": { "last2": "11", "maskedPan": "450513********11", "name": "Name Surname", "object": "card", "type": "VISA" }, "created_at": "2024-01-07T17:16:05+0000", "currency": "EUR", "id": "5bff0af2-aa79-4cae-b532-c5845d10028a", "object": "payment", "status": "DEPOSITED", "token": { "created_at": "2023-10-23T14:23:09+0000", "id": "1450aaf4-e127-4e03-813e-864effeb92e4", "multiuse": true, "object": "token", "status": "active", "valid_until": "2024-06-30" } }, "transaction_url": { "return_url": { "url": "string", "method": "string" }, "cancel_url": { "url": "string", "method": "string" }, "notification_url": { "url": "string", "method": "string" }, "cart_url": { "url": "string", "method": "string" } }, "recurring_required": true, "terms_required": true } ``` -------------------------------- ### Example Banklink Payment Methods (Estonia) Source: https://developer.makecommerce.net/api/get-payment-methods This example shows a partial response for banklink payment methods available in Estonia. It includes details for Swedbank, SEB, and LHV open banking options. ```json { "banklinks": [ { "name": "swedbank", "url": "https://payment.test.maksekeskus.ee/open-banking.html?method=EE_SWED_OB&trx=", "country": "ee", "countries": [ "ee" ], "channel": "Swedbank EE OB", "max_amount": 15000, "display_name": "Swedbank", "logo_url": "https://static.test.maksekeskus.ee/img/channel/lnd/swedbank.png" }, { "name": "seb", "url": "https://payment.test.maksekeskus.ee/open-banking.html?method=EE_SEB_OB&trx=", "country": "ee", "countries": [ "ee" ], "channel": "SEB EE OB", "max_amount": 15000, "display_name": "SEB", "logo_url": "https://static.test.maksekeskus.ee/img/channel/lnd/seb.png" }, { "name": "lhv", "url": "https://payment.test.maksekeskus.ee/open-banking.html?method=EE_LHV_OB&trx=", "country": "ee", "countries": [ "ee" ], ``` -------------------------------- ### Refund Not Available Error Response Example Source: https://developer.makecommerce.net/api/create-refund This example illustrates a specific error response indicating that a refund is not available due to insufficient shop balance. ```json { "code": 1044, "message": "Refund not available with current shop balance" } ``` -------------------------------- ### Example Bad Request Response (Missing Parameter) Source: https://developer.makecommerce.net/api/get-account-statement-xml This example shows a typical JSON response when a mandatory parameter like 'until' is missing from the request. ```json { "code": 1001, "message": "Invalid request", "errors": [ { "type": "missing", "parameter": "until" } ] } ``` -------------------------------- ### C# HttpClient Example for Creating a Payment Source: https://developer.makecommerce.net/api/create-payment Demonstrates how to create a payment using HttpClient in C#. Ensure the Authorization header is correctly formatted with base64-encoded credentials. ```csharp var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Post, "https://api.test.maksekeskus.ee/v1/transactions/:transaction_id/payments"); request.Headers.Add("Accept", "application/hal+json"); request.Headers.Add("Authorization", "Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ+"); var content = new StringContent("{\n \"token\": \"{{token_id}}\"\n}", null, "application/json"); request.Content = content; var response = await client.SendAsync(request); response.EnsureSuccessStatusCode(); Console.WriteLine(await response.Content.ReadAsStringAsync()); ``` -------------------------------- ### C# HttpClient Example for Account Statements Source: https://developer.makecommerce.net/api/get-account-statement Demonstrates how to use HttpClient in C# to fetch account statements, including setting the Authorization header with Basic Authentication. ```csharp var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Get, "https://api.test.maksekeskus.ee/v1/shop/accountstatements"); request.Headers.Add("Accept", "application/json"); request.Headers.Add("Authorization", "Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ+"); var response = await client.SendAsync(request); response.EnsureSuccessStatusCode(); Console.WriteLine(await response.Content.ReadAsStringAsync()); ``` -------------------------------- ### C# HttpClient Example for Account Statement Source: https://developer.makecommerce.net/api/get-account-statement-camt-053 Demonstrates how to use HttpClient in C# to fetch account statements, including setting the Accept header and Authorization. ```csharp var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Get, "https://api.test.maksekeskus.ee/v1/shop/accountstatements/camt053"); request.Headers.Add("Accept", "application/xml"); request.Headers.Add("Authorization", "Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ+"); var response = await client.SendAsync(request); response.EnsureSuccessStatusCode(); Console.WriteLine(await response.Content.ReadAsStringAsync()); ``` -------------------------------- ### Get Shop Configuration (C#) Source: https://developer.makecommerce.net/api/get-shop-configuration Demonstrates how to retrieve shop configuration using HttpClient in C#. Ensure the Authorization header is correctly formatted with base64-encoded credentials. ```csharp var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Get, "https://api.test.maksekeskus.ee/v1/shop/configuration"); request.Headers.Add("Accept", "application/json"); request.Headers.Add("Authorization", "Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ+"); var response = await client.SendAsync(request); response.EnsureSuccessStatusCode(); Console.WriteLine(await response.Content.ReadAsStringAsync()); ``` -------------------------------- ### Shop Configuration Response Example Source: https://developer.makecommerce.net/api/get-shop-configuration This JSON object represents a successful response containing the shop's configuration details. It includes identifiers, timestamps, shop name and status, return and notification URLs, contact information, and details about available payment methods and features. ```json { "id": "string", "object": "string", "created_at": "2024-07-29T15:51:28.071Z", "modified_at": "2024-07-29T15:51:28.071Z", "name": "string", "status": "string", "return": { "url": "string", "method": "string" }, "notifications": { "url": "string", "method": "string", "email": "string" }, "contact": { "email": "string", "phone": "string" }, "payment_methods": { "banklinks": [ { "name": "string", "url": "string", "country": "string", "countries": [ "string" ], "min_amount": 0, "max_amount": 0, "channel": "string", "display_name": "string", "logo_url": "string" } ], "cards": [ { "name": "string", "url": "string", "country": "string", "countries": [ "string" ], "min_amount": 0, "max_amount": 0, "channel": "string", "display_name": "string", "logo_url": "string" } ], "payLater": [ { "name": "string", "url": "string", "country": "string", "countries": [ ``` -------------------------------- ### Example Accounting Records Response Source: https://developer.makecommerce.net/api/get-fees This is an example of the JSON response containing accounting records. ```JSON [ { "object": "accounting", "amount": -10, "vat": -2, "id": "8bf8e1ac-9796-4db9-848b-4819eb0f42f4", "created_at": "2023-11-30T02:01:46+0000" }, { "object": "accounting", "amount": -5, "vat": -1, "id": "218aad9f-c5e3-4b19-bfdf-5df430ad0b05", "created_at": "2023-12-31T21:30:12+0000" } ] ``` -------------------------------- ### C# HttpClient Example for Creating a Refund Source: https://developer.makecommerce.net/api/create-refund Demonstrates how to create a refund using HttpClient in C#. Ensure the Authorization header is correctly formatted with base64-encoded credentials. ```csharp var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Post, "https://api.test.maksekeskus.ee/v1/transactions/:transaction_id/refunds"); request.Headers.Add("Accept", "application/hal+json"); request.Headers.Add("Authorization", "Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ+ "); var content = new StringContent("{\n \"amount\": \"5\",\n \"comment\": \"Refund reason\",\n \"app_info\": {\n \"module\": \"WooCommerce\",\n \"module_version\": \"3.2.0\",\n \"platform\": \"Wordpress\",\n \"platform_version\": \"5.1\"\n }\n}", null, "application/json"); request.Content = content; var response = await client.SendAsync(request); response.EnsureSuccessStatusCode(); Console.WriteLine(await response.Content.ReadAsStringAsync()); ``` -------------------------------- ### Get Fees API Endpoint Source: https://developer.makecommerce.net/api/get-fees This is the base URL for the Get Fees API endpoint. ```HTTP GET ## https://api.test.maksekeskus.ee/v1/shop/fees ``` -------------------------------- ### Bad Request Response (Example) Source: https://developer.makecommerce.net/api/get-transaction-statement An example of a bad request response when an invalid transaction ID format is provided. ```json { "code": 1001, "message": "Invalid request", "errors": [ { "type": "invalid", "parameter": "transaction", "expected": "correct UUID" } ] } ``` -------------------------------- ### Get Account Statement XML Endpoint Source: https://developer.makecommerce.net/api/get-account-statement-xml This is the base URL for the Get Account Statement XML API endpoint. ```http GET ## https://api.test.maksekeskus.ee/v1/shop/accountstatements/xml ``` -------------------------------- ### Create Transaction with Basic Authentication (C#) Source: https://developer.makecommerce.net/api/create-transaction This C# example demonstrates how to create a transaction using HttpClient and Basic Authentication. Ensure the Authorization header is correctly formatted with base64-encoded credentials. ```csharp var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Post, "https://api.test.maksekeskus.ee/v1/transactions"); request.Headers.Add("Accept", "application/hal+json"); request.Headers.Add("Authorization", "Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ+"); var content = new StringContent("{\n \"transaction\": {\n \"amount\": \"75.95\",\n \"currency\": \"EUR\",\n \"reference\": \"123abc\",\n \"merchant_data\": \"Internal Order ID: 321\",\n \"recurring_required\": \"false\",\n \"terms_required\": \"false\",\n \"transaction_url\": {\n \"return_url\": {\n \"url\": \"https://example.com/return_url\",\n \"method\": \"POST\"\n },\n \"cancel_url\": {\n \"url\": \"https://example.com/cancel_url\",\n \"method\": \"POST\"\n },\n \"notification_url\": {\n \"url\": \"https://example.com/notification_url\",\n \"method\": \"POST\"\n }\n }\n },\n \"customer\": {\n \"email\": \"mk.test@maksekeskus.ee\",\n \"ip\": \"10.128.96.76\",\n \"country\": \"ee\",\n \"locale\": \"ee\",\n \"name\": \"John Smith\"\n },\n \"app_info\": {\n \"module\": \"WooCommerce\",\n \"module_version\": \"3.2.0\",\n \"platform\": \"Wordpress\",\n \"platform_version\": \"5.1\"\n }\n}", null, "application/json"); request.Content = content; var response = await client.SendAsync(request); response.EnsureSuccessStatusCode(); Console.WriteLine(await response.Content.ReadAsStringAsync()); ``` -------------------------------- ### Shop Configuration Response Example Source: https://developer.makecommerce.net/api/get-shop-configuration This JSON object represents the configuration details of a shop. It includes contact information, creation and modification timestamps, enabled features, shop ID, notification settings, and a comprehensive list of available payment methods categorized by bank links and other types. ```json { "paymentMethods": { "banklinks": [ { "channel": "Swedbank EE OB", "countries": [ "ee" ], "country": "ee", "display_name": "Swedbank", "logo_url": "https://static.test.maksekeskus.ee/img/channel/lnd/swedbank.png", "max_amount": 15000, "name": "swedbank", "url": "https://payment.test.maksekeskus.ee/open-banking.html?method=EE_SWED_OB&trx=" }, { "channel": "SEB EE OB", "countries": [ "ee" ], "country": "ee", "display_name": "SEB", "logo_url": "https://static.test.maksekeskus.ee/img/channel/lnd/seb.png", "max_amount": 15000, "name": "seb", "url": "https://payment.test.maksekeskus.ee/open-banking.html?method=EE_SEB_OB&trx=" }, { "channel": "LHV EE OB", "countries": [ "ee" ], "country": "ee", "display_name": "LHV", "logo_url": "https://static.test.maksekeskus.ee/img/channel/lnd/lhv.png", "max_amount": 15000, "name": "lhv", "url": "https://payment.test.maksekeskus.ee/open-banking.html?method=EE_LHV_OB&trx=" }, { "channel": "Luminor EE", "countries": [ "ee" ], "country": "ee", "display_name": "Luminor", "logo_url": "https://static.test.maksekeskus.ee/img/channel/lnd/luminor.png", "max_amount": 100000, "name": "nordea", "url": "https://payment.test.maksekeskus.ee/banklink.html?method=EE_NORDEA&trx=" }, { "channel": "Coop Pank EE", "countries": [ "ee" ], "country": "ee", "display_name": "Coop Pank", "logo_url": "https://static.test.maksekeskus.ee/img/channel/lnd/coop.png", "max_amount": 100000, "name": "krediidipank", "url": "https://payment.test.maksekeskus.ee/banklink.html?method=EE_KREDIIDI&trx=" }, { "channel": "Pocopay EE", "countries": [ "ee", "fi" ], "country": "ee", "display_name": "Pocopay", "logo_url": "https://static.test.maksekeskus.ee/img/channel/lnd/pocopay.png", "max_amount": 100000, "name": "pocopay", "url": "https://payment.test.maksekeskus.ee/banklink.html?method=EE_POCOPAY&trx=" }, { "channel": "Swedbank LV OB", "countries": [ "lv" ], "country": "lv", "display_name": "Swedbank", "logo_url": "https://static.test.maksekeskus.ee/img/channel/lnd/swedbank.png", "max_amount": 15000, "name": "swedbank", "url": "https://payment.test.maksekeskus.ee/open-banking.html?method=LV_SWED_OB&trx=" }, { "channel": "Swedbank LT OB", "countries": [ "lt" ], "country": "lt", "display_name": "Swedbank", "logo_url": "https://static.test.maksekeskus.ee/img/channel/lnd/swedbank.png", "max_amount": 15000, "name": "swedbank", "url": "https://payment.test.maksekeskus.ee/open-banking.html?method=LT_SWED_OB&trx=" }, { "channel": "SEB LT OB", "countries": [ "lt" ], "country": "lt", "display_name": "SEB", "logo_url": "https://static.test.maksekeskus.ee/img/channel/lnd/seb.png", "max_amount": 15000, "name": "seb", "url": "https://payment.test.maksekeskus.ee/open-banking.html?method=LT_SEB_OB&trx=" } ], "other": [ { "country": "ee", "countries": [ "ee" ], "display_name": "Credit card", "logo_url": "https://static.test.maksekeskus.ee/img/channel/cc.png", "max_amount": 100000, "min_amount": 0, "name": "creditcard" } ] }, "contact": { "email": "support@maksekeskus.ee", "phone": "+37258875115" }, "created_at": "2013-11-14T14:18:00+0000", "features": [ { "enabled": false, "name": "portal_donations", "object": "feature" }, { "enabled": true, "name": "shipments_without_credentials", "object": "feature" } ], "id": "30d7d5d1-ec42-49ab-aa11-458cda4be9c9", "modified_at": "2024-01-07T13:50:12+0000", "name": "mk-test-redirect", "notifications": { "email": null, "method": "GET", "url": "https://developer.maksekeskus.ee/return.php" }, "object": "shop" } ``` -------------------------------- ### Successful Transaction Statement Response (Example) Source: https://developer.makecommerce.net/api/get-transaction-statement An example of a successful transaction statement response, showing multiple transaction entries. ```json [ { "created": "2024-01-06T13:32:20+0000", "amount": 75.95, "type": "INCOME", "transaction": "1540286", "channel": "Visa/Mastercard", "merchant_reference": "123abc", "original_amount": 0, "exchange_rate": 0 }, { "created": "2024-01-06T13:32:20+0000", "amount": -0.38, "type": "TRX_FEE", "transaction": "1540286", "channel": "Visa/Mastercard", "merchant_reference": "123abc", "original_amount": 0, "exchange_rate": 0 }, { "created": "2024-01-06T13:32:20+0000", "amount": -0.08, "type": "VAT", "transaction": "1540286", "channel": "Visa/Mastercard", "merchant_reference": "123abc", "original_amount": 0, "exchange_rate": 0 }, { "created": "2024-01-06T13:32:20+0000", "amount": -0.3, "type": "TRX_FEE_FIX", "transaction": "1540286", "channel": "Visa/Mastercard", "merchant_reference": "123abc", "original_amount": 0, "exchange_rate": 0 }, { "created": "2024-01-06T13:32:20+0000", "amount": -0.06, "type": "VAT", "transaction": "1540286", "channel": "Visa/Mastercard", "merchant_reference": "123abc", "original_amount": 0, "exchange_rate": 0 }, { "created": "2024-01-06T13:33:29+0000", "amount": -5, "type": "REFUND", "transaction": "1540286", "merchant_reference": "123abc", "original_amount": 0, "exchange_rate": 0 } ] ```