{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Creates a new payment method for an account.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/bill-subs-api_identifier"}},"required":["account_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/bill-subs-api_payment_method"}},"required":["path","body"],"additionalProperties":false,"definitions":{"bill-subs-api_identifier":{"description":"Identifier","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"bill-subs-api_payment_method":{"type":"object","properties":{"address":{"description":"Billing address line 1.","type":"string"},"address2":{"description":"Billing address line 2.","type":"string"},"bank_account_type":{"description":"Bank account type.","type":"string"},"bank_code":{"description":"Bank code.","type":"string"},"bank_country":{"description":"Bank country.","type":"string"},"bank_name":{"description":"Bank name for bank-based payment methods.","type":"string"},"bank_routing_number":{"description":"Bank routing number.","type":"string"},"cashapp_cash_tag":{"description":"Cash App cash tag.","type":"string"},"city":{"description":"Billing city.","type":"string"},"country":{"description":"Billing country.","type":"string"},"default":{"description":"Whether this is the default payment method.","type":"boolean"},"device_data":{"description":"Device data for fraud prevention.","type":"string"},"first_name":{"description":"Billing first name.","type":"string"},"last_name":{"description":"Billing last name.","type":"string"},"nick_name":{"description":"A nickname for the payment method.","type":"string"},"payment_account_email":{"description":"Email associated with the payment account.","type":"string"},"payment_email":{"description":"Payment email address.","type":"string"},"payment_gateway":{"description":"The payment gateway used.","type":"string"},"payment_nonce":{"description":"Payment nonce for tokenized payments.","type":"string"},"state":{"description":"Billing state.","type":"string"},"type":{"description":"The payment method type.","type":"string","enum":["CREDIT_CARD","PAYPAL","CASHAPP","SEPA_DEBIT","LINK","ACH_DIRECT_DEBIT"],"examples":["CREDIT_CARD"]},"zipcode":{"description":"Billing zip code.","type":"string"}}}}},"name":"Create Payment Method","id":"cloudflare.account-billing-create-payment-method","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{}},"maxRequests":1,"summary":false}}