Skip to main content
Tokenization must be activated on your account before you can create or charge card tokens.Contact your Dintero account manager to have it enabled. Until it is activated, requests that create or use a card token will fail.

Customer initiated transactions

To use the token in a new session for the same customer, put the token value in the session under customer.tokens.payex.creditcard or customer.tokens.bambora.creditcard. See create session.
The response will look like this:
Redirect the customer to the url for them to confirm the payment with CVC.

Recurrence transactions

To perform transactions without involving the customer, using a recurrence token, use recurring_purchase operation when calling the pay endpoint. Swedbank Pay uses a recurrence_token for these charges. Bambora and Dintero PSP do not issue recurrence tokens, so pass the payment_token instead. See Token types. To charge an Apple Pay token issued by Dintero PSP, put it in customer.tokens.dintero_psp.applepay and set payment_product_type to dintero_psp.applepay. The token must come from an Apple Pay payment where configuration.dintero_psp.applepay.generate_payment_token was true. See Create a token. If you send a card token with dintero_psp.applepay, Dintero returns 400 with the error Token does not match payment_product_type. This applies to both recurring and unscheduled transactions. With the access token, call Create and pay merchant initiated session with the following body. Set a User-Agent header on the request. Without it, the payment can fail: Dintero cancels the session and creates no transaction. See Dintero HTTP headers.

Unscheduled transactions

To perform transactions without involving the customer, MIT (merchant initiated) transactions use unscheduled_purchase operation when calling the pay endpoint. If the token was created from Apple Pay, charge it as dintero_psp.applepay. See Apple Pay tokenization and MIT. With the access token, call Create and pay merchant initiated session with the following body. Set a User-Agent header on the request. Without it, the payment can fail: Dintero cancels the session and creates no transaction. See Dintero HTTP headers.
Last modified on November 27, 2026