API DOCS
  • Introduction
  • Getting Started
  • Supported Assets
  • Reference
    • API Reference
      • Common Parameters
      • Order
        • Pay Example
          • MuseWallet Checkout
          • Direct Integration
            • India
              • Wallet
            • Vietnam
              • Virtual_account
              • Qrcode
            • Indonesia
              • Wallet
              • Virtual_account
              • Qrcode
            • Brazil
              • Wallet
            • USA
              • Credit Card
            • Philippine
              • Wallet
              • Qrcode
          • On-Chain
        • Payout Example
          • India
            • BankTransfer
          • Vietnam
            • BankTransfer
          • Brazil
            • WalletTransfer
          • Indonesia
            • WalletTransfer
            • BankTransfer
          • Philippine
            • WalletTransfer
            • BankTransfer
      • Balance
      • Conversion
      • Fee
  • WebHook
  • API Responses
  • Enums
    • Payment Method
    • Payment Type
      • Vietnam
        • qrcode
        • virtual_account
      • Brazil
        • wallet
      • Indonesia
        • virtual_account
        • wallet
        • qrcode
      • India
        • wallet
      • Philippine
    • Payout Method
      • Vietnam
        • Bank
      • Indonesia
        • Bank
        • Wallet
      • Brazil
        • Wallet
      • India
        • bank
      • Philippine
        • Bank
        • wallet
    • Order Type
    • Order Status
    • Country Code
  • Data(Test)
Powered by GitBook
On this page
  1. Reference
  2. API Reference
  3. Order
  4. Pay Example
  5. Direct Integration
  6. Philippine

Qrcode

Example

// request
curl --location --request POST 'https://api.musepay.io/v1/order/pay' \
--header 'Content-Type: application/json' \
--data-raw '{
    * "request_id": "custom_code9982674851738108",
    * "currency": "PHP", 
    * "amount": "150",
    * "payment_method": "direct",   
    * "payment_type": "qrcode",   
    * "payment_channel": "2000508",   //see support virtual account code
    * "product_name": "product info",
    * "customer_ref_id": "abcd1234",
      "notify_url": "https://notify.url",
      "remark": " test remark",
    
}'
// response

{"code":"200",
 "data":{
   "request_id":"1675157000687",
   "partner_id":"2000051",
   "order_no":"2023013120000600262092321146",
   "currency":"PHP",
   "order_amount":"0.3",
   "status":11,
   "payment_method":"direct",
   "qrcode_string":"abccddafdsfdasfsfas"
 },
 "message":"success"
 }
PreviousWalletNextOn-Chain

Last updated 11 months ago