payment_link field to true in the request payload.
Important: Payment links cannot be confirmed at the time of creation. Therefore, theconfirmfield must not be set totrue.
Configuration Fallback Logic
Each field in the request follows a fallback logic to determine the configuration used:- Configuration provided during payment link creation (via
payment_link_config) - Configuration set at the business profile level
- Default values defined for payment links
Refer to the UI Configuration section for default values and styling options.
Create a Payment Link Using Business Profile Config
This example shows how to create a payment link that uses the UI configuration already set in the specified business profile.Configure UI During Payment Link Creation
You can override the profile-level config by sending a custompayment_link_config directly in the API request.
Use a Specific Style ID (Predefined in Business Profile)
If you’ve defined multiple styles in the business profile, you can reference one by itsstyle ID using the payment_link_config_id field.