Web Integration Overview
The PayUp Web Integration API powers the hosted checkout experience and the browser SDK. Use this guide to understand the sequence of calls and where to find schema-level details.
Flow Summary
Initialize the SDK
CallPOST /web/payment/tokenizefrom your storefront with thetk_client token and the browser's origin. A scoped SDK token is returned for subsequent requests.Verify the customer
Complete the verification journey (/verification/*endpoints) to obtain a verification JWT (type=payment_verification).Create the session
Submit the cart and customer context toPOST /web/payment/create-sessionwith the verification JWT. PayUp responds with the hosted checkout URL and session metadata.Redirect the shopper
Send customers to the returnedredirectUrl. Monitor status through webhooks or pollGET /web/payment/session/{sessionId}using your API key.
Reference
Payment API– the public payment surface: auth, tokenize, checkout sessions, verification, and payments.Merchant API– the merchant dashboard admin endpoints.
When you extend the integration (for example, to support additional payment methods), update the schema in openapi/payup-public.yml and re-run npm run build to regenerate the reference.