4. Wait for confirmation/screening

GET /api/v1/checkout/:uuid/wait

After a successful payment and the IPN processed by the merchant, the order will be confirmed. But this is an asynchronous process, and this endpoint will return the status of it. Example of response:

{
  "action": "show_on_hold"
}
ActionDescription
finishThe order has been confirmed and the checkout can be finished.
show_conflictAfter sending the IPN, the merchant responded with HTTP 409 or 410.
show_on_holdThe order is on hold.
wait_for_screeningThe order is in screening process. It has the extra param expires_in.
resume_after_screeningThe screening process has been resolved or expired. The identification should be updated again to know the new status.
wait_for_confirmationThe order has not been confirmed yet. Keep waiting.
wait_for_on_holdThe on hold state has not been confirmed yet from the merchant. Keep waiting.

Special metadata on some actions

{
  "action": "finish",
  "return_url": "..."
}