Skip to main content
WEBHOOK

Authorizations

Authorization
string
header
required

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

GroGov-Signature
string
required

t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>", keyed with your endpoint secret>

GroGov-Event-Id
string
required
GroGov-Event-Type
string
required

Body

application/json

A cardholder dispute (chargeback) on one of your payments opened or changed status.

id
string
required

Event id, the same on every delivery attempt. Use it to identify duplicate deliveries.

Example:

"evt_9a8b7c6d5e4f3a2b1c0d9e8f7a6b5c4d"

type
enum<string>
required
Available options:
payment.disputed
createdAt
string<date-time>
required
data
object
required

Response

2XX

Received. Any other status, or no answer within 10 seconds, is retried.