Skip to navigation

payment.returned

A payment was returned. Committed atomically with its resource transition, carrying the resource in data. Read the linked resource for current state. Delivery is signed and at least once; deduplicate by event id, use delivery history/replay, and tolerate out-of-order delivery.

Payload

The payload of this webhook request is an object.
idstringRequiredformat: "uuid"
Event identifier, identical on every delivery attempt and replay.
object"event"Required

Always event.

typestringRequiredformat: "^[a-z][A-Za-z]*(\.[a-z][A-Za-z]*){1,2}$"<=64 characters

<object>.<pastTenseVerb> or <object>.<child>.<pastTenseVerb>.

apiVersion"2.0"Required

Always 2.0.

createdAtdatetimeRequired

When the change committed; not an ordering token.

livemodebooleanRequired

true on a live platform in production, false on a Sandbox platform and outside production.

relatedObjectobjectRequired
accountHolderIdstringOptionalformat: "^[A-Za-z0-9_-]+$"1-128 characters

A resource ID. Treat it as an opaque, case-sensitive string.

cardProgramIdstringOptionalformat: "^[A-Za-z0-9_-]+$"1-128 characters

A resource ID. Treat it as an opaque, case-sensitive string.

transitionobjectOptional

A committed state change of an allowlisted field; not an ordered delta or a history.

requestIdstringOptionalformat: "^[A-Za-z0-9._:-]+$"<=128 characters
The v2 request that caused the change, when one did.
dataobjectOptional
The resource the event names, as committed by its change. Absent only on events recorded before resources were added to events.

Response

200
Acknowledge delivery.