Skip to main content

10-Minute H2H Quickstart

Get your first Host-to-Host payment running in under 10 minutes with this step-by-step guide.

Prerequisites

  • Yonobi merchant account with API keys
  • Development environment (Node.js, Python, or PHP)
  • Webhook endpoint capability

Step 1: Environment Setup (2 minutes)

Set your environment variables:

Step 2: Create Payment Request (3 minutes)

Step 3: Handle Webhook (3 minutes)

Step 4: Check Payment Status (2 minutes)

Testing Your Integration

Test with Sandbox Data

Use these test values in sandbox:

Expected Flow

  1. Payment Created → Status: pending
  2. User Completes Payment → Webhook received
  3. Payment Confirmed → Status: completed

Troubleshooting

Common Issues

Debug Checklist

  • ✅ API key is correct
  • ✅ Webhook URL is accessible
  • ✅ Webhook signature verification
  • ✅ Required fields provided
  • ✅ Amount format is correct

Next Steps

Credit Card Payments

Implement credit card processing

UPI Payments

Add UPI payment support

Testing Guide

Comprehensive testing scenarios

Error Handling

Handle errors and edge cases

Success! 🎉

You’ve successfully:
  • Created your first H2H payment request
  • Set up webhook handling with signature verification
  • Implemented payment status checking
  • Tested the complete payment flow
Your H2H integration is now ready for production!