# sentForRefund

Endpoint: POST sentForRefund
Version: 1

## Request fields (application/vnd.worldpay.events-v1.hal+json):

  - `eventId` (string)
    The unique identifier for the event.

  - `eventTimestamp` (string)
    Date of event.

  - `eventDetails` (object)

  - `eventDetails.classification` (string)
    The event category, this can either be payout, payment or chargeback.
    Example: "payment"

  - `eventDetails.downstreamReference` (string)
    A reference you can use for reconciliation purposes.

  - `eventDetails.transactionReference` (string)
    The transaction reference you supplied in the payment.

  - `eventDetails.type` (string)
    Event status. For example, cancelled or sentForAuthorization.
    Example: "sentForRefund"

  - `eventDetails.date` (string)
    The date you first submitted the payment.

  - `eventDetails.reference` (string)
    The unique reference you provided for a partial settlement or partial refund.

  - `eventDetails.refund` (object)

  - `eventDetails.refund.onlineRefundAuthorization` (string)
    Authorization code from the issuer for online refunds. Additional information returned as part of a Visa and Mastercard mandate to ensure that all purchase returns are submitted for online authorization.
    Example: "987654"

  - `eventDetails.octReference` (string)
    Visa Transaction ID for single-message OCTs to be used for reconciliation and reporting. Can be returned in the sentForRefund or refused Payment Events.

  - `eventDetails.fastRefund` (string)
    Indicates the fast refund attempt.
    Example: "attempted"

  - `eventDetails.amount` (object)

  - `eventDetails.amount.value` (integer)
    The authorization, partial refund, or the whole or partial settlement amount. This is a whole number with an exponent of 2, e.g. 250 would be 2.50.
    Example: 100

  - `eventDetails.amount.currencyCode` (string)
    The currency code.
    Example: "EUR"

  - `eventDetails._links` (object)
    Unused currently.

  - `eventDetails._links.payment` (object)

  - `eventDetails._links.payment.href` (string)


## Response 200 fields
