Create a payment link
Create a new payment link in your HubSpot account. This endpoint allows you to specify various attributes for the payment link, such as accepted payment methods, currency, and additional form fields. The payment link can be configured for one-time use and can also collect shipping and billing addresses. This operation requires a valid JSON request body. Some defaults will be applied if no value provided.
Supported products
Supported products
Required Scopes
Required Scopes
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
An array of strings representing the payment methods accepted for this link. Valid values include 'CARD', 'ACH', 'SEPA', 'BACS', and 'PADS'.
CARD, ACH, SEPA, BACS, PADS An array of PublicPaymentLinkFormField objects representing additional form fields to be included in the payment link. Email is included by default and should not be specified here.
A boolean indicating whether automated sales tax calculation is enabled.
A boolean indicating whether the full billing address should be collected during checkout.
A boolean indicating whether the shipping address should be collected during checkout.
The currency code for the payment, represented as a string.
A boolean indicating whether discount codes are enabled for this payment link.
An array of strings representing the object IDs of discounts associated with the payment link.
A boolean indicating whether default checkout fees are enabled.
An array of strings representing the object IDs of fees associated with the payment link.
A boolean indicating whether to include the email in the success redirect URL.
A boolean indicating whether the payment link is for one-time use only.
An array of strings representing the object IDs of line items associated with the payment link.
The name of the payment link, represented as a string.
The state of the payment link, represented as a string. Valid values are 'ON' and 'OFF'.
OFF, ON A boolean indicating whether the payment method should be stored at checkout.
An array of strings representing the object IDs of taxes associated with the payment link.
A string representing the business unit ID associated with the payment link.
A string containing the HTML description of the payment link.
A string representing the domain ID associated with the payment link.
A string representing the URL to redirect to upon successful payment.
Response
successful operation
An array of accepted payment methods for the link, which can include 'CARD', 'ACH', 'SEPA', 'BACS', and 'PADS'.
CARD, ACH, SEPA, BACS, PADS An array of additional form fields included in the payment link.
A boolean indicating if the payment link is archived.
A boolean indicating if automated sales tax calculation is enabled.
An array of strings representing the IDs of checkout fees associated with the payment link.
A boolean indicating if the full billing address should be collected during checkout.
A boolean indicating if the shipping address should be collected during checkout.
A string representing the date and time when the payment link was created, in ISO 8601 format.
The currency code for the payment link, represented as a string.
A boolean indicating if discount codes are enabled for the payment link.
An array of discount objects associated with the payment link.
An array of fee objects associated with the payment link.
A string representing the form GUID associated with the payment link.
A string representing the unique identifier of the payment link.
A boolean indicating if the email should be included in the success redirect.
A boolean indicating if the payment link is enabled for one-time use only.
An array of line items associated with the payment link.
The name of the payment link, represented as a string.
A string representing the URL of the payment link.
The current state of the payment link, which can be either 'ON' or 'OFF'.
OFF, ON A boolean indicating if the payment method should be stored at checkout.
An array of tax objects associated with the payment link.
A string representing the date and time when the payment link was last updated, in ISO 8601 format.
A string representing the date and time when the payment link was archived, in ISO 8601 format.
A string representing the business unit ID associated with the payment link.
A string containing the HTML description of the payment link.
A string representing the domain ID associated with the payment link.
A string representing the URL to redirect to upon successful payment.