Breadcrumbs

REST API Direct Integration

Direct integration enables you to process payments entirely through server-to-server API calls, maintaining full ownership of the customer-facing checkout experience. This approach is ideal for businesses requiring complete control over their payment interface while leveraging NEXI's global payment infrastructure.

Core characteristics:

  • No redirects. Customers remain on your website/app throughout checkout

  • Full ownership and control of the UI/UX of checkout process

  • Requires more integration efforts than other integrations

  • Requires stricter compliance to manage PCI sensitive data

Payment flow

  1. Customer proceeds to checkout on your online store.

  2. Your frontend requests the payment page to the backend.

  3. Your backend renders the payment form.

  4. Customer enters the details and completes payment.

  5. Your frontend requests for payment to your backend.

  6. Your backend makes a Create payment call with paymentMethods.integrationType=DIRECT to NEXI.

  7. NEXI responds with HTTP 201 response code or an error depending on the outcome of the transaction.

  8. Your backend returns a success or a failure page based on the responseCode of the payment.

Supported payment methods

Refer to Payment methods overview for the list of supported payment methods via direct integration.