Documentation Index
Fetch the complete documentation index at: https://docs.hub2.io/llms.txt
Use this file to discover all available pages before exploring further.
API Integration
The Payment Link uses HUB2 API endpoints. The available endpoints are listed in the following documentation:API Payment Links
Authentication
Your integration uses the same HUB2 API keys for authentication, but the key must have payment creation permissions:Api.payment_createApi.payment_intent_createApi.payment_intent_readApi.payment_intent_auth_createApi.payment_fees_read
Permissions configuration
API Endpoints
Payment links use creation and read endpoints similar to standard endpointsPayment Link
POST /payment-links/- Create a payment link by defining the necessary payment methods. Payment and payment intent will be handled based on the customer journey. Here is an example.
PATCH /payment-links/{id}/close- Close a payment link before expirationGET /payment-links- List created payment linksGET /payment-links/{id}- Retrieve a specific payment link and display associated payments attempts
