Creates a virtual payment: a payment that records an amount owed to a payee and books its tax withholdings, without paying
the payee.
Use it when you hold the payee's balance yourself, for example in your own in-app wallet, and need tax withholdings and
reporting to follow each credit. When the payee later withdraws, create and submit a regular payment with Create Payment.
Requires the Write permission. The body, payee matching, defaults, errors and the duplicate warning are the same as
Create Payment.
A virtual payment has the same statuses as a regular payment and you manage it with the same operations, using its ID in the
/batches/{batchId}/payments/{paymentId} paths: Get Payment, Update Payment, Cancel Payment, Submit Payment. When you submit
it:
- The payee must be payable, as for a regular payment.
- Your ledger account balance must cover the full
sourceAmount, otherwise423 INSUFFICIENT_BALANCE. - Only the tax withholdings and fees leave your ledger account. No payout method is used and nothing reaches the payee.
- Status webhooks fire only when the payment reaches
COMPLETED.
virtualPayment is true on the returned payment.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
