Create a payment link

ℹ️

Click EXAMPLES in the code box to see examples of link creation for:

  • digital products;
  • recurring;
  • physical asset with delivery.

Before sending the request, you must complete these steps:

  • Generate credentials (ClientID e o ClientSecret),
  • Generate the access_token using the credentials,
  • Send the generated access_token in the Authorization header of the request.

The token duration is 20 minutes.

ℹ️

Define Payment Methods

Use the customLinkConfiguration object to set the payment methods and digital wallets available for this link.

  • Payment methods and wallets not specified will not be displayed at checkout.
  • If the configuration is not sent, the link will follow the merchant's default settings.
  • Only payment methods contracted for the merchant will be shown to the shopper.
Body Params
Headers
Responses

Language
LoadingLoading…
Response
Choose an example:
application/json