{"info":{"_postman_id":"3cf5866f-f80b-4d2c-acb7-b6c19c2f9613","name":"FPAYMENT.CO","description":"<html><head></head><body><p>Tích hợp thanh toán Crypto tự động bằng API FPAYMENT.CO</p>\n<p>Nếu bạn cần hỗ trợ vui lòng liên hệ Telegram @ntthanhz</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"9826758","collectionId":"3cf5866f-f80b-4d2c-acb7-b6c19c2f9613","publishedId":"2s935ppiYd","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2023-02-07T08:38:23.000Z"},"item":[{"name":"Tạo hoá đơn","id":"c20f8cb0-8751-468b-a3cf-767d6539ce63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://fpayment.co/api/AddInvoice.php?address_wallet=TXJr6svJ3quRJEF7dJ7DD7q53fZGqoA4EG&token_wallet=06abf795xb21b7657ffd259453903e26&name=Recharge Website FPAYMENT.CO&description=Recharge User admin ID 1&amount=10&request_id=165965898492&callback=https://domain.com/callback_crypto.php&return_url=https://domain.com/history_crypto.php","urlObject":{"protocol":"https","path":["api","AddInvoice.php"],"host":["fpayment","co"],"query":[{"description":{"content":"<p>Địa chỉ ví Tron nhận tiền (không sử dụng địa chỉ tại Binance)</p>\n","type":"text/plain"},"key":"address_wallet","value":"TXJr6svJ3quRJEF7dJ7DD7q53fZGqoA4EG"},{"description":{"content":"<p>Token mà hệ thống tạo ra khi thêm ví vào FPAYMENT</p>\n","type":"text/plain"},"key":"token_wallet","value":"06abf795xb21b7657ffd259453903e26"},{"description":{"content":"<p>Nhập tên hoá đơn</p>\n","type":"text/plain"},"key":"name","value":"Recharge Website FPAYMENT.CO"},{"description":{"content":"<p>Nhập mô tả hoá đơn</p>\n","type":"text/plain"},"key":"description","value":"Recharge User admin ID 1"},{"description":{"content":"<p>Số tiền cần nạp, 10 = 10 USDT</p>\n","type":"text/plain"},"key":"amount","value":"10"},{"description":{"content":"<p>Mã giao dịch bí mật của hệ thống bạn (để xác minh khi callback)</p>\n","type":"text/plain"},"key":"request_id","value":"165965898492"},{"description":{"content":"<p>Liên kết nhận callback</p>\n","type":"text/plain"},"key":"callback","value":"https://domain.com/callback_crypto.php"},{"description":{"content":"<p>Liên kết quay về sau khi thanh toán</p>\n","type":"text/plain"},"key":"return_url","value":"https://domain.com/history_crypto.php"}],"variable":[]}},"response":[{"id":"4787ec39-d6d8-41cf-8113-1cc504da2352","name":"Response Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://fpayment.co/api/AddInvoice.php?address_wallet=TXJr6svJ3quRJEF7dJ7DD7q53fZGqoA4EG&token_wallet=06abf795xb21b7657ffd259453903e26&name=Recharge Website FPAYMENT.CO&description=Recharge User admin ID 1&amount=10&request_id=165965898492&callback=https://domain.com/callback_crypto.php&return_url=https://domain.com/history_crypto.php","protocol":"https","host":["fpayment","co"],"path":["api","AddInvoice.php"],"query":[{"key":"address_wallet","value":"TXJr6svJ3quRJEF7dJ7DD7q53fZGqoA4EG","description":"Địa chỉ ví Tron nhận tiền (không sử dụng địa chỉ tại Binance)"},{"key":"token_wallet","value":"06abf795xb21b7657ffd259453903e26","description":"Token mà hệ thống tạo ra khi thêm ví vào FPAYMENT"},{"key":"name","value":"Recharge Website FPAYMENT.CO","description":"Nhập tên hoá đơn"},{"key":"description","value":"Recharge User admin ID 1","description":"Nhập mô tả hoá đơn"},{"key":"amount","value":"10","description":"Số tiền cần nạp, 10 = 10 USDT"},{"key":"request_id","value":"165965898492","description":"Mã giao dịch bí mật của hệ thống bạn (để xác minh khi callback)"},{"key":"callback","value":"https://domain.com/callback_crypto.php","description":"Liên kết nhận callback"},{"key":"return_url","value":"https://domain.com/history_crypto.php","description":"Liên kết quay về sau khi thanh toán"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.19.1"},{"key":"Date","value":"Tue, 07 Feb 2023 07:38:28 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Upgrade","value":"h2"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"trans_id\": \"2bd2e9ecbb6d15711899cd38d494ee16\",\n        \"request_id\": \"165965898492\",\n        \"amount\": 9.9436515,\n        \"status\": \"waiting\",\n        \"network\": \"USDTTRC20\",\n        \"address\": \"TXJr6svJ3quRJEF7dJ7DD7q53fZGqoA4EG\",\n        \"url_payment\": \"https://fpayment.co/payment/2bd2e9ecbb6d15711899cd38d494ee16\"\n    },\n    \"status\": \"success\",\n    \"msg\": \"Invoice creation successful!\"\n}"},{"id":"335e8372-9b9e-4174-ad09-4d461a5b5110","name":"Response Error","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://fpayment.co/api/AddInvoice.php?address_wallet=TXJr6svJ3quRJEF7dJ7DD7q53fZGqoA4EG&token_wallet=06abf795xb21b7657ffd259453903e26&name=Recharge Website FPAYMENT.CO&description=Recharge User admin ID 1&amount=10&request_id=165965898492&callback=https://domain.com/callback_crypto.php&return_url=https://domain.com/history_crypto.php","protocol":"https","host":["fpayment","co"],"path":["api","AddInvoice.php"],"query":[{"key":"address_wallet","value":"TXJr6svJ3quRJEF7dJ7DD7q53fZGqoA4EG","description":"Địa chỉ ví Tron nhận tiền (không sử dụng địa chỉ tại Binance)"},{"key":"token_wallet","value":"06abf795xb21b7657ffd259453903e26","description":"Token mà hệ thống tạo ra khi thêm ví vào FPAYMENT"},{"key":"name","value":"Recharge Website FPAYMENT.CO","description":"Nhập tên hoá đơn"},{"key":"description","value":"Recharge User admin ID 1","description":"Nhập mô tả hoá đơn"},{"key":"amount","value":"10","description":"Số tiền cần nạp, 10 = 10 USDT"},{"key":"request_id","value":"165965898492","description":"Mã giao dịch bí mật của hệ thống bạn (để xác minh khi callback)"},{"key":"callback","value":"https://domain.com/callback_crypto.php","description":"Liên kết nhận callback"},{"key":"return_url","value":"https://domain.com/history_crypto.php","description":"Liên kết quay về sau khi thanh toán"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.19.1"},{"key":"Date","value":"Tue, 07 Feb 2023 07:37:10 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=qdfnpoops8vfserulk240cb8pr; path=/"},{"key":"Upgrade","value":"h2"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"msg\": \"Incorrect verification token\"\n}"}],"_postman_id":"c20f8cb0-8751-468b-a3cf-767d6539ce63"},{"name":"Callback","id":"9bc5581a-9941-47a3-a6b4-ed0beae96bc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{url_callback}?request_id&token&received&status=&from_address&transaction_id","urlObject":{"host":["{url_callback}"],"query":[{"description":{"content":"<p>request id mà bạn gửi lúc tạo hoá đơn</p>\n","type":"text/plain"},"key":"request_id","value":null},{"description":{"content":"<p>Token xác minh ví trong hệ thống</p>\n","type":"text/plain"},"key":"token","value":null},{"description":{"content":"<p>Số tiền cần nạp</p>\n","type":"text/plain"},"key":"received","value":null},{"description":{"content":"<p>Trạng thái waiting or completed or expired</p>\n","type":"text/plain"},"key":"status","value":""},{"description":{"content":"<p>Địa chỉ ví người gửi</p>\n","type":"text/plain"},"key":"from_address","value":null},{"description":{"content":"<p>Mã giao dịch trên mạng Tron</p>\n","type":"text/plain"},"key":"transaction_id","value":null}],"variable":[]}},"response":[],"_postman_id":"9bc5581a-9941-47a3-a6b4-ed0beae96bc9"},{"name":"Lấy danh sách hoá đơn","id":"8649d735-7c97-47a2-8373-a3e84ecc60c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://fpayment.co/api/ListInvoice.php?token_wallet=e102k1d92Gbd2xG86a49312g5a84bca8&address_wallet=TTYeqBaUC3Dp4LLUBmCZWH5FTDLDgbcE5b&limit=2","urlObject":{"protocol":"https","path":["api","ListInvoice.php"],"host":["fpayment","co"],"query":[{"description":{"content":"<p>Token xác minh</p>\n","type":"text/plain"},"key":"token_wallet","value":"e102k1d92Gbd2xG86a49312g5a84bca8"},{"description":{"content":"<p>Địa chỉ ví cần xem</p>\n","type":"text/plain"},"key":"address_wallet","value":"TTYeqBaUC3Dp4LLUBmCZWH5FTDLDgbcE5b"},{"description":{"content":"<p>Số lượng hoá đơn muốn lấy</p>\n","type":"text/plain"},"key":"limit","value":"2"}],"variable":[]}},"response":[{"id":"971f713e-0bc8-4af8-aa6b-9386d0d9e3c5","name":"Lấy danh sách hoá đơn","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://fpayment.co/api/ListInvoice.php?token_wallet=e102k1d92Gbd2xG86a49312g5a84bca8&address_wallet=TTYeqBaUC3Dp4LLUBmCZWH5FTDLDgbcE5b&limit=2","protocol":"https","host":["fpayment","co"],"path":["api","ListInvoice.php"],"query":[{"key":"token_wallet","value":"e102k1d92Gbd2xG86a49312g5a84bca8","description":"Token xác minh"},{"key":"address_wallet","value":"TTYeqBaUC3Dp4LLUBmCZWH5FTDLDgbcE5b","description":"Địa chỉ ví cần xem"},{"key":"limit","value":"2","description":"Số lượng hoá đơn muốn lấy"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.19.1"},{"key":"Date","value":"Tue, 07 Feb 2023 09:36:32 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Upgrade","value":"h2"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"msg\": \"Show list of successful invoices\",\n    \"data\": [\n        {\n            \"name\": \"Recharge\",\n            \"description\": \"Recharge invoice to danonline0\",\n            \"received\": \"9.946470\",\n            \"status\": \"expired\",\n            \"request_id\": \"8bff56f5779c05c276062e6244da916e\",\n            \"create_gettime\": \"2023-02-07 10:13:00\",\n            \"update_gettime\": \"2023-02-07 10:13:00\"\n        },\n        {\n            \"name\": \"Recharge\",\n            \"description\": \"Recharge invoice to joanstoresng\",\n            \"received\": \"299.958351\",\n            \"status\": \"completed\",\n            \"request_id\": \"6c07ecafa4d71795db7cb7bed7fc6df5\",\n            \"create_gettime\": \"2023-02-07 10:13:00\",\n            \"update_gettime\": \"2023-02-07 08:03:42\"\n        }\n    ]\n}"}],"_postman_id":"8649d735-7c97-47a2-8373-a3e84ecc60c7"}]}