---
title: "Alternative Book"
method: POST
path: "/reservations/changes/{transactionId}/checkouts/contexts/{contextId}/flows"
tags: ["Changes"]
---

# Alternative Book

`POST /reservations/changes/{transactionId}/checkouts/contexts/{contextId}/flows`

## Request

- Base URL: `https://api-dev.despegar.com/v3`
- URL: `https://api-dev.despegar.com/v3/reservations/changes/{transactionId}/checkouts/contexts/{contextId}/flows`
- Auth: API key in header `x-apikey`

## Path parameters

- `transactionId` string, required
- `contextId` string, required

## Request body

- object
  - `payment_method` object
    - `type` string
    - `selected_plan_id` string
    - `detail` object
      - `dvault_token` string
      - `cardholder_name` string
      - `installments` string
      - `interest` string
  - `invoice` object
    - `fiscal_name` string
    - `fiscal_status` string
    - `fiscal_identification` object
      - `type` string
      - `number` string
      - `issue_country` string
    - `town_registration` string
    - `address` object
      - `city_id` number
      - `number` number
      - `street` string
      - `zip_code` number
      - `apartment` string
      - `floor` number
      - `neighbourhood` string

## Response `200`

OK

- object
  - `status` string
  - `flows` object
    - `type` string
    - `id` string: flow id to identify the operation.

## Other responses

- `400`: Invalid request
- `401`: Unauthorized
- `404`: Not found
- `500`: Internal server error

---

[API](https://skmtc.dev/despegar/apis/aftersale.md) - [All operations](https://skmtc.dev/despegar/apis/aftersale/llms.txt) - [OpenAPI document](https://skmtc.dev/despegar/apis/aftersale/revisions/686d705e3aa8?raw)
