BonusPay Documents
English
English
  • Welcome
  • Get Started
  • Basic Fee Structure
  • API Rules
  • Creating an RSA Key
  • Products
  • Crypto TOPUP
    • Parameters
    • getAddress
    • queryCustomerDepositOrderPage
    • getCustomerDepositOrder
    • Notification (Callback)
  • Order Payment by API
    • Parameters
    • Place Order
    • Cancel Order
    • Accept Order
    • Get Order
    • Get PaymentEventList
    • Refund
    • Get Refund Order
    • Notification (Callback)
  • Order Payment by Checkout
    • Parameters
    • Place Order
    • Cancel Order
    • Accept Order
    • Get Order
    • Get PaymentEventList
    • Refund
    • Get Refund Order
    • Notification (Callback)
  • Withdraw
    • Parameters
    • Place Order
    • Get Order
    • Get Networks
    • Notification (Callback)
  • Transfer
    • Parameters
    • Place Order
    • Get Order
    • Get Networks
    • Notification (Callback)
  • Fx Rate
    • Parameters
    • getFxrate
  • Get Account Balance
    • Parameters
    • getAccountList
  • No Code Production
  • Fiat Settlement
    • Parameters
    • Place Order
    • Get Order
    • Notification (Callback)
  • Plug-and-Play
    • WooCommerce
Powered by GitBook
On this page
  • Request Parameters
  • Request Sample
  • Response Parameters
  • Response Sample
  1. Transfer

Get Order

This interface provides the query of Transfer orders. Merchants can actively query the status of orders through the query interface to complete the next business logic.

Cases where the query interface needs to be called:

  1. When there is an exception in the merchant's backend, network, server, etc., and the merchant system does not receive the withdrawal result notification in the end.

  2. After calling the withdrawal interface, the system returns an error or an unknown transaction status.

Interface Address

Sandbox URL: http://api.testbonuspay.network/sgs/api/ccwithdraw/getOrder

Production URL: https://api.bonuspay.network/sgs/api/ccwithdraw/getOrder

Request Parameters

Http Header

Field name
Variable name
Required
Type
Example
Description

Language

Content-Language

Optional

String(10)

en

en-English

Signature

Sign

Required

String

Merchant ID

Partner-Id

Required

String(12)

Http Body

Field name
Variable name
Required
Type
Example
Description

Request time

requestTime

Required

Timestamp(3)

1581450087000

Business content

bizContent

Required

OrderIndexRequest

-

Business content

Request Sample

Http Header
{
  "Content-Language": "en",
  "Content-Type": "application/json",
  "sign": "Tu3fopHy1opsWVTAk12FSr8KsGMcFTQB0dOH4fPGrG8iKvhcGCsmCr4kOy3CBmv7zXpBNfMxoRW33YPz0Zm6503CDnqxlOZGaOCFSmwnsE01vDzZL489wPj5HEKJ7kk70/muDMiUwJubZoXVtmOGhpvvczJDYIhP/5kpwSkucdkjZwrlp7IGqoFHrgKgZXXieOsUlGJHb9xg+HchtCqCYaOvX+gIK/o88SdgogvGm8NW/N4dzBhnfbwPcC7ue3MO8mwCDkJ/5KavK8TEotSeTvFEyhAvzrd41ccg47SWXZ4UnhvwT06iIYZ67G4Xg24Bc97cQe1XFM9CPd+/8w7uDA==",
    "Partner-Id": "200000000888"
}

Http Body
{
  "requestTime": 1581405884647,
  "bizContent": {
    "merchantOrderNo": "M965739182419"
  }
}

Response Parameters

Http Header

Field Name
Variable Name
Required
Type
Example
Description

Signature

sign

Required

String

-

The body field in the Http Body is only returned when applyStatus is SUCCESS and code is 0.

Http Body

Field Name
Variable Name
Required
Type
Example
Description

Response Header

head

Required

ResponseHeader

-

Response Body

body

Optional

WithdrawResponse

-

WithdrawResponse

Field Name
Variable Name
Required
Type
Example
Description

Order Information

withdrawOrder

Required

WithdrawOrder

-

Response Sample

Http Header
{
  "sign": "JzWjVQ245trg3p0CyuwUUHN+Ck40q/HDaMvhqueHDP8YHqC/Uw3c9VWCw4gKsNbk+CRShjT+bvKkck8Fc3aAiRK8wIVQz6eu95sPkJgZp5A0P+tfMH/44F+3CrejtbEIkrHdSwhy98Tv9TYs9QFe7Yni/vEJ8P4OU6FZJOi8LGOMF6Nc8+S5qftc7qLA17cNJ7NJYC+EW8suGe/NmGA9c5NMK5BwHTHzXYOjXwXLx8mw4M3hiirl0wtVym3hrOmbkujYZCH56h8uOVF0FbHGu5uoq61NuniJitLLs9qyiEprQzUe8oWsJnHKXeGAgEr//fLXIXgYsRYb7AWoJzs6Eg=="
}

Http Body

    "body":{
        "withdrawOrder":{
            "actualReceivedAmount":{
                "currency":"ETH",
                "amount":0.011
            },
            "partnerFee":{
                "currency":"ETH",
                "amount":0.0012
            },
            "createdTime":1679671169143,
            "orderNo":"20230324000000093",
            "merchantOrderNo": "45318b6facbb4fc48bf4eb8d6201e173",
            "status":"COMPLETED",
            "txid":"0x6941a870b2243406b42d72a9c609ca003c96b74e1f644eea61abd794c9bf780f",
            "address":"0x12cAb94C20523444b7E88F00Ab8a8009e4dF8B6a",
            "expectedReceivedAmount":{
                "currency":"ETH",
                "amount":0.011
            },
            "network":"ETH",
            "refAmount":{
                "exchangeCurrencyCode":"USDT",
                "refAmount":{
                    "amount":10000000,
                    "currency":"INR"
                }
            }
        }
    },
    "head":{
        "applyStatus":"SUCCESS",
        "code":"0",
        "msg":"SUCCESS",
        "traceCode":"000000"
    }
}
PreviousPlace OrderNextGet Networks

Last updated 7 months ago