Skip to main content

Payment Link Status Update

This webhook is triggered when a payment link status changes.

Payload

{
"apiKeyId": "string",
"type": "payment_link.status_updated",
"paymentLinkId": "string",
"status": "string",
"clientReferenceId": "string",
"transactions": [
{
"transactionId": "string",
"paymentMethod": "string",
"datePaid": 0,
"amount": 0,
"amountBreakdown": {
"base": 0,
"tip": 0,
"fee": 0
},
"applicationFee": 0
}
]
}

Fields

FieldTypeDescription
apiKeyIdstringThe API key ID associated with this webhook
typestringThe event type (payment_link.status_updated)
paymentLinkIdstringThe unique identifier (ULID) of the payment link
statusstringCan be paid, pending, or processing
clientReferenceIdstringThe client reference ID provided when creating the payment link
transactionsarrayList of Transaction Object entries that settled against this payment link

Example

{
"apiKeyId": "01HXYZ1234567890ABCDEFGH",
"type": "payment_link.status_updated",
"paymentLinkId": "01HXYZ1234567890ABCDEFGH",
"status": "paid",
"clientReferenceId": "order-12345",
"transactions": [
{
"transactionId": "01HXYZTXN1234567890ABCDE",
"paymentMethod": "CARD",
"datePaid": 1715000000,
"amount": 153.50,
"amountBreakdown": {
"base": 100.00,
"tip": 50.00,
"fee": 3.50
},
"applicationFee": 11.00
}
]
}