Currency Option

  1. Request Instruction
    HTTPS Method POST
    URL http://subdomain.supersuite.my/api/tool/option
    Content Type  application/json
    Response Type JSON
    Parameter Description

    token : string, is required.

    type : string, is required.

    Request Headers

    {

        "Content-Type":"application/json"

    }

    Request Body

    {

       "token" : "B7ABD5DEEC6588997DE41B0FE0665",

       "type" : "currency"

    }

  2. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "id" : "1",

                          "code" : "MYR",

                          "name" : "Malaysian Ringgit (MYR)",

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

        "error" : "Token invalid. / No found data."

    }