Customers via API
This tutorial will guide you through the steps to create and manage customers via Billing APIs.
Before you begin
- Obtain your access token API by authenticating to Airwallex using your unique Client ID and API key. You will need the access token to make API calls.
- Check out Supported currencies for supported regions and currencies.
Create a customer
Call Create a customer API and provide as much information as possible about the customer.
type
: The customer type can beBUSINESS
orINDIVIDUAL
. Defaults toINDIVIDUAL
if you do not providetax_identification_number
.default_billing_currency
: The currency you specify will be used by default when creating invoices or subscriptions for this customer.default_legal_entity_id
: This legal entity ID you specify will be used by default when creating invoices or subscriptions for this customer.
Shell
Manage customers
After creating a customer object, you can perform the following actions:
- Update the details using Update a Billing customer API .
- Retrieve customer details anytime using Retrieve a Billing Customer API.
- Retrieve the list of customers you've created using Get list of Billing Customers API.
Was this page helpful?