Overview
Yuno provides a public Postman workspace with pre-built collections covering the full API surface. Use these collections to explore the API, test payment flows, and prototype integrations without writing code.Forking the Yuno Workspace
1
Open the Yuno Postman workspace
Navigate to Yuno’s public Postman workspace and browse the available collections.
2
Fork the collection
Click the Fork icon on the collection you want to use. Forking creates a personal copy in your Postman workspace that stays linked to the original for updates.
- Enter a label for your fork (e.g., “My Yuno Integration”)
- Select your target workspace
- Click Fork Collection
3
Fork the environment
Fork the Yuno Sbx - Postman environment alongside the collection. This environment contains the variable structure you need for authentication and request configuration.
Forking rather than exporting keeps your copy linked to the original. When Yuno updates the collection, you can pull changes into your fork.
Environment Setup
The Yuno Sbx - Postman environment provides pre-configured variables for sandbox testing. After forking, update the following variables with your credentials:Configuring Variables
- In Postman, click Environments in the sidebar
- Select Yuno Sbx - Postman
- Enter your values in the Current Value column for each variable
- Click Save
Additional Environment Variables
The collection uses these auto-populated variables for request chaining:Collection Structure
The Yuno Postman collection is organized by API resource:
Each request includes:
- Pre-configured headers (authorization, content-type)
- Example request body with documented fields
- Test scripts that auto-save response IDs to environment variables
Running Your First Request
1
Select the environment
In the top-right corner of Postman, select Yuno Sbx - Postman from the environment dropdown.
2
Open Create Checkout Session
Navigate to Checkout Sessions > Create Checkout Session in the collection sidebar.
3
Review the request body
The request body is pre-populated with a valid example. Review and modify fields as needed:
4
Send the request
Click Send. A successful response returns a
201 status with the checkout session object. The checkout_session_id is automatically saved to your environment variables.5
Continue the flow
Use the saved
checkout_session_id in subsequent requests like Create Payment to complete the payment flow.Request Chaining
The collection uses Postman test scripts to chain requests automatically. When you run a request, the response ID is saved to an environment variable and referenced by the next request in the flow:Testing with Different Payment Methods
The collection includes example request bodies for common payment methods:
Switch between payment method examples by selecting the corresponding request variant within each folder.
Sandbox test credentials and card numbers are documented in the request descriptions. Use the provided test values for consistent results.
Sharing with Your Team
Share your configured collection with team members:- Postman Team Workspace: Move your fork to a team workspace so all members have access
- Environment management: Create a shared environment with non-sensitive variables (
account_id,base-url) and instruct members to add their ownprivate-secret-keylocally - Collection updates: When Yuno updates the source collection, pull changes into your fork via Pull Changes in the fork menu
Best Practices
- Keep your fork updated. Regularly pull changes from the Yuno source collection to get new endpoints and fixes.
- Use environment variables for all dynamic values. Avoid hardcoding IDs, keys, or tokens in request bodies.
- Run requests in sequence for payment flows. The chaining scripts depend on running requests in the correct order.
- Review test scripts. The collection includes assertions that validate response structure. Run them as part of your testing to catch integration issues early.
- Create separate environments for sandbox and production. Duplicate the environment, update credentials, and switch between them using the environment selector.