{"item":[{"name":"auth","description":"","item":[{"name":"tokens","description":"","item":[{"name":"refreshToken","description":"","item":[{"id":"b5bccb9c-568a-4ba6-ad5f-d2dd6b4a1bd8","name":"Authenticates a client","request":{"name":"Authenticates a client","description":{"content":"Authenticates a client using a refresh token provided by Flux team.\nThis endpoint will return an access token required to identify authenticated users and perform payment request\n","type":"text/plain"},"url":{"path":["auth","tokens","refreshToken"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"refreshToken\": \"<string>\",\n  \"grantType\": \"accessToken\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"28365adb-08d2-4167-8c7b-1a7a5702b228","name":"Success authentication","originalRequest":{"url":{"path":["auth","tokens","refreshToken"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"refreshToken\": \"<string>\",\n  \"grantType\": \"accessToken\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": {\n    \"accessToken\": \"<string>\",\n    \"expiresIn\": \"<long>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"af16a391-c9a7-4a6f-8cdd-bd3a33e8eab6","name":"Bad Request. The request was unacceptable, often due to missing a required parameter.","originalRequest":{"url":{"path":["auth","tokens","refreshToken"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"refreshToken\": \"<string>\",\n  \"grantType\": \"accessToken\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"error\": {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5c5ff5fe-77eb-482b-83c8-9cfd1b408973","name":"Internal Server Error. Something went wrong on Flux's end. (These are rare)","originalRequest":{"url":{"path":["auth","tokens","refreshToken"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"refreshToken\": \"<string>\",\n  \"grantType\": \"accessToken\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"error\": {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]}]}]},{"name":"payments","description":"","item":[{"id":"13c88e57-4258-44fd-8032-487fc2aabecc","name":"Request a payment","request":{"name":"Request a payment","description":{"content":"Allow request a payment from User's wallet","type":"text/plain"},"url":{"path":["payments"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"qr\": \"<string>\",\n  \"amount\": \"<integer>\",\n  \"store\": \"<string>\",\n  \"tip\": 0,\n  \"reference\": \"<string>\",\n  \"terminal\": \"<string>\",\n  \"operator\": \"<string>\",\n  \"table\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"fbd27fdc-b015-460b-9a52-ab0e55feb2a1","name":"Success payment","originalRequest":{"url":{"path":["payments"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"qr\": \"<string>\",\n  \"amount\": \"<integer>\",\n  \"store\": \"<string>\",\n  \"tip\": 0,\n  \"reference\": \"<string>\",\n  \"terminal\": \"<string>\",\n  \"operator\": \"<string>\",\n  \"table\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": {\n    \"date\": \"<dateTime>\",\n    \"issuer\": \"claropay\",\n    \"authorization\": \"<string>\",\n    \"reference\": \"<string>\",\n    \"type\": \"payment\",\n    \"status\": \"ok\",\n    \"amount\": \"<integer>\",\n    \"tip\": \"<integer>\",\n    \"total\": \"<integer>\",\n    \"store\": \"<string>\",\n    \"affiliation\": \"<string>\",\n    \"terminal\": \"<string>\",\n    \"operator\": \"<string>\",\n    \"table\": \"<string>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"80225438-418e-43bb-86e6-f30ddd4ec56e","name":"Bad Request. The request was unacceptable, often due to missing a required parameter.","originalRequest":{"url":{"path":["payments"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"qr\": \"<string>\",\n  \"amount\": \"<integer>\",\n  \"store\": \"<string>\",\n  \"tip\": 0,\n  \"reference\": \"<string>\",\n  \"terminal\": \"<string>\",\n  \"operator\": \"<string>\",\n  \"table\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"error\": {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"10c9a550-bbce-4aa4-9df8-b3222177d817","name":"Unauthorized. No valid access token provided.","originalRequest":{"url":{"path":["payments"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"qr\": \"<string>\",\n  \"amount\": \"<integer>\",\n  \"store\": \"<string>\",\n  \"tip\": 0,\n  \"reference\": \"<string>\",\n  \"terminal\": \"<string>\",\n  \"operator\": \"<string>\",\n  \"table\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"error\": {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"10aecd69-0724-4873-a75d-b7ed449b1287","name":"Forbidden. The access token doesn't have permissions to perform the request.","originalRequest":{"url":{"path":["payments"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"qr\": \"<string>\",\n  \"amount\": \"<integer>\",\n  \"store\": \"<string>\",\n  \"tip\": 0,\n  \"reference\": \"<string>\",\n  \"terminal\": \"<string>\",\n  \"operator\": \"<string>\",\n  \"table\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"error\": {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"421abaf2-8444-4780-a1e6-1f955d0ab8de","name":"Internal Server Error. Something went wrong on Flux's end. (These are rare)","originalRequest":{"url":{"path":["payments"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"qr\": \"<string>\",\n  \"amount\": \"<integer>\",\n  \"store\": \"<string>\",\n  \"tip\": 0,\n  \"reference\": \"<string>\",\n  \"terminal\": \"<string>\",\n  \"operator\": \"<string>\",\n  \"table\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"error\": {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"name":"{reference}","description":"","item":[{"name":"refund","description":"","item":[{"id":"e69066ad-a780-485b-bf0f-a34f21358676","name":"Request a refund","request":{"name":"Request a refund","description":{"content":"Allow request a refund for user","type":"text/plain"},"url":{"path":["payments",":reference","refund"],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"<string>","key":"reference","disabled":false,"description":{"content":"(Required) Reference number","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": \"<integer>\",\n  \"message\": \"<string>\",\n  \"store\": \"<string>\",\n  \"terminal\": \"<string>\",\n  \"operator\": \"<string>\",\n  \"table\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"83532e54-b647-4a12-b9fb-96cd897a752b","name":"Success refund","originalRequest":{"url":{"path":["payments",":reference","refund"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": \"<integer>\",\n  \"message\": \"<string>\",\n  \"store\": \"<string>\",\n  \"terminal\": \"<string>\",\n  \"operator\": \"<string>\",\n  \"table\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": {\n    \"date\": \"<dateTime>\",\n    \"issuer\": \"claropay\",\n    \"authorization\": \"<string>\",\n    \"reference\": \"<string>\",\n    \"type\": \"payment\",\n    \"status\": \"ok\",\n    \"amount\": \"<integer>\",\n    \"tip\": \"<integer>\",\n    \"total\": \"<integer>\",\n    \"store\": \"<string>\",\n    \"affiliation\": \"<string>\",\n    \"terminal\": \"<string>\",\n    \"operator\": \"<string>\",\n    \"table\": \"<string>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1baf74b6-951b-445c-9853-76602abb269b","name":"Bad Request. The request was unacceptable, often due to missing a required parameter.","originalRequest":{"url":{"path":["payments",":reference","refund"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": \"<integer>\",\n  \"message\": \"<string>\",\n  \"store\": \"<string>\",\n  \"terminal\": \"<string>\",\n  \"operator\": \"<string>\",\n  \"table\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"error\": {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7a72f418-cf87-42a3-9c36-e13e8d5e25af","name":"Unauthorized. No valid access token provided.","originalRequest":{"url":{"path":["payments",":reference","refund"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": \"<integer>\",\n  \"message\": \"<string>\",\n  \"store\": \"<string>\",\n  \"terminal\": \"<string>\",\n  \"operator\": \"<string>\",\n  \"table\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"error\": {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"626cde34-cb26-4585-b0e1-f031879e396b","name":"Forbidden. The access token doesn't have permissions to perform the request.","originalRequest":{"url":{"path":["payments",":reference","refund"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": \"<integer>\",\n  \"message\": \"<string>\",\n  \"store\": \"<string>\",\n  \"terminal\": \"<string>\",\n  \"operator\": \"<string>\",\n  \"table\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"error\": {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"321e64f7-b9ff-4d3d-8c09-6db20b2da961","name":"Internal Server Error. Something went wrong on Flux's end. (These are rare)","originalRequest":{"url":{"path":["payments",":reference","refund"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": \"<integer>\",\n  \"message\": \"<string>\",\n  \"store\": \"<string>\",\n  \"terminal\": \"<string>\",\n  \"operator\": \"<string>\",\n  \"table\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"error\": {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]}]}]},{"name":"transactions","description":"","item":[{"name":"{reference}","description":"","item":[{"id":"9a689a78-2ecc-4132-8826-371066432b25","name":"Transaction detail","request":{"name":"Transaction detail","description":{"content":"Get transaction information","type":"text/plain"},"url":{"path":["transactions",":reference"],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"<string>","key":"reference","disabled":false,"description":{"content":"(Required) Reference number","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"02ef87a9-7690-4a95-9bf1-cabeaaf74e61","name":"Success refund","originalRequest":{"url":{"path":["transactions",":reference"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": {\n    \"date\": \"<dateTime>\",\n    \"issuer\": \"claropay\",\n    \"authorization\": \"<string>\",\n    \"reference\": \"<string>\",\n    \"type\": \"payment\",\n    \"status\": \"ok\",\n    \"amount\": \"<integer>\",\n    \"tip\": \"<integer>\",\n    \"total\": \"<integer>\",\n    \"store\": \"<string>\",\n    \"affiliation\": \"<string>\",\n    \"terminal\": \"<string>\",\n    \"operator\": \"<string>\",\n    \"table\": \"<string>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6cd249eb-9b5d-4f0b-b845-13e416164fad","name":"Bad Request. The request was unacceptable, often due to missing a required parameter.","originalRequest":{"url":{"path":["transactions",":reference"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"error\": {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a26f6eb6-ce96-4478-b39b-27772095f37d","name":"Unauthorized. No valid access token provided.","originalRequest":{"url":{"path":["transactions",":reference"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"error\": {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3b11ed77-1d56-40a5-86ab-25b284328b34","name":"Forbidden. The access token doesn't have permissions to perform the request.","originalRequest":{"url":{"path":["transactions",":reference"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"error\": {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cfb8bae9-e611-494c-9924-eac6597246ad","name":"Internal Server Error. Something went wrong on Flux's end. (These are rare)","originalRequest":{"url":{"path":["transactions",":reference"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"error\": {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]}]}],"event":[],"variable":[{"key":"baseUrl","value":"https://sandbox.fluxqr.com/v3"}],"info":{"_postman_id":"11d02eb5-8c8b-4b45-9303-329d5ffad4d1","name":"Flux","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","description":{"content":"Documentation for Flux API to be able to perform transactions using user's QR Wallet\n\nContact Support:\n Email: soporte@fluxqr.com","type":"text/plain"}}}