Skip to main content

When this fires

When a payment link is created with Commet Pay. A payment link is a one-time, customer-present charge — there’s no subscription and no plan behind it. The link is pending: the customer has not paid yet. Do not fulfill the purchase on this event. Wait for payment_link.completed. The event fires the same way regardless of which payment provider processes the charge.

Body

application/json
id
string
required
event
string
required
Allowed value: "payment_link.created"
timestamp
string
required
organizationId
string
required
mode
enum<string>
required
Available options:
live,
sandbox
apiVersion
string
required
data
object
required

Response

200

Return any 2xx status code to acknowledge receipt of the event.