post https://sandbox.depasify.com/api/v1/api/v1/accounts//card_payments
This endpoint returns a JSON response with a continue_url
field.
You must embed this continue_url
in an iframe in your own web page.
Example usage:
<iframe src="{{continue_url}}" width="100%" height="500"></iframe>
When the whole process finishes, an event will be sent via postMessage from the iframe. You need to read that event
to finish the process and inform the final user.
// Add event listener for postMessage
window.addEventListener('message', handlePostMessage)
Make sure the host you use in the Swagger UI matches your environment so the continue_url
is correct.