Generate a payment initiation link for a specific order.
GET/v1/order/:order_id/payment_link
This endpoint creates a secure payment link that allows buyers to initiate payment for an invoice. The link is only generated if: - The order is in a supported country - The merchant and buyer are in the same country - The invoice currency matches the merchant's home currency Returns: Contains the payment link URL or null if not available
Request
Responses
- 200
- 400
- 401
- 404
- default
Payment link generated successfully
Bad request - invalid order or payment link generation failed
Unauthorized - API key required
Order not found or access denied
Error response