Refund a payment
Payments
Refund a payment
Issue a full or partial refund for a paid payment. Requires an idempotency key.
POST
Refund a payment
Authorizations
YuvexPay API key. Include as Authorization: Bearer ypk_<env>_<kid>_<secret> where <env> is test (sandbox) or live (production). Create and manage keys in the dashboard under Settings > API Keys.
Headers
A unique string to ensure the request is processed only once. Must be unique per request. Valid for 24 hours.
Maximum string length:
100Path Parameters
The payment ID to refund.
Body
application/json
Response
Refund created.

