Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 1.65 KB

File metadata and controls

36 lines (30 loc) · 1.65 KB

PAYJPv2::PaymentRefundResponse

Properties

Name Type Description Notes
object String [optional][default to 'payment_refund']
id String 返金 ID
livemode Boolean 本番環境かどうか
payment_flow_id String 返金対象となる PaymentFlow の ID
amount Integer 返金金額
status PaymentRefundStatus 返金ステータス <a href=&quot;https://docs.pay.jp/v2/guide/status-management/refund#%E8%BF%94%E9%87%91%E3%82%B9%E3%83%86%E3%83%BC%E3%82%BF%E3%82%B9%E3%81%AE%E7%9B%A3%E8%A6%96\" target=&quot;_blank&quot;>返金ステータスの詳細についてはこちらを参照してください。</a>
reason PaymentRefundReason
metadata Hash<String, MetadataValue> メタデータ
created_at Time 作成日時 (UTC, ISO 8601 形式)
updated_at Time 更新日時 (UTC, ISO 8601 形式)

Example

require 'payjpv2'

instance = PAYJPv2::PaymentRefundResponse.new(
  object: null,
  id: null,
  livemode: null,
  payment_flow_id: null,
  amount: null,
  status: null,
  reason: null,
  metadata: null,
  created_at: null,
  updated_at: null
)