API Reference
API Reference

Object


业务对象

Field

Type

Desc

refund_id

string

Refund ID

trade_id

string

Trade ID

currency

string

Transaction currency corresponding to the amount, encoded according to ISO4217

callback_url

string

Webhook notification callback URL

reason

string

Refund reason

refund_amount

string

Refund amount

refund_status

string

Refund status

  • pending: Processing
  • failed: Refund failed
  • succeeded: Refund successful

metadata

map[string]string

A set of key-value pairs that can be attached to an object, allowing you to store additional information in a structured format.

failure_reason

FailureReason

Refund failure reason

ref_arn

string

Refund credential returned by the issuing bank

finished_at

string

Refund completion time

FailureReason

FieldTypeDesc
codestringSystem returned transaction return code
messagestringSystem returned transaction return description
channel_codestringChannel return code
channel_messagestringChannel return description
raw_errorstringRaw error information