Payment Links

Publish payment link

Publish Payment Link

post/payment_links/{uuid}/publish

Request

  • Base URL
    https://api.wetravel.com/v2
  • URL
    https://api.wetravel.com/v2/payment_links/{uuid}/publish
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key

Path parameters

uuidstring required

UUID of the payment link

Response

Successfully published

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.