Wallet

The parameter of customer is mandatory, when payment type is 'wallet'.

Example

// request
curl --location --request POST 'https://api.musepay.io/v1/order/pay' \
--header 'Content-Type: application/json' \
--data-raw '{
    * "request_id": "custom_code9982674851738108",
      "pay_currency": "IDR",
    * "currency": "IDR", 
    * "amount": "150",
    * "payment_method": "direct",   
    * "payment_type": "wallet",   
    * "payment_channel": "ovo",   //see support wallet code
    * "product_name": "product info",
    * "customer_ref_id": "abcd1234",
    * "customer" : {
          "name": "Test User Name",
    *     "phone": "087*******99"
          "email": "[email protected]"
      },
      "notify_url": "https://notify.url",
      "remark": "payout test remark",
    
}'

Last updated