Welcome to the Yabetoo API
The Yabetoo API is organized around REST principles, featuring predictable resource-oriented URLs, JSON request and response bodies, and standard HTTP response codes. Our API is designed to be simple, secure, and developer-friendly.Base URL
All API requests should be made to:
https://api.yabetoopay.com
Quick Start
Get started with the Yabetoo API in minutes:1
Get Your API Keys
Sign up and obtain your API keys from the developer
dashboard
2
Make Your First Request
Test the API by creating a checkout session or payment intent
3
Handle Webhooks
Set up webhooks to receive real-time notifications about payment events
Authentication
All API endpoints require authentication using your secret API key. Include your key in the Authorization header of every request:Never expose your secret API keys in client-side code. Always make API calls
from your server.
Request Format
The Yabetoo API accepts JSON-formatted request bodies and returns JSON responses. Always include the appropriate Content-Type header:Example Request
Core Resources
Checkout Sessions
Create secure, hosted payment pages for accepting payments without handling sensitive card data.Checkout Sessions
Create and manage checkout sessions for hosted payments
Payment Intents
Build custom payment flows with full control over the payment process.Payment Intents
Create and confirm payment intents for advanced integrations
Disbursements
Transfer funds from your account to customer accounts for marketplace and platform scenarios.Disbursements
Send money to customers or partners
Remittances
Enable international money transfers with our remittance API.Remittances
Process cross-border payments and transfers
Webhooks
Receive real-time notifications about events in your account.Webhooks
Configure endpoints to receive event notifications
HTTP Status Codes
The Yabetoo API uses standard HTTP status codes to indicate success or failure:Code | Description |
---|---|
200 | Success - Request completed successfully |
201 | Created - Resource created successfully |
400 | Bad Request - Invalid request parameters |
401 | Unauthorized - Invalid or missing API key |
402 | Payment Required - Insufficient funds or failed payment |
403 | Forbidden - Access denied |
404 | Not Found - Resource not found |
429 | Too Many Requests - Rate limit exceeded |
500 | Internal Server Error - Something went wrong on our end |
Error Handling
When an error occurs, the API returns a JSON object with error details:Error Types
api_error
- Issues with our APIauthentication_error
- Problems with your API keyinvalid_request_error
- Invalid parameters or formatrate_limit_error
- Too many requestspayment_error
- Payment processing failed
Rate Limiting
The Yabetoo API implements rate limiting to ensure fair usage:- Test Mode: 100 requests per minute
- Live Mode: 1000 requests per minute
Pagination
List endpoints support pagination usinglimit
and offset
parameters:
Idempotency
Safely retry requests by including anIdempotency-Key
header with a unique value:
Versioning
The current API version isv1
. We maintain backward compatibility and announce changes well in advance. Specify the API version in your requests:
SDKs and Libraries
Accelerate your integration with our official SDKs:Testing
Use our sandbox environment to test your integration without processing real payments:- Test API Key: Starts with
sk_test_
- Test Endpoint: Same as live (
https://api.yabetoopay.com
) - Test Cards: Use our test card numbers
Support
Need help with the API?- Documentation: Complete guides and examples
- Developer Support: Contact our technical team
- Status Page: Check API status and uptime
- Community: Join our developer community
This API reference provides complete documentation for all Yabetoo API
endpoints. Each endpoint includes request/response examples, parameter
descriptions, and error codes.