Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

  1. payment_link_completed - Triggered when payment is successfully completed with exact amount

  2. payment_link_completed_overpaid - Triggered when payment is completed but customer paid more than required

  3. 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 event

  • event_type: Type of event (payment_link_completed, payment_link_completed_overpaid, payment_link_failed)

  • meta_data: Object containing payment details

    • payment_link_refid: Unique reference ID of the payment link

    • payment_reference: Your payment reference

    • amount_required: Required payment amount

    • amount_currency: Currency code (e.g., 'ngn')

    • amount_received: Amount received in token value

    • amount_received_usd: Amount received in USD equivalent

    • overpaid_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 string

    • hash: Blockchain transaction hash

    • status: Payment status ('completed' or 'failed')

    • customer: Customer details object

    • address: Wallet address that received the payment

    • network: Blockchain network (bitcoin, trc20, bep20)

    • metadata: Your custom metadata (if provided)

  • datetime: ISO 8601 timestamp of when the event occurred

Sample Webhook Payloads

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