Introduction

Offer financing for every credit type at checkout. Here's how a PayTomorrow integration fits together.

PayTomorrow gives your customers a way to pay over time, whatever their credit. One application can check PayTomorrow's own financing, prime lenders, and lease-to-own providers, depending on the lenders enabled on your account, so more of your customers can get approved.

There are two ways to add PayTomorrow to your store:

With either one, you can add marketing tools to your site, like monthly payment estimates on product pages and a financing page. They show customers they can pay over time before they reach checkout.

How it works

Every integration follows the same flow. Your server creates an order, the customer applies on PayTomorrow, and PayTomorrow tells your server what happened.

  1. Create an order. Your server sends the cart and customer details. PayTomorrow returns an application url and a token. Save the token with your order.
  2. Send the customer to apply. Redirect to the url, or open it in an iframe so the customer never leaves your site.
  3. Get the result. PayTomorrow sends a postback to your notifyUrl when the application needs your attention, and redirects the customer to your returnUrl or cancelUrl.
  4. Ship and settle. When the order ships, settle the application and PayTomorrow funds you.

Before you start

You need a PayTomorrow merchant account. Your account manager will send staging credentials first, and production credentials when you're ready to go live.

In the merchant dashboard, open Resources to find:

CredentialUsed for
API username and passwordGetting an access token
API SignatureThe Authorization: Basic header when getting a token
Public IDMarketing tools like the Monthly Payment Estimator

Staging and production are separate

Each environment has its own credentials. Staging credentials don't work in production, and the other way around.

Environments

EnvironmentAPI base URLUse it for
Staginghttps://api-staging.paytomorrow.com/apiBuilding and testing. No real credit checks or money.
Productionhttps://api.paytomorrow.com/apiLive customers.

Ready to build? Start with the quickstart.

On this page