Payment Links

List payment links

Get the list of all payment links

get/payment_links

Request

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

Query parameters

per_pageinteger
Example:25

Number of trips per page

pageinteger
Example:1

Page number (minimum:1)

publish_status'published' | 'draft'

Filter payment links by publish status

Response

Successful response

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
            }
          ]
        }
      }
    }
  ],
  "pagination": {
    "total_count": 1,
    "page": 1,
    "per_page": 20,
    "total_pages": 1
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.