Simply Pay (English)
    Simply Pay (English)
    • Access Guidelines
    • Accessory Code Table
    • Signature Example
    • Solutions to common problems with signatures
    • payment
      • Payment Order Create
        POST
      • Payment Order Query
        GET
    • payout
      • Payout Order Create
        POST
      • Payout Order Query
        GET
    • account
      • Balance Query
        GET
    • webhook
      • payment webhook
      • payout webhook

    Signature Example

    Signature Algorithm sha256
    if:
    appId: b2170558cd6b13febb1827db5185cfd9
    appSecret: 18b22b824d560565f853c8cf4a58e2b6
    params for payin
    {
        "appId":      "b2170558cd6b13febb1827db5185cfd9",
        "merOrderNo": "LTJPD1159",
        "currency":   "INR",
        "amount":     "100",
        "returnUrl":  "https://www.example.com",
        "notifyUrl":  "https://www.example.com",
        "extra": {
            "name":   "test",
            "email":  "test@1234.com",
            "mobile": "911111111112"
        },
    }
    for sign string:
    Sort by the Unicode of key. Then concatenate the parameters in the form of key1=value1&key2=value2&key3=value3. The same applies to the parameters in extra.
    amount=100&appId=b2170558cd6b13febb1827db5185cfd9&currency=INR&extra=email=test@1234.com&mobile=911111111112&name=test&merOrderNo=LTJPD1159&notifyUrl=https://www.example.com&returnUrl=https://www.example.com&key=18b22b824d560565f853c8cf4a58e2b6
    got sign: a6c1f5216ce7f44e10fa6beccc22de58caa947eae3f1c3a416f29e7594a2b95b
    add sign key to params
    {
        "appId":      "b2170558cd6b13febb1827db5185cfd9",
        "merOrderNo": "LTJPD1159",
        "currency":   "INR",
        "amount":     "100",
        "returnUrl":  "https://www.example.com",
        "notifyUrl":  "https://www.example.com",
        "extra": {
            "name":   "test",
            "email":  "test@1234.com",
            "mobile": "911111111112"
        },
        "sign": "a6c1f5216ce7f44e10fa6beccc22de58caa947eae3f1c3a416f29e7594a2b95b"
    }

    Demo#

    Java#

    php#

    NodeJs#

    Golang#

    Modified at 2025-01-08 10:01:50
    Previous
    Accessory Code Table
    Next
    Solutions to common problems with signatures
    Built with