Back

Automating payments with Xendit

Automating payments with Xendit

How the whole order and payout flow can run by itself once Emdee connects Xendit, with the current Philippine fees and a worked example.

4 minute read

In short

Today every order is a request. The team confirms payment by phone or email, marks the order paid, and sends each doctor's payout by hand through GCash or bank, then records the reference. Xendit is not connected yet. If Emdee connects it, the same flow can run without manual steps: the patient pays online, the order becomes paid on its own, and the doctor's fee is sent on the 15th.

Today, by hand

  1. The patient sends an order request and the team confirms payment by phone or email.
  2. An admin marks the order Paid, which starts the 14-day hold on the doctor's fee.
  3. On the 15th, an admin creates the payout batch, sends each amount by GCash or bank, and marks it Paid with the reference.

With Xendit connected

  1. The patient pays at checkout. They choose GCash, Maya, a card, or bank and online banking.
  2. The order becomes paid automatically. Xendit tells Emdee's server through a webhook that the payment succeeded. The order moves to Paid with no admin step.
  3. The 14-day hold runs. The doctor's fee is earned at that moment and becomes payable 14 days later, as it does today.
  4. The fee is sent on the 15th. Emdee sends each doctor's payable fee with Xendit disbursements to their GCash or bank account.
  5. The payout is marked paid with the Xendit reference. The doctor sees it on their dashboard. No one has to press anything.

Fees (Philippines)

Rates from xendit.co, checked on 25 Oct 2026; Xendit may change them. Source: xendit.co pricing (opens in a new tab), Philippines rows.

What a patient payment costs Emdee

How the patient paysXendit feeOn a ₱3,300.00 orderEmdee receives
GCash3.00% + ₱11.00₱110.00₱3,190.00
Maya2.00% + ₱11.00₱77.00₱3,223.00
QR Ph1.50% (minimum ₱15.00) + ₱11.00₱60.50₱3,239.50
Card issued in the Philippines3.50% + ₱11.00₱126.50₱3,173.50
Card issued abroad4.50% + ₱10.00 + ₱11.00₱169.50₱3,130.50
Bank direct debit (RCBC)1.30% (minimum ₱15.00) + ₱11.00₱53.90₱3,246.10

Online banking with other banks is priced per bank on the Xendit pricing page. Where a rate is not published there, the Emdee team will ask Xendit for it before the channel is offered.

What a payout to a doctor costs

Sent toXendit feeOn a ₱330.00 feeDoctor receives if Emdee pays the fee
GCash, Maya or bank1.00% (minimum ₱15.00) + ₱11.00₱26.00₱330.00

The fee on a payout is 1% of the amount, but never less than ₱15.00, plus ₱11.00. On a small fee the minimum is what applies.

VAT

The Xendit pricing page does not say whether these Philippine fees are VAT-inclusive or VAT-exclusive. Until Xendit confirms, assume VAT may be added on top, which would make each fee 12% higher than shown.

Worked example: an Illumyl order paid by GCash

A patient pays ₱3,300.00 for one Illumyl through a doctor's link. The doctor's rate is the default 10%.

StepAmount
Patient pays₱3,300.00
Xendit collection fee (GCash, 3.00% + ₱11.00)−₱110.00
Emdee receives₱3,190.00
Doctor's fee (10% of the ₱3,300.00 item subtotal)−₱330.00
Xendit disbursement fee (1% minimum ₱15.00 + ₱11.00)−₱26.00
Emdee keeps after fees₱2,834.00
Doctor receives₱330.00

The doctor's fee is taken from the item subtotal, as it is today. Emdee keeps the remainder before the cost of the bottles, delivery and any VAT.

Who pays the disbursement fee

This is Emdee's choice, not Xendit's. The worked example assumes Emdee absorbs it, so the doctor receives the full ₱330.00. If Emdee passed it on instead, the doctor would receive ₱304.00. Emdee suggests absorbing it, because the fee is small and the doctor sees the exact fee they earned.

Good to know

  • Once Xendit is connected, the manual steps in payouts and batches are replaced by automatic ones. The admin still checks a payout that fails.
  • The 14-day hold and the 15th payout day do not change.
  • If a payment fails or is cancelled, the order stays requested and no fee is earned.

Your bag

Your bag is empty.

Start a habit with one of the three formulas.

  • IllumylGlow from within + advanced suncare technologyPHP 3,300
  • Proteolife+Optimum joint and skin healthPHP 2,800
  • LidoxxNatural extracts for health and wellnessPHP 3,300