Help Center
VCCHUB How-to
  1. API Reference
  • Guides
    • Welcome
    • Interface
  • API Reference
    • Introduction
    • Endpoints
    • Data Types
    • Signing
    • 3-D Secure Verification
    • Subscription
    • Errors
    • Webhooks
    • Items Information
    • Changelog
    • Acquiring
      • Create a direct payment
        POST
      • Create a APM payment
        POST
      • Create a redirect (iFrame) payment
        POST
      • Query a transaction
        POST
      • Capture a transaction
        POST
      • Review a transaction
        POST
      • Cancel a transaction
        POST
      • Cancel a subscription
        POST
      • Refund a transaction
        POST
      • Search a refund transaction
        POST
      • Create a payout
        POST
      • Optimise payment methods
        POST
      • Batch Upload Logistics Information
        POST
      • Query a payout transaction
        POST
      • Query Merchant Payout Balance
        POST
      • Query Merchant Unsettled Amount
        POST
    • Issuing
      • Webhook Signature Verification
      • Cardholder
        • Create cardholder
        • Update Cardholder
        • Delete cardholder
        • Query cardholder
      • Group
        • Create group
        • Query group details
        • Delete group
        • Group Card Withdrawal
        • Update group status
        • Recharge group
        • Query rule
      • Card
        • Create a card
        • Query card details
        • Query card transaction
        • Cancel a card
        • Withdraw from a card
        • Update card status
        • Recharge card
        • Update shared card limit
        • Query for card operation
        • Query card BIN
      • Account
        • Query Account Balance
  • Appendix
    • Test Cards
    • Bank Code
    • Country Code
    • Currency Code
    • Payment Methods
  1. API Reference

Errors

Star SaaS uses standard HTTP response codes to indicate whether an API request was successful or failed. Generally:
2xx codes indicate success.
4xx codes indicate client errors, such as missing required parameters or a failed charge.
5xx codes indicate server-side errors, which are uncommon.
Certain 4xx errors, like a card being declined, come with an error code that provides a brief explanation, allowing for programmatic handling.
When we send an error response, the body will generally contain the following fields:

Response Body Attributes#

ItemDescription
codeError code (please refer to reference table)
sourceName of the request parameter that caused the error
messageDescription of the error

Common Errors#

I0013: Encryption (encryption_data) Error#

Make sure sign_key is correct; Noted that the sign_key is case sensitive
Make sure the encryption is via SHA256 method
Make sure the parameters in return_url do NOT contain "&"

I0014: Test sub-account is used in production#

The initial merchant account is created in test environment
Merchant needs to use the merchant account in sandbox while developing payment integration
Once complete developing and testing, please reach to us to obtain the merchant account in production

I0015 : Live sub-account is used in Sandbox#

After us enables a merchant account to LIVE, merchant need to change the target URLs to live environment URLs.

Error Codes#

Acquiring
Issuing

Issuing API Authentication and Signature Errors#

The following error codes may be returned by the Issuing API gateway during authentication or signature verification. Business-level errors for cardholders, groups, cards, and other Issuing operations remain documented in the respective endpoint references.
CodeDescriptionRecommended Action
0000SuccessThe request was processed successfully.
2000Invalid signature request formatCheck required signature headers, the Authorization format, and Content-Type.
2001Signature mismatchVerify the canonical request, request body hash, API Key, and HMAC calculation.
2002Signature expiredSynchronize the client clock using NTP and generate a new signature.
2003Access credential not foundVerify the APP ID in the Credential field.
2004Signature verification errorContact Star SaaS support for investigation.
2005API access not authorizedConfirm that the credential is authorized to access the requested API path.
2013Access credential disabledUse a valid, active credential.
2015Duplicate request detectedGenerate a new timestamp, nonce, and signature.
2016Request rate limit exceededRetry later according to the applicable retry policy.
3000Source IP not allowlistedAdd the source IP to the merchant's allowlist.
9999System errorContact Star SaaS support if the error persists.
503Service unavailableRetry later.
These authentication and signature error codes apply to Issuing only. Existing Acquiring error codes and descriptions remain unchanged.
Previous
Subscription
Next
Webhooks