cURL
curl --request PUT \ --url https://api.puppetvendors.com/v2/vendor/integrations/paypal \ --header 'Content-Type: application/json' \ --header 'x-access-token: <api-key>' \ --data ' { "email": "<string>" } '
Configure or update the vendor’s PayPal integration
{ "success": true, "data": { "integration": { "type": "paypal", "connected": true, "updatedAt": "2024-06-15T10:00:00.000Z" } } }
curl -X PUT https://api.puppetvendors.com/v2/vendor/integrations/paypal \ -H "Content-Type: application/json" \ -H "x-access-token: YOUR_VENDOR_JWT_TOKEN" \ -d '{ "email": "vendor@premiumcrafts.com" }'