| Name | Type | Description | Notes |
|---|---|---|---|
| payment_flow_id | str | 返金対象となる PaymentFlow の ID | |
| amount | int | 返金金額。省略すると全額返金となります。 | [optional] |
| reason | PaymentRefundReason | 返金理由 | 値 |
| metadata | Dict[str, MetadataValue] | キーバリューの任意のデータを格納できます。20件まで登録可能で、空文字列を指定するとそのキーを削除できます。<a href="https://docs.pay.jp/v2/guide/developers/metadata\">詳細はメタデータのドキュメントを参照してください。</a> | [optional] |
from payjpv2.models.payment_refund_create_request import PaymentRefundCreateRequest
# TODO update the JSON string below
json = "{}"
# create an instance of PaymentRefundCreateRequest from a JSON string
payment_refund_create_request_instance = PaymentRefundCreateRequest.from_json(json)
# print the JSON string representation of the object
print(PaymentRefundCreateRequest.to_json())
# convert the object into a dict
payment_refund_create_request_dict = payment_refund_create_request_instance.to_dict()
# create an instance of PaymentRefundCreateRequest from a dict
payment_refund_create_request_from_dict = PaymentRefundCreateRequest.from_dict(payment_refund_create_request_dict)