SA-starpago-en
  1. payin
SA-starpago-en
  • Access Guidelines
  • Accessory Code Table
  • Signature Example
  • Solutions to common problems with signatures
  • Indonesia - BankCodes Table
  • Thailand - BankCodes Table
  • Pakistan - BankCodes Table
  • Philippines - BankCodes Table
  • Bengal - BankCodes Table
  • payin
    • Pakistan - Create payin
      POST
    • Thailand - Create payin
      POST
    • Philippines - Create payin
      POST
    • Bengal - Create payin
      POST
    • Payment Order Query
      GET
  • payout
    • Pakistan - Create payout
      POST
    • Thailand - Create payout
      POST
    • Philippines - Create payout
      POST
    • Bengal - Create payout
      POST
    • Payout Order Query
      GET
  • account
    • Balance Query
      GET
  • webhook
    • payin webhook
    • payout webhook
  1. payin

Bengal - Create payin

POST
{{HOST}}/api/v2/payment/order/create

Request

Body Params application/json
appId
string 
应用号
required
appID
merOrderNo
string 
商户订单号
required
merchant order no
notifyUrl
string 
异步通知地址
required
callback url
sign
string 
签名
required
currency
string 
金额币种
required
BDT
amount
string 
required
amount
payMethod
string 
required
choose BD_BKASH/BD_NAGAD
extra
object 
required
mobile
string 
required
phone number
email
string 
required
email
accountNo
string 
required
accountNo
accountName
string 
required
accountName
attach
string 
附加信息
optional
returnUrl
string 
同步通知地址
optional
redirect to url when payment success
Example
{
    "appId": "a0c07e56c281c23c9b0bfd94923cfb9d",
    "merOrderNo": "94657471-ecdf-2013c-640d-2cde48001122",
    "notifyUrl": "http://localhost:8888/notify",
    "sign": "4fc6c379a1824d3416fab4f86c9077d1e48e00a55c96ad52a5c1901d447d81c3",
    "currency": "IDR",
    "amount": 13500,
    "extra": {
        "email": "akin@gmail.com",
        "phone": "82220509720",
        "accountName": "akin",
        "channelCode": "MANDIRI"
    },
    "attach": "发起代收"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST '{{HOST}}/api/v2/payment/order/create' \
--header 'Content-Type: application/json' \
--data-raw '{
    "appId": "a0c07e56c281c23c9b0bfd94923cfb9d",
    "merOrderNo": "94657471-ecdf-2013c-640d-2cde48001122",
    "notifyUrl": "http://localhost:8888/notify",
    "sign": "4fc6c379a1824d3416fab4f86c9077d1e48e00a55c96ad52a5c1901d447d81c3",
    "currency": "IDR",
    "amount": 13500,
    "extra": {
        "email": "akin@gmail.com",
        "phone": "82220509720",
        "accountName": "akin",
        "channelCode": "MANDIRI"
    },
    "attach": "发起代收"
}'

Responses

🟢200成功
application/json
Body
code
integer 
响应状态码
required
0为成功
msg
string 
返回文字描述
required
data
object 
返回数据
required
orderStatus
integer 
订单状态
required
pending 0 1 -4
success 2 3
failed -1 -2 -3
orderNo
string 
交易订单号
required
订单号
merOrderNo
string 
商户订单号
required
商户订单号
amount
integer 
required
金额
currency
string 
金额币种
required
币种
attach
string 
required
createTime
integer 
required
updateTime
integer 
required
sign
string 
签名
required
params
object 
required
支付数据
message
string 
描述信息
required
订单异常时会返回此字段,用作异常描述
Example
{
    "code": 0,
    "msg": "success",
    "data": {
        "orderStatus": 1,
        "orderNo": "14b2409d1f0a4720bcbe0e62c30e5e25",
        "merOrderNo": "94657471-ecdf-2013c-640d-2cde48001122",
        "amount": 13500,
        "currency": "IDR",
        "attach": "发起代收",
        "createTime": 1728014062872,
        "updateTime": 1728014062872,
        "sign": "609a05be8730c4f4adfa5bc61dac64ba13041f62c0778ec281a0b283b8cd6ffb",
        "params": {
            "bankCode": "QRIS",
            "content": "00020101021226670016COM.NOBUBANK.WWW01189360050300000870650214411175444529490303UKE51440014ID.CO.QRIS.WWW0215ID20243220097110303UKE5204549953033605405135005802ID5907HORIZON6013JAKARTA BARAT61051163062510114100413324243500614202410041577940703A010804POSP630409F9",
            "payMethod": "QRIS",
            "paymentLink": "https://h5.simplypay.vip/payment/idr/14b2409d1f0a4720bcbe0e62c30e5e25"
        }
    }
}
Modified at 2025-06-01 13:54:58
Previous
Philippines - Create payin
Next
Payment Order Query
Built with