Create a refund
Creates a refund for a payment on the order. The refund is automatically processed via the payment gateway.
Required scope: write_refunds (for API-key authentication).
POST
Spree Admin SDK
Authorizations
Secret API key for admin access
JWT token for admin user authentication
Headers
Bearer token for admin authentication
Path Parameters
Order ID
Body
application/json
Response
201 - application/json
refund created
Spree Admin SDK

