Skip to main content

Create a refund for a payment

POST 

/v1/payments/:paymentId/refunds

Issue a refund against the given payment. If amount is omitted, the full remaining amount of the payment is refunded. When the payment is unsettled and the full amount is being refunded, the payment is canceled and the returned object is a Payment with status of CANCELED; otherwise a Refund is returned. Discriminate on the entity field.

Request

Responses

Refund created or payment canceled