Payment Links
Update payment link
Update a payment link
put/payment_links/{uuid}
Request
- Base URLhttps://api.wetravel.com/v2
- URLhttps://api.wetravel.com/v2/payment_links/{uuid}
- Auth
- HTTP bearer
- or API key in header X-Api-Key
Path parameters
uuidstring required
UUID of the payment link
Query parameters
publish_immediatelyboolean
Whether to publish the payment link immediately upon update
Request body
Example request
{
"data": {
"trip": {
"title": "Amazing London Adventure",
"trip_id": "TRIP20",
"start_date": "2026-05-07",
"end_date": "2026-05-14",
"currency": "USD",
"participant_fees": "all"
},
"pricing": {
"price": 800,
"payment_plan": {
"deposit": 654,
"installments": [
{
"price": 145.99,
"days_before_departure": 60
}
]
}
}
}
}Response
Successfully updated
Example response
{
"data": {
"trip": {
"uuid": "12345678",
"title": "Amazing London Adventure",
"trip_id": "TRIP20",
"url": "https://example.com/trips/123456",
"defaultImageUrl": "https://example.com/trip-123.jpg",
"start_date": "2026-05-07",
"end_date": "2026-05-14",
"currency": "USD",
"participant_fees": "all"
},
"pricing": {
"price": 800,
"payment_plan": {
"deposit": 654,
"installments": [
{
"price": 145.99,
"days_before_departure": 60
}
]
}
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.