When the customer has added all their items to the cart, and proceeded to the checkout, it’s time to create a session in the Dintero system. A session contains a representation of the order: the amount, currency and items, as well as the configured payment methods, and urls for redirects and callbacks.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.
Authentication
To authenticate, you create a Checkout API client and use the credentials to Create an access token. The same client can be used for Sandbox mode and production. For all requests to the API set the following header:Create session request
The session is created with an HTTP POST-request tohttps://checkout.dintero.com/v1/sessions-profile.
Set Content-Type: application/json and the authorization header.
Most new accounts should have the default profile_id available. If you have an old account, go here to learn how to create one.
Amounts are denoted in the smallest unit for the currency, for example cents.
- 299.90 NOK becomes 29990
- 299 NOK becomes 29900