Integration steps
1
Choose how to send links
There are three ways to send payment links:
For the no-code approach, go to Payment Link in Backoffice, choose Send by > SMS/Push, and enter the phone number. No API integration needed.
2
Enable SMS in your payment profile (optional)
If you want SMS delivery for all sessions using a specific profile, open Backoffice and enable SMS on the payment profile. Every session created with that
profile_id will automatically send a link.3
Create a session with SMS delivery
For API-driven delivery, create a checkout session and include the customer’s phone number and SMS configuration in the request body. Dintero sends the SMS as soon as the session is created.Include
order.amount, order.currency, the customer’s phone number, and your callback/return URLs as with any session.See Payment link by SMS for the full configuration options.SMS messages are not sent for test sessions (
T prefix accounts). Use production credentials to verify SMS delivery.4
Customer receives and pays
The customer receives an SMS or push notification with a link to the Dintero-hosted checkout page. They open it, select a payment method, and complete the payment. The experience is the same as any Dintero Checkout.
5
Handle the payment result
The result is delivered to your
callback_url and through webhooks, just like any other checkout session. Capture, void, and refund through the Transactions API.Set a payment deadline
A payment link is a checkout session, so the link stays open until the session’sexpires_at time. If you do not set expires_at, Dintero closes the session 1 day after you create it. When you create a payment link in Backoffice, you choose the deadline instead: 1 day, 1 week, or 1 month.
To set your own deadline, include expires_at when you create the session from a payment profile:
expires_at must be in the future and no more than 180 days after you create the session. Otherwise the request fails with 400 Bad Request.
What happens at the deadline
- New payments stop. After
expires_at, the checkout page no longer loads and the customer sees that the payment link has expired. - Completed payments are not affected. Expiry does not void or refund a transaction. An
AUTHORIZEDtransaction stays authorized until you capture or void it, or until the authorization itself expires. See Duration of authorizations. - Payments in progress can still complete. If the customer started paying before
expires_atand the payment provider confirms the payment afterwards, Dintero still registers the transaction and sends yourcallback_url. Keep handling callbacks for a session after its deadline. Walley Checkout is the exception: Walley rejects the purchase when the session has expired.
Confirm that a payment link is closed
The session has no single status field. Call Get session after the deadline and check these fields:
To close a session that has no
transaction_id for good, call Cancel session. The response includes cancelled_at. If a payment that was in progress is authorized after you cancel, Dintero voids or refunds it automatically, so it never stays reserved on the customer’s account.
What’s next
Payment link by SMS
Detailed configuration for Backoffice, payment profiles, and the API.
Payment in app
Embed checkout in a native mobile app with deep links.
Hosted payment pages
Skip the Dintero Checkout and complete payment via the Vipps or MobilePay hosted payment page.