Decide a dispute (platforms)
For an approved platform, on a deal between two of its customers, with your key alone: the only way you move your customers’ money, and only once one of them has raised a dispute. While no dispute is open, only the buyer and seller act on the escrow.
release: everything in dispute goes to the seller (less fees).refund: everything still held goes back to the buyer. On a milestone dispute the remaining milestones are cancelled and the escrow endsrefunded.split:refund_amountof what is in dispute goes back to the buyer and the rest to the seller, in one go. It must leave both sides something (less than what is in dispute).
What is in dispute is the milestone for a milestone dispute, or everything still held for
the whole escrow. KetaPay keeps its fee as on a refund, and your commission is only on what
the seller is paid. Works while the dispute is open or under_review. The dispute ends
resolved with outcome released, refunded or partially_refunded and resolved_by
platform. Sends dispute.resolved, then the money events.
Refused for a merchant (platform_not_approved: KetaPay decides your disputes), on your
own sales or deals your team is part of (not_the_decider), while KetaPay has paused your
platform (rulings_paused: KetaPay decides meanwhile), once the dispute has ended
(dispute_not_open) and while the escrow is under review (escrow_under_review). Counts
towards your rolling 24-hour limit (daily_limit_reached).
Authorizations
Authorization: Bearer <secret key>. Secret keys belong to your organisation, are shown
once when created in the dashboard, and are scoped (see x-required-scope on each
operation). Keep them on your server. Live keys are issued after your business is
verified. Publishable keys (pk_) are only for @ketapay/checkout and don't work here.
Headers
Body
Response
Decided. The money action is executed.
One decision a business made that moves money, and who made it. KetaPay moves the money and keeps this record for good.
scheduled is waiting for execute_after, executing is moving the money. executed
is done. cancelled was overtaken or stopped before any money moved. failed didn't
move the money, and KetaPay is looking into it.
scheduled, executing, executed, cancelled, failed