Payment Inquiry

Purpose: Retrieve the current status of a payment using its payId. Useful for order fulfillment systems or asynchronous status checks.

HTTP URL

https://secure.jken.me/api/v1/merchant/inquiry

HTTP Method

GET

Query Parameters

Parameter

Type

Required

Max Length

Description

merchantId

String

Yes

4

Unique identifier for each merchant provided by L2P

appId

String

Yes

128

Unique identifier for each application provided by L2P

apiKey

String

Yes

128

Unique key for each application provided by L2P

payId

string

Yes

20

Payment Id

Response example

{
    "data": {
        "payId": "013b48f-1c7e0b-860b4",
        "merchantRef": "1742295144911",
        "amount": "1",
        "info": {
            "merchantRef": "1742295144911",
            "callbackUrl": "https://demo.jken.me/",
            "orderNo": "victorNd1",
            "field1": "https://i.etsystatic.com/50470297/r/il/f72197/5779582788/il_1588xN.5779582788_nhs2.jpg",
            "field2": "V",
            "field3": "I",
            "field4": "C",
            "field5": "T"
        },
        "status": "paid",
        "expiredAt": 1742296051945,
        "remainingAmount": "0",
        "orderNo": "victorNd1",
        "payments": [
            {
                "method": "usdc:solanaDevnet:G8AxHUeCVZZpRc2t3WXHXvBDqsJkZUyDbWBBMsaRziop",
                "time": 1742295190960,
                "txHash": "e4TeWLeD2MCBmEeDh8LuaE3sTUGgV71mTAQKpYMuZZBBwhMPLTYFMqq5Fq8KWShmHuc6g4g5WpxAjrznghBaveh"
            }
        ]
    },
    "error": false,
    "message": "Success"
}

Last updated