# MD for: https://www.mercadopago.com.mx/developers/en/docs/checkout-api-orders/integration-test/spei-transfers.md \# Perform a test purchase with SPEI Transfers To test your integration with \*\*SPEI Transfers\*\* you'll need to create an order with predefined values. This means that it will only be possible to verify the operation of your integration through a requisition, and not by simulating a purchase. To do this, follow the steps below. :::AccordionComponent{title="Create test order"} To perform these tests, send the following request to the :TagComponent{tag="API" text="/v1/orders" href="/developers/en/reference/online-payments/checkout-api/create-order/post"} endpoint, along with your :toolTipComponent\[test Access Token\]{content="Private key of the application created in Mercado Pago, that must be used in the backend. You can access it through \*Your integrations > Integration data > Tests > Test credentials\*. The test Access Token starts with the prefix \`APP\_USR\`."}. \`\`\`curl curl --request POST \\ --url https://api.mercadopago.com/v1/orders \\ --header 'Content-Type: application/json' \\ --data '{ "type": "online", "external\_reference": "ext\_ref\_1234", "processing\_mode": "automatic", "marketplace": "NONE", "total\_amount": "200.00", "payer": { "first\_name": "John", "email": "test\_user\_mx@testuser.com" }, "transactions": { "payments": \[ { "amount": "200.00", "payment\_method": { "id": "clabe", "type": "bank\_transfer" } } \] } } ' \`\`\` This request will return a response with the status \`action\_required\`, which indicates that payment is pending, as shown below. \`\`\`json { "id": "ORD01JPQVD4ED4QSPT1N787C8PYQT", "processing\_mode": "automatic", "external\_reference": "ext\_ref\_1234", "marketplace": "NONE", "site\_id": "MLM", "user\_id": "1735143232", "product\_id": "CIFI5HEOD60B64QAI5O0", "capture\_mode": "automatic", "currency": "MXN", "type": "online", "status": "action\_required", "status\_detail": "waiting\_transfer", "total\_amount": "200.00", "created\_date": "2025-03-19T18:42:12.557054278Z", "last\_updated\_date": "2025-03-19T18:42:13.645123166Z", "integration\_data": { "application\_id": "4863578097401450" }, "payer": { "email": "test\_user\_mx@testuser.com", "first\_name": "Payer Name" }, "transactions": { "payments": \[ { "id": "PAY01JPQVD4ED4QSPT1N7895PA160", "date\_of\_expiration": "2027-12-31T10:00:00.000-04:00", "status": "action\_required", "status\_detail": "waiting\_transfer", "amount": "200.00", "payment\_method": { "id": "clabe", "type": "bank\_transfer", "ticket\_url": "https://www.mercadopago.com.mx/payments/105292425055/ticket?caller\_id=1872745950&hash=0db37f93-34e2-45cd-acd6-c8a8950b0512", "reference": "646010349353743569" }, "reference": { "id": "0002inkmnw", "source": "transaction\_intent", "metadata": { "from\_id": "01JPQVD4H5NT6DZDV5BQX7YB3G", "to\_id": "01JPQVD4H5QA5XCTFVBHD17GHE" } } } \] } } \`\`\` ::: :::AccordionComponent{title="Verify test order"} Finally, to verify if the test order was created correctly, send a \*\*GET\*\* request to the :TagComponent{tag="API" text="/v1/orders/{id}" href="/developers/en/reference/online-payments/checkout-api/get-order/get"} endpoint, replacing \`id\` with the order identification, received in the response to its creation. ::: Ready! Once these steps are completed, the integration of SPEI Transfers as a payment method is complete, and you can either continue testing other integrated payment methods, or \[go to production\](https://www.mercadopago.com.mx/developers/en/docs/checkout-api-orders/go-to-production).