API Doc
languages
languages
  • English
  • 简体中文
languages
languages
  • English
  • 简体中文
  1. 6. Web Payment
  • API Signature Process
  • API General Code
  • 1. Account
    • 1. Check Account Balance
      POST
  • 2. Payout
    • Disbursement Product Flow Chart
    • Disburse Channel List
    • 1. Disburse
      POST
    • 2. Check Disburse Status
      POST
    • 3. Disburse Notification
      POST
  • 3. Static VA
    • VA ChannelCode List
    • 1. Static VA Create
      POST
    • 2. Static VA Collection Query
      POST
    • 3. Static VA Collection Notification
      POST
    • 4. Static VA Collection Verification
      POST
  • 4. Dynamic VA
    • Payment ChannelCode List
    • 1. Collection Request
      POST
    • 2. Collection Transaction List
      POST
    • 3. Collection Notification
      POST
  • 5. Payment QR
    • QR Code ChannelCode List
    • 1. QR Code Create
      POST
    • 2. QR Code Detail
      POST
    • 3. QR Code Payment List
      POST
    • 4. QR Code Payment Notification
      POST
  • 6. Web Payment
    • Payment Channel List
    • 1. Create Payment
      POST
    • 2. Check Payment Status
      POST
    • 3. Payment Notification
      POST
  • 7. Split Payment
    • Split Payment Enumeration
    • 1. Relationship Proof File Upload
    • 2. Add Split Payment Receiver
    • 3. Query Split Payment Receiver
    • 4. Delete Split Payment Receiver
    • 5. Query Unsplit Amount
    • 6. Split Payment
    • 7. Query Split Payment Result
    • 8. Split Payment Return
    • 9. Query Split Payment Return Result API
languages
languages
  • English
  • 简体中文
languages
languages
  • English
  • 简体中文
  1. 6. Web Payment

1. Create Payment

POST
/open-api/paymentOrder/generate

Request

Header Params

Body Params application/json

Example
{
    "appId": "your appid",
    "sign": "sign by param",
    "param": "{\"mchOrderId\":\"Platform0000001\",\"amount\":20000,\"customerName\":\"user01\",\"channelCode\":\"DANA_URL\",\"email\":\"Platform@gmail.com\",\"mobile\":\"0817345545\",\"notifyUrl\":\"https://test.com\",\"timestamp\":\"1677482490058\"}"
}

Request Code 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 --request POST '/open-api/paymentOrder/generate' \
--header 'Content-Type: application/json' \
--data-raw '{
    "appId": "your appid",
    "sign": "sign by param",
    "param": "{\"mchOrderId\":\"Platform0000001\",\"amount\":20000,\"customerName\":\"user01\",\"channelCode\":\"DANA_URL\",\"email\":\"Platform@gmail.com\",\"mobile\":\"0817345545\",\"notifyUrl\":\"https://test.com\",\"timestamp\":\"1677482490058\"}"
}'

Responses

🟢200
application/json
Body

Example
{
  "code": 10000,
  "message": "Success",
  "data": {
    "transactionId": "C4T3060223381409792",
    "payUrl": "https://debit-sandbox.faspay.co.id/pws/100003/0830000010100000/b30040d9483a0f4054b9545f4dfaaa3a6047c852?trx_id=3561681273119370&merchant_id=35616&bill_no=C4T3060223381409792",
    "mchOrderId": "d482028729878834100"
  }
}
Modified at 2026-01-08 10:14:38
Previous
Payment Channel List
Next
2. Check Payment Status
Built with