Authorizations
Use the /v1/oauth2/token endpoint to obtain an access token and pass it as a Bearer token in the Authorization header.
Body
Request body for creating a new customer.A customer represents an individual or organization that can be billed for services. It includes personal information, contact details, and metadata.
Full name of the customer
1 - 512
"John Doe"
External identifier for the customer. Must contain only alphanumeric characters, underscores, and hyphens.
1 - 64
"ext_cust_12345"
The internationalized email address.
3 - 254
"abc@test.com"
Unique code used to identify the billing entity. Must contain only alphanumeric characters, underscores, and hyphens.
"acme_inc"
Address of the customer or party.
Primary phone number of the customer, including country code if available.
"+1-234-567-8900"
Token representing the customer's saved payment method in PayPal Vault.
1 - 36
"pm_visa_4242"
List of unique codes used to identify taxes to be applied.
["standard_vat"]
Response
Customer created successfully.
A customer represents an individual or organization that can be billed for services. It includes personal information, contact details, and metadata.
Full name of the customer
1 - 512
"John Doe"
External identifier for the customer. Must contain only alphanumeric characters, underscores, and hyphens.
1 - 64
"ext_cust_12345"
The internationalized email address.
3 - 254
"abc@test.com"
Unique code used to identify the billing entity. Must contain only alphanumeric characters, underscores, and hyphens.
"acme_inc"
Address of the customer or party.
Primary phone number of the customer, including country code if available.
"+1-234-567-8900"
Token representing the customer's saved payment method in PayPal Vault.
1 - 36
"pm_visa_4242"
Type of payment method used (e.g., CARD, ACH_DEBIT)
CARD
, PAYPAL
, ACH_DEBIT
, APPLE_PAY
"CARD"
List of tax entities configured for the customer.