{ "success": false, "error": { "status": 404, "code": "MERCHANT_NOT_FOUND", "message": "Merchant not found" }, "data": null }
Edit merchant details
curl -X PATCH https://api.transaction.gg/merchant/edit \ -H "Authorization: Bearer jwt_token" \ -H "Content-Type: application/json" \ -d '{ "merchantId": "merchant_uuid", "name": "Updated Store Name", "description": "Updated description", "webhookUrl": "https://mystore.com/webhook" }'
{ "success": true, "data": { "merchant": { "id": "merchant_uuid", "name": "Updated Store Name", "description": "Updated description", "webhookUrl": "https://mystore.com/webhook" } } }