Create a payment link
Creates a new payment link. The response includes the checkout_url — the
URL hosted by Appmax that you share with the buyer so they can
complete the payment.
The request must contain a Bearer token of the merchant, obtained in the authentication flow. See Authentication.
WARNING
The value field is provided in cents and the minimum accepted is 500
(R$ 5.00).
The fee_transfer_from_installment field defines from which installment
the installment cost is passed on to the buyer. With the value 0
(default), the cost is absorbed by the merchant in all installments.
The document field is optional. When provided, it must contain a valid
CPF or CNPJ and the merchant must be linked to the company that owns the
provided document.
Default document behavior
When a payment link has already been created and linked to a company,
the last company used to create a link becomes the default.
Therefore, when creating a new link without providing the document field, the
system will keep creating the link linked to the last company used,
even if a new company was registered afterwards. To
ensure the link is linked to a specific company, provide the
corresponding document in the payload.
Authorizations
Bearer token of the merchant obtained via POST /oauth2/token using the
merchant's credentials (not the app's). See
Authentication.
Request Body
Responses
Payment link created successfully.