Billing Profile Details
Deprecated GET
/accounts/{account_id}/billing/profile https://api.cloudflare.com/client/v4
Gets the current billing profile for the account.
Parameters
path Path Parameters
| Name | Type |
|---|---|
account_id
required
| type BillSubsApiIdentifier = string |
Responses
200 application/json
Billing Profile Details response
type BillSubsApiBillingResponseSingle = type BillSubsApiApiResponseSingle = never & { result?: {
account_type?: string;
address?: string;
address2?: string;
balance?: string;
card_expiry_month?: number;
card_expiry_year?: number;
card_number?: string;
city?: string;
company?: string;
country?: string;
created_on?: string;
device_data?: string;
edited_on?: string;
enterprise_billing_email?: string;
enterprise_primary_email?: string;
first_name?: string;
id?:BillSubsApiComponentsSchemasIdentifier ;
is_partner?: boolean;
last_name?: string;
next_bill_date?: string;
payment_address?: string;
payment_address2?: string;
payment_city?: string;
payment_country?: string;
payment_email?: string;
payment_first_name?: string;
payment_gateway?: string;
payment_last_name?: string;
payment_nonce?: string;
payment_state?: string;
payment_zipcode?: string;
primary_email?: string;
state?: string;
tax_id_type?: string;
telephone?: string;
use_legacy?: boolean;
validation_code?: string;
vat?: string;
zipcode?: string;
}; }
account_type?: string;
address?: string;
address2?: string;
balance?: string;
card_expiry_month?: number;
card_expiry_year?: number;
card_number?: string;
city?: string;
company?: string;
country?: string;
created_on?: string;
device_data?: string;
edited_on?: string;
enterprise_billing_email?: string;
enterprise_primary_email?: string;
first_name?: string;
id?:
is_partner?: boolean;
last_name?: string;
next_bill_date?: string;
payment_address?: string;
payment_address2?: string;
payment_city?: string;
payment_country?: string;
payment_email?: string;
payment_first_name?: string;
payment_gateway?: string;
payment_last_name?: string;
payment_nonce?: string;
payment_state?: string;
payment_zipcode?: string;
primary_email?: string;
state?: string;
tax_id_type?: string;
telephone?: string;
use_legacy?: boolean;
validation_code?: string;
vat?: string;
zipcode?: string;
}; }
Client Errors
4XX application/json
Billing Profile Details response failure
type BillSubsApiBillingResponseSingle = type BillSubsApiApiResponseSingle = never & { result?: {
account_type?: string;
address?: string;
address2?: string;
balance?: string;
card_expiry_month?: number;
card_expiry_year?: number;
card_number?: string;
city?: string;
company?: string;
country?: string;
created_on?: string;
device_data?: string;
edited_on?: string;
enterprise_billing_email?: string;
enterprise_primary_email?: string;
first_name?: string;
id?:BillSubsApiComponentsSchemasIdentifier ;
is_partner?: boolean;
last_name?: string;
next_bill_date?: string;
payment_address?: string;
payment_address2?: string;
payment_city?: string;
payment_country?: string;
payment_email?: string;
payment_first_name?: string;
payment_gateway?: string;
payment_last_name?: string;
payment_nonce?: string;
payment_state?: string;
payment_zipcode?: string;
primary_email?: string;
state?: string;
tax_id_type?: string;
telephone?: string;
use_legacy?: boolean;
validation_code?: string;
vat?: string;
zipcode?: string;
}; } & interface BillSubsApiApiResponseCommonFailure {
errors:BillSubsApiMessages ;
messages:BillSubsApiMessages ;
result: null;
success: false;
}
account_type?: string;
address?: string;
address2?: string;
balance?: string;
card_expiry_month?: number;
card_expiry_year?: number;
card_number?: string;
city?: string;
company?: string;
country?: string;
created_on?: string;
device_data?: string;
edited_on?: string;
enterprise_billing_email?: string;
enterprise_primary_email?: string;
first_name?: string;
id?:
is_partner?: boolean;
last_name?: string;
next_bill_date?: string;
payment_address?: string;
payment_address2?: string;
payment_city?: string;
payment_country?: string;
payment_email?: string;
payment_first_name?: string;
payment_gateway?: string;
payment_last_name?: string;
payment_nonce?: string;
payment_state?: string;
payment_zipcode?: string;
primary_email?: string;
state?: string;
tax_id_type?: string;
telephone?: string;
use_legacy?: boolean;
validation_code?: string;
vat?: string;
zipcode?: string;
}; } & interface BillSubsApiApiResponseCommonFailure {
errors:
messages:
result: null;
success: false;
}