{"info":{"_postman_id":"aa15bd75-ee62-4d48-ba9f-60e72adbe2b5","name":"TopupKuy","description":"<html><head></head><body><p>Halo👋, Berikut adalah dokumentasi untuk menghubungkan TopupKuy dengan website kalian.</p>\n<p>Harap membaca note dibawah sebelum memulai integrasi :</p>\n<ol>\n<li>Seluruh transaksi berhasil akan memotong saldo pada akun Anda di TopupKuy.</li>\n<li>Semua HTTP Request URL diarahkan ke url API kami yaitu <code>https://api.topupkuy.id</code></li>\n<li>Kami membungkus semua HTTP Response menggunakan <code>Content-Type: application/json</code></li>\n<li>Kami menggunakan apikey sebagai keamanan untuk mengakses API kami. Anda bisa dapatkan pada dashboard kami pada menu <code>Kredensial</code>. Lalu gunakan sebagai <code>Authorization Header</code></li>\n<li>Jika Anda mengingikan keamanan ekstra, harap whitelist IP Address Anda pada dashboard kami pada menu <code>Whitelist IP</code></li>\n<li>Jika Anda ingin menerima callback, harap mengatur URL Callback Anda pada dashboard kami pada menu <code>Webhook</code>. Anda juga bisa mengatur callback pada setiap transaksi yang Anda buat.</li>\n<li>Jika pada sistem Anda menerapkan whitelist IP, harap whitelist IP server kami yaitu <code>104.248.148.135</code></li>\n</ol>\n<p>Berikut Reponse Message yang mungkin akan Anda temui pada api kami :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Response Message</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>API_KEY_NOT_FOUND</td>\n<td>Apikey tidak valid atau tidak ditemukan.</td>\n</tr>\n<tr>\n<td>IP_NOT_WHITELISTED</td>\n<td>IP Address Anda tidak masuk kedalam whitelist server kami, harap cek menu dashboard <code>Whitelist IP</code> Anda kembali.</td>\n</tr>\n<tr>\n<td>INSUFFICIENT_BALANCE</td>\n<td>Saldo Anda tidak mencukupi untuk melakukan pembelian.</td>\n</tr>\n<tr>\n<td>INVOICE_NOT_FOUND</td>\n<td>Nomor invoice tidak ditemukan, Anda hanya bisa melihat invoice yang di generate dengan apikey Anda.</td>\n</tr>\n<tr>\n<td>INVALID_USER_ID</td>\n<td>User ID tidak ditemukan, coba cek kembali inputan Anda.</td>\n</tr>\n<tr>\n<td>NICKNAME_NOT_FOUND</td>\n<td>Nickname dengan user id dan/atau server id tidak ditemukan.</td>\n</tr>\n<tr>\n<td>DUPLICATE_TRX_ID</td>\n<td><code>trx_id</code> telah digunakan sebelumnya.</td>\n</tr>\n<tr>\n<td>PRODUCT_NOT_FOUND</td>\n<td>Kode produk tidak ditemukan.</td>\n</tr>\n<tr>\n<td>PRODUCT_INACTIVE</td>\n<td>Produk sedang tidak aktif.</td>\n</tr>\n<tr>\n<td>INVALID_CALLBACK_URL</td>\n<td>Callback url tidak valid.</td>\n</tr>\n<tr>\n<td>PAYMENT_METHOD_NOT_ALLOWED</td>\n<td>Untuk kategori e-wallet tidak dapat menggunakan saldo sebagai metode pembayaran.</td>\n</tr>\n<tr>\n<td>SERVER_ERROR</td>\n<td>Server mengalami error pada sisi kami.</td>\n</tr>\n</tbody>\n</table>\n</div></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"26453152","collectionId":"aa15bd75-ee62-4d48-ba9f-60e72adbe2b5","publishedId":"2s93RMTuma","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"8162f8"},"publishDate":"2023-03-23T01:53:32.000Z"},"item":[{"name":"API","item":[{"name":"Get user detail","id":"4c67ce98-d40e-4de5-85b1-fc6307e1a02d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"{apikey}","type":"text"}],"url":"https://api.topupkuy.id/v1/user","description":"<p>Untuk mendapatkan informasi user seperti, nama pengguna, sisa saldo, dll.</p>\n","urlObject":{"protocol":"https","path":["v1","user"],"host":["api","topupkuy","id"],"query":[],"variable":[]}},"response":[{"id":"47ba3874-38f2-4dbe-82c3-a48aa74a921d","name":"200 - User found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{apikey}","type":"text"}],"url":"https://api.topupkuy.id/v1/user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Mar 2023 22:42:20 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=VjFgCs8qWpXfa8lIf9mBmHx7EWETpCHhlvExlk4pYcuRPAM1bHzWjchxVqU%2BBPff90M2aaFLrnAQqRlXzioEGY6Y8pwdA%2B4Zhbu%2B9ZvTq%2FTLSNqznlcT8%2B5k6YOuekDGxD4%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":"7ac1f27b6a89410c-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"message\": \"success\",\n    \"data\": {\n        \"user_name\": \"TopupKuy\",\n        \"user_email\": \"email@topupkuy.id\",\n        \"user_phone\": \"628xxxxx\",\n        \"user_balance\": 123123,\n        \"user_created_at\": \"2023-03-23T00:00:00.000Z\",\n        \"user_updated_at\": \"2023-03-23T00:00:00.000Z\",\n        \"role_name\": \"Platinum Member\",\n        \"role_code\": \"platinum\"\n    }\n}"},{"id":"c24b63a6-fb0a-47ac-b834-7a60ac52369c","name":"404 - Apikey not found","originalRequest":{"method":"GET","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"{apikey}","type":"text"}],"url":"https://api.topupkuy.id/v1/user"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Mar 2023 22:40:12 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=PrEQPDC7oCVZ6Q6ThRs6iv%2B3dUy1gPhPB22QTmG1mybZScVaY1f4tulYFsxNRRyuiZpR7WeaH4UhS1F82A4r0GsINhLO0E5BWG67lcNN2CXLtiXUbjB%2FTkot8MW5VWDrIIA%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":"7ac1ef60ce9040aa-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 404,\n    \"message\": \"API_KEY_NOT_FOUND\",\n    \"error\": \"Not Found\"\n}"}],"_postman_id":"4c67ce98-d40e-4de5-85b1-fc6307e1a02d"},{"name":"Get products","id":"91dcfc94-0262-410e-a626-60db4833426e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"{apikey}","type":"text"}],"url":"https://api.topupkuy.id/v1/products","description":"<p>Digunakan untuk mendapatkan semua produk pada website kami.</p>\n","urlObject":{"protocol":"https","path":["v1","products"],"host":["api","topupkuy","id"],"query":[],"variable":[]}},"response":[{"id":"17efe7e1-a7ed-4f02-a4b4-e525ce0c2a43","name":"200 - Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{apikey}","type":"text"}],"url":"https://api.topupkuy.id/v1/products"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Mar 2023 23:29:29 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=dGbzUWDoeveXyMs013WzO0aLFt%2B43ZcWO%2FQn4hCYKohW4EHCEw0hngOHPwBpCO6bCiZ77FtKA3OPpr%2B9yKBWOk1ajaJi68GCGS%2F8Z4uX0pV8%2BlKbv9Mq74kQB6tIyFS0sII%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":"7ac2378fd90f48ee-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"message\": \"success\",\n    \"data\": [\n        {\n            \"product_id\": \"d8ccc4ea-e19d-4255-a7d0-f85d6fad0d77\",\n            \"product_name\": \"86 Diamonds\",\n            \"product_code\": \"S4_ML86\",\n            \"product_price\": 18624,\n            \"is_active\": true,\n            \"category_type\": \"game\",\n            \"category_title\": \"Mobile Legends\",\n            \"category_subtitle\": null\n        }\n    ]\n}"}],"_postman_id":"91dcfc94-0262-410e-a626-60db4833426e"},{"name":"Get products","id":"9d21ab99-817c-4eca-9ed3-f31e475a90d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"{apikey}","type":"text"}],"url":"https://api.topupkuy.id/v1/products","description":"<p>Digunakan untuk mendapatkan semua produk pada website kami.</p>\n","urlObject":{"protocol":"https","path":["v1","products"],"host":["api","topupkuy","id"],"query":[],"variable":[]}},"response":[{"id":"aadf011c-ff21-4382-9821-07e27a676cc6","name":"200 - Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{apikey}","type":"text"}],"url":"https://api.topupkuy.id/v1/products"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Mar 2023 23:29:29 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=dGbzUWDoeveXyMs013WzO0aLFt%2B43ZcWO%2FQn4hCYKohW4EHCEw0hngOHPwBpCO6bCiZ77FtKA3OPpr%2B9yKBWOk1ajaJi68GCGS%2F8Z4uX0pV8%2BlKbv9Mq74kQB6tIyFS0sII%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":"7ac2378fd90f48ee-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"message\": \"success\",\n    \"data\": [\n        {\n            \"product_id\": \"d8ccc4ea-e19d-4255-a7d0-f85d6fad0d77\",\n            \"product_name\": \"86 Diamonds\",\n            \"product_code\": \"S4_ML86\",\n            \"product_price\": 18624,\n            \"is_active\": true,\n            \"category_type\": \"game\",\n            \"category_title\": \"Mobile Legends\",\n            \"category_subtitle\": null\n        }\n    ]\n}"}],"_postman_id":"9d21ab99-817c-4eca-9ed3-f31e475a90d9"},{"name":"Get category","id":"38e04ebb-302d-4a6c-9ad3-2fbb3799b3aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"{apikey}","type":"text"}],"url":"https://api.topupkuy.id/v1/category","description":"<p>Digunakan untuk mendapatkan semua produk pada website kami.</p>\n","urlObject":{"protocol":"https","path":["v1","category"],"host":["api","topupkuy","id"],"query":[],"variable":[]}},"response":[{"id":"c011feee-1ef0-4541-819e-e57672a8d3d9","name":"200 - Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{apikey}","type":"text"}],"url":"https://api.topupkuy.id/v1/category"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"content-length","value":"24317"},{"key":"Date","value":"Wed, 17 Jan 2024 02:33:44 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=72"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"message\": \"success\",\n    \"data\": [\n        {\n            \"category_id\": \"dca1a711-b6e2-4158-98da-014eb5caf458\",\n            \"category_type\": \"game\",\n            \"category_title\": \"Mobile Legends\",\n            \"category_subtitle\": \"Montoon\",\n            \"category_banner\": null,\n            \"category_photo\": \"http://res.cloudinary.com/dk2yxqi3y/image/upload/v1700591984/logo/tnxifn7hdnpuz5ufgvzd.webp\",\n            \"category_slug\": \"mobile-legends\",\n            \"is_active\": 1,\n            \"is_server\": 1,\n            \"is_popular\": 1,\n            \"is_hotsale\": 0,\n            \"category_order\": 1\n        }\n    ]\n}"}],"_postman_id":"38e04ebb-302d-4a6c-9ad3-2fbb3799b3aa"},{"name":"Get products by category","id":"27bf6e28-46bf-4ab9-9f07-95287d2c7585","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"{apikey}","type":"text"}],"url":"https://api.topupkuy.id/v1/products?category_id=627f1695-a020-47fb-b59d-963021f87c60","description":"<p>Digunakan untuk mendapatkan semua produk pada website kami.</p>\n","urlObject":{"protocol":"https","path":["v1","products"],"host":["api","topupkuy","id"],"query":[{"key":"category_id","value":"627f1695-a020-47fb-b59d-963021f87c60"}],"variable":[]}},"response":[{"id":"f645907f-4738-42dc-8eab-995b2790a93e","name":"200 - Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{apikey}","type":"text"}],"url":"https://api.topupkuy.id/v1/products"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Mar 2023 23:29:29 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=dGbzUWDoeveXyMs013WzO0aLFt%2B43ZcWO%2FQn4hCYKohW4EHCEw0hngOHPwBpCO6bCiZ77FtKA3OPpr%2B9yKBWOk1ajaJi68GCGS%2F8Z4uX0pV8%2BlKbv9Mq74kQB6tIyFS0sII%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":"7ac2378fd90f48ee-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"message\": \"success\",\n    \"data\": [\n        {\n            \"product_id\": \"d8ccc4ea-e19d-4255-a7d0-f85d6fad0d77\",\n            \"product_name\": \"86 Diamonds\",\n            \"product_code\": \"S4_ML86\",\n            \"product_price\": 18624,\n            \"is_active\": true,\n            \"category_type\": \"game\",\n            \"category_title\": \"Mobile Legends\",\n            \"category_subtitle\": null\n        }\n    ]\n}"}],"_postman_id":"27bf6e28-46bf-4ab9-9f07-95287d2c7585"},{"name":"Get product detail by code","id":"97012a42-f1a3-4b2a-a5ca-10543c3a3fae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"{apikey}","type":"text"}],"url":"https://api.topupkuy.id/v1/product?product_code={product_code}","description":"<p>Digunakan untuk mendapatkan semua produk pada website kami.</p>\n","urlObject":{"protocol":"https","path":["v1","product"],"host":["api","topupkuy","id"],"query":[{"key":"product_code","value":"{product_code}"}],"variable":[]}},"response":[{"id":"4819641d-9420-4670-94f5-477e8c15ccf9","name":"200 - Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{apikey}","type":"text"}],"url":{"raw":"https://api.topupkuy.id/v1/product?product_code=S1_10835","protocol":"https","host":["api","topupkuy","id"],"path":["v1","product"],"query":[{"key":"product_code","value":"S1_10835"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Mar 2023 23:29:29 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=dGbzUWDoeveXyMs013WzO0aLFt%2B43ZcWO%2FQn4hCYKohW4EHCEw0hngOHPwBpCO6bCiZ77FtKA3OPpr%2B9yKBWOk1ajaJi68GCGS%2F8Z4uX0pV8%2BlKbv9Mq74kQB6tIyFS0sII%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":"7ac2378fd90f48ee-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"message\": \"success\",\n    \"data\": {\n        \"product_id\": \"00116691-900f-4753-a5d2-62f11a43469d\",\n        \"product_name\": \"60 + 1 Gems\",\n        \"product_code\": \"S1_10835\",\n        \"product_logo\": null,\n        \"product_price\": 11327,\n        \"is_active\": 1,\n        \"category_type\": \"game\",\n        \"category_title\": \"Goddess of Victory: Nikke\",\n        \"category_subtitle\": \"Level Infinite\"\n    }\n}"},{"id":"3f586c45-4c40-4020-b369-21c17cf680c8","name":"404 - Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{apikey}","type":"text"}],"url":{"raw":"https://api.topupkuy.id/v1/product?product_code=aaaaa","protocol":"https","host":["api","topupkuy","id"],"path":["v1","product"],"query":[{"key":"product_code","value":"aaaaa"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Aug 2023 17:31:04 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=NnXdXKkivd5iP3ilp2om9FUMIEvoZb5ZxXfURW%2BZzPc4bLQGMR5i6Iw6kJa9VQwkCAq%2BQGXv3kCY3B3nGG%2FxyPCwTCHAbE24OU1qx2zt5CcguBxEQhqH19wW2ZGPBebmWA%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":"7f104ac7b9533dfa-SIN"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 404,\n    \"message\": \"PRODUCT_NOT_FOUND\",\n    \"error\": \"Not Found\"\n}"}],"_postman_id":"97012a42-f1a3-4b2a-a5ca-10543c3a3fae"},{"name":"Get product detail by id","id":"6cb0fc7f-61a1-4b0d-896d-60111c87eaba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"{apikey}","type":"text"}],"url":"https://api.topupkuy.id/v1/product?product_id={product_id}","description":"<p>Digunakan untuk mendapatkan semua produk pada website kami.</p>\n","urlObject":{"protocol":"https","path":["v1","product"],"host":["api","topupkuy","id"],"query":[{"key":"product_id","value":"{product_id}"}],"variable":[]}},"response":[{"id":"873cffc5-377e-4751-8532-9e2db1dfad50","name":"200 - Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{apikey}","type":"text"}],"url":{"raw":"https://api.topupkuy.id/v1/product?product_id=00116691-900f-4753-a5d2-62f11a43469d","protocol":"https","host":["api","topupkuy","id"],"path":["v1","product"],"query":[{"key":"product_id","value":"00116691-900f-4753-a5d2-62f11a43469d"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Mar 2023 23:29:29 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=dGbzUWDoeveXyMs013WzO0aLFt%2B43ZcWO%2FQn4hCYKohW4EHCEw0hngOHPwBpCO6bCiZ77FtKA3OPpr%2B9yKBWOk1ajaJi68GCGS%2F8Z4uX0pV8%2BlKbv9Mq74kQB6tIyFS0sII%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":"7ac2378fd90f48ee-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"message\": \"success\",\n    \"data\": {\n        \"product_id\": \"00116691-900f-4753-a5d2-62f11a43469d\",\n        \"product_name\": \"60 + 1 Gems\",\n        \"product_code\": \"S1_10835\",\n        \"product_logo\": null,\n        \"product_price\": 11327,\n        \"is_active\": 1,\n        \"category_type\": \"game\",\n        \"category_title\": \"Goddess of Victory: Nikke\",\n        \"category_subtitle\": \"Level Infinite\"\n    }\n}"},{"id":"45005a13-79e9-41d7-9a29-9279b177f59b","name":"404 - Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{apikey}","type":"text"}],"url":{"raw":"https://api.topupkuy.id/v1/product?product_id=aaaaa","protocol":"https","host":["api","topupkuy","id"],"path":["v1","product"],"query":[{"key":"product_id","value":"aaaaa"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Aug 2023 17:31:04 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=NnXdXKkivd5iP3ilp2om9FUMIEvoZb5ZxXfURW%2BZzPc4bLQGMR5i6Iw6kJa9VQwkCAq%2BQGXv3kCY3B3nGG%2FxyPCwTCHAbE24OU1qx2zt5CcguBxEQhqH19wW2ZGPBebmWA%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":"7f104ac7b9533dfa-SIN"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 404,\n    \"message\": \"PRODUCT_NOT_FOUND\",\n    \"error\": \"Not Found\"\n}"}],"_postman_id":"6cb0fc7f-61a1-4b0d-896d-60111c87eaba"},{"name":"Get invoice detail","id":"93595f3f-5770-4e50-8d59-6b4947366aba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"{apikey}","type":"text"}],"url":"https://api.topupkuy.id/v1/status/:invoice_number","description":"<p>Digunakan untuk melihat detail invoice pada website kami berdasarkan invoice_number.</p>\n","urlObject":{"protocol":"https","path":["v1","status",":invoice_number"],"host":["api","topupkuy","id"],"query":[],"variable":[{"type":"any","value":"APIKUY_XX_1679528285_4321","key":"invoice_number"}]}},"response":[{"id":"4cefb954-2967-490e-897a-5d65ffdb4428","name":"200 - Invoice found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{apikey}","type":"text"}],"url":{"raw":"https://api.topupkuy.id/v1/status/:invoice_number","protocol":"https","host":["api","topupkuy","id"],"path":["v1","status",":invoice_number"],"variable":[{"key":"invoice_number","value":"APIKUY_XX_1679528285_4321"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Mar 2023 23:39:15 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=CngbXb3Y1nmHYyh3NcY68y0wXGxOYFPj9DmNvaB3DQWWSCpchFnC2HSjtoGxxaLtf0fI0TBjYIat%2BlyDlLbMg54%2FCbB0jtWk%2FLiEOgb1Thk0x4Zp4B3HlKaQUr9E%2FBGIu2o%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":"7ac245e05cc648ee-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"message\": \"success\",\n    \"data\": {\n        \"invoice_number\": \"APIKUY_XX_1679528285_4321\",\n        \"trx_id\": null,\n        \"response_note\": \"Nickname - 123456789(1234) . RefId: XX_1679528285_1234\",\n        \"category\": {\n            \"title\": \"Mobile Legends\",\n            \"subtitle\": null,\n            \"type\": \"game\"\n        },\n        \"product\": {\n            \"name\": \"5 (5+0) Diamonds\",\n            \"code\": \"S1_1187\",\n            \"price\": 1511\n        },\n        \"user_input\": {\n            \"user_id\": \"123456789\",\n            \"server_id\": \"1234\",\n            \"nickname\": \"Nickname\"\n        },\n        \"amount\": 1511,\n        \"status\": \"SUCCESS\", // SUCCESS | PARTIAL_SUCCESS | PENDING | PAID | REFUNDED | FAILED\n        \"voucher\": null,\n        \"created_at\": \"2023-03-22T23:38:05.000Z\"\n    }\n}"},{"id":"77fc76b9-af8f-4ab0-8a53-10a018372724","name":"404 - Inovoice not found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{apikey}","type":"text"}],"url":{"raw":"https://api.topupkuy.id/v1/status/:invoice_number","protocol":"https","host":["api","topupkuy","id"],"path":["v1","status",":invoice_number"],"variable":[{"key":"invoice_number","value":"APIKUY_XX_1679528285_4321"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Mar 2023 23:45:49 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=ZttWnLFm8c0Bx8bqA6JN76DDLH%2FJI6GszO8e0l5MXp7vGyvK9kQjtRV5pBw6tnnn4NpBgJBr5rBylLTetNxF3rCbZulJHtSrAWpMhaOghcQ8H1tb3Y5R2ITyWpBwUo9cPj4%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":"7ac24f7dd83948ee-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 404,\n    \"message\": \"INVOICE_NOT_FOUND\",\n    \"error\": \"Not Found\"\n}"}],"_postman_id":"93595f3f-5770-4e50-8d59-6b4947366aba"},{"name":"Get invoice detail by trx_id","id":"0148a85b-d41c-4163-9f1b-251bc09a203d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"{apikey}","type":"text"}],"url":"https://api.topupkuy.id/v1/status/trx-id/:trx_id","description":"<p>Digunakan untuk melihat detail invoice pada website kami berdasarkan trx_id.</p>\n","urlObject":{"protocol":"https","path":["v1","status","trx-id",":trx_id"],"host":["api","topupkuy","id"],"query":[],"variable":[{"type":"any","value":"xxxxxxxxx","key":"trx_id"}]}},"response":[{"id":"ea4a1491-7994-4c9c-85af-d9159a6bfc3b","name":"200 - Invoice found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{apikey}","type":"text"}],"url":{"raw":"https://api.topupkuy.id/v1/status/trx-id/:trx_id","protocol":"https","host":["api","topupkuy","id"],"path":["v1","status","trx-id",":trx_id"],"variable":[{"key":"trx_id","value":"xxxxxxxxx"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Mar 2023 23:39:15 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=CngbXb3Y1nmHYyh3NcY68y0wXGxOYFPj9DmNvaB3DQWWSCpchFnC2HSjtoGxxaLtf0fI0TBjYIat%2BlyDlLbMg54%2FCbB0jtWk%2FLiEOgb1Thk0x4Zp4B3HlKaQUr9E%2FBGIu2o%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":"7ac245e05cc648ee-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"message\": \"success\",\n    \"data\": {\n        \"invoice_number\": \"APIKUY_XX_1679528285_4321\",\n        \"trx_id\": \"xxxxxxxxx\",\n        \"response_note\": \"Nickname - 123456789(1234) . RefId: XX_1679528285_1234\",\n        \"category\": {\n            \"title\": \"Mobile Legends\",\n            \"subtitle\": null,\n            \"type\": \"game\"\n        },\n        \"product\": {\n            \"name\": \"5 (5+0) Diamonds\",\n            \"code\": \"S1_1187\",\n            \"price\": 1511\n        },\n        \"user_input\": {\n            \"user_id\": \"123456789\",\n            \"server_id\": \"1234\",\n            \"nickname\": \"Nickname\"\n        },\n        \"amount\": 1511,\n        \"status\": \"SUCCESS\", // SUCCESS | PARTIAL_SUCCESS | PENDING | PAID | REFUNDED | FAILED\n        \"voucher\": null,\n        \"created_at\": \"2023-03-22T23:38:05.000Z\"\n    }\n}"},{"id":"2e325df9-824a-424e-a92a-7780f2a1bc78","name":"404 - Inovoice not found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{apikey}","type":"text"}],"url":{"raw":"https://api.topupkuy.id/v1/status/trx-id/:trx_id","protocol":"https","host":["api","topupkuy","id"],"path":["v1","status","trx-id",":trx_id"],"variable":[{"key":"trx_id","value":"xxxxxxxxx"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Mar 2023 23:45:49 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=ZttWnLFm8c0Bx8bqA6JN76DDLH%2FJI6GszO8e0l5MXp7vGyvK9kQjtRV5pBw6tnnn4NpBgJBr5rBylLTetNxF3rCbZulJHtSrAWpMhaOghcQ8H1tb3Y5R2ITyWpBwUo9cPj4%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":"7ac24f7dd83948ee-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 404,\n    \"message\": \"INVOICE_NOT_FOUND\",\n    \"error\": \"Not Found\"\n}"}],"_postman_id":"0148a85b-d41c-4163-9f1b-251bc09a203d"},{"name":"Create api order","id":"961b17bb-0472-4f86-a41d-81884928ab87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"{apikey}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"product_code\": \"S1_1187\",\r\n    \"user_id\": \"123456789\",\r\n    \"server_id\": \"1234\",\r\n    \"trx_id\": \"853cdef4-7cf6-453a-b3a1-ba85d1e1c28a\",\r\n    \"callback_url\": \"https://your-website.com/callback\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.topupkuy.id/v1/order","description":"<p>Digunakan untuk melakukan pembelian melalui api pada website kami.</p>\n","urlObject":{"protocol":"https","path":["v1","order"],"host":["api","topupkuy","id"],"query":[],"variable":[]}},"response":[{"id":"45beb292-2b0e-4d81-9421-17d64b9b8f44","name":"200 - Order created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{apikey}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"product_code\": \"S1_1187\",\r\n    \"user_id\": \"123456789\",\r\n    \"server_id\": \"1234\",\r\n    \"trx_id\": \"853cdef4-7cf6-453a-b3a1-ba85d1e1c28a\",\r\n    \"callback_url\": \"https://your-website.com/callback\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.topupkuy.id/v1/order"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Mar 2023 23:38:07 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"445"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=1GcRUBJ2VJH9iVvUm8QvWX1sDg1D%2BYBj59M7jFy6jucZRcWH%2Fh9JFF3oc3CKdCGxlLMNI0cnboj7aqGW%2FgbS2ToXGktW7eZRJjS9L953en4W2yxLpP%2FNqMiVc%2F473PrwagM%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":"7ac244289f3e48ee-SIN"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"message\": \"success\",\n    \"data\": {\n        \"invoice_number\": \"APIKUY_XX_1679528285_4321\",\n        \"trx_id\": null,\n        \"response_note\": \"Nickname - 123456789(1234) . RefId: XX_1679528285_1234\",\n        \"category\": {\n            \"title\": \"Mobile Legends\",\n            \"subtitle\": null,\n            \"type\": \"game\"\n        },\n        \"product\": {\n            \"name\": \"5 (5+0) Diamonds\",\n            \"code\": \"S1_1187\",\n            \"price\": 1511\n        },\n        \"user_input\": {\n            \"user_id\": \"123456789\",\n            \"server_id\": \"1234\",\n            \"nickname\": \"Nickname\"\n        },\n        \"amount\": 1511,\n        \"status\": \"SUCCESS\", // SUCCESS | PARTIAL_SUCCESS | PENDING | PAID | REFUNDED | FAILED\n        \"voucher\": null,\n        \"created_at\": \"2023-03-22T23:38:05.000Z\"\n    }\n}"}],"_postman_id":"961b17bb-0472-4f86-a41d-81884928ab87"},{"name":"Create api order v2","id":"1022127a-0809-4796-8c03-18527117cdc1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"{apikey}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"product_code\": \"S1_1187\",\r\n    \"user_id\": \"123456789\",\r\n    \"server_id\": \"1234\",\r\n    \"trx_id\": \"853cdef4-7cf6-453a-b3a1-ba85d1e1c28a\",\r\n    \"callback_url\": \"https://your-website.com/callback\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.topupkuy.id/v2/order","description":"<p>Digunakan untuk melakukan pembelian melalui api pada website kami. Jika Anda memasukkan trx_id yang sama maka akan kami anggap sebagai cek status transaksi.</p>\n","urlObject":{"protocol":"https","path":["v2","order"],"host":["api","topupkuy","id"],"query":[],"variable":[]}},"response":[{"id":"3c527291-f911-41d0-baab-27c3e386611a","name":"200 - Order created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{apikey}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"product_code\": \"S1_1187\",\r\n    \"user_id\": \"123456789\",\r\n    \"server_id\": \"1234\",\r\n    \"trx_id\": \"853cdef4-7cf6-453a-b3a1-ba85d1e1c28a\",\r\n    \"callback_url\": \"https://your-website.com/callback\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.topupkuy.id/v2/order"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Mar 2023 23:38:07 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"445"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=1GcRUBJ2VJH9iVvUm8QvWX1sDg1D%2BYBj59M7jFy6jucZRcWH%2Fh9JFF3oc3CKdCGxlLMNI0cnboj7aqGW%2FgbS2ToXGktW7eZRJjS9L953en4W2yxLpP%2FNqMiVc%2F473PrwagM%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":"7ac244289f3e48ee-SIN"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"message\": \"success\",\n    \"data\": {\n        \"invoice_number\": \"APIKUY_XX_1679528285_4321\",\n        \"trx_id\": null,\n        \"response_note\": \"Nickname - 123456789(1234) . RefId: XX_1679528285_1234\",\n        \"category\": {\n            \"title\": \"Mobile Legends\",\n            \"subtitle\": null,\n            \"type\": \"game\"\n        },\n        \"product\": {\n            \"name\": \"5 (5+0) Diamonds\",\n            \"code\": \"S1_1187\",\n            \"price\": 1511\n        },\n        \"user_input\": {\n            \"user_id\": \"123456789\",\n            \"server_id\": \"1234\",\n            \"nickname\": \"Nickname\"\n        },\n        \"amount\": 1511,\n        \"status\": \"SUCCESS\", // SUCCESS | PARTIAL_SUCCESS | PENDING | PAID | REFUNDED | FAILED\n        \"voucher\": null,\n        \"created_at\": \"2023-03-22T23:38:05.000Z\"\n    }\n}"}],"_postman_id":"1022127a-0809-4796-8c03-18527117cdc1"},{"name":"Create api deposit","id":"0e6e0bff-b3dc-4df0-84d7-bd6b0beab5b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"{apikey}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"amount\": 9000,\r\n  \"bank\": \"BCA\" // BCA, BNI, MANDIRI\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.topupkuy.id/v1/deposit","description":"<p>Digunakan untuk melakukan deposit melalui api pada website kami.</p>\n","urlObject":{"protocol":"https","path":["v1","deposit"],"host":["api","topupkuy","id"],"query":[],"variable":[]}},"response":[{"id":"e3ad8ada-82ae-4192-98bd-5f8bea0b085b","name":"201 - Deposit created","originalRequest":{"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"{apikey}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"amount\": 250000000,\r\n  \"bank\": \"BCA\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.topupkuy.id/v1/deposit"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 09 Feb 2024 17:43:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"197"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=AA7Yl4LGfW%2BlTUohXL3xydLjhl84TLj6RAQ%2BpLb4zaxj%2BxUVk6kQ5VCzytO5hdU8ssSyQ7hNEpH48M1dfOt6XCgmZb%2BfT6RngfM2h%2FhJFm8YHBH6HbFbI3FSf7DbW%2FpI1w%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":"852de981d995a125-SIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 201,\n    \"message\": \"success\",\n    \"data\": {\n        \"invoice_number\": \"D707500xxxxxxxxxx\",\n        \"payment\": {\n            \"account_number\": \"xxxxxxx\",\n            \"account_name\": \"TopupKuy\",\n            \"total_amount\": 250000813\n        }\n    }\n}"},{"id":"c61e8140-ad61-4753-9704-5946a0d6f240","name":"400 - More than maximum limit","originalRequest":{"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"{apikey}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"amount\": 2500000000,\r\n  \"bank\": \"BCA\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.topupkuy.id/v1/deposit"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 09 Feb 2024 17:44:09 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=sBioJqfjDS5jeu7iYLXN7zl7kyOi8bNHDuTa%2FcsqA%2BH8uweMnnSTJU0jfW3ciKgrrdzIhNHAW%2BZcLf3kKt5qsoJDUE3zed%2BoOoljByMChr5DQdoAt0q4fifotifAyTeaVg%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":"852deb318856a125-SIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 400,\n    \"message\": \"Maximum amount is 250.000.000\",\n    \"error\": \"Bad Request\"\n}"},{"id":"862354fb-9949-48dc-ad4a-19156581ad6c","name":"400 - Less than minimum limit","originalRequest":{"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"{apikey}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"amount\": 9000,\r\n  \"bank\": \"BCA\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.topupkuy.id/v1/deposit"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 09 Feb 2024 17:44:35 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"77"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=jJp%2Brn5EYxmzhrXQA6gAe%2FE%2F48%2Bs716Uj7DqmfxU5or4kGuWzwLhxaFnjp3gaHiXYzMerXdINBTulcxD69GQmf4TZEFyl8oCH438VRxViPUwBuEBaRY%2FyoU6okZQM7%2BZWw%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":"852debd39861a125-SIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 400,\n    \"message\": \"Minimum amount is 10.000\",\n    \"error\": \"Bad Request\"\n}"}],"_postman_id":"0e6e0bff-b3dc-4df0-84d7-bd6b0beab5b1"}],"id":"20a00fd6-c26f-4e13-9c16-4ece3cb1d6e2","_postman_id":"20a00fd6-c26f-4e13-9c16-4ece3cb1d6e2","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{apikey}"}]},"isInherited":true,"source":{"_postman_id":"aa15bd75-ee62-4d48-ba9f-60e72adbe2b5","id":"aa15bd75-ee62-4d48-ba9f-60e72adbe2b5","name":"TopupKuy","type":"collection"}}},{"name":"H2H (Otomax)","item":[{"name":"Create otomax order","id":"b0a21414-9555-415e-90eb-6da7a02aa309","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.topupkuy.id/v1/otomax/order?apikey={apikey}&product_code=S1_1187&user_id=123456789&server_id=1234&trx_id=1234243244&callback_url=https://your-website.com/callback","description":"<p>Digunakan untuk melakukan pembelian melalui otomax pada website kami.</p>\n","urlObject":{"protocol":"https","path":["v1","otomax","order"],"host":["api","topupkuy","id"],"query":[{"key":"apikey","value":"{apikey}"},{"key":"product_code","value":"S1_1187"},{"key":"user_id","value":"123456789"},{"key":"server_id","value":"1234"},{"key":"trx_id","value":"1234243244"},{"key":"callback_url","value":"https://your-website.com/callback"}],"variable":[]}},"response":[{"id":"a015fa48-8a7f-4e06-9fac-f1d93d42ba96","name":"200 - Order created","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.topupkuy.id/v1/otomax/order?apikey={apikey}&product_code=S1_1187&user_id=123456789&server_id=1234&trx_id=123424324","protocol":"https","host":["api","topupkuy","id"],"path":["v1","otomax","order"],"query":[{"key":"apikey","value":"{apikey}"},{"key":"product_code","value":"S1_1187"},{"key":"user_id","value":"123456789"},{"key":"server_id","value":"1234"},{"key":"trx_id","value":"123424324"}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sun, 02 Apr 2023 03:24:38 GMT"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=WtbFyW7re1Etk6PSXEPKG3ROec2g1EQnkJE4gCVBLwj9NEL6OcdbGUrvfiBnW4aGLKZzkqe1hF1HPslmrory3Frg7xjKdg6ZJ0zfbABmYaHNQwJrqbiocX0akUMdK4qR3aw%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":"7b15f5b6f823473f-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"R#123424324 S1_1187.123456789|1234, status PENDING. RefId : ML_1680405885_1234 . Sisa saldo 12345"}],"_postman_id":"b0a21414-9555-415e-90eb-6da7a02aa309"},{"name":"Create otomax order v2","id":"f0ac66ae-f763-468a-b4f3-87073b4f1b25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.topupkuy.id/v2/otomax/order?apikey={apikey}&product_code=S1_1187&user_id=1234567891234&trx_id=1234243244&callback_url=https://your-website.com/callback","description":"<p>Digunakan untuk melakukan pembelian melalui otomax pada website kami.</p>\n","urlObject":{"protocol":"https","path":["v2","otomax","order"],"host":["api","topupkuy","id"],"query":[{"key":"apikey","value":"{apikey}"},{"key":"product_code","value":"S1_1187"},{"key":"user_id","value":"1234567891234"},{"key":"trx_id","value":"1234243244"},{"key":"callback_url","value":"https://your-website.com/callback"}],"variable":[]}},"response":[{"id":"e987cbfa-d94e-4273-b07f-ef1e658d3dd8","name":"200 - Order created","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.topupkuy.id/v1/otomax/order?apikey={apikey}&product_code=S1_1187&user_id=123456789&server_id=1234&trx_id=123424324","protocol":"https","host":["api","topupkuy","id"],"path":["v1","otomax","order"],"query":[{"key":"apikey","value":"{apikey}"},{"key":"product_code","value":"S1_1187"},{"key":"user_id","value":"123456789"},{"key":"server_id","value":"1234"},{"key":"trx_id","value":"123424324"}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sun, 02 Apr 2023 03:24:38 GMT"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=WtbFyW7re1Etk6PSXEPKG3ROec2g1EQnkJE4gCVBLwj9NEL6OcdbGUrvfiBnW4aGLKZzkqe1hF1HPslmrory3Frg7xjKdg6ZJ0zfbABmYaHNQwJrqbiocX0akUMdK4qR3aw%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":"7b15f5b6f823473f-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"R#123424324 S1_1187.123456789|1234, status PENDING. RefId : ML_1680405885_1234 . Sisa saldo 12345"}],"_postman_id":"f0ac66ae-f763-468a-b4f3-87073b4f1b25"},{"name":"Create otomax order v3","id":"73541f2d-70da-4e32-a869-4cd58cf9cef7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.topupkuy.id/v3/otomax/order?apikey={apikey}&product_code=S1_1187&user_id=1234567891234&trx_id=1234243244&callback_url=https://your-website.com/callback","description":"<p>Digunakan untuk melakukan pembelian melalui otomax pada website kami. Jika Anda memasukkan trx_id yang sama maka akan kami anggap sebagai cek status transaksi.</p>\n","urlObject":{"protocol":"https","path":["v3","otomax","order"],"host":["api","topupkuy","id"],"query":[{"key":"apikey","value":"{apikey}"},{"key":"product_code","value":"S1_1187"},{"key":"user_id","value":"1234567891234"},{"key":"trx_id","value":"1234243244"},{"key":"callback_url","value":"https://your-website.com/callback"}],"variable":[]}},"response":[{"id":"4fa36cf1-a963-463b-aec5-eb22c1c5507e","name":"200 - Order created","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.topupkuy.id/v1/otomax/order?apikey={apikey}&product_code=S1_1187&user_id=123456789&server_id=1234&trx_id=123424324","protocol":"https","host":["api","topupkuy","id"],"path":["v1","otomax","order"],"query":[{"key":"apikey","value":"{apikey}"},{"key":"product_code","value":"S1_1187"},{"key":"user_id","value":"123456789"},{"key":"server_id","value":"1234"},{"key":"trx_id","value":"123424324"}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sun, 02 Apr 2023 03:24:38 GMT"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=WtbFyW7re1Etk6PSXEPKG3ROec2g1EQnkJE4gCVBLwj9NEL6OcdbGUrvfiBnW4aGLKZzkqe1hF1HPslmrory3Frg7xjKdg6ZJ0zfbABmYaHNQwJrqbiocX0akUMdK4qR3aw%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":"7b15f5b6f823473f-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"R#123424324 S1_1187.123456789|1234, status PENDING. RefId : ML_1680405885_1234 . Sisa saldo 12345"}],"_postman_id":"73541f2d-70da-4e32-a869-4cd58cf9cef7"},{"name":"Get otomax invoice detail","id":"d0af237f-42b8-42f9-a200-caf2707fe5a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.topupkuy.id/v1/otomax/status/:invoice_number?apikey={apikey}","description":"<p>StartFragment</p>\n<p>Digunakan untuk melakukan pembelian melalui otomax pada website kami.</p>\n","urlObject":{"protocol":"https","path":["v1","otomax","status",":invoice_number"],"host":["api","topupkuy","id"],"query":[{"key":"apikey","value":"{apikey}"}],"variable":[{"type":"any","value":"APIKUY_XX_1679528285_4321","key":"invoice_number"}]}},"response":[{"id":"a02b2f1f-db7c-428b-a1b1-d53bb9e860db","name":"200 - Invoice found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.topupkuy.id/v1/otomax/status/:invoice_number?apikey={apikey}","protocol":"https","host":["api","topupkuy","id"],"path":["v1","otomax","status",":invoice_number"],"query":[{"key":"apikey","value":"{apikey}"}],"variable":[{"key":"invoice_number","value":"APIKUY_XX_1679528285_4321"}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sun, 02 Apr 2023 07:58:10 GMT"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=AcxVAHxgxUqOS8hbwHoHXwretdzsTQOLr74yUFNyH3H8jn0%2BtvbS4Am44QVp%2B14TgAWC%2BV3s1m81xJze3pBRD5Wx0KCKsIt392xvQK5vaKymlcade8PR6r6pZDv%2Bi4iF9ds%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":"7b178671e9899e20-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"R#1234243244 APIKUY_XX_1679528285_4321 S1_1187.123456789(1234), status SUCCESS. Nickname - 123456789(1234) . RefId: XX_1679528285_4321 . Sisa saldo 12343"}],"_postman_id":"d0af237f-42b8-42f9-a200-caf2707fe5a6"},{"name":"Get otomax user detail","id":"a9ada19b-1f02-4191-b8b1-673b79f350e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.topupkuy.id/v1/otomax/user?apikey={apikey}","description":"<p>Untuk mendapatkan informasi user seperti, nama pengguna, sisa saldo, dll.</p>\n","urlObject":{"protocol":"https","path":["v1","otomax","user"],"host":["api","topupkuy","id"],"query":[{"key":"apikey","value":"{apikey}"}],"variable":[]}},"response":[{"id":"05761e58-d784-440f-aa37-8cb5f5541d93","name":"200 - User found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.topupkuy.id/v1/otomax/user?apikey={apikey}","protocol":"https","host":["api","topupkuy","id"],"path":["v1","otomax","user"],"query":[{"key":"apikey","value":"{apikey}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sun, 02 Apr 2023 08:01:02 GMT"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=FXtpK%2F6lyEF53qsdWJ%2B0XV5PcUzyCsl50zHspr%2BAyoEn%2FKmF6NtJMT1ucDU0OEo%2BZExJBKzBHtdvMVE%2FbeY79MftlRWzcFQz2XwrFgj1bua%2FIkNazF0240YWWKwXX0phbZo%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":"7b178aa7e9ae9e20-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"TopupKuy. topupkuy@topupkuy.id. plan Platinum Member. balance 1234344"}],"_postman_id":"a9ada19b-1f02-4191-b8b1-673b79f350e1"}],"id":"38760058-e63f-48c1-b9b5-42f7ab5203e3","_postman_id":"38760058-e63f-48c1-b9b5-42f7ab5203e3","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{apikey}"}]},"isInherited":true,"source":{"_postman_id":"aa15bd75-ee62-4d48-ba9f-60e72adbe2b5","id":"aa15bd75-ee62-4d48-ba9f-60e72adbe2b5","name":"TopupKuy","type":"collection"}}},{"name":"Callback","item":[{"name":"Callback API","item":[],"id":"67dcefdf-3b15-4ddf-a13a-93f196a4b394","description":"<p>Berikut contoh data Callback / Webhook yang akan kami kirimkan:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"invoice_number\": \"APIKUY_XX_1679528285_4321\",\n    \"trx_id\": null,\n    \"response_note\": \"Nickname - 123456789(1234) . RefId: XX_1679528285_1234\",\n    \"category\": {\n        \"title\": \"Mobile Legends\",\n        \"subtitle\": null,\n        \"type\": \"game\"\n    },\n    \"product\": {\n        \"name\": \"5 (5+0) Diamonds\",\n        \"code\": \"S1_1187\",\n        \"price\": 1511\n    },\n    \"user_input\": {\n        \"user_id\": \"123456789\",\n        \"server_id\": \"1234\",\n        \"nickname\": \"Nickname\"\n    },\n    \"balance\": 12345678,\n    \"amount\": 1511,\n    \"status\": \"SUCCESS\", // SUCCESS | PARTIAL_SUCCESS | REFUNDED | FAILED\n    \"voucher\": null,\n    \"created_at\": 1729926123\n}\n\n</code></pre>\n<p>Dengan tambahan header <code>x-signature</code> untuk validasi data dengan formula HMAC-SHA256 dengan apikey sebagai secret key, berikut contoh pembuatan signature :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">const { createHmac } = require('crypto')\nconst data = {\n    \"invoice_number\": \"APIKUY_XX_1679528285_4321\",\n    \"trx_id\": null,\n    \"response_note\": \"Nickname - 123456789(1234) . RefId: XX_1679528285_1234\",\n    \"category\": {\n        \"title\": \"Mobile Legends\",\n        \"subtitle\": null,\n        \"type\": \"game\"\n    },\n    \"product\": {\n        \"name\": \"5 (5+0) Diamonds\",\n        \"code\": \"S1_1187\",\n        \"price\": 1511\n    },\n    \"user_input\": {\n        \"user_id\": \"123456789\",\n        \"server_id\": \"1234\",\n        \"nickname\": \"Nickname\"\n    },\n    \"balance\": 12345678,\n    \"amount\": 1511,\n    \"status\": \"SUCCESS\", // SUCCESS | PARTIAL_SUCCESS | REFUNDED | FAILED\n    \"voucher\": null,\n    \"created_at\": 1729926123\n}\nconst apikey = '{apikey}'\nconst signature = createHmac('sha256', apikey).update(JSON.stringify(data)).digest('hex')\nconsole.log(signature)\n\n</code></pre>\n","_postman_id":"67dcefdf-3b15-4ddf-a13a-93f196a4b394","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"a85e200d-c280-4c78-88a7-19ef6f3dc35e","id":"a85e200d-c280-4c78-88a7-19ef6f3dc35e","name":"Callback","type":"folder"}}},{"name":"Callback Otomax","item":[],"id":"e1590247-9a0f-4066-98b5-08b12667cabf","description":"<p>Berikut adalah HTTP Request dengan HTTP Method GET yang akan kami kirimkan ke URL Callback Anda:</p>\n<p><code>https://your-website.com/callback?invoice_number=APIKUY_XX_1679528285_4321&amp;trx_id=1234243244&amp;status=SUCCESS&amp;sn=Nickname%20-%20123456789(1234)%20.%20RefId:%20XX_1679528285_4321&amp;msg=R#1234243244%20APIKUY_XX_1679528285_4321%20S1_1187.123456789(1234),%20status%20SUCCESS.%20Nickname%20-%20123456789(1234)%20.%20RefId:%20XX_1679528285_4321%20.%20Sisa%20saldo%2012343</code></p>\n<p>Dengan data seperti berikut:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"invoice_number\": \"APIKUY_XX_1679528285_4321\",\n    \"trx_id\": \"1234243244\",\n    \"status\": \"SUCCESS\", // SUCCESS | PARTIAL_SUCCESS | REFUNDED | FAILED\n    \"product_price\": 1000,\n    \"sn\": \"Nickname - 123456789(1234) . RefId: XX_1679528285_4321\",\n    \"msg\": \"R#1234243244 APIKUY_XX_1679528285_4321 S1_1187.123456789(1234), status SUCCESS. Nickname - 123456789(1234) . RefId: XX_1679528285_4321 . Sisa saldo 12343\"\n}\n\n</code></pre>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"dd2af5a0-306d-4c45-9b79-be004de660b2","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3cd79215-6f35-4dc1-9315-32a53139004f","type":"text/javascript","exec":[""]}}],"_postman_id":"e1590247-9a0f-4066-98b5-08b12667cabf"}],"id":"a85e200d-c280-4c78-88a7-19ef6f3dc35e","description":"<p>Ini adalah dokumentasi untuk callback dari server kami. Sebelum lanjut, jika pada sistem Anda terdapat whitelist ip, harap whitelist ip address server kami yaitu <code>104.248.148.135.</code></p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"40987d36-20b5-4523-9b20-94821e697d26","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"265e73ce-a1b9-4a15-968f-e07cc37f8a3e","type":"text/javascript","exec":[""]}}],"_postman_id":"a85e200d-c280-4c78-88a7-19ef6f3dc35e"},{"name":"New Request","id":"95b6082b-f0a1-4973-8e14-98e2e77e310e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{apikey}"}]},"isInherited":true,"source":{"_postman_id":"aa15bd75-ee62-4d48-ba9f-60e72adbe2b5","id":"aa15bd75-ee62-4d48-ba9f-60e72adbe2b5","name":"TopupKuy","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"95b6082b-f0a1-4973-8e14-98e2e77e310e"}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{apikey}"}]}},"event":[{"listen":"prerequest","script":{"id":"3070872a-11c8-48d8-a802-a9d8fa41a7a5","type":"text/javascript","requests":{},"exec":[""]}},{"listen":"test","script":{"id":"31692695-d540-4ece-ab15-30be1c1b7352","type":"text/javascript","requests":{},"exec":[""]}}],"variable":[{"key":"apikey","value":"{apikey}"}]}