{"info":{"name":"Paymegate Merchant API","description":"Server-to-server merchant API. Set baseUrl and apiKey before sending requests.","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},"auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key","type":"string"},{"key":"value","value":"{{apiKey}}","type":"string"},{"key":"in","value":"header","type":"string"}]},"variable":[{"key":"baseUrl","value":"http://localhost:3000/api"},{"key":"apiKey","value":""},{"key":"orderUUID","value":""},{"key":"payoutWallet","value":"0x0000000000000000000000000000000000000000"}],"item":[{"name":"Check provider status","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v1/payment-methods","host":["{{baseUrl}}"],"path":["v1","payment-methods"]}}},{"name":"Create order","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/v1/orders","host":["{{baseUrl}}"],"path":["v1","orders"]},"body":{"mode":"raw","raw":"{\n  \"amount\": \"20.00\",\n  \"currency\": \"USD\",\n  \"paymentMethodsKeys\": [\n    \"all\"\n  ],\n  \"customer\": {\n    \"email\": \"customer@example.com\",\n    \"fullName\": \"Example Customer\"\n  },\n  \"metadata\": {\n    \"source\": \"postman\"\n  }\n}","options":{"raw":{"language":"json"}}}}},{"name":"Get payout wallet","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v1/wallet","host":["{{baseUrl}}"],"path":["v1","wallet"]}}},{"name":"Update payout wallet","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/v1/wallet","host":["{{baseUrl}}"],"path":["v1","wallet"]},"body":{"mode":"raw","raw":"{\n  \"payoutWallet\": \"{{payoutWallet}}\",\n  \"orderWalletOverrideEnabled\": true\n}","options":{"raw":{"language":"json"}}}}},{"name":"Get webhook URL","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v1/webhook","host":["{{baseUrl}}"],"path":["v1","webhook"]}}},{"name":"Update webhook URL","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/v1/webhook","host":["{{baseUrl}}"],"path":["v1","webhook"]},"body":{"mode":"raw","raw":"{\n  \"url\": \"https://merchant.example/webhooks/paymegate\"\n}","options":{"raw":{"language":"json"}}}}}]}