Refund local card payment

Merchants can use refund API to process refunds for successful local card payments.

Refund Process for Local Card Payments:

Merchants can use refund API to process refunds for successful local card payments. The system supports both partial or full refund scenarios

  1. Initiating a Refund Request:
    • Merchants invoke the API with the oriPaymentId and refundAmount parameters
    • oriPaymentId: Unique identifier for the original payment transaction
    • refundAmount: Amount to be refunded (partial or full)
  2. Eligibility for Further Refunds:
    • Partially refunded payments remain eligible for additional refunds until fully reimbursed
  3. Processing the Refund:
    • The system validates the request
      • If valid, the refund is processed
      • If invalid, request is rejected and error message is sent (Please add additional information)
    • Valid Transaction Status Updates: Original payment transaction status will be updated as
      • Partial refund → partial_refunded
      • Full refund → fully_refunded
  4. Responses:
    • Merchants receives messages that provide information about the status of the refund and whether it was processed successfully or not as “responses”