Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.83 KB

File metadata and controls

34 lines (25 loc) · 1.83 KB

PaymentMethodCreateRequest

Properties

Name Type Description Notes
customer_id str 顧客 ID [optional]
billing_details PaymentMethodBillingDetailsRequest 請求先情報
metadata Dict[str, MetadataValue] キーバリューの任意のデータを格納できます。20件まで登録可能で、空文字列を指定するとそのキーを削除できます。<a href=&quot;https://docs.pay.jp/v2/guide/developers/metadata\&quot;&gt;詳細はメタデータのドキュメントを参照してください。&lt;/a> [optional]
type str クレジットカード決済の場合は `card` を指定します。
card PaymentMethodCreateCardDetailsRequest カード情報
token str Apple Pay のトークン

Example

from payjpv2.models.payment_method_create_request import PaymentMethodCreateRequest

# TODO update the JSON string below
json = "{}"
# create an instance of PaymentMethodCreateRequest from a JSON string
payment_method_create_request_instance = PaymentMethodCreateRequest.from_json(json)
# print the JSON string representation of the object
print(PaymentMethodCreateRequest.to_json())

# convert the object into a dict
payment_method_create_request_dict = payment_method_create_request_instance.to_dict()
# create an instance of PaymentMethodCreateRequest from a dict
payment_method_create_request_from_dict = PaymentMethodCreateRequest.from_dict(payment_method_create_request_dict)

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