Payment Interface

After creating a payment session via /user-login/, you will receive the Iframe URL in the response:

Environment
URL

Sandbox

https://sandbox.mypayr.co.uk/third-party?token={token}&session_id={session_id}

Production

https://mypayr.co.uk/third-party?token={token}&session_id={session_id}

HTML Embed Example

<iframe
  src="https://mypayr.co.uk/third-party?token=x9y8z7w6...&session_id=01KH1FZ0N0..."
  width="100%"
  height="700"
  frameborder="0"
  allow="payment"
></iframe>

Important Notes

  • The token is safe to pass to the client — it is a short-lived user session token, not your server API key.

  • The session_id expires after 30 minutes. If expired, create a new session via /user-login/.

  • The session automatically selects the user's primary active tenancy for payment.

Last updated