1. OpenApi
IBitPay
🌐English
  • 🌐繁體中文
  • 🌐English
  • IBitPay OpenApi Document Center
  • Encryption and Decryption
  • Callback
  • Global Error Codes
  • Sample Code
  • OpenApi
    • Create Buy Order
      POST
    • Get Buy Rate
      POST
    • Get Balance
      POST
    • Create Sell Order
      POST
    • Get Sell Rate
      POST
  1. OpenApi

Create Buy Order

POST
/api/open/order/createBuyOrder

Request

Body Params application/json

Example
{
    "merchantNo": "string",
    "amount": 0,
    "currencyType": "string",
    "merchantOrderNo": "string",
    "customerName": "string",
    "customerCountry": "string",
    "customerIdCardNumber": "string",
    "customerPhoneNumber": "string",
    "redirectUrl": "string",
    "hideUsdt": true,
    "paymentType": 0,
    "callbackUrl": "string"
}

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 '/api/open/order/createBuyOrder' \
--header 'Content-Type: application/json' \
--data '{
    "merchantNo": "string",
    "amount": 0,
    "currencyType": "string",
    "merchantOrderNo": "string",
    "customerName": "string",
    "customerCountry": "string",
    "customerIdCardNumber": "string",
    "customerPhoneNumber": "string",
    "redirectUrl": "string",
    "hideUsdt": true,
    "paymentType": 0,
    "callbackUrl": "string"
}'

Responses

🟢200OK
application/json
OK
Bodyapplication/json

Example
{
    "url": "string"
}
Modified at 2026-02-25 16:37:59
Previous
Sample Code
Next
Get Buy Rate
Built with