Profiles
Get Billing Profile
client.billing.profiles.get(ProfileGetParams { account_id } params, RequestOptionsoptions?): ProfileGetResponse { id, account_type, address, 35 more }
GET/accounts/{account_id}/billing/profile
Create Billing Profile
client.billing.profiles.create(ProfileCreateParams { account_id, address, address2, 17 more } params, RequestOptionsoptions?): ProfileCreateResponse { id, account_type, address, 35 more }
POST/accounts/{account_id}/billing/profile
Update Billing Profile
client.billing.profiles.update(ProfileUpdateParams { account_id, address, address2, 17 more } params, RequestOptionsoptions?): ProfileUpdateResponse { id, account_type, address, 35 more }
PUT/accounts/{account_id}/billing/profile
Delete Billing Profile
client.billing.profiles.delete(ProfileDeleteParams { account_id } params, RequestOptionsoptions?): void
DELETE/accounts/{account_id}/billing/profile
Update Billing Email
client.billing.profiles.updateBillingEmail(ProfileUpdateBillingEmailParams { account_id, billing_email, preferred_locale, secondary_billing_email } params, RequestOptionsoptions?): ProfileUpdateBillingEmailResponse { id, account_type, address, 35 more }
PATCH/accounts/{account_id}/billing/profile
ProfilesPayment Method
Create Payment Intent for Billing Profile
client.billing.profiles.paymentMethod.create(PaymentMethodCreateParams { account_id } params, RequestOptionsoptions?): PaymentMethodCreateResponse { client_secret, intent_type }
POST/accounts/{account_id}/billing/profile/payment-method