1. Payin
English
  • Chinese
  • English
  • Open API Documentation
  • Payin
    • Payin Order - General
    • Payin Order - India
    • Payin Order - Philippines
    • Payin Order - Indonesia
    • Payin Order - Vietnam
    • Payin Order - Cryptocurrency
    • Payin Order - China
    • Payin Order - Malaysia
    • Payin Order - Pakistan
    • Payin Order - Thailand
  • Payout
    • Payout Order - General
    • Payout Order - India
    • Payout Order - Philippines
    • Payout Order - Indonesia
    • Payout Order - Vietnam
    • Payout Order - Cryptocurrency
    • Payout Order - Malaysia
    • Payout Order - Pakistan
    • Payout Order - Thailand
  • Callback Notification
    • Callback Description
    • Collection Callback
    • Payout Callback
  • Query API
    • Collection Order Query
    • Payout Order Query
    • Wallet Query
  • Examples of encryption and signature
    • Go Language Encryption and Signature Example
    • Python Encryption and Signature Example
    • PHP encryption and signature example
    • Node.js encryption and signature example
    • Environment variables and request body JSON example
    • Java encryption and signature example
  • Other instructions
    • Response Status Description
    • Order Status Description
    • Payment Method List
    • Bank Code List
    • Checkout iframe Copy Function Support Description
    • Backend Login Instructions
  1. Payin

Payin Order - India

India Payin API#

Brief Description
Payment Payin Order
Request URL
/api/v1/transactions
Request Method
POST
Request Format
Content-Type: application/json

Request Parameters#

Field NameTypeDescriptionRequiredExample
titleStringOrder titleNoCollection Order
order_noStringMerchant order number (max 64 characters, must be unique)YesTX10000000000001
amountnumberOrder amountYes1000
currencyStringCurrencyYesINR
payment_methodStringPayment method code, please refer to payment method listYesUPI-Intent
callback_urlStringCallback notification URLYeshttp://www.aaa.com/callback
return_urlStringRedirect URL after payment completionYeshttp://www.aaa.com/pay_success.html
user_ipStringUser real IP address. To improve success rate, please provide real IPYes
return_typeStringResponse type: PLATFORM (hosted checkout), CUSTOM (custom checkout), default PLATFORMNoPLATFORM
remarkStringTransaction description (max 200 characters)NoCollection order test
expire_secondsintOrder expiration time (seconds)No3600
payerobjectPayer informationYes
user_idStringUnique user identifier (account or ID)Yestest001

Request Example#

{
  "title": "Collection Order",
  "order_no": "pay-00001",
  "amount": 1000,
  "currency": "INR",
  "remark": "test order",
  "payment_method": "UPI-Intent",
  "return_url": "http://localhost:8080/cashier",
  "callback_url": "http://localhost:8080/cb/test/Titan003",
  "expire_seconds": 3600,
  "user_ip": "10.10.2.108",
  "return_type": "PLATFORM",
  "payer": {
        "user_id": "test001"
    }
}

Response Parameter Description (When return_type=PLATFORM)#

Field NameTypeDescriptionRequiredExample
codeintMessage status code. 200: Request successful, Others: ErrorYes200
msgStringDescriptionYesSUCCESS
dataobjectSuccess dataYesIncludes the following data
trade_noStringPlatform transaction numberYesPI0000000000001
order_noStringMerchant order numberYesTX10000000000001
statusStringStatus. PROCESSING: In progressYesPROCESSING
messageStringResponse messageYesSuccess
amountnumberOrder amountYes1000.00
due_pay_amountnumberAmount dueYes1000.00
currencyStringCurrencyYesINR
feenumberTransaction feeYes20.00
detailsobjectPayment guidance informationYes
redirect_urlStringCheckout page redirect linkNohttps://www.playacepay-pay.net/payment?no=T76561402743621
Response Example - PLATFORM Success
{
  "code": 200,
  "msg": "Success",
  "data": {
    "trade_no": "PI2009978658270650368",
    "order_no": "pay-00003",
    "status": "PROCESSING",
    "message": "success",
    "amount": "1000",
    "due_pay_amount": "1000",
    "currency": "INR",
    "fee": "3",
    "details": {
      "redirect_url": "https://sandbox.payhub.example.com/pay/PI2009978658270650368",
    }
  }
}

Response Parameters (return_type = CUSTOM)#

Field NameTypeDescriptionRequiredExample
codeintStatus code (200: request success, others: error)Yes200
msgStringDescriptionYesSUCCESS
dataobjectResponse dataYesincludes the following fields
trade_noStringPlatform order numberYesPI0000000000001
order_noStringMerchant order numberYesTX10000000000001
statusStringOrder status (PROCESSING: processing)YesPROCESSING
messageStringResponse messageYessuccess
amountnumberOrder amountYes1000.00
due_pay_amountnumberAmount to be paidYes1000.00
currencyStringCurrencyYesINR
feenumberFeeYes20.00
detailsobjectPayment guidance informationYes
redirect_urlStringCheckout redirect URLYeshttps://www.playacepay-pay.net/payment?no=T76561402743621
redirect_uriStringUPI deep linkNoreturn_type=CUSTOM
qr_codeStringPayment QR codeNoreturn_type=CUSTOM
Response Example - CUSTOM Success
{
  "code": 200,
  "msg": "Success",
  "data": {
    "trade_no": "PI2009978658270650368",
    "order_no": "pay-00003",
    "status": "PROCESSING",
    "message": "success",
    "amount": "1000",
    "due_pay_amount": "1000",
    "currency": "INR",
    "fee": "3",
    "details": {
         "redirect_url": "https://sandbox.payhub.example.com/pay/PI2009978658270650368",
         "qr_code": "upi://pay?pa=9835767065@ikwik&cu=INR&am=200&pn=R1J4jh&tn=R1J4jh",
         "redirect_uri": "upi://pay?pa=9835767065@ikwik&cu=INR&am=200&pn=R1J4jh&tn=R1J4jh"
    }
  }
}
Response Example - Failure
{
  "code": 4002,
  "msg": "Payment method code not supported",
  "data": null
}

UTR Repair API#

Brief Description
UTR repair operation for India market
Request URL
/api/v1/transactions/repairOrder
Request Method
POST
Request Format
Content-Type: application/json

Request Parameters#

Field NameTypeDescriptionRequiredExample
trade_noStringPlatform order numberYesPI2008813005176963155
utrStringUTR reference numberYes568794589

Request Example#

{
  "trade_no": "PI2008813005176963155",
  "utr": "456498120"
}

Response Parameters#

Field NameTypeDescription
codeintStatus code (200 success, others error, see error code definitions)
msgStringResponse message
dataobjectResponse data
statusStringSUCCESS / FAIL / ERROR
messageStringResult message (e.g., repair failed or already processed)
Response Example - Success
{
  "code": 200,
  "msg": "操作成功",
  "data": {
    "status": "SUCCESS",
    "message": "补单成功"
  }
}
Response Example - Failure
{
  "code": 1002,
  "msg": "System error",
}
Modified at 2026-06-01 11:52:33
Previous
Payin Order - General
Next
Payin Order - Philippines
Built with