curl --request POST \
--url 'https://api.wava.co/v1/links#partners' \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--header 'X-API-Secret: <api-key>' \
--header 'merchant-key: <api-key>' \
--data '
{
"amount": 150000,
"description": "Monthly subscription - Store ABC",
"currency": "COP",
"order_key": "partner-sub-001",
"redirect_link": "https://partner-platform.com/success"
}
'{
"data": {
"payment_link_id": 5678,
"payment_url": "https://checkout.wava.co/aBcDeFgH",
"hash": "aBcDeFgH",
"expires_at": "2025-03-15T23:59:59.000Z"
}
}Partners can create payment links for stores they have onboarded. The request body is identical to the standard Create Payment Link endpoint. The difference is that the partner includes their X-API-Key and X-API-Secret (for two-factor authentication) plus the store’s merchant-key in the request headers.
The partner relationship is tracked internally for reporting and commission purposes.
curl --request POST \
--url 'https://api.wava.co/v1/links#partners' \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--header 'X-API-Secret: <api-key>' \
--header 'merchant-key: <api-key>' \
--data '
{
"amount": 150000,
"description": "Monthly subscription - Store ABC",
"currency": "COP",
"order_key": "partner-sub-001",
"redirect_link": "https://partner-platform.com/success"
}
'{
"data": {
"payment_link_id": 5678,
"payment_url": "https://checkout.wava.co/aBcDeFgH",
"hash": "aBcDeFgH",
"expires_at": "2025-03-15T23:59:59.000Z"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.wava.co/llms.txt
Use this file to discover all available pages before exploring further.
Partner API key for platform partners. Must be combined with X-API-Secret header for partner operations. Both headers are required for two-factor authentication.
X-API-Key: YOUR_PARTNER_API_KEY
X-API-Secret: YOUR_PARTNER_SECRET_KEY
merchant-key: STORE_MERCHANT_KEY
Partner API secret for platform partners. Must be combined with X-API-Key header for partner operations. Both headers are required for two-factor authentication.
Merchant key for store identification. Required for all API requests.
merchant-key: YOUR_MERCHANT_KEY
Payment description displayed to the buyer.
1 - 255"Invoice #1234 - Web design services"
Payment amount. Omit this field to create a dynamic link where the buyer enters the amount.
x >= 0.0150000
ISO 4217 currency code. Defaults to store currency.
^[A-Z]{3}$"COP"
Your external reference for this payment link.
100"inv-1234"
URL to redirect buyer after successful payment.
"https://mystore.com/thanks"
URL to redirect buyer if payment is cancelled.
"https://mystore.com/cancelled"
URL to redirect buyer if payment fails.
"https://mystore.com/error"
When true, the checkout page prompts the buyer for contact information (first name, last name, email, phone number) before proceeding to payment method selection. The submitted data is stored with the order.
Only valid on dynamic links (requests without an amount). Setting this to true on a fixed-amount link returns a 400 error.
true
Payment link created on behalf of store
Show child attributes