Getting Started

Primary APIs

Merchants can integrate the Rest APIs to perform the support txns seamlessly from their portals.

Status Enquiry

To validate the status of a transaction for which the response may or may not have been received.

Authentication: Sha256 HASH along with request.

 Request format

Method

URL            

POST

https://uat.cashlesso.com/pgws /transact

Headers: Content-Type:application/json

Request Params 

Type

Params

Values

POST

POST

POST

POST

POST

POST

PAY_ID

ORDER_ID

AMOUNT

TXNTYPE

CURRENCY_CODE

HASH

string

string

string

STATUS

Number

string

Sample Json:

Response

Refund API's

Initiate a refund transaction via API

Authentication: Sha256 HASH along with request.

Request

Method

URL            

POST

{Context}/transact

 

S No

Params

Value Type

Mandatory

1

2

3

4

5

6

7

8

PG_REF_NUM

REFUND_FLAG

AMOUNT

TXNTYPE

ORDER_ID

REFUND_ORDER_ID

PAY_ID

HASH

number

string

number

REFUND

number

string

string

string

Yes

Yes

Yes

Yes

Yes

No

Yes

Yes

ORDER_ID: Order ID generated by merchant for original transaction

REFUND_ORDER_ID: Order ID generated by merchant for refund transaction

TXN_ID: Transaction ID generated by PG

Request

Response