v1
latestOpenAPI 3.0.12026-07-247756110.6 KBPayment Links
Create payment link
Create a new payment link
post/payment_links
Query parameters
publish_immediatelyboolean
Whether to publish the payment link immediately upon creation.
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"
},
"pricing": {
"price": 800,
"payment_plan": {
"deposit": 654,
"installments": [
{
"type": "installment",
"total": 5000,
"previous_payment": 5000,
"paid": true,
"date": "2021-06-25T00:00:00.000Z"
}
]
}
}
}
}Response
Successfully created
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": [
{
"type": "installment",
"total": 5000,
"previous_payment": 5000,
"paid": true,
"date": "2021-06-25T00:00:00.000Z"
}
]
}
}
}
}