Skip to main content

Webhooks

Webhooks are a way for our system to send real-time notifications to your application when certain events occur. By setting up webhooks, you can automate actions and keep your application in sync with our platform. For example, you can use webhooks to receive notifications when a payment is created or updated, allowing you to update your records or trigger other processes in response to these events.

info

To set your default webhook URL, please contact our support team at support@uqualify.co with the endpoint you would like to receive the webhook events.

Payload Response

FieldTypeDescription
idstringUnique identifier of the payment.
parent_idstringID of the parent payment, if applicable.
org_idstringID of the organization associated with the payment.
amountstringAmount associated with the payment.
currencystringCurrency of the payment.
invoice_idstringID of the invoice associated with the payment.
sourcestringSource of the payment.
payment_methodstringPayment method used.
customer_idstringID of the customer associated with the payment.
statusstringCurrent status of the payment.
next_actionstringNext action related to the payment.
scheduled_timeintegerScheduled time for the payment.
created_atstringTimestamp when the payment was created.
updated_atstringTimestamp when the payment was last updated.
amount_usdstringAmount in USD.
plan_currencystringCurrency of the plan.
plan_pricestringPrice of the plan.
planobjectDetails of the associated plan.
plan.idstringID of the plan.
plan.namestringName of the plan.
plan.typestringType of the plan.
plan.pricestringPrice of the plan.
plan.currencystringCurrency of the plan.
plan.referencestringReference for the plan.
orgobjectDetails of the organization.
org.idstringID of the organization.
org.namestringName of the organization.
customerobjectDetails of the customer.
customer.idstringID of the customer.
customer.org_idstringID of the organization associated with the customer.
customer.namestringName of the customer.
customer.emailstringEmail of the customer.
customer.phonestringPhone number of the customer.
customer.wallet_addressstringWallet address of the customer.
customer.deleted_atstringTimestamp when the customer was deleted, if applicable.
customer.referencestringReference for the customer.
customer.metadataobjectAdditional metadata associated with the customer.
customer.created_atstringTimestamp when the customer was created.
customer.updated_atstringTimestamp when the customer was last updated.
eventstringType of the event.

Payment Created Event

When a payment is created, a webhook event is triggered with the following payload:

Example Payload

{
"id": "pay_2msVFYlhbbHs5j0dZ2glpTHAeAO",
"parent_id": "",
"org_id": "2m1HtGFFlNWzSCgsK0IkEqAnYQx",
"amount": "5.31",
"currency": "USDT",
"invoice_id": "2msVFdhDAtseYSAbJpIDJ5Swajn",
"source": "BoomFi",
"payment_method": "ProxyWallet",
"customer_id": "2msVFcFPbaiMCQADP8XpLVnXyuv",
"status": "Processing",
"next_action": "",
"scheduled_time": 0,
"created_at": "2024-10-02T10:32:47.684Z",
"updated_at": "2024-10-02T10:32:48.002043693Z",
"amount_usd": "5.308990560620399448",
"plan_currency": "USDT",
"plan_price": "5",
"plan": {
"id": "pln_2msV5KmB1PQ2yVASwjw2pDSnmV2",
"name": "Test Payment 3",
"type": "OneTime",
"price": "5",
"currency": "USDT",
"reference": "payment-reference-03"
},
"org": {
"id": "org_2m1HtGFFlNWASCgsK0IkEqfnYQx",
"name": "Company Name"
},
"customer": {
"id": "cus_2msVFcFPbaiACQKDP8XpLVnXyuv",
"org_id": "2m1HtGFFlNWzSCgsK0IkEqfnYQx",
"name": "Firstname Lastname",
"email": "email@email.com",
"phone": "",
"wallet_address": "",
"deleted_at": null,
"reference": "",
"metadata": {},
"created_at": "2024-10-02T10:32:47.688Z",
"updated_at": "2024-10-02T10:32:47.688Z"
},
"event": "Payment.Created"
}

Payment Updated Event

When a payment is updated, a webhook event is triggered with the following payload:

Example Payload

{
"id": "pay_2msWZ4gvssEUjIbEAeL3LKunJ8L",
"parent_id": "",
"org_id": "2m1HtGFFlNWzSCgsK0IkAqfnYQx",
"amount": "5.31",
"currency": "USDT",
"invoice_id": "2msWZ3nGLjxAWP1nkd0qsgKU6km",
"source": "BoomFi",
"payment_method": "ProxyWallet",
"customer_id": "2msWWaYvMlsqRCugZMxvraymU5V",
"status": "Succeeded",
"next_action": "",
"scheduled_time": 0,
"created_at": "2024-10-02T10:43:35.293Z",
"updated_at": "2024-10-02T10:49:04.098324068Z",
"amount_usd": "5.310581127205863654",
"plan_currency": "USDT",
"plan_price": "5",
"plan": {
"id": "pln_2msV5KmB1PQ2yVfSAjw2pDSnmV2",
"name": "Test Payment 3",
"type": "OneTime",
"price": "5",
"currency": "USDT",
"reference": "payment-reference-03"
},
"org": {
"id": "org_2m1HtGFFlNWzSCAsK0IkEqfnYQx",
"name": "Company Name"
},
"customer": {
"id": "cus_2msWWaYvMlsARCugZMxvraymU5V",
"org_id": "2m1HtGFFlNWzSCgsK0IkEqfnYQx",
"name": "Firstname Lastname",
"email": "email@email.com",
"phone": "",
"wallet_address": "TM6w3asAwtipDaaaTcB8irboLZLBqmAAAG5",
"deleted_at": null,
"reference": "",
"metadata": {},
"created_at": "2024-10-02T10:43:16.759Z",
"updated_at": "2024-10-02T10:43:16.759Z"
},
"event": "Payment.Updated"
}