Learn how to create and process payments with Open Market API
Parameter | Type | Description |
---|---|---|
product_name | string | Name of the product or service being sold |
price | number | Price in the local currency |
description | string | Description of the product or transaction |
buyer_name | string | Customer’s full name |
buyer_country | string | Customer’s country (see supported countries) |
reference | string | Your unique transaction reference (6-24 alphanumeric characters, must contain both letters and numbers) |
Parameter | Type | Description |
---|---|---|
meta_data | object | Additional data you want to store with the payment |
success_url | string | URL to redirect after successful payment (must be valid HTTPS/HTTP URL) |
failed_url | string | URL to redirect after failed payment (must be valid HTTPS/HTTP URL) |
buyer_country
, use one of these exact values:
API Key Security
Meta Data Usage
Backend Implementation
Input Validation
Error Handling
Webhook Security
Testing Strategy
Monitoring & Logging
Payment URL Not Generated
Redirect Not Working