> For the complete documentation index, see [llms.txt](https://docs.coda.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coda.co/codapay/integration-guides/testing-guide/sandbox-testing-guide.md).

# Sandbox Testing Guide

{% hint style="info" %}
👍 <mark style="color:blue;">**Simulator feature available for Admin and Tech roles**</mark>
{% endhint %}

### **Step 1: Login to** [**Publisher Portal**](https://portal.coda.co/)

### **Step 2: Access from the side menu Products > Codapay > Sandbox Testing**

### Payment Initiation

Choose the **Title** and enter the required **Request Parameters**.&#x20;

Then, click the **"Send Request"** button to generate the **Transaction ID**.

<figure><img src="/files/ZXT42IXhE8NjtARwc6UE" alt=""><figcaption><p>Payment initiation request</p></figcaption></figure>

### Payment Page

After selecting **"Generate Payment Page"** on the payment initiation page, you'll be redirected to the **Payment Page** tab.&#x20;

There, you can access test page URLs for both mobile and desktop versions.&#x20;

To open the payment page in a new tab, either click the **"Generate Payment Page"** button or directly select the provided URLs.

<figure><img src="/files/ASOrwuzLDuk5Iu1gSj5I" alt=""><figcaption><p>Generate Payment Page</p></figcaption></figure>

### Display Payment Page

Make sure to open the payment page, fill up the required testing information (refer to [payment channel testing instruction](/codapay/integration-guides/testing-guide/payment-channel-testing-instructions.md)), and proceed to the next step

<figure><img src="/files/tUgn3bTns2ctRUSgucTI" alt=""><figcaption></figcaption></figure>

### Payment Simulator

Choose the transaction status you would like to simulate

<figure><img src="/files/3HBjxnauhY5o57ItaMqg" alt=""><figcaption></figcaption></figure>

### Transaction status update

Payment Page will be updated to the responding simulated status

<figure><img src="/files/fhhjAr7bbvAW17IjuaqW" alt=""><figcaption></figcaption></figure>

### Payment Status Check

Enter the **request parameters** to check the response for a **Successful Payment Status**. You can implement the **Payment Status Check** flow on your end to verify the payment results for each transaction.

<figure><img src="/files/8xJKd0tJLa1p7bMCgJ6e" alt=""><figcaption><p>Payment status check request</p></figcaption></figure>

Click on Send Request to check the response structure

<figure><img src="/files/LFX991ryDbSYl8eMISdT" alt=""><figcaption><p>Payment status check response</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.coda.co/codapay/integration-guides/testing-guide/sandbox-testing-guide.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
