Payments

Refund a payment (captain)

post/api/v1/payments/{id}/refund

Request

  • Base URL: http://localhost:3002
  • URL: http://localhost:3002/api/v1/payments/{id}/refund
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

amountinteger
reason'REQUESTED_BY_CUSTOMER' | 'DUPLICATE' | 'FRAUDULENT' | 'OTHER'
notestring

Response

Created

Changes

No recorded changes to this operation across all 1 revision of this API.