# Integration Testing Flow

1. To test the integration in the methods used it is necessary to replace "payment" with "sandbox" in the request URL, thus switching to sandbox mode, in the sandbox the creation of payment is simulated.
2. To change the status for receiving webhook you need to log in to the personal account of swcpay, and return to the payment form in sandbox.
3. 3 buttons should appear on the form, which are responsible for the possible statuses of payments, pressing them on Callback URL will send payment data in the specified status.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://swcpay.gitbook.io/swcpay/payments/integration-testing-flow.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
