POST
/
v1
/
refunds
curl --request POST \
  --url https://api.getreditus.com/api/v1/refunds \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "payment_id": "<string>"
}'
{
  "message": "ok"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
payment_id
string
required

required - For Payments API users: fill in the idempotency_key that you used to create the payment. For Stripe integrated users: fill in the object.id of the charge.succeeded or invoice.paid Stripe event.

Response

200
application/json
Commission was marked as refunded
message
string
Example:

"ok"