api
transactions

Create a Transaction cancellation

post/api/transactions/{id}/cancellations

Request

  • Base URL: https://vivenu.com
  • URL: https://vivenu.com/api/transactions/{id}/cancellations
  • Auth: one of:
    • HTTP bearer
    • API key in header Authorization

Path parameters

idstring required

The ID of the transaction

Request body

refundFundsboolean required

Whether the received funds should be refunded

refundTarget'origin' | 'voucher' | 'customer_balance' required

The method to use for refunding the transaction.

Response

OK

transactionIdstring required
sellerIdstring required
refundIdstring
refundTargetstring
refundSourcestring
createdAtstring date-time required
updatedAtstring date-time required

Changes

    • warning

      added the new onFreeCart enum value to the /// response property for the response status

    • warning

      added the new onFreeCart enum value to the ///// response property for the response status

    • warning

      added the new onFreeKioskTicket enum value to the /// response property for the response status

    • warning

      added the new onFreeKioskTicket enum value to the ///// response property for the response status

    • warning

      added the new onFreePosTicket enum value to the /// response property for the response status

    • warning

      added the new onFreePosTicket enum value to the ///// response property for the response status

    • warning

      added the new onFreeTicket enum value to the /// response property for the response status

    • warning

      added the new onFreeTicket enum value to the ///// response property for the response status

    • warning

      added the new onKioskCart enum value to the /// response property for the response status

    • warning

      added the new onKioskCart enum value to the ///// response property for the response status

    • warning

      added the new onKioskTicket enum value to the /// response property for the response status

    • warning

      added the new onKioskTicket enum value to the ///// response property for the response status

    • warning

      added the new onPosCart enum value to the /// response property for the response status

    • warning

      added the new onPosCart enum value to the ///// response property for the response status

    • warning

      added the new onPosTicket enum value to the /// response property for the response status

    • warning

      added the new onPosTicket enum value to the ///// response property for the response status

    • warning

      added the new onSeasonTicket enum value to the /// response property for the response status

    • warning

      added the new onSeasonTicket enum value to the ///// response property for the response status

    • warning

      added the new onTicketCustom enum value to the /// response property for the response status

    • warning

      added the new onTicketCustom enum value to the ///// response property for the response status