When swap endpoint returns a non-null value for the approval transaction, and user signs that tx, you should periodically call this endpoint to see if the approval tx is completed. After a successful check, you could proceed with the main transaction.

Language
Authorization
Query
Click Try It! to start a request and see the response here!