Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.79 KB

File metadata and controls

32 lines (23 loc) · 1.79 KB

PaymentRefundCreateRequest

Properties

Name Type Description Notes
payment_flow_id str 返金対象となる PaymentFlow の ID
amount int 返金金額。省略すると全額返金となります。 [optional]
reason PaymentRefundReason 返金理由
metadata Dict[str, MetadataValue] キーバリューの任意のデータを格納できます。20件まで登録可能で、空文字列を指定するとそのキーを削除できます。<a href=&quot;https://docs.pay.jp/v2/guide/developers/metadata\&quot;&gt;詳細はメタデータのドキュメントを参照してください。&lt;/a> [optional]

Example

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)

[Back to Model list] [Back to API list] [Back to README]