New Recharge API V3
    New Recharge API V3
    • Mobile Data Package
      • Ooredoo Buy epackage
        POST
      • MPT Buy epackage
        POST
      • ATOM Buy epackage
        POST
    • CANAL+
      • CANAL+ catalogs
        GET
      • CANAL+ Check Offer
        POST
      • CANAL+ Verify Offer
        POST
      • Buy Data Package (Canal New Sale)
        POST
      • CANAL Verify Renewal
        POST
      • CANAL Check Account
        POST
      • Buy Data Package (Canal New Sale Temp version)
        POST
      • Buy Data Package (Canal Renew Temp version)
        POST
    • Bill Pay
      • E-Load
        • Buy Eload
      • Bill API getBillAmount
        GET
      • Bill API processCollection
        POST
      • Bill API checkTransaction
        POST
    • E-PIN
      • Buy Epin
        POST
    • Get Client Token
      GET
    • ATOM Buy epackage(ftth | wttx)
      POST
    • Prepaid Gift Card buy epackage
      POST
    • Skynet buy epackage
      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
    • Query Order Status
      GET

      ATOM Buy epackage(ftth | wttx)

      POST
      https://newrecharge-api.getmya.io/recharge/api/transaction/buy
      Last modified:2025-11-14 09:11:11

      Request

      Header Params

      Body Params application/json

      Example
      {
          "productType": "EPACKAGE",
          "supplierCode": "ATOMNEW",
          "payload": {
              "packageCode": "ftth",
              "merchOrderNo": "Tst2024101666668880002",
              "customerId": "5002397",
              "amount": "38000",
              "devices": "3YGN236006192",
              "productId": "555",
              "serviceType": "ftth"
          }
      }

      Request Code 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 --request POST 'https://newrecharge-api.getmya.io/recharge/api/transaction/buy' \
      --header 'Authorization: Bearer ' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "productType": "EPACKAGE",
          "supplierCode": "ATOMNEW",
          "payload": {
              "packageCode": "ftth",
              "merchOrderNo": "Tst2024101666668880002",
              "customerId": "5002397",
              "amount": "38000",
              "devices": "3YGN236006192",
              "productId": "555",
              "serviceType": "ftth"
          }
      }'

      Responses

      🟢200Success
      application/json
      Body

      Example
      {
          "code": "SUCCESS",
          "success": true,
          "message": "SUCCESS",
          "data": {
              "orderNo": "E20250624041427723570151",
              "invoiceNumber": "E20250624041427723570151",
              "status": "success",
              "message": "ok",
              "extra": {
                  "operator": "ATOM",
                  "packageCode": "ftth",
                  "sellingPrice": "38000",
                  "phone": null,
                  "result": "{\"CustomerID\":\"5002397\",\"Amount\":\"38000\",\"devices\":\"3YGN236006192\",\"product_id\":\"555\"}"
              }
          }
      }
      Modified at 2025-11-14 09:11:11
      Previous
      Get Client Token
      Next
      Prepaid Gift Card buy epackage
      Built with