Opn Payments (Omise) API

Commercial

by Opn Payments

Regional payment gateway (formerly Omise) operating in Singapore, Thailand and Japan with cards, PayNow and local payment methods. Clean REST API with a tokenization-first design.

How to authenticate

  1. 1Sign up at dashboard.omise.co and select Singapore as your country.
  2. 2Copy test public and secret keys from the dashboard.
  3. 3Tokenize cards client-side with the public key (vault.omise.co).
  4. 4Create charges server-side with the secret key via HTTP Basic auth.
  5. 5Complete merchant verification for live keys.

Example request

Request
curl https://api.omise.co/charges -u skey_test_YOUR_KEY: -d amount=100000 -d currency=sgd -d 'source[type]'=paynow

Example response

Response (truncated)
{"object":"charge","id":"chrg_test_...","amount":100000,"currency":"sgd","status":"pending","source":{"type":"paynow","scannable_code":{...}}}

Notes for AI agents

Amounts are in cents (subunits). PayNow charges return a scannable_code QR to display; completion arrives by webhook.

Machine-readable version: /api/apis/omise-opn

Related APIs