Create refund
Refunds
Create refund
Issues a refund against a payment. The total of refund amounts cannot exceed the payment’s amount.
POST
Create refund
Authorizations
Use header Authorization: Token <api_token>.
API tokens are obtained from the Piriod dashboard.
Headers
Workspace (account) identifier. Required for every request.
Whether to operate against test-mode data. Defaults to false.
Body
application/json
Response
Refund created.
Payment ID being refunded.
Available options:
duplicate, fraudulent, requested_by_customer Maximum string length:
256Remaining refundable balance after this refund.
Maximum string length:
64Available options:
failed, succeeded 