release.method to release_code. KetaPay gives the buyer a 6-digit code for each milestone. The buyer gives it to the seller only once they are satisfied, and the seller entering it delivers and releases that milestone in one step.
Create the session
How the code reaches the buyer
KetaPay sends each code to the buyer by email and by WhatsApp or SMS once the escrow is funded. To show it in your own app too, fetch it with the buyer’s customer token:The seller enters the code
Wrong codes
- A wrong code fails with
release_code_invalid. - After 5 wrong codes, code entry is locked for that escrow for 1 hour (
release_code_locked) and the buyer is alerted. - A disputed milestone can’t be released with a code; the dispute must be settled first.