Overview
Create a secure, single-use payment link with customizable settings. Perfect for e-commerce orders, service payments, and subscription renewals.Merchant Validation Required: Complete merchant validation at
https://oneclickdz.com/#/OcPay/merchant-info
before using this endpoint.
Request Body
Product or service details being paid for
Determines who pays withdrawal fees -
NO_FEE - Merchant pays all fees
(default) - SPLIT_FEE - Fees split 50/50 - CUSTOMER_FEE - Customer pays
all feesCustom success message (max 500 characters) shown after payment Example:
"Thank you for your purchase! Your order is being processed."Redirect URL after successful payment (must be valid HTTP/HTTPS) Example:
"https://yourstore.com/order-check?orderId=12345"Response
Indicates if the operation was successful
Payment link details
Response metadata
Key Features
Fee Flexibility
Choose who pays transaction fees - merchant, customer, or split
Custom Branding
Personalized success messages and redirect URLs
Sandbox Testing
Test integration safely before going live
Single-Use Security
Each link is single-use for enhanced security
Important Notes
Amount Limits: - Minimum: 500 DZD - Maximum: 500,000 DZD - Must be whole
numbers (no decimals)
Fee Structure: - 0% if using OneClick balance - 1% withdrawal fee only
(configurable per transaction)
Link Expiration: Payment links expire 20 minutes after creation if payment
is not initiated

