| POST | /selfService/transferTicket/confirm | Execute a buyer-initiated ticket exchange |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TicketTokenId | body | string | No | |
| BuyerPhone | body | string | No | |
| ToEventId | body | int | No | |
| ToOwnerTicketTypeId | body | int? | No | |
| ToSeriesTicketTypeId | body | int? | No | |
| ToSeatId | body | int? | No | |
| IdempotencyKey | body | string | No | |
| ExpectedPriceDifference | body | decimal | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TransferLogId | form | int? | No | |
| NewTicketTokenId | form | string | No | |
| Direction | form | string | No | |
| PriceDifference | form | decimal? | No | |
| OriginalTicketPrice | form | decimal? | No | |
| TargetTicketPrice | form | decimal? | No | |
| AssignedSeatId | form | int? | No | |
| AssignedSeatLabel | form | string | No | |
| Topup | form | TransferTopupInstruction | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Ok | form | bool | No | |
| StatusCode | form | int | No | |
| Code | form | string | No | |
| Message | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AmountIsk | form | decimal | No | |
| PaymentLinkUrl | form | string | No | |
| SessionToken | form | string | No | |
| ExpiresAt | form | DateTime? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /selfService/transferTicket/confirm HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ticketTokenId: String,
buyerPhone: String,
toEventId: 0,
toOwnerTicketTypeId: 0,
toSeriesTicketTypeId: 0,
toSeatId: 0,
idempotencyKey: String,
expectedPriceDifference: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
transferLogId: 0,
newTicketTokenId: String,
direction: String,
priceDifference: 0,
originalTicketPrice: 0,
targetTicketPrice: 0,
assignedSeatId: 0,
assignedSeatLabel: String,
topup:
{
amountIsk: 0,
paymentLinkUrl: String,
sessionToken: String,
expiresAt: 0001-01-01
},
ok: False,
statusCode: 0,
code: String,
message: String
}