curl --request POST \
--url https://api.crevio.co/v1/refunds \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"order": "<string>",
"amount": 123,
"reason": "<string>",
"notes": "<string>"
}
'{
"id": "<string>",
"object": "<string>",
"amount": 123,
"currency": "<string>",
"reason": "<string>",
"status": "<string>",
"created_at": "<string>",
"provider": "<string>",
"metadata": {},
"order": "<string>"
}Creates a new refund for an order
curl --request POST \
--url https://api.crevio.co/v1/refunds \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"order": "<string>",
"amount": 123,
"reason": "<string>",
"notes": "<string>"
}
'{
"id": "<string>",
"object": "<string>",
"amount": 123,
"currency": "<string>",
"reason": "<string>",
"status": "<string>",
"created_at": "<string>",
"provider": "<string>",
"metadata": {},
"order": "<string>"
}API key in the format: Bearer {api_token}
Was this page helpful?