Handoff to Paysquad

Redirect the user to PaySquad to allow them to begin the process of inviting others to pay

After you create a Paysquad, the Shopper needs to be redirected into our hosted flow to complete it.

How to redirect

The Create Paysquad response includes a contributionLink. Redirect the Shopper's browser to this URL.

EnvironmentURL
Productionhttps://app.paysquad.co/flow/{paySquadId}
Sandboxhttps://app.sandbox.paysquad.co/flow/{paySquadId}

Use contributionLink rather than constructing the URL yourself; it already reflects the correct environment.

What happens in the hosted flow

The Squad Leader goes through:

  1. Authentication with Paysquad
  2. Reviewing their basket
  3. Making their own first contribution
  4. Inviting friends to contribute

Other Shoppers follow the same link to join as Contributors. Paysquad captures funds once the total is met.

Redirects back to you

If you supplied successRedirectUrl or cancelRedirectUrl at creation time:

  • successRedirectUrl is offered to the Squad Leader after they make their first contribution, as a "back to shop" link.
  • cancelRedirectUrl is used if the Squad Leader cancels the Paysquad before completing.

Neither redirect carries payment-status information; it's a navigation convenience only.

Source of truth for Paysquad state

Do not rely on redirects to know the final state of a Paysquad. Always use webhooks (preferred) or poll GET /api/merchant/paysquad/{id}. A Paysquad typically completes minutes to days after creation, long after the Shopper has left your site.