curl --location 'https://api.hub2.io/payment-links' \
--header 'Environment: sandbox' \
--header 'MerchantId: [REDACTED]' \
--header 'Content-Type: application/json' \
--header 'ApiKey: [REDACTED]' \
--data '{
"purchaseReference": "<YOUR_INTERNAL_CUSTOMER_REFERENCE>",
"description": "Payment for order 1234567890",
"amount": 500,
"currency": "XOF",
"type": "single_use",
"expirationDate": "<FUTURE_ISO_8601_DATE>",
"paymentMethods": [
"mobile_money"
],
"country": "CI",
"providers": [
"Orange",
"Wave",
"MTN",
"Moov"
],
"successUrl": "https://merchant.example.com/success",
"failureUrl": "https://merchant.example.com/failure"
}'