---
title: "Transfer CPPs of a fare contract to other customer accounts."
method: POST
path: "/v1/customer-accounts/{customerAccountId}/transfer"
tags: ["Internal"]
---

# Transfer CPPs of a fare contract to other customer accounts.

`POST /v1/customer-accounts/{customerAccountId}/transfer`

## Request

- Base URL: `https://abt-integration-entur-production.entur.io`
- URL: `https://abt-integration-entur-production.entur.io/v1/customer-accounts/{customerAccountId}/transfer`
- Auth: none declared

Transfer customer purchase packages within a fare contract to other customer accounts.

## Path parameters

- `customerAccountId` string, required

## Request body

- TransferRequest
  - `fareContractTransfers` FareContractTransfer[], required
    - `fareContractId` string, required
    - `customerPurchasePackagesTransfers` CustomerPurchasePackageTransfer[], required
      - `toCustomerAccountId` string, required
      - `orderLineId` string, required

## Response `200`

OK

- TransferResponse
  - `successfulTransfers` SuccessfulCustomerPurchasePackageTransfer[], required
    - `toCustomerAccountId` string, required
    - `orderLineId` string, required
    - `newFareContractId` string, required
  - `failedTransfers` FailedCustomerPurchasePackageTransfer[], required
    - `toCustomerAccountId` string, required
    - `orderLineId` string, required
    - `errorMessage` string, required

## Other responses

- `500`: Internal Server Error

---

[API](https://skmtc.dev/entur/apis/abt-integration-entur-api.md) - [All operations](https://skmtc.dev/entur/apis/abt-integration-entur-api/llms.txt) - [OpenAPI document](https://skmtc.dev/entur/apis/abt-integration-entur-api/revisions/dfc1ed85250a?raw)
