DocsGet started

Getting started

Syok2Pay is the merchant-facing edge of the Syok2Pay payment platform. Your backend talks to the payment-gateway API; we handle routing to FPX, e-wallets and cards, and the secure hosted checkout.

Base URL
https://pay.syok2pay-sandbox.com

Base URLs

EnvironmentBase URL
Sandboxhttps://pay.syok2pay-sandbox.com
Productionhttps://pay.syok2pay.com

What you need

  • A merchant code (e.g. M00001)
  • A publishable key (pk_…) — sent as the Authorization: Bearer token
  • A secret key (sk_…) — used to HMAC-sign every request (never sent)

Get these from your Syok2Pay onboarding contact. placeholder

Integration in three steps

  1. Initiate a payment session from your backend (POST /v1/initiate).
  2. Redirect the customer to the returned data.payment_url.
  3. Finalize the order when we call your backend_return_url.

Continue to Authentication.