{"info":{"_postman_id":"d0e0fd10-0feb-4787-ad39-c71cf4a97d8d","name":"Crypto Payins API Collection","description":"<html><head></head><body><p>This is Payins API docs and contains all required information for the integration.</p>\n<p>To make a request, a valid Bearer token is required for the authentication and can be obtained by sending request to the Auth route with reqired parameters (sharedSecret and cmid). These will be provided by M2Pay</p>\n<p><code>sharedsecret</code>:</p>\n<p>secret generated for client authentication on api -- string (if only this header is present the token generated is valid for GET <code>/api/offers</code> and GET <code>/api/transactions/trade</code> routes)</p>\n<p><code>cmid</code>:</p>\n<p>(optional) cmid generated for a merchant - uuid (if provided, the token generated is only valid on POST <code>/api/offer</code> route)</p>\n<p><strong>Base server URLs:</strong></p>\n<p><strong>Development</strong>:</p>\n<p><a href=\"https://crypto-dev.m2pay.solutions\"><b>https://crypto-dev.m2pay.solutions</b></a></p>\n<p><strong>Production:</strong></p>\n<p><a href=\"https://crypto-dev.m2pay.solutions\"><b>https://crypto.m2pay.solutions</b></a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"22972506","collectionId":"d0e0fd10-0feb-4787-ad39-c71cf4a97d8d","publishedId":"2sAXxJhaDm","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-10-01T10:29:33.000Z"},"item":[{"name":"Retrieve Auth Bearer token","id":"f84e8736-a260-4185-b32d-df5755614681","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"sharedSecret","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","type":"text"}],"url":"https://crypto-dev.m2pay.solutions/api/token","description":"<p><code>sharedsecret</code>:</p>\n<p>secret generated for client authentication on api -- string (if only this header is present the token generated is valid for GET <code>/api/offers</code> and GET <code>/api/transactions/trade</code> routes)</p>\n<p><code>cmid</code>:</p>\n<p>(optional) cmid generated for a merchant - uuid (if provided, the token generated is only valid on POST <code>/api/offer</code> route)</p>\n","urlObject":{"protocol":"https","path":["api","token"],"host":["crypto-dev","m2pay","solutions"],"query":[],"variable":[]}},"response":[],"_postman_id":"f84e8736-a260-4185-b32d-df5755614681"},{"name":"Create a crypto offer","id":"3e415359-f1a8-4291-825f-fe67690117a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"cmid","value":"xxxxx-xxxxxxx-xxxxxxx-xxxxxxxx","type":"text"},{"key":"sharedSecret","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"user_id\": \"11\",\r\n    \"amount\": \"20\",\r\n    \"terminal_id\": \"\",\r\n    \"currency\": \"EUR\",\r\n    \"crypto_currency\": \"ETH\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://crypto-dev.m2pay.solutions/api/offer","description":"<p>Create a new offer for the client</p>\n<p><code>user_id</code> (optional) : string (Merchant ID, will be used as ref_id inside the offer),</p>\n<p><code>amount</code>: number,<br /><code>terminalId</code>(optional) : string (Required for terminal payments),<br /><code>currency</code>: string (e.g. \"EUR\",\"USD\"),</p>\n<p><code>crypto_currency</code>: string (e.g. \"ETH\", \"BTC\")</p>\n","urlObject":{"protocol":"https","path":["api","offer"],"host":["crypto-dev","m2pay","solutions"],"query":[],"variable":[]}},"response":[{"id":"04338bfe-b422-4efa-98ed-e765dc7f08d1","name":"Create a crypto offer","originalRequest":{"method":"POST","header":[{"key":"cmid","value":"xxxxx-xxxxxxx-xxxxxxx-xxxxxxxx","type":"text"},{"key":"sharedSecret","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"user_id\": \"11\",\r\n    \"amount\": \"20\",\r\n    \"terminal_id\": \"\",\r\n    \"currency\": \"EUR\",\r\n    \"crypto_currency\": \"ETH\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://crypto-dev.m2pay.solutions/api/offer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Oct 2024 11:11:46 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"Express"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"1a5-ZBRWRv+XwOPH68JOTgOMzQDzFk4\""},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=HPMOcoZ%2Fnj9ssE9UrmmlDTspishL%2FwYgxz1FVGNWWqeInuZe8HlQkfn7NshgXBZpOUE9x3DEhp0jKmlOGbrbWToh4FQOm4niUEZtzAIybAE%2FyWR8mn8l8av%2FvetXxwLCNx889iLBmvnQ9omBAg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8d379c290a5f6720-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"user_id\": \"11\",\n        \"offer_id\": \"a206cff0-fc5a-4e76-81aa-213e4f664455\",\n        \"trxData\": \"0x61323036636666302d666335612d346537362d383161612d323133653466363634343535\",\n        \"crypto_amount\": \"0.008754669156883672\",\n        \"currency\": \"EUR\",\n        \"crypto_currency\": \"ETH\",\n        \"forwarder_contract_address\": \"0xe6000384e3fdef6ac29c3e276e15e43203572ec2\",\n        \"gas_fee\": {\n            \"suggestedMaxPriorityFeePerGas\": \"0.97\",\n            \"suggestedMaxFeePerGas\": \"16.938131739\"\n        }\n    }\n}"}],"_postman_id":"3e415359-f1a8-4291-825f-fe67690117a1"},{"name":"Get Merchant offers","id":"ad6c691d-ac60-43e8-8b25-6d9a88c29df2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"cmid","value":"xxxxx-xxxxxx-xxxxxx-xxxxxxx","type":"text"},{"key":"sharedSecret","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","type":"text"}],"url":"https://crypto-dev.m2pay.solutions/api/offers?per_page=20&page=2","description":"<p>Returns object with client offers</p>\n<p>Default pagination is per_page: 10 page: 1</p>\n<p>per_page (optional): number<br />page (optional): number,</p>\n<p>Returns latest first if not specified<br />from(optional): dateTime (format YYYY-MM-DDHH:mm:ss),<br />to(optional) dateTime (format YYYY-MM-DD HH:mm:ss)</p>\n","urlObject":{"protocol":"https","path":["api","offers"],"host":["crypto-dev","m2pay","solutions"],"query":[{"key":"per_page","value":"20"},{"key":"page","value":"2"},{"disabled":true,"key":"from","value":"2024-09-10 13:00:00"},{"disabled":true,"key":"to","value":"2024-09-20 13:00:00"}],"variable":[]}},"response":[{"id":"2befd2ac-f378-4f64-ae6c-8957566dc4e5","name":"Get Merchant offers","originalRequest":{"method":"GET","header":[{"key":"cmid","value":"xxxxx-xxxxxx-xxxxxx-xxxxxxx","type":"text"},{"key":"sharedSecret","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","type":"text"}],"url":{"raw":"https://crypto-dev.m2pay.solutions/api/offers?per_page=20&page=2","protocol":"https","host":["crypto-dev","m2pay","solutions"],"path":["api","offers"],"query":[{"key":"per_page","value":"20","type":"text"},{"key":"page","value":"2","type":"text"},{"key":"from","value":"2024-09-10 13:00:00","type":"text","disabled":true},{"key":"to","value":"2024-09-20 13:00:00","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Oct 2024 11:42:09 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"Express"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"17ed-aZbc5WUZI4O19KysvoYRx+Ll5Tc\""},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=5oEceahYQksVEmuHtUK533EPxBTu3Ho%2FnzsBRdk%2B%2B3HG8aUfFPr0No5hHSUO09RVxLkeqZO3M2R6i3KtzUrHR09PBNZxsct%2FDQmuqRzBJUzDNMS%2FZA%2B1uNk6JMHFvmzZCjmPshCLDk4CvUstYQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8d37c8ab2afdb688-OTP"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"currentPage\": 2,\n    \"perPage\": 20,\n    \"totalItems\": 52,\n    \"totalPages\": 3,\n    \"nextPage\": 3,\n    \"previousPage\": 1,\n    \"items\": [\n        {\n            \"id\": \"6cbfc8a7-087f-4931-9a53-0a4a69e4cc91\",\n            \"fiat_amount\": \"11.2\",\n            \"fiat_currency\": \"EUR\",\n            \"total_crypto_amount\": \"0.005054955446757478\",\n            \"crypto_currency\": \"ETH\",\n            \"suggested_transfer_fee\": \"0.00081289263003\",\n            \"reverse_exchange_fx\": \"0.0004298431502344795\",\n            \"ref_id\": \"1\",\n            \"created_at\": \"2024-10-14T11:22:05.469Z\"\n        },\n        {\n            \"id\": \"ba0e495d-10fc-46d0-b171-e904f7123ec9\",\n            \"fiat_amount\": \"11.2\",\n            \"fiat_currency\": \"EUR\",\n            \"total_crypto_amount\": \"0.005071151358344113\",\n            \"crypto_currency\": \"ETH\",\n            \"suggested_transfer_fee\": \"0.00047038697337\",\n            \"reverse_exchange_fx\": \"0.00043122035360068997\",\n            \"ref_id\": \"1\",\n            \"created_at\": \"2024-10-14T10:39:56.230Z\"\n        },\n        {\n            \"id\": \"38131c01-579c-426b-ada0-a2022e90cc06\",\n            \"fiat_amount\": \"11.2\",\n            \"fiat_currency\": \"EUR\",\n            \"total_crypto_amount\": \"0.005064904860758185\",\n            \"crypto_currency\": \"ETH\",\n            \"suggested_transfer_fee\": \"0.00054937345932\",\n            \"reverse_exchange_fx\": \"0.00043068918883998173\",\n            \"ref_id\": \"1\",\n            \"created_at\": \"2024-10-14T10:23:34.505Z\"\n        },\n        {\n            \"id\": \"9e3518f7-b40f-4a62-b9e9-a3bdf8509fb1\",\n            \"fiat_amount\": \"10.9\",\n            \"fiat_currency\": \"EUR\",\n            \"total_crypto_amount\": \"0.005000000000000000\",\n            \"crypto_currency\": \"ETH\",\n            \"suggested_transfer_fee\": \"0.00057857790861\",\n            \"reverse_exchange_fx\": \"0.0004308561974355439\",\n            \"ref_id\": \"1\",\n            \"created_at\": \"2024-10-14T10:23:27.547Z\"\n        },\n        {\n            \"id\": \"e19670a8-ac1c-4835-86d5-a37306f2e87f\",\n            \"fiat_amount\": \"11.7\",\n            \"fiat_currency\": \"EUR\",\n            \"total_crypto_amount\": \"0.005285189423598144\",\n            \"crypto_currency\": \"ETH\",\n            \"suggested_transfer_fee\": \"0.00057857790861\",\n            \"reverse_exchange_fx\": \"0.0004302148492957383\",\n            \"ref_id\": \"1\",\n            \"created_at\": \"2024-10-14T10:23:16.786Z\"\n        },\n        {\n            \"id\": \"2091d63e-0598-498c-bf59-3987bbfb73ef\",\n            \"fiat_amount\": \"10.7\",\n            \"fiat_currency\": \"EUR\",\n            \"total_crypto_amount\": \"0.005000000000000000\",\n            \"crypto_currency\": \"ETH\",\n            \"suggested_transfer_fee\": \"0.00058013429205\",\n            \"reverse_exchange_fx\": \"0.00043084877208099956\",\n            \"ref_id\": \"1\",\n            \"created_at\": \"2024-10-14T10:23:01.708Z\"\n        },\n        {\n            \"id\": \"8fc88a11-e7d1-4f7d-95fb-f955825f6248\",\n            \"fiat_amount\": \"10.7\",\n            \"fiat_currency\": \"EUR\",\n            \"total_crypto_amount\": \"0.005094360155619439\",\n            \"crypto_currency\": \"ETH\",\n            \"suggested_transfer_fee\": \"0.00053121063453\",\n            \"reverse_exchange_fx\": \"0.0004534365959607868\",\n            \"ref_id\": \"1\",\n            \"created_at\": \"2024-10-11T10:45:46.959Z\"\n        },\n        {\n            \"id\": \"5702deb9-04b2-44bc-bf27-9e926e19775b\",\n            \"fiat_amount\": \"10.7\",\n            \"fiat_currency\": \"EUR\",\n            \"total_crypto_amount\": \"0.005097133627925124\",\n            \"crypto_currency\": \"ETH\",\n            \"suggested_transfer_fee\": \"0.00058015575096\",\n            \"reverse_exchange_fx\": \"0.0004536834559790943\",\n            \"ref_id\": \"1\",\n            \"created_at\": \"2024-10-11T10:41:35.183Z\"\n        },\n        {\n            \"id\": \"238a9c49-3c65-48a8-8ae6-a4bb45d112e8\",\n            \"fiat_amount\": \"10.7\",\n            \"fiat_currency\": \"EUR\",\n            \"total_crypto_amount\": \"0.005097133627925124\",\n            \"crypto_currency\": \"ETH\",\n            \"suggested_transfer_fee\": \"0.00058640571957\",\n            \"reverse_exchange_fx\": \"0.0004536834559790943\",\n            \"ref_id\": \"1\",\n            \"created_at\": \"2024-10-11T10:41:31.635Z\"\n        },\n        {\n            \"id\": \"722bc984-53d7-4b06-a3e5-f74a5cb33e77\",\n            \"fiat_amount\": \"10.7\",\n            \"fiat_currency\": \"EUR\",\n            \"total_crypto_amount\": \"0.005097203003425356\",\n            \"crypto_currency\": \"ETH\",\n            \"suggested_transfer_fee\": \"0.00061072985475\",\n            \"reverse_exchange_fx\": \"0.00045368963092348524\",\n            \"ref_id\": \"1\",\n            \"created_at\": \"2024-10-11T10:40:49.111Z\"\n        },\n        {\n            \"id\": \"8410449c-25b3-487b-92d7-e1ce1dd866c8\",\n            \"fiat_amount\": \"10.7\",\n            \"fiat_currency\": \"EUR\",\n            \"total_crypto_amount\": \"0.005077071160337839\",\n            \"crypto_currency\": \"ETH\",\n            \"suggested_transfer_fee\": \"0.00068625009537\",\n            \"reverse_exchange_fx\": \"0.00045189774457835686\",\n            \"ref_id\": \"1\",\n            \"created_at\": \"2024-10-11T10:17:08.661Z\"\n        },\n        {\n            \"id\": \"cd93f252-18ff-4f88-9af8-80625c90345a\",\n            \"fiat_amount\": \"12.7\",\n            \"fiat_currency\": \"EUR\",\n            \"total_crypto_amount\": \"0.006026056423952388\",\n            \"crypto_currency\": \"ETH\",\n            \"suggested_transfer_fee\": \"0.00068625009537\",\n            \"reverse_exchange_fx\": \"0.00045189774457835686\",\n            \"ref_id\": \"1\",\n            \"created_at\": \"2024-10-11T10:16:59.428Z\"\n        },\n        {\n            \"id\": \"4a8ea8ea-eec4-42bf-81f0-1e6688f41c60\",\n            \"fiat_amount\": \"12.7\",\n            \"fiat_currency\": \"EUR\",\n            \"total_crypto_amount\": \"0.006025702433778275\",\n            \"crypto_currency\": \"ETH\",\n            \"suggested_transfer_fee\": \"0.00062786214081\",\n            \"reverse_exchange_fx\": \"0.0004518711986335415\",\n            \"ref_id\": \"1\",\n            \"created_at\": \"2024-10-11T10:16:31.682Z\"\n        },\n        {\n            \"id\": \"8adbb991-a86c-42c3-acb3-61648d172b43\",\n            \"fiat_amount\": \"12.7\",\n            \"fiat_currency\": \"EUR\",\n            \"total_crypto_amount\": \"0.006025865808690622\",\n            \"crypto_currency\": \"ETH\",\n            \"suggested_transfer_fee\": \"0.00062398148493\",\n            \"reverse_exchange_fx\": \"0.0004518834502205191\",\n            \"ref_id\": \"1\",\n            \"created_at\": \"2024-10-11T10:15:51.893Z\"\n        },\n        {\n            \"id\": \"f7dab431-81eb-44c4-b2b8-477a6afbdfe8\",\n            \"fiat_amount\": \"20\",\n            \"fiat_currency\": \"EUR\",\n            \"total_crypto_amount\": \"0.008828797013344096\",\n            \"crypto_currency\": \"ETH\",\n            \"suggested_transfer_fee\": \"0.0007237599165\",\n            \"reverse_exchange_fx\": \"0.0004204189053973379\",\n            \"ref_id\": \"11\",\n            \"created_at\": \"2024-10-01T08:24:02.834Z\"\n        },\n        {\n            \"id\": \"ed8d73b6-8a5f-40fd-aad1-68b2013ef3b3\",\n            \"fiat_amount\": \"11.7\",\n            \"fiat_currency\": \"EUR\",\n            \"total_crypto_amount\": \"0.005243501643262623\",\n            \"crypto_currency\": \"ETH\",\n            \"suggested_transfer_fee\": \"0.00077799081114\",\n            \"reverse_exchange_fx\": \"0.0004268214605830381\",\n            \"ref_id\": \"1\",\n            \"created_at\": \"2024-09-30T14:32:32.596Z\"\n        },\n        {\n            \"id\": \"49ae6010-4c68-4329-8176-059b00659be1\",\n            \"fiat_amount\": \"11.2\",\n            \"fiat_currency\": \"EUR\",\n            \"total_crypto_amount\": \"0.005019420376456528\",\n            \"crypto_currency\": \"ETH\",\n            \"suggested_transfer_fee\": \"0.00077799081114\",\n            \"reverse_exchange_fx\": \"0.0004268214605830381\",\n            \"ref_id\": \"1\",\n            \"created_at\": \"2024-09-30T14:32:24.485Z\"\n        },\n        {\n            \"id\": \"c7f4faf8-74a9-4b36-a3d0-4652cc4acc36\",\n            \"fiat_amount\": \"13.2\",\n            \"fiat_currency\": \"EUR\",\n            \"total_crypto_amount\": \"0.005915745443680908\",\n            \"crypto_currency\": \"ETH\",\n            \"suggested_transfer_fee\": \"0.00078533812575\",\n            \"reverse_exchange_fx\": \"0.0004268214605830381\",\n            \"ref_id\": \"1\",\n            \"created_at\": \"2024-09-30T14:32:17.032Z\"\n        },\n        {\n            \"id\": \"f5354e9d-076e-4de4-a46a-cdf423325d46\",\n            \"fiat_amount\": \"1.2\",\n            \"fiat_currency\": \"EUR\",\n            \"total_crypto_amount\": \"0.005000000000000000\",\n            \"crypto_currency\": \"ETH\",\n            \"suggested_transfer_fee\": \"0.00081765715671\",\n            \"reverse_exchange_fx\": \"0.00042683967901656133\",\n            \"ref_id\": \"1\",\n            \"created_at\": \"2024-09-30T14:31:59.122Z\"\n        },\n        {\n            \"id\": \"4424f8cc-cd6f-40d2-bd1a-76de4c20893a\",\n            \"fiat_amount\": \"1.2\",\n            \"fiat_currency\": \"EUR\",\n            \"total_crypto_amount\": \"0.005000000000000000\",\n            \"crypto_currency\": \"ETH\",\n            \"suggested_transfer_fee\": \"0.00082532127921\",\n            \"reverse_exchange_fx\": \"0.00042664482245175715\",\n            \"ref_id\": \"1\",\n            \"created_at\": \"2024-09-30T14:31:31.326Z\"\n        }\n    ]\n}"}],"_postman_id":"ad6c691d-ac60-43e8-8b25-6d9a88c29df2"},{"name":"Get Merchant transaction information","id":"c8cdaae1-e1c6-4b61-80d3-68c93f0c8077","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"user_id\": \"9\",\r\n    \"amount\": \"20\",\r\n    \"currency\": \"EUR\",\r\n    \"crypto_currency\": \"ETH\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://crypto-dev.m2pay.solutions/api/transactions/trade?per_page=20&page=1","description":"<p>Returns object with client transaction information</p>\n<p>Querry params:  </p>\n<p>Default pagination is per_page: 10 page: 1</p>\n<p>per_page (optional): number,<br />page (optional): number,</p>\n<p>Returns latest first if not specified<br />from(optional): dateTime (format YYYY-MM-DDHH:mm:ss),<br />to(optional) dateTime (format YYYY-MM-DD HH:mm:ss)</p>\n","urlObject":{"protocol":"https","path":["api","transactions","trade"],"host":["crypto-dev","m2pay","solutions"],"query":[{"key":"per_page","value":"20"},{"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"00c9cee0-0826-44bb-8fad-2f0661226ca2","name":"Get Merchant transaction information","originalRequest":{"method":"GET","header":[{"key":"cmid","value":"xxxxx-xxxxxx-xxxxxx-xxxxxxx","type":"text","disabled":true},{"key":"sharedSecret","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"user_id\": \"9\",\r\n    \"amount\": \"20\",\r\n    \"currency\": \"EUR\",\r\n    \"crypto_currency\": \"ETH\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://crypto-dev.m2pay.solutions/api/transactions/trade?per_page=20&page=1","protocol":"https","host":["crypto-dev","m2pay","solutions"],"path":["api","transactions","trade"],"query":[{"key":"per_page","value":"20","type":"text"},{"key":"page","value":"1","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Oct 2024 11:40:26 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"Express"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"c0f-dM/mDUkVMz7gCTo67Kmm7dEgR38\""},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=%2FbWDZ1hoEFHm0HPnKKLbh6SPpM7FYJg5vXJdFrzg31iO6ygPK6L4%2B7MvYY85Vn1ryvjIkGO1VCILAJrVZ1PmTL6i1UyFG7W6mtKxRsQvKCHV7zg8UXBzCxSXtjePjck6CdNDlSo%2F1TqJQr51Ow%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8d37c627dbb8b688-OTP"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"payload\": {\n        \"currentPage\": 1,\n        \"perPage\": 20,\n        \"totalItems\": 7,\n        \"totalPages\": 1,\n        \"nextPage\": null,\n        \"previousPage\": null,\n        \"items\": [\n            {\n                \"id\": \"6a05d2f2-20c7-4838-8e90-4106f5ad4fcb\",\n                \"crypto_transaction_id\": \"c3beef69-22ac-4ad4-982d-9aca29d8d129\",\n                \"crypto_transaction_sender_address\": \"0x16d6616446a333ffa43d74725ee6ed2dfc7b9c13\",\n                \"crypto_transaction_status\": \"SOLD\",\n                \"crypto_transaction_transaction_hash\": \"0xb0152c2cdaf2d40f917a63697723550f19b3de4bb7990686e1175f1ce878eec1\",\n                \"created_at\": \"2024-10-14T10:51:08.904Z\",\n                \"ref_id\": \"OGL2XB-5TW6X-NRY73E\",\n                \"_status\": \"CLOSED\"\n            },\n            {\n                \"id\": \"996365e1-392e-46bf-8ea6-8471080caf51\",\n                \"crypto_transaction_id\": \"2094c246-b3c1-44c1-9bf6-dda37116ae92\",\n                \"crypto_transaction_sender_address\": \"0x16d6616446a333ffa43d74725ee6ed2dfc7b9c13\",\n                \"crypto_transaction_status\": \"SOLD\",\n                \"crypto_transaction_transaction_hash\": \"0x49e05347ae5e48c208c2d169e0fe574b738e951e48f10b9558a506429cd931da\",\n                \"created_at\": \"2024-10-14T10:32:15.690Z\",\n                \"ref_id\": \"OEDJXS-6H4MH-ZZ4JZ5\",\n                \"_status\": \"CLOSED\"\n            },\n            {\n                \"id\": \"c5e6807f-c564-4891-855d-54aa5ba51a11\",\n                \"crypto_transaction_id\": \"8711f412-9718-4c04-b1e6-0c394149c32b\",\n                \"crypto_transaction_sender_address\": \"0x16d6616446a333ffa43d74725ee6ed2dfc7b9c13\",\n                \"crypto_transaction_status\": \"SOLD\",\n                \"crypto_transaction_transaction_hash\": \"0xfafc0ce777c3d99ae37c931d5603dcfd6ca35cabe01b22f85890e363a0df0709\",\n                \"created_at\": \"2024-10-11T10:50:58.097Z\",\n                \"ref_id\": \"ON4UXV-NT5HY-XN7CQV\",\n                \"_status\": \"CLOSED\"\n            },\n            {\n                \"id\": \"19673ac9-875c-4705-b49b-e12bbbea6d9b\",\n                \"crypto_transaction_id\": \"5603f5f4-67fb-4f31-a970-e4b6ee397e3c\",\n                \"crypto_transaction_sender_address\": \"0x16d6616446a333ffa43d74725ee6ed2dfc7b9c13\",\n                \"crypto_transaction_status\": \"SOLD\",\n                \"crypto_transaction_transaction_hash\": \"0xf12328beafb61c11247802cd72900d1996f00c42cee249fe840917846fdb5516\",\n                \"created_at\": \"2024-10-11T10:25:27.012Z\",\n                \"ref_id\": \"OUXZTH-F3AGH-5HQEBT\",\n                \"_status\": \"CLOSED\"\n            },\n            {\n                \"id\": \"5420a65c-7dcc-4d34-9fb2-c19f07315742\",\n                \"crypto_transaction_id\": \"0f1a2591-7931-46e4-9984-8f123bcd61f1\",\n                \"crypto_transaction_sender_address\": \"0x16d6616446a333ffa43d74725ee6ed2dfc7b9c13\",\n                \"crypto_transaction_status\": \"SOLD\",\n                \"crypto_transaction_transaction_hash\": \"0xd00114cb76b5fc33e83212b5e5b924c618f6d1d73679dfd4ea7d0c82ab96eb51\",\n                \"created_at\": \"2024-09-30T14:41:07.997Z\",\n                \"ref_id\": \"ONSZXH-3L23A-YGKRMT\",\n                \"_status\": \"CLOSED\"\n            },\n            {\n                \"id\": \"b3d16a5d-993f-48ef-8ae1-a0bee01842e0\",\n                \"crypto_transaction_id\": \"c49273d6-398c-454e-9c5e-3946a3f8e57f\",\n                \"crypto_transaction_sender_address\": \"0x16d6616446a333ffa43d74725ee6ed2dfc7b9c13\",\n                \"crypto_transaction_status\": \"SOLD\",\n                \"crypto_transaction_transaction_hash\": \"0xd9bcb3892491ed04618eb2f485beb789b788a81db2be1a231730a3b28a9ee96f\",\n                \"created_at\": \"2024-09-27T13:11:39.225Z\",\n                \"ref_id\": \"ODJIC6-AC5OJ-QBJYAT\",\n                \"_status\": \"CLOSED\"\n            },\n            {\n                \"id\": \"d8726095-f890-4020-b923-0c3cef8cf60b\",\n                \"crypto_transaction_id\": \"74d6490a-ff53-4e37-97b4-519af9573a1e\",\n                \"crypto_transaction_sender_address\": \"0x16d6616446a333ffa43d74725ee6ed2dfc7b9c13\",\n                \"crypto_transaction_status\": \"SOLD\",\n                \"crypto_transaction_transaction_hash\": \"0x133c76f9747d4859f65c85da19ebbdf82a329063a4ef7f7832d09ec5a4e89d10\",\n                \"created_at\": \"2024-09-27T12:20:51.860Z\",\n                \"ref_id\": \"OGWIYM-SMFSZ-DJCENG\",\n                \"_status\": \"CLOSED\"\n            }\n        ]\n    }\n}"}],"_postman_id":"c8cdaae1-e1c6-4b61-80d3-68c93f0c8077"}]}