本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
refund
, void
, or reverse
a transaction by passing the transaction_id
as a path parameter.transactions.read_write
- Transactions Read & WriteAuthorization: Bearer ********************
{
"action": "refund",
"amount": 0,
"currency": "string"
}
curl --location --request PUT 'https://echo.apifox.com/anything/transactions/293485739' \
--header 'Content-Type: application/json' \
--data-raw '{
"action": "refund",
"amount": 0,
"currency": "string"
}'
{
"status": 201,
"success": true,
"data": {
"message": "Invoice Partially Refunded successfully",
"code": 201
}
}
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升