post
https://cieloecommerce.cielo.com.br/api/public/v1/products/
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 (
ClientIDe oClientSecret), - Generate the
access_tokenusing the credentials, - Send the generated access_token in the Authorization header of the request.
The token duration is 20 minutes.
Define Payment MethodsUse the
customLinkConfigurationobject 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.
