Skip to content
Gave

Spend events

Your users' card transactions. Each is stored once, then processed right after the answer.

Send a spend event

POST/v1/spend-events

Sends one of your user's card transactions: an authorization, an incremental authorization, a clearing, a reversal or a refund. Only clearings earn rewards; authorizations give estimates. The event is stored before the answer, and processed right after it: the reward reaches the user's balance within seconds, and your webhook endpoint usually within seconds, at times a minute or more.

An event's ID is your integrator, the user, the kind and your transaction ID. Sending the same event again is answered as a duplicate and changes nothing, so retry freely; different content under the same ID is a 409. The user must be enrolled first, and occurredAt can't be more than a minute ahead of Gave's clock.

Request Body

application/json

Responses