Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.dintero.com/llms.txt

Use this file to discover all available pages before exploring further.

Add a payment checkout to your website or app. You create a session with the order details, display the Dintero-hosted checkout (embedded or as a redirect), and receive a callback when the customer has paid. This is the standard integration for any online store or service that needs to collect a one-time payment.

Integration steps

1

Create API credentials

In Backoffice, go to Settings > API clients and create a new Checkout client. Save the Client ID and Client Secret. The secret is only shown once.Use your sandbox account (T prefix) while developing. Switch to production (P prefix) when you’re ready to accept real payments.
2

Authenticate

Exchange your credentials for a bearer token using the OAuth 2.0 client credentials flow. The token is valid for 4 hours and is used in the Authorization header for all API calls.See Authentication for details.
3

Create a checkout session

Send a POST request to /v1/sessions-profile with the order details: items, amounts, currency, and URLs for the callback and customer redirect.The response returns a session ID and a checkout URL that you use to display the payment page.See Create a session for the full payload reference.
4

Display the checkout

Show the checkout to the customer. You have two options:
  • Redirect: send the customer to the Dintero-hosted checkout page. Minimal setup, no iframe.
  • Embed: render the checkout inside your page using the Web SDK. More control over the experience.
See Embed vs redirect for a comparison.
5

Handle the payment result

After the customer pays, Dintero notifies you through two channels:
ChannelHowUse for
callback_urlServer-to-server GET request (retried up to 20 times)Verify payment and fulfill the order
return_urlCustomer browser redirect (not guaranteed)Show a confirmation page
Always verify the transaction via the callback. The browser redirect can fail if the customer closes the tab.See Handling payment for transaction statuses and handling.
6

Manage transactions

After authorization, you can capture, void, or refund transactions through the Transactions API. Most integrations capture when the order is shipped.See Transaction management for available operations and the state diagram for how transactions move between statuses.

What’s next

https://mintcdn.com/dintero-c3a7bfec/kqE6jEgPSu_iF1M_/mintlify-docs/assets/icons/sparkles.svg?fit=max&auto=format&n=kqE6jEgPSu_iF1M_&q=85&s=f70815f51d69bcb4775cb08102749416

Quickstart

End-to-end walkthrough with code examples in cURL, Python, and Node.js.
https://mintcdn.com/dintero-c3a7bfec/4vZVwDjf90sw6DuL/mintlify-docs/assets/icons/beaker.svg?fit=max&auto=format&n=4vZVwDjf90sw6DuL&q=85&s=db874f9401733fa9d84580b700b27ce9

Test data

Test cards and sandbox scenarios for verifying your integration.
https://mintcdn.com/dintero-c3a7bfec/4vZVwDjf90sw6DuL/mintlify-docs/assets/icons/color-swatch.svg?fit=max&auto=format&n=4vZVwDjf90sw6DuL&q=85&s=e3876553ec28423612dbf1a2d52bfcf4

Payment profiles

Configure which payment methods are shown in the checkout.
https://mintcdn.com/dintero-c3a7bfec/4vZVwDjf90sw6DuL/mintlify-docs/assets/icons/bell.svg?fit=max&auto=format&n=4vZVwDjf90sw6DuL&q=85&s=800dae0e3e31fe9bde6ea804cf3d46ce

Webhooks

Subscribe to real-time transaction events.
Last modified on June 1, 2026