v1

latestOpenAPI 3.1.02026-07-241080412.6 KB

Transfer a pass [Beta]

Use this endpoint to transfer externally-managed passes between customers.

The life cycle of externally-managed passes is managed outside of Cleeng so it is up to a broadcaster to notify Cleeng about pass status changes, e.g. the change of pass expiration date.

post/passes/{passId}/transfer

Path parameters

passIdinteger required

Pass identifier in Cleeng.

Headers

Content-Typestring

application/json

Request body

customerIdinteger required

The identifier of Cleeng customer.

Response

200

passIdinteger
customerIdinteger
statusstring
offerIdstring
expiresAtinteger
paymentMethodIdinteger
externalIdstring
isExternallyManagedboolean
{"stackTrail":"paths:/passes/{passId}/transfer:post:responses:200:content:application/json:schema:properties:originatedFrom","oasType":"schema","type":"unknown"}
sourcestring

Example response

{
  "passId": 111222333,
  "customerId": 123456789,
  "status": "terminated",
  "offerId": "P123123123_PL",
  "expiresAt": 1727863485,
  "paymentMethodId": 987654321,
  "externalId": "CustomerExternalId",
  "isExternallyManaged": true,
  "replacedBy": {
    "passId": 333222111,
    "reason": "transfer",
    "date": 1727863485
  },
  "source": "samsung"
}