Payment Response

Purpose: The customer is redirected back to the callbackUrl provided in the /payment request.

HTTP URL

callbackUrl (as provided in the Payment Request)

HTTP Method

GET

Behavior

Redirect

Query Parameters

Parameter

Type

Required

Max Length

Description

payId

String

Yes

24

Unique ID generated by L2P for each transaction

method

String

Yes

255

Payment method used by the customer.Format: <token name>:<blockchain network>:<token address>

merchantRef

String

Yes

30

A unique identifier generated by the merchant

orderNo

String

Yes

30

An order number

amount

String

Yes

36

The amount of the transaction, maximum 18 decimals

txHash

String

Yes

120

The transaction hash of the transaction on the blockchain

responseCode

String

Yes

3

A response code generated by L2P to indicate the status of the transaction

responseMessage

String

Yes

255

A description of the transaction result

secureHash

String

Yes

64

A hash used by the merchant to authenticate the response and ensure data integrity. (See Section 7 for secureHash generation)

Response example

https://demo.jken.me/?payId=013b48f-1c7e0b-860b4&method=usdc%3AsolanaDevnet%3AG8AxHUeCVZZpRc2t3WXHXvBDqsJkZUyDbWBBMsaRziop&merchantRef=1742295144911&orderNo=victorNd1&amount=1&txHash=e4TeWLeD2MCBmEeDh8LuaE3sTUGgV71mTAQKpYMuZZBBwhMPLTYFMqq5Fq8KWShmHuc6g4g5WpxAjrznghBaveh&responseCode=0&secureHash=f1957259e8918ea34492a5e9b6e73e641b9eee5daf14416ccbfb8d906c34035a

Last updated