New Recharge API V3
    New Recharge API V3
    • GET Client Token
      GET
    • CANAL Check Account
      POST
    • CANAL Verify Renewal
      POST
    • Buy Data Package (Canal New Sale)
      POST
    • Buy Data Package (Canal Renew)
      POST
    • ATOM Buy epackage
      POST
    • Prepaid Gift Card buy epackage
      POST
    • Skynet buy epackage
      POST
    • Ooredoo Buy epackage
      POST
    • MPT Buy epackage
      POST
    • Buy Eload
      POST
    • Buy Epin
      POST
    • Get Products in Category Tree Form
      GET
    • Get Data Packages in Category Tree Form
      GET
    • Get Products in List Form
      GET
    • Get Data Packages in List Form
      GET
    • Get Product Stocks List
      GET
    • ATOM Enquiry Request
      GET
    • Skynet Enquiry Request
      GET
    • Get PrepaidGiftCard ProductList
      GET
    • Prepaid Gift Card Enquiry Price
      GET
    • Get Epin ProductDetailsShow
      GET
    • Get Order Status
      GET
    • Bill API getBillAmount
      GET
    • Bill API processCollection
      POST
    • Bill API checkTransaction
      POST

      GET Client Token

      Developing
      GET
      https://newrecharge-api.getmya.io/auth/oauth2/client_token
      Last modified:2025-06-25 07:03:55

      Request

      Query Params
      client_id
      string 
      optional
      Example:
      {{client_id}}
      scope
      string 
      optional
      Example:
      {{scope}}
      grant_type
      string 
      optional
      Example:
      {{grant_type}}
      client_secret
      string 
      optional
      Example:
      {{client_secret}}

      Request samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location -g --request GET 'https://newrecharge-api.getmya.io/auth/oauth2/client_token?client_id=1938431218251014144&scope=userinfo,openid,enquiryTransaction,buy,canalCheckAccount,canalVerifyRenewal,shwebankBillEnquiry,shwebankBillCheck,productGroupList,packageGroupList,productAllList,packageList,epinStockList,enquiryStock,atomEnquiry,skynetEnquiry,prepaidGiftCardList,prepaidGiftCardPriceEnquiry,productDetails&grant_type=client_credentials&client_secret=gOSlew-pwg70PeIs9GVH'

      Responses

      🟢200Success
      application/json
      Body
      code
      string 
      required
      success
      boolean 
      required
      message
      string 
      required
      data
      object 
      required
      token_type
      string 
      required
      client_token
      string 
      required
      expires_in
      integer 
      required
      client_id
      string 
      required
      scope
      string 
      required
      Example
      {
          "code": "SUCCESS",
          "success": true,
          "message": "SUCCESS",
          "data": {
              "token_type": "bearer",
              "client_token": "rJI6jK5gNO6D1u3BdrWABMiYyx5c92HjShyl9q4gWZBXFzTq5svn1d1HLdcF",
              "expires_in": 7199,
              "client_id": "Testclient0001",
              "scope": "userinfo,openid,createPrepaidOrder,queryPaymentOrder,shwebankBillEnquiry,shwebankBillCheck,buy"
          }
      }
      Modified at 2025-06-25 07:03:55
      Next
      CANAL Check Account
      Built with