API DOCS
  • Introduction
  • Getting Started
  • Supported Assets
  • Reference
    • API Reference
      • Common Parameters
      • Order
        • Pay Example
          • MuseWallet Checkout
          • Direct Integration
            • India
              • Wallet
            • Vietnam
              • Virtual_account
              • Qrcode
            • Indonesia
              • Wallet
              • Virtual_account
              • Qrcode
            • Brazil
              • Wallet
            • USA
              • Credit Card
            • Philippine
              • Wallet
              • Qrcode
          • On-Chain
        • Payout Example
          • India
            • BankTransfer
          • Vietnam
            • BankTransfer
          • Brazil
            • WalletTransfer
          • Indonesia
            • WalletTransfer
            • BankTransfer
          • Philippine
            • WalletTransfer
            • BankTransfer
      • Balance
      • Conversion
      • Fee
  • WebHook
  • API Responses
  • Enums
    • Payment Method
    • Payment Type
      • Vietnam
        • qrcode
        • virtual_account
      • Brazil
        • wallet
      • Indonesia
        • virtual_account
        • wallet
        • qrcode
      • India
        • wallet
      • Philippine
    • Payout Method
      • Vietnam
        • Bank
      • Indonesia
        • Bank
        • Wallet
      • Brazil
        • Wallet
      • India
        • bank
      • Philippine
        • Bank
        • wallet
    • Order Type
    • Order Status
    • Country Code
  • Data(Test)
Powered by GitBook
On this page
  • HTTP Status Code
  • API Error Codes

API Responses

HTTP Status Code

  • 200 - OK - Request processed as expected.

  • 400 - INVALID_REQUEST - Request is not well-formed, violates schema or incorrect fields.

  • 401 - NOT_AUTHORIZED - The API key doesn't match the signature or doesn't have permissions to perform the request.

  • 403 - FORBIDDEN - The API key's permissions doesn't match the needed permission to complete the request.

  • 404 - RESOURCE_NOT_FOUND - The requested resource doesn't exist.

  • 429 - RATE_LIMIT_REACHED - Too many requests. Blocked due to rate limiting.

  • 5XX - Something went wrong on ToPay's end

API Error Codes

Error Code
Constant
Desc

406

SIGN_ERROR

412

WRONG_TIMESTAMP_OR_NONCE

5004

USER_STATUS_INVALID

7000

ORDER_NOT_EXIST

7002

CURRENCY_NOT_SUPPORT

202206

QUOTA_MIN_CHECK_FAIL

202211

UNSUPPORTED_CURRENCY

202224

DOUBLE_PAYMENT

202203

INSUFFICIENT_BALANCE

202212

ORDER_AMOUNT_MUST_MORE_THAN_SERVICE_FEE

2204002

NO_SPECIFIED_FEE_RULE

206003

PAYOUT_METHOD_INVALID

Please check your request parameters: country, payout_method, bankcode, walletcode

PreviousWebHookNextEnums

Last updated 1 year ago