Developer guide
API reference
  • API reference
    • Nothing Found
    Prerelease - hosted checkout API reference
    Authentication
    Customers
    Payment intents
      Data definitions
        schema
        ErrorMessage
        schema
        AmountDetails
        schema
        PaymentIntentResponse
        schema
        PaymentMethodConfigurationDetails
        schema
        ConfirmPaymentIntentRequest
        schema
        CreatePaymentIntentRequest
        schema
        UpdatePaymentIntentRequest
        schema
        RefundPaymentIntentRequest
      post
      Confirm a payment intent
      post
      Create a payment intent
      get
      Get a payment intent
      post
      Update a payment intent
    Payment methods
    Setup intents

RefundPaymentIntentRequest

Request to refund a payment intent.

amount
required
integer <int32>

The amount to refund in minor units. Must be greater than 0 and less than or equal to the refundable amount on the payment intent.

{
  • "amount": 0
}