pilot

Complete a Purchase Workflow {#intelligent-commerce-initiate-flow}
==================================================================

This diagram illustrates the required steps to complete a purchase using `Intelligent Commerce`.

#### Figure:

Complete a Purchase Workflow  
![](/content/dam/new-documentation/documentation/en-us/topics/platform/agentic/intelligent-commerce/images/intelligent-commerce-vas-flow-600x835.svg/jcr:content/renditions/original)

1. The new customer signs up for an account on your website and enrolls their card credentials.
2. Your AI agent sends an enroll a card API request to `Visa Acceptance Platform`.
3. `Visa Acceptance Platform` tokenizes the customer's card and responds with a `PENDING` status. For more information, see [Enroll a Card](/docs/vas/en-us/intelligent-commerce/developer/all/rest/intelligent-commerce/intelligent-commerce-enroll-card-intro.md "").
4. The customer verifies their identity to activate their tokenized card.
5. The customer logs in to their account and uses the agent to submit a purchase inquiry.
6. The customer verifies their identity to authenticate the purchase intent.
7. Your agent sends an initiate a purchase intent request to `Visa Acceptance Platform`.
8. `Visa Acceptance Platform` responds with an instruction ID. For more information, see [Initiate a Purchase Intent](/docs/vas/en-us/intelligent-commerce/developer/all/rest/intelligent-commerce/intelligent-commerce-purchase-initiate-intro.md "").
9. Your agent displays list of best products or services based on the customer's purchase intent.
10. The customer chooses a product or service.
11. Your agent displays the customer's tokenized cards.
12. The customer chooses their preferred card.
13. Your agent sends a retrieve payment credentials to `Visa Acceptance Platform` and includes the instruction ID. For more information, see [Retrieve Payment Credentials](/docs/vas/en-us/intelligent-commerce/developer/all/rest/intelligent-commerce/intelligent-commerce-retrieve-credentials-intro.md "").
14. `Visa Acceptance Platform` retrieves the customer's tokenized card.
15. Your agent uses the customer's tokenized card and your payment system to complete the transaction.
16. Your agent sends a confirm transaction events request to `Visa Acceptance Platform`. For more information, see [Confirm Transaction Events](/docs/vas/en-us/intelligent-commerce/developer/all/rest/intelligent-commerce/intelligent-commerce-confirm-trxn-intro.md "").
17. `Visa Acceptance Platform` responds with a `COMPLETED` status.
18. Your agent confirms payment and checkout completion to customer.

