Generate Widget

Generate a widget for merchants, refer to the Payment and Billing section for detailed information. Token from response is the header value for Auth Bearer to allow access to Product, Billing, and Payment API’s. Timeout for token is data from timeout field request.

URL Endpoint

Generate Request

No
Name
Type
Mandatory
Min Length
Max Length
Description

1

backUrl

String

M

1

100

URL

2

trxId

String

M

1

32

Transaction Id

3

merchantId

String

M

1

100

Merchant Id

4

uniqKey

String

M

1

32

Unique Key by Merchant

5

returnUrl

String

M

1

100

URL

6

timestamp

String

M

1

19

YYYY-MM-DD HH:mm:ss

7

productCodes

Array

M

1

999

8

terminal

String

M

1

8

Terminal Id

9

terminalName

String

M

1

20

Terminal Name

10

billInfo

O

1

6

Detail of Bill Info

11

isNotif

Boolean

M

1

5

True or False

12

timeout

String

M

1

10

Timeout in second

13

merchantSignature

String

M

1

100

SHA256

Sample Generate Request (with BillInfo)

Sample Generate Request (without BillInfo)

Generate Response

No
Name
Type
Mandatory
Min Length
Max Length
Description

1

responseCode

M

1

7

Status Code for Generate Widget

2

responseDesc

String

M

1

100

Status Description for Generate Widget

3

redirectURL

String

M

1

100

URL to Widget App with access token included

Sample Generate Response

Last updated