Payment Link Webhook Events
When a payment link transaction is processed, you will receive webhook notifications at your configured webhook URL. The webhook payload contains detailed information about the payment status, transaction details, and customer information.
Webhook Event Types
payment_link_completed - Triggered when payment is successfully completed with exact amount
payment_link_completed_overpaid - Triggered when payment is completed but customer paid more than required
payment_link_failed - Triggered when payment fails or customer underpaid
Webhook Payload Structure
All webhook events follow the same structure with different event_type and meta_data fields. The webhook body is encrypted and must be decrypted using your API key. See the "Decrypt Webhook Body" section for decryption instructions.
Webhook Payload Fields
event_id: Unique identifier for this webhook eventevent_type: Type of event (payment_link_completed, payment_link_completed_overpaid, payment_link_failed)meta_data: Object containing payment detailspayment_link_refid: Unique reference ID of the payment linkpayment_reference: Your payment referenceamount_required: Required payment amountamount_currency: Currency code (e.g., 'ngn')amount_received: Amount received in token valueamount_received_usd: Amount received in USD equivalentoverpaid_amount: Overpaid amount in token value (0 if not overpaid)overpaid_amount_usd: Overpaid amount in USD (0 if not overpaid)underpaid_amount: Underpaid amount in token value (0 if not underpaid)underpaid_amount_usd: Underpaid amount in USD (0 if not underpaid)token: Token symbol (BTC or USDT)value: Transaction value as stringhash: Blockchain transaction hashstatus: Payment status ('completed' or 'failed')customer: Customer details objectaddress: Wallet address that received the paymentnetwork: Blockchain network (bitcoin, trc20, bep20)metadata: Your custom metadata (if provided)
datetime: ISO 8601 timestamp of when the event occurred
Sample Webhook Payloads
payment_link_completed (Success State)
payment_link_completed_overpaid (Overpaid State)
payment_link_failed (Failed/Underpaid State)
Important Notes
Webhooks are sent asynchronously and may have delays
Always verify the webhook signature/decryption before processing
For overpaid transactions, you can request a refund for the overpaid amount
For failed/underpaid transactions, the received amount is refund-eligible
Last updated