Payment Plans

Get package payment plan

Get payment plan for the package

get/draft_trips/{trip_uuid}/packages/{package_id}/payment_plan

Request

  • Base URL
    https://api.wetravel.com/v2
  • URL
    https://api.wetravel.com/v2/draft_trips/{trip_uuid}/packages/{package_id}/payment_plan
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key

Path parameters

trip_uuidstring required
package_idstring required

ID of the package

Response

Get PaymentPlan

Example response

{
  "data": {
    "allow_partial_payment": true,
    "enable_auto_payment": true,
    "deposit": 150,
    "installments": [
      {
        "price": 145.99,
        "days_before_departure": 60
      }
    ]
  }
}

Changes

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