Snap Finance UK for developers

Add Snap Finance to your checkout in minutes

Offer Snap Finance at checkout with a drop-in JavaScript SDK, REST APIs for decisioning and order status, webhooks for real-time updates, or ready-made plugins for Shopify, Magento and WordPress.

  • Production-grade sandbox
  • Postman collection
  • Release notes
checkout.html
<!-- 1. Load the SDK in your <head> -->
<script
  src="https://sandbox-sdk.snapfinance.co.uk/v1/snapuk.min.js"
></script>

<!-- 2. Add a container for the button -->
<div id="snap-uk-checkout"></div>

<!-- 3. Initialise Snap and render checkout -->
<script>
  snapuk.init(clientId);

  snapuk.checkout.button({
    merchantId: merchantId,
    transaction: transaction,
    onApproved: (applicationId, token) => {
      // Call your backend.
      // Verify from there with the Status API.
      // Then update the order
    },
  });
</script>

Choose your integration

Three ways to integrate

Pick the route that fits how your store is built. Every option uses the same sandbox and the same application journey.

No code

Checkout plugins

For stores built on Shopify, Magento 2 or WordPress / WooCommerce.

  • Install and configure from your store admin
  • Switch to the sandbox from the plugin settings
  • Orders appear in your store admin as normal
Low code

JavaScript SDK

For custom storefronts where you control the checkout page, with the Status API and webhooks to keep your orders in sync.

  • One script tag and a container element
  • Checkout button with lifecycle callbacks
  • Status API: verify each application from your backend
  • Webhooks: get every status change pushed to your server
  • Optional RBP and BNPL product widgets
Full control

Partner API

For embedding Snap decisioning in your own application journey.

  • Real-time decisioning in your own app
  • Cancel, refund, fulfil and amend from your backend
  • Try requests in the docs or import into Postman

Quickstart

From sandbox to live in four steps

Every integration follows the same path: build against the sandbox, test the full journey, then switch to production.

  1. Get sandbox credentials

    Your Snap Finance account manager will issue sandbox credentials, such as your Client ID and Merchant ID.

  2. Build your integration

    Pick a plugin, the SDK or the Partner API and point it at the sandbox environment.

    Choose an integration
  3. Test the full journey

    Run test applications with decisioning controls. The sandbox uses the same decisioning engine as production.

    Sandbox testing guide
  4. Go live

    Swap sandbox URLs and credentials for production ones, then take your first live order.