POST
/
sales
/
{id}
/
refund
curl --request POST \
  --url https://public-api.kiwify.com/v1/sales/{id}/refund \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-kiwify-account-id: <api-key>' \
  --data '{
  "pixKey": "99999999999"
}'
{
  "refunded": true
}

Authorizations

x-kiwify-account-id
string
header
required
Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
string
required

Body

application/json
pixKey
string
Example:

"99999999999"

Response

200
application/json
Request Refund
refunded
boolean
Example:

"true"