Skip to main content
POST
/
v1
/
invoices
/
{id}
/
refund
Refund a paid invoice
curl --request POST \
  --url https://api.useduro.com/v1/invoices/{id}/refund \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": 123,
  "reason": "<string>"
}
'
{
  "invoiceId": "<string>",
  "refunded": 123,
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

A secret key (sk_test_… / sk_live_…), OAuth token, or identity token.

Path Parameters

id
string
required

Body

application/json
amount
integer
reason
string

Response

200 - application/json

Refund recorded

invoiceId
string
refunded
integer
status
string