payment.completed payload, signature verification, retry handling, and webhook URL priority.
Endpoints
Integration Steps
1
Create the payment link
Call
POST /payments/v1/payment-links with title, description, currency, country, and amount settings. Send your client identifier in the client-id header.2
Share the URL
Use the returned
shortURL or longURL in invoices, emails, chats, social posts, or payment reminders.3
Receive the payment webhook
After the customer pays, Payfonte sends a payment webhook to the configured endpoint. Verify the webhook signature and process the event idempotently.
4
Review link performance
Use
GET /payments/v1/payment-links/{id} to retrieve the link, collected totals, channel breakdown, and provider availability.Create Payment Link
Request Fields
Amount Modes
Fixed amount
Fixed amount
Use
isAmountFixed: true when the customer must pay one exact amount. Send amount with a value greater than zero.Variable amount
Variable amount
Use
isAmountFixed: false when the customer can enter the payment amount. Send minimumAmount and maximumAmount to define the allowed range.Custom Fields
UsecustomFields when you need extra payer information before checkout is created. Choice fields require options.
Supported customFields.type values:
Fetch Payment Links
Fetch Payment Link By ID
analytics object with collected amount, transaction count, channel breakdown, revenue history, available providers, and available channels.
Webhook Completion
Payment links use the same collection webhook flow documented in Webhooks and Callbacks. When a customer successfully completes a payment link checkout, Payfonte sends a payment webhook such aspayment.completed.
1
Verify the signature
Validate
x-webhook-signature with your client-secret before processing the event.2
Use idempotency
Track processed
reference and status values so retries do not trigger duplicate fulfillment.3
Fulfill after final status
Mark invoices, orders, or balances as paid only after receiving and validating a final webhook status such as
success.Important Rules
Related Docs
API Reference
View payment link endpoint definitions and request schemas.
Webhooks
Receive and verify payment completion events.
Amount Specification
Understand how to send amount values in minor units.