Validating a New Refund
POST/payments/:id/refunds
Validates a new refund against an existing payment without executing the refund.
Set capture to false to validate the refund. At least one of
email, phone_number, or psc_id must be provided for the customer.
A pending refund can be created for a customer who does not yet have
an eligible PaysafeCard account. For this flow, provide language,
country_code, and notification_url.
The customer receives instructions for creating the account, and refund
status notifications are sent to the supplied notification_url.
Request
Responses
- 201
- 400
- 401
- 404
- 500
Refund validated successfully.
Invalid refund validation request.
Authentication failed.
Payment transaction not found.
Internal server error.