Card status change
Webhook that is called when a card’s lifecycle status changes. Fires on PROCESSING → ACTIVE | PENDING_AUTH, ACTIVE ⇄ PENDING_AUTH as funding sources or delegated signing authorization change, on PROCESSING → CLOSED (ISSUER_REJECTED) when issuer provisioning fails, and on every subsequent ACTIVE ⇄ FROZEN, PENDING_AUTH → FROZEN, and → CLOSED transition.
This endpoint should be implemented by clients of the Grid API.
Authentication
The webhook includes a signature in the X-Grid-Signature header that allows you to verify that the webhook was sent by Grid.
To verify the signature:
- Get the Grid public key provided to you during integration
- Decode the base64 signature from the header
- Create a SHA-256 hash of the request body
- Verify the signature using the public key and the hash
If the signature verification succeeds, the webhook is authentic. If not, it should be rejected.
Authorizations
Secp256r1 (P-256) asymmetric signature of the webhook payload, which can be used to verify that the webhook was sent by Grid. To verify the signature:
- Get the Grid public key provided to you during integration
- Decode the base64 signature from the header
- Create a SHA-256 hash of the request body
- Verify the signature using the public key and the hash
If the signature verification succeeds, the webhook is authentic. If not, it should be rejected.
Body
Response
Webhook received successfully