Set Up Payment Connection
Before you can create payments using direct integration with Yuno's API, you must configure your account by setting up payment connections, defining payment routing, enabling payment methods, and obtaining your API credentials. This page explains these essential setup steps.
You'll learn how to:
- Configure your first payment connection
- Set up payment routing
- Enable payment methods in the checkout builder
- Get your API credentials, including your
public-api-key
andprivate-secret-key
Yuno Testing GatewayMake sure to choose the payment connection that suits your needs when following these instructions. If you want to test credit card payments, use Yuno Testing Gateway as your provider.
Configure payment method
Before configuring a payment method, you first need to create a connection with one of the available providers.
Step 1: set up your connection
To set up your first payment connection:
- Navigate to Connections in the dashboard sidebar.
- Use the search bar to find the connection you need.
- Click Connect next to the gateway.
- Provide a descriptive name for the connection and follow any on-screen prompts.
- Click Save.
A confirmation message will appear in the dashboard once your connection is successfully added.
Step 2: set up routing for your new connection
Payment routing in Yuno allows you to define which connections will be used to process specific types of transactions. This enables dynamic routing logic and gives you flexibility to manage providers based on currency, country, or other factors. For a basic setup, follow these steps:
- Navigate to Routing in the dashboard sidebar.
- Click on the Not published tab to view payment methods that have available connections but no configured routes.
- Find the desired payment method and click Set Up.
- In the pop-up window:
- Click + Create new route.
- Enter a descriptive name for the route.
- Click Save.
- Click the arrow next to the new route and select Add step.
- Choose a processor from the list and click Select.
- Click Publish to save all your changes.
Your new route now appears in the Published tab, indicating that the configured payment method will now process all transactions through this configured route.
Step 3: enable the payment method in the Checkout Builder
After configuring your connection and routing, you need to enable the payment method to make it available in your checkout:
- Navigate to Checkout Builder in the dashboard sidebar.
- Locate the configured payment method in the list of available methods.
- Toggle the switch to enable it.
- Click Publish settings to apply your changes.
Step 4: get your API credentials
To complete the setup and integrate Yuno into your application, you will need to obtain your API credentials from the Yuno dashboard. These credentials are specific to the Sandbox environment:
- Navigate to the Developers section in the dashboard sidebar.
- In the Developer Tools section, locate your API credentials:
- Public API Key: Used for client-side SDK initialization.
- Secret API Key: Used for server-side API calls.
After you complete these steps, you're ready to create payments using direct integration.
Updated 2 days ago