Paywizard DOCS
WizarPOS
  • Overview
  • Intro - Choose Your Best Practice
  • Cloud API
    • Quick Start - Cloud API
    • POS & Payment Terminal Binding Process
      • API 1: [Deprecated]Get Access Tokens
      • API 2: Bind POS & Payment Terminal
      • API 3: Get POS & Terminal Binding List
      • API : Unbind Terminal with POS
    • Do Transactions
      • API 4: POS Initiate Transaction
        • Transaction Request Example
      • API 5: POS System Query Transaction Results
      • Transaction Result Callback Interface
      • Transaction Type
      • Terminal API: Subscribe Transaction Results
  • HOST TO HOST INTEGRATION
    • Quick Start - Host to Host Integration
    • API: Transaction Result Push
    • API: Get Transaction Result
  • Semi integration
    • Payment App Integration Protocol
    • Payment App AIDL Integration
  • e-Receipt
    • e-Receipt Interface Intro
    • Terminal API : Upload Transaction Info
    • Terminal API : Upload Settlement Info
  • ONLINE PAYMENT INTEGRATION
    • Web Element Integration
    • Client Checkout Page SDK
Powered by GitBook
On this page
  • [Deprecated]Get Access Tokens
  • This endpoint allows you to obtain a list of transaction tokens (JWT) for various payment channels associated with the provided developer ID and merchant ID. These tokens are currently designed to be long-lived.
  • For all subsequent requests to business-related API endpoints, the appropriate token (depending on the payment channel) must be included in the Authorization header of the HTTP request.
  1. Cloud API
  2. POS & Payment Terminal Binding Process

API 1: [Deprecated]Get Access Tokens

PreviousPOS & Payment Terminal Binding ProcessNextAPI 2: Bind POS & Payment Terminal

Last updated 2 months ago

[Deprecated]Get Access Tokens

Please note that this API endpoint has been deprecated. Once you are onboarded as one of our developers, we will provide you with a semi-permanent token for testing. For merchants in the production environment, we will also provide a semi-permanent token to be used for transactions.

This endpoint allows you to obtain a list of transaction tokens (JWT) for various payment channels associated with the provided developer ID and merchant ID. These tokens are currently designed to be long-lived.

For all subsequent requests to business-related API endpoints, the appropriate token (depending on the payment channel) must be included in the Authorization header of the HTTP request.

Test Enviroment:

POST https://uat.paywizard.biz/ovstrade/semiOpen/generateAccessToken

Production Enviroment:

POST

Headers

Name
Value

Content-Type

application/json

Request Body

Name
Type
Mandatory
Description
Example

clientId

string

Developer ID

10000000011

clientSecret

String

Developer Secert

a393195acbf6beba52b30a98715c1407

merchantId

String

Merchant ID

10800000010

channelName

String

Payment Channel

epx

version

String

1.0.0

Request Example

{
    "clientId": "854413278057725952",
    "clientSecret": "6266b7272643b93e04336a6beb2459fb",
    "merchantId": "10800000010",
    "channelName": "epx"
}

Response Body

Name
Type
Mandatory
Description

code

Int

Response Code

(200 Success,

Non-200 Failed)

msg

String

Response Message

timestamp

String

Date/Time(UTC)

data

Object

Response Data

-token

String

Token Info

-merchantId

String

Expired after(Seconds)

-merchantName

String

-type

String

-channelName

String

-expiryTime

String

-1: Will not expire

Response Example

{
    "code": 200,
    "msg": "success",
    "data": [
        {
            "token": "BFF1PVPW6T8F7JWWVP8FRJZHB19VITIE",
            "merchantId": "10800000010",
            "merchantName": "epx",
            "type": "Terminal",
            "channelName": "epx",
            "expiryTime": -1
        },
        {
            "token": "X24BMAPMHGCCDYQXTAQYSAXZ6TJ09JIX",
            "merchantId": "10800000010",
            "merchantName": "epx",
            "type": "eCommerce",
            "channelName": "epx",
            "expiryTime": -1
        }
    ],
    "timestamp": "2024-07-23 17:57:00"
}
https://portal.paywizard.biz/ovstrade/semiOpen/generateAccessToken