API Reference
Payment refunded by staff
Sent as payment.refunded when GroGov staff refund one of your payments in the dashboard. data.reversalType is void when a full refund ran on a still-open batch.
WEBHOOK
Authorizations
Send your API key as Authorization: ApiKey pc_<your-key>. The API also accepts the key without the ApiKey prefix. API keys authenticate requests to /api/partner/v1/*. Contact GroGov support to rotate your key or deactivate your API account. Rotation invalidates the previous key. Account deactivation blocks both API keys and access tokens.
Headers
Body
application/json
A GroGov staff member refunded one of your payments.
Response
2XX
Received. Any other status, or no answer within 10 seconds, is retried.