Regiftme
    Regiftme
    • Regiftme API Documentation
    • APP
      • Public
        • Country list
        • App init
        • Homepage slider
        • Feedback
        • Analysis
        • User info
      • Card
        • Giftcard Currency Listing
        • Giftcard Calculator
        • Giftcard Categories
        • Giftcard Categories Details
        • Giftcard Exchange Rates
        • Sell Giftcards
        • Giftcard rates (Catalog)
        • Giftcard List
      • User
        • Registration
        • Login
        • Check Username
        • Send Email Verification
        • Send whatsapp code
        • Logout
        • Delete Account
        • Change Password
        • Email bind to app
        • Email bind verification code
        • Whatsapp bind to app
        • Phone number bind to app
        • Username modification
        • Fullname modification
        • Profile picture modification
        • Email change
        • Transaction pin
        • Send forgot password email
        • Forgot password
        • Change transaction pin
        • Send mail (Forgot password)
        • Forgot password New
        • Check phone number
      • Notifications
        • All notifications
      • Payments
        • Payment methods
        • Bank Account Verification
        • Bank lists
        • Set default payment method
        • Payment lists
        • Add payments info
        • USDT lists
        • Payment information deletion
      • Order
        • Order lists
        • Order details
        • Get available coupon
        • Check Coupon Status
        • Draw Coupon
      • Image uploads
        • Image upload
        • Multiple image upload
      • FAQ
        • FAQs
      • Wallet
        • Balance retrieval
        • Add money
        • Wallet information
        • Transaction history
        • Wallet money detail
      • Withdrawal
        • Withdrawal Information
        • Withdrawal Application
        • Add Bank
        • Bank list
        • Withdrawal list
      • Socials
        • Google Login
        • Facebook Login
        • Facebook Binding
        • Google Binding
      • VIP
        • VIP Information
        • VIP Cardswap
        • VIP default
        • VIP Loglist
      • Referrals
        • Referral invite information
        • Referral invitation rank list
        • Receive invitation
        • Get referral list
        • Rebate List
      • Checkin
        • Checkin Config
        • Checkin
      • Rank
        • Rank List
        • Rank details
        • Rank information
        • Rank reward list
        • Rank draw reward
      • Reward
        • Reward list
        • Reward details
        • Reward information
        • Draw reward
        • Rank reward list
      • Lottery
        • Lottery Draw
        • Lottery log
        • Lottery activity
      • Points
        • Product Type
        • Product List
        • Product Detail
        • Order List
        • Order Details
        • Redeem Points
        • Points Logs
    • WEB

    Regiftme API Documentation

    Test Environment#

    Test Environment URL: https://test-regiftme-api.gcard8.com
    Request Method: All APIs use the POST method.
    Request Body Format: x-www-form-urlencoded

    Common Request Parameters#

    Parameter NameDescription
    appidApplication ID
    signSignature string
    tokenUser login token (if required)

    Signature Rules#

    The signature is generated using the following formula:
    MD5(original_message + appkey)

    Example#

    For a request to fetch user information, the original message could be:
    appid=ios-pac-v1&userid=888
    The signature calculation would be:
    md5sign = MD5(appid=ios-pac-v1&userid=888 + appkey)
    The final request message would look like:
    appid=ios-pac-v1&userid=888&sign=md5sign

    appid and appkey Table#

    appidappkey
    ios-pac-v182ac238eb5909b9881628b6e0be7f884
    android-pac-v1e32f3ccb395c84c10e219a71101a76f2
    web-pac-v1a70e2433bc8b034f86441d861b91c3ab
    Passed parameters
    appid=android-pac-v1
    phone=123456789
    username=test
    Then the signature string should be
    clientSign = md5(appid=android-valueswap-v1&phone=123456789&username=testabcd)
    Anything else is incorrect, such as the following are examples of errors
    md5(phone=123456789&appid=android-pac-v1&username=testabcd)
    md5(appid=android-valueswap-v1&username=test&phone=123456789abcd)
    md5(appid=android-valueswap-v1&phone=123456789abcd)
    The final parameter passed to the backend is
    appid=android-pac-v1
    phone=123456789
    username=test
    sign=clientSign

    Debug Mode#

    In the test environment, you can pass the parameter debug=1 to skip signature validation. However, all required parameters must still be included in the request.

    Authentication#

    Non-authenticated APIs: Do not require the token parameter.
    Authenticated APIs: Require the token parameter, which is returned upon user login.

    API Response Format#

    All responses are in JSON format, with pagination starting from 0.
    Field NameDescription
    successIndicates success (true or false).
    codeError code.
    msgError message or description.
    dataData content (can be an array or object).

    Field Value Rules#

    Fields strictly follow type conventions:
    If a field has no value:
    The data field is returned as null if it does not exist.
    Other fields:
    Numeric fields are returned as 0.
    String fields are returned as "" (empty string).
    Arrays are returned as [] (empty array).
    Objects are returned as null.

    Examples#

    Request Example#

    POST /user/info HTTP/1.1
    Host: test-regiftme-api.gcard8.com
    Content-Type: application/x-www-form-urlencoded
    
    appid=ios-pac-v1&userid=888&sign=md5sign&token=abcd1234
    修改于 2025-03-25 07:52:14
    下一页
    Country list
    Built with