Skip to main content
POST
/
v1
/
refunds
Create refund
curl --request POST \
  --url https://api.quentli.com/v1/refunds \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "input": {
    "paymentId": "p_1234567890abcdefghij",
    "amount": 150000,
    "customRefundReason": null
  }
}
'
{
  "input": {
    "paymentId": "p_1234567890abcdefghij",
    "amount": 150000,
    "customRefundReason": null
  }
}

Authorizations

Authorization
string
header
required

Organization API key using Authorization: Bearer sk_....

Body

application/json

Request body for creating a refund.

input
object
required

Response

Refund created

Request body for creating a refund.

input
object
required