Skip to content

purchase.updated

POST

A purchase changed status.

webhook-id
required
string

Unique id of this delivery. Deduplicate on it.

webhook-timestamp
required
string

Unix time in seconds when the delivery was signed.

webhook-signature
required
string

Standard Webhooks signature, v1,<base64 HMAC-SHA256> of id.timestamp.body.

Media typeapplication/json
PurchaseUpdatedWebhook

A purchase changed status.

object
data
required
PurchaseUpdatedData

The event payload, with external ids.

object
buyer
required
Buyer

External id of the buyer.

string
currency
required
Currency

ISO 4217 currency.

string
external_ref
required
Any of:
string
price_minor
required
Price Minor

Price in minor units of currency.

integer
purchase_id
required
Purchase Id

Id of the purchase.

string format: uuid
seller
required
Seller

External id of the seller.

string
status
required
Status

The new status.

string
Allowed values: pending paid insufficient failed cancelled
timestamp
required
Timestamp

When the event was emitted.

string format: date-time
type
required
Type

Always purchase.updated.

string
default: purchase.updated
Allowed value: purchase.updated

Any 2xx acknowledges it