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"
}
Action | Description |
---|---|
finish | The order has been confirmed and the checkout can be finished. |
show_conflict | After sending the IPN, the merchant responded with HTTP 409 or 410. |
show_on_hold | The order is on hold. |
wait_for_screening | The order is in screening process.
It has the extra param expires_in . |
resume_after_screening | The screening process has been resolved or expired. The identification should be updated again to know the new status. |
wait_for_confirmation | The order has not been confirmed yet. Keep waiting. |
wait_for_on_hold | The on hold state has not been confirmed yet from the merchant. Keep waiting. |
Special metadata on some actions
{
"action": "finish",
"return_url": "..."
}