# Postman

Here is our Optty postman for create order flows:

{% file src="/files/tws2gLQ3W3fFifxVJiTm" %}

Pre Requisites

1. Download the postman collection.
2. Replace `webhook_url` in the collection variables to a url you can receive webhook messages on. <https://webhook.site> is an easy way to do this.
3. Go through the Order flow outlined in the Postman collection (Steps 1, 2 and 3)
   1. Follow the redirect URL in step 3 to complete payment and test the other order management end points

This Postman collection is linked to an existing Optty merchant with pre-enabled payment methods. While sufficient for basic testing, more in-depth testing requires signing up for your own merchant account[ here](https://www.optty.com/merchant-account). Once registered, replace the \`client-id\` and \`client-secret\` with your new merchant's credentials in the collection level variables. You will also need to enable payment methods using the Optty credentials linked at the bottom of this page.

## APM Simulation

To ensure a smooth integration, we recommend using the Optty Sandbox APM for the majority of your testing. This tool allows you to simulate the full order lifecycle—from creation to final status—without relying on third-party sandbox environments.

Why use the Sandbox APM?

* Total Control: Simulate specific edge cases (e.g., specific error codes or pending states) that third-party sandboxes may not consistently support.
* Higher Stability: Avoid external downtime or credential issues often found in third-party test environments.
* Faster Iteration: Test complex asynchronous flows (like webhooks) on your own terms.

***

## Third-Party Sandbox Testing

While the Sandbox APM covers most needs, we understand you may occasionally require a "live" simulation within a specific third-party environment (e.g., ZIP AU) to verify the end-to-end redirect experience.

Below, you will find the Credentials required to enable these methods in your Optty Merchant Dashboard and the Test Payment Data needed to complete the checkout on their respective pages.

***

## Test Data

### Sandbox APM

Can be enabled on the UPP by entering ANY dummy test credentials and does not required Test Payment Data.

### ZIP Sandbox Environments

<details>

<summary>ZIP Credentials</summary>

**Api Key**\
`eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI5Njk0MzBkNC04NmQ4LTQ3MDUtOTlhMC02NDg0ZDJiY2JhOGIiLCJqdGkiOiIyNjQyYTJhZS1iODAyLTQzYmEtODk1MS1iYTliMTY4ZGEzMDEiLCJpYXQiOjE2MjYyNjQxMzR9.RPm76qd5Lc335r5o9_Ixbfg_G7DAPCzM4HAvs1ip-i0`

</details>

<details>

<summary>Zip Test Payment Data</summary>

**Successful**\
**User**: <zp_1700691729065@mailinator.com>\
**Password**: test1234\
\
**Decline**\
**User:** <skipmfa_zpv2_1758589813746_471728932@mailinator.com>\
**Password**: test1234

</details>

### FatZebra

<details>

<summary>Fat Zebra Credentials</summary>

**username**: vsmrt-TESToptty

**sharedSecret**: 733d8b567c

**access\_key**: 1DrrvOD8CW5FIA==\
\
**token**: 5517fa6e8f1580b6904b735106baa7be60b38eb6

**access\_secret**: g4amFj1RTJwQrJpUHUN\_xGUmYZw=

</details>

<details>

<summary>Fat Zebra Test Payment Data</summary>

**Card Number**: 4000000000001000\
\
**Card Holder Name**: Any\
\
**Expiry**: Any Future Date\
\
**CVC**: Any 3 Digits

</details>


---

# 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://docs.optty.com/direct-api-orders/postman.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.
