1. FiatPay
AnexPay Docs
  • Introduction
  • Signature
  • API Keys
  • Get Started
  • Webhook Service
  • Enum Reference
  • Api Reference
    • Authentication
      • Get Auth Token
    • Hosted Payment Page
      • Hosted Payment Page
    • FiatPay
      • List Payment History
        POST
      • Get Payment Detail
        POST
      • Refund
        POST
      • List Subscriptions
        POST
      • Get Subscription Detail
        POST
      • Cancel Subscription
        POST
      • Get Subscription Bills
        POST
    • CryptoPay
      • order
        • GetCheckoutOrderList
      • refund-order
        • CreateRefundOrder
        • CancelRefundOrder
        • GetRefundOrderInfo
        • GetRefundOrderList
      • settlement
        • GetSettlementOrderList
  • Schemas
    • Schemas
      • RefundOrderDTO
      • RefundPageReq
      • ApiPageApiPageRefundOrderDTO
      • ApiResponseApiPageRefundOrderDTO
      • CancelReq
  1. FiatPay

Refund

POST
/checkout/credit-card/refund
Initiates a refund for a completed transaction.

Request

Body Params application/jsonRequired

Example
{
  "trxNo": "TRX1714012345678",
  "amount": 99.99,
  "reason": "Customer requested cancellation"
}

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
  "retcode": "200",
  "retmsg": "success",
  "retdata": {
    "refundNo":"REF-20240423-001"
  }
}
Modified at 2026-07-07 01:20:01
Previous
Get Payment Detail
Next
List Subscriptions
Built with