API documentation
Integrations
Analytics
Billable events
Companies
Custom properties
Customers
Customers > Credits
Customers > Payment methods
Integrations
Invoices
Invoices > Transactions
Invoicing entities
Organisations
Payments
Price configurations
Products
Quotes
Subscriptions
- GETGet subscriptions
- GETGet subscription
- GETGet subscription phases
- GETGet subscription phase
- POSTCreate subscription update
- POSTCreate subscription updates
- POSTCreate subscription
- PUTUpdate subscription
- POSTActivate subscription
- POSTCancel subscription
- POSTPause subscription
- POSTReactivate subscription
- POSTRefresh seat products
- POSTRefresh subscriptions
- POSTReinstate subscription
- POSTTransition subscription to next phase
Third-party apps
Wallets
Get customers
Retrieve all existing customers.
curl --request GET \
--url https://api.hyperline.co/v1/customers \
--header 'Authorization: Bearer <token>'
{
"meta": {
"total": 1,
"taken": 1,
"skipped": 0
},
"data": [
{
"id": "cus_Typ0px2W0aiEtl",
"name": "Acme",
"type": "corporate",
"status": "active",
"currency": "EUR",
"country": "FR",
"vat_number": "FR123456789",
"vat_number_valid": true,
"vat_rate_custom": 123,
"language": "fr",
"timezone": "Europe/Paris",
"external_id": "<string>",
"properties": {},
"custom_properties": {},
"billing_address": {
"name": "Acme",
"line1": "5 rue de Paradis",
"line2": "<string>",
"city": "Paris",
"zip": "75010",
"state": "<string>",
"country": "FR"
},
"billing_email": "billing@acme.com",
"invoice_emails": [
"accounting@acme.com"
],
"invoicing_entity_id": "ive_484dn4U48E",
"invoice_reminders_enabled": true,
"available_payment_methods": [
"card",
"direct_debit"
],
"current_payment_method_type": "card",
"current_payment_method_id": "pm_UTclbc1US8GzCe",
"custom_payment_delay": 30,
"subscriptions": [
{
"id": "sub_0kIc7jrF7gV00V",
"status": "active",
"current_period_started_at": "2024-10-12T07:00:01.860Z",
"current_period_ends_at": "2024-11-12T07:00:01.860Z",
"plan_id": "plan_34hdd843hReh",
"checkout_session_id": "che_949djdj39RJj"
}
],
"created_at": "2024-10-12T07:00:01.860Z",
"updated_at": "2024-10-12T07:00:01.860Z",
"deleted_at": "2024-10-13T02:00:00.000Z"
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
0 <= x <= 100
x >= 0
all
, active
, inactive
, imported
, archived
all
, active
, inactive
, imported
, archived
active
, pending
, cancelled
, paused
, trialing
, errored
, draft
, none
active
, pending
, cancelled
, paused
, trialing
, errored
, draft
, none
Response
List of Customer.
Customer ID.
"cus_Typ0px2W0aiEtl"
Customer name.
"Acme"
Customer type.
corporate
: The customer is a business entity.person
: The customer is a natural person.automatically_created
: The customer was automatically imported (e.g. from a data loader). This value cannot be used when creating/editing.
corporate
, person
, automatically_created
"corporate"
Customer status.
active
, archived
"active"
Currency code. See ISO 4217.
EUR
, AED
, AFN
, XCD
, ALL
, AMD
, AOA
, ARS
, USD
, AUD
, AWG
, AZN
, BAM
, BBD
, BDT
, XOF
, BGN
, BHD
, BIF
, BMD
, BND
, BOB
, BRL
, BSD
, BTN
, NOK
, BWP
, BYR
, BZD
, CAD
, CDF
, XAF
, CHF
, NZD
, CLP
, CNY
, COP
, CRC
, CUP
, CVE
, ANG
, CZK
, DJF
, DKK
, DOP
, DZD
, EGP
, MAD
, ERN
, ETB
, FJD
, FKP
, GBP
, GEL
, GHS
, GIP
, GMD
, GNF
, GTQ
, GYD
, HKD
, HNL
, HRK
, HTG
, HUF
, IDR
, ILS
, INR
, IQD
, IRR
, ISK
, JMD
, JOD
, JPY
, KES
, KGS
, KHR
, KMF
, KPW
, KRW
, KWD
, KYD
, KZT
, LAK
, LBP
, LKR
, LRD
, LSL
, LYD
, MDL
, MGA
, MKD
, MMK
, MNT
, MOP
, MRO
, MUR
, MVR
, MWK
, MXN
, MYR
, MZN
, NAD
, XPF
, NGN
, NIO
, NPR
, OMR
, PAB
, PEN
, PGK
, PHP
, PKR
, PLN
, PYG
, QAR
, RON
, RSD
, RUB
, RWF
, SAR
, SBD
, SCR
, SDG
, SEK
, SGD
, SHP
, SLL
, SOS
, SRD
, SSP
, STD
, SYP
, SZL
, THB
, TJS
, TMT
, TND
, TOP
, TRY
, TTD
, TWD
, TZS
, UAH
, UGX
, UYU
, UZS
, VEF
, VND
, VUV
, WST
, YER
, ZAR
, ZMW
, ZWL
"EUR"
Two-letter country code in ISO format. See ISO 3166 Alpha 2.
AD
, AE
, AF
, AG
, AI
, AL
, AM
, AO
, AQ
, AR
, AS
, AT
, AU
, AW
, AX
, AZ
, BA
, BB
, BD
, BE
, BF
, BG
, BH
, BI
, BJ
, BL
, BM
, BN
, BO
, BQ
, BR
, BS
, BT
, BV
, BW
, BY
, BZ
, CA
, CC
, CD
, CF
, CG
, CH
, CI
, CK
, CL
, CM
, CN
, CO
, CR
, CU
, CV
, CW
, CX
, CY
, CZ
, DE
, DJ
, DK
, DM
, DO
, DZ
, EC
, EE
, EG
, EH
, ER
, ES
, ET
, FI
, FJ
, FK
, FM
, FO
, FR
, GA
, GB
, GD
, GE
, GF
, GG
, GH
, GI
, GL
, GM
, GN
, GP
, GQ
, GR
, GS
, GT
, GU
, GW
, GY
, HK
, HM
, HN
, HR
, HT
, HU
, IC
, ID
, IE
, IL
, IM
, IN
, IO
, IQ
, IR
, IS
, IT
, JE
, JM
, JO
, JP
, KE
, KG
, KH
, KI
, KM
, KN
, KP
, KR
, KW
, KY
, KZ
, LA
, LB
, LC
, LI
, LK
, LR
, LS
, LT
, LU
, LV
, LY
, MA
, MC
, MD
, ME
, MF
, MG
, MH
, MK
, ML
, MM
, MN
, MO
, MP
, MQ
, MR
, MS
, MT
, MU
, MV
, MW
, MX
, MY
, MZ
, NA
, NC
, NE
, NF
, NG
, NI
, NL
, NO
, NP
, NR
, NU
, NZ
, OM
, PA
, PE
, PF
, PG
, PH
, PK
, PL
, PM
, PN
, PR
, PS
, PT
, PT-20
, PT-30
, PW
, PY
, QA
, RE
, RO
, RS
, RU
, RW
, SA
, SB
, SC
, SD
, SE
, SG
, SH
, SI
, SJ
, SK
, SL
, SM
, SN
, SO
, SR
, SS
, ST
, SV
, SX
, SY
, SZ
, TC
, TD
, TF
, TG
, TH
, TJ
, TK
, TL
, TM
, TN
, TO
, TR
, TT
, TV
, TW
, TZ
, UA
, UG
, UM
, US
, UY
, UZ
, VA
, VC
, VE
, VG
, VI
, VN
, VU
, WF
, WS
, XK
, YE
, YT
, ZA
, ZM
, ZW
"FR"
Customer tax number.
"FR123456789"
Indicates customer's tax number validity.
true
Customer custom tax rate. If not defined, the rate will be automatically determined based on the customer's country, your country, and applicable legal requirements.
Language used for invoices, emails, and hosted pages.
fr
, en
, de
, it
, nl
, es
, pt
, pl
"fr"
Customer timezone.
Pacific/Niue
, Pacific/Midway
, Pacific/Pago_Pago
, Pacific/Rarotonga
, Pacific/Honolulu
, Pacific/Tahiti
, Pacific/Marquesas
, Pacific/Gambier
, America/Adak
, America/Anchorage
, Pacific/Pitcairn
, America/Hermosillo
, America/Phoenix
, America/Los_Angeles
, America/Tijuana
, America/Vancouver
, America/Whitehorse
, America/Belize
, America/Guatemala
, America/Managua
, America/Mexico_City
, America/Costa_Rica
, America/El_Salvador
, America/Regina
, America/Tegucigalpa
, Pacific/Galapagos
, America/Edmonton
, America/Ciudad_Juarez
, America/Denver
, America/Rio_Branco
, America/Chicago
, America/Matamoros
, America/Winnipeg
, America/Bogota
, Pacific/Easter
, America/Atikokan
, America/Cancun
, America/Cayman
, America/Jamaica
, America/Panama
, America/Guayaquil
, America/Lima
, America/Manaus
, America/St_Kitts
, America/Blanc-Sablon
, America/Montserrat
, America/Barbados
, America/St_Lucia
, America/Port_of_Spain
, America/Martinique
, America/St_Barthelemy
, America/St_Vincent
, America/Kralendijk
, America/Guadeloupe
, America/Marigot
, America/Aruba
, America/Lower_Princes
, America/Tortola
, America/Dominica
, America/St_Thomas
, America/Grenada
, America/Antigua
, America/Puerto_Rico
, America/Santo_Domingo
, America/Anguilla
, America/Curacao
, America/La_Paz
, America/Havana
, America/Grand_Turk
, America/Nassau
, America/New_York
, America/Port-au-Prince
, America/Toronto
, America/Guyana
, America/Asuncion
, America/Caracas
, America/Argentina/Buenos_Aires
, America/Halifax
, Atlantic/Bermuda
, America/Thule
, America/Sao_Paulo
, Antarctica/Palmer
, America/Punta_Arenas
, America/Santiago
, Atlantic/Stanley
, America/Cayenne
, America/Paramaribo
, America/Montevideo
, America/St_Johns
, America/Scoresbysund
, America/Noronha
, Atlantic/South_Georgia
, America/Miquelon
, America/Nuuk
, Atlantic/Azores
, Atlantic/Cape_Verde
, Etc/UTC
, Africa/Abidjan
, Africa/Bamako
, Africa/Bissau
, Africa/Conakry
, Africa/Dakar
, America/Danmarkshavn
, Europe/Isle_of_Man
, Europe/Dublin
, Africa/Freetown
, Atlantic/St_Helena
, Africa/Accra
, Africa/Lome
, Europe/London
, Africa/Monrovia
, Africa/Nouakchott
, Africa/Ouagadougou
, Atlantic/Reykjavik
, Europe/Jersey
, Europe/Guernsey
, Africa/Sao_Tome
, Africa/Banjul
, Antarctica/Troll
, Africa/Casablanca
, Africa/El_Aaiun
, Atlantic/Canary
, Europe/Lisbon
, Atlantic/Faroe
, Africa/Algiers
, Europe/Amsterdam
, Europe/Andorra
, Europe/Belgrade
, Europe/Berlin
, Europe/Bratislava
, Europe/Brussels
, Europe/Budapest
, Europe/Copenhagen
, Europe/Gibraltar
, Europe/Ljubljana
, Arctic/Longyearbyen
, Europe/Luxembourg
, Europe/Madrid
, Europe/Monaco
, Europe/Oslo
, Europe/Paris
, Europe/Podgorica
, Europe/Prague
, Europe/Rome
, Europe/San_Marino
, Europe/Malta
, Europe/Sarajevo
, Europe/Skopje
, Europe/Stockholm
, Europe/Tirane
, Africa/Tunis
, Europe/Vaduz
, Europe/Vatican
, Europe/Vienna
, Europe/Warsaw
, Europe/Zagreb
, Europe/Zurich
, Africa/Bangui
, Africa/Malabo
, Africa/Brazzaville
, Africa/Porto-Novo
, Africa/Douala
, Africa/Kinshasa
, Africa/Lagos
, Africa/Libreville
, Africa/Luanda
, Africa/Ndjamena
, Africa/Niamey
, Africa/Bujumbura
, Africa/Gaborone
, Africa/Harare
, Africa/Juba
, Africa/Khartoum
, Africa/Kigali
, Africa/Blantyre
, Africa/Lubumbashi
, Africa/Lusaka
, Africa/Maputo
, Africa/Windhoek
, Europe/Athens
, Asia/Beirut
, Europe/Bucharest
, Africa/Cairo
, Europe/Chisinau
, Asia/Hebron
, Europe/Helsinki
, Europe/Kaliningrad
, Europe/Kyiv
, Europe/Mariehamn
, Asia/Nicosia
, Europe/Riga
, Europe/Sofia
, Europe/Tallinn
, Africa/Tripoli
, Europe/Vilnius
, Asia/Jerusalem
, Africa/Johannesburg
, Africa/Mbabane
, Africa/Maseru
, Asia/Kuwait
, Asia/Bahrain
, Asia/Baghdad
, Asia/Qatar
, Asia/Riyadh
, Asia/Aden
, Asia/Amman
, Asia/Damascus
, Africa/Addis_Ababa
, Indian/Antananarivo
, Africa/Asmara
, Africa/Dar_es_Salaam
, Africa/Djibouti
, Africa/Kampala
, Indian/Mayotte
, Africa/Mogadishu
, Indian/Comoro
, Africa/Nairobi
, Europe/Minsk
, Europe/Moscow
, Europe/Simferopol
, Antarctica/Syowa
, Europe/Istanbul
, Asia/Tehran
, Asia/Yerevan
, Asia/Baku
, Asia/Tbilisi
, Asia/Dubai
, Asia/Muscat
, Indian/Mauritius
, Indian/Reunion
, Europe/Samara
, Indian/Mahe
, Asia/Kabul
, Asia/Almaty
, Indian/Kerguelen
, Indian/Maldives
, Antarctica/Mawson
, Asia/Karachi
, Asia/Dushanbe
, Asia/Ashgabat
, Asia/Tashkent
, Antarctica/Vostok
, Asia/Aqtobe
, Asia/Yekaterinburg
, Asia/Colombo
, Asia/Kolkata
, Asia/Kathmandu
, Asia/Dhaka
, Asia/Thimphu
, Asia/Urumqi
, Indian/Chagos
, Asia/Bishkek
, Asia/Omsk
, Indian/Cocos
, Asia/Yangon
, Indian/Christmas
, Antarctica/Davis
, Asia/Hovd
, Asia/Bangkok
, Asia/Ho_Chi_Minh
, Asia/Phnom_Penh
, Asia/Vientiane
, Asia/Novosibirsk
, Asia/Jakarta
, Australia/Perth
, Asia/Brunei
, Antarctica/Casey
, Asia/Makassar
, Asia/Macau
, Asia/Shanghai
, Asia/Hong_Kong
, Asia/Irkutsk
, Asia/Kuala_Lumpur
, Asia/Manila
, Asia/Singapore
, Asia/Taipei
, Asia/Ulaanbaatar
, Australia/Eucla
, Asia/Dili
, Asia/Jayapura
, Asia/Tokyo
, Asia/Pyongyang
, Asia/Seoul
, Pacific/Palau
, Asia/Chita
, Australia/Darwin
, Australia/Brisbane
, Pacific/Guam
, Pacific/Saipan
, Pacific/Chuuk
, Antarctica/DumontDUrville
, Pacific/Port_Moresby
, Asia/Vladivostok
, Australia/Adelaide
, Australia/Sydney
, Pacific/Bougainville
, Pacific/Kosrae
, Australia/Lord_Howe
, Pacific/Noumea
, Asia/Sakhalin
, Pacific/Guadalcanal
, Pacific/Efate
, Pacific/Fiji
, Pacific/Tarawa
, Pacific/Majuro
, Pacific/Nauru
, Pacific/Norfolk
, Asia/Kamchatka
, Pacific/Funafuti
, Pacific/Wake
, Pacific/Wallis
, Pacific/Apia
, Pacific/Auckland
, Antarctica/McMurdo
, Pacific/Kanton
, Pacific/Fakaofo
, Pacific/Tongatapu
, Pacific/Chatham
, Pacific/Kiritimati
"Europe/Paris"
ID of the customer in your system. This helps matching your customer with the one on Hyperline.
Key/value pairs to store any information you find useful.
A list of key value with the ID or the name of the custom property as the key and the custom property value as value.
Customer billing address.
Address name.
"Acme"
Address first line.
"5 rue de Paradis"
Address second line (optional).
Address city.
"Paris"
Address ZIP code.
"75010"
Address state (only for US country).
Two-letter country code in ISO format. See ISO 3166 Alpha 2.
AD
, AE
, AF
, AG
, AI
, AL
, AM
, AO
, AQ
, AR
, AS
, AT
, AU
, AW
, AX
, AZ
, BA
, BB
, BD
, BE
, BF
, BG
, BH
, BI
, BJ
, BL
, BM
, BN
, BO
, BQ
, BR
, BS
, BT
, BV
, BW
, BY
, BZ
, CA
, CC
, CD
, CF
, CG
, CH
, CI
, CK
, CL
, CM
, CN
, CO
, CR
, CU
, CV
, CW
, CX
, CY
, CZ
, DE
, DJ
, DK
, DM
, DO
, DZ
, EC
, EE
, EG
, EH
, ER
, ES
, ET
, FI
, FJ
, FK
, FM
, FO
, FR
, GA
, GB
, GD
, GE
, GF
, GG
, GH
, GI
, GL
, GM
, GN
, GP
, GQ
, GR
, GS
, GT
, GU
, GW
, GY
, HK
, HM
, HN
, HR
, HT
, HU
, IC
, ID
, IE
, IL
, IM
, IN
, IO
, IQ
, IR
, IS
, IT
, JE
, JM
, JO
, JP
, KE
, KG
, KH
, KI
, KM
, KN
, KP
, KR
, KW
, KY
, KZ
, LA
, LB
, LC
, LI
, LK
, LR
, LS
, LT
, LU
, LV
, LY
, MA
, MC
, MD
, ME
, MF
, MG
, MH
, MK
, ML
, MM
, MN
, MO
, MP
, MQ
, MR
, MS
, MT
, MU
, MV
, MW
, MX
, MY
, MZ
, NA
, NC
, NE
, NF
, NG
, NI
, NL
, NO
, NP
, NR
, NU
, NZ
, OM
, PA
, PE
, PF
, PG
, PH
, PK
, PL
, PM
, PN
, PR
, PS
, PT
, PT-20
, PT-30
, PW
, PY
, QA
, RE
, RO
, RS
, RU
, RW
, SA
, SB
, SC
, SD
, SE
, SG
, SH
, SI
, SJ
, SK
, SL
, SM
, SN
, SO
, SR
, SS
, ST
, SV
, SX
, SY
, SZ
, TC
, TD
, TF
, TG
, TH
, TJ
, TK
, TL
, TM
, TN
, TO
, TR
, TT
, TV
, TW
, TZ
, UA
, UG
, UM
, US
, UY
, UZ
, VA
, VC
, VE
, VG
, VI
, VN
, VU
, WF
, WS
, XK
, YE
, YT
, ZA
, ZM
, ZW
"FR"
Email to which all communications will be sent.
"billing@acme.com"
Emails to which invoices will be sent (e.g. payer, finance team, accounting firm). If not defined, invoices will be sent to the billing_email
; otherwise, they won't be sent to the billing_email
.
["accounting@acme.com"]
ID of the invoicing entity this customer will be attached to.
"ive_484dn4U48E"
Indicates if invoice reminders are enabled for the customer.
List of payment methods you allow your customer to pay with. You customer will be able to select one of them in their portal page and those will be the default options when creating a checkout session.
card
, direct_debit
, direct_debit_ach
, direct_debit_bacs
, transfer
, transfer_automated
["card", "direct_debit"]
Default payment method type used to pay subscriptions and one-off invoices.
card
, direct_debit
, direct_debit_ach
, direct_debit_bacs
, transfer
, transfer_automated
, external
"card"
ID of the default payment method of the customer. Only applies to card and direct debit.
"pm_UTclbc1US8GzCe"
Custom payment delay. If not defined, the default one defined on the related invoicing entity will be used.
30
Subscription ID.
"sub_0kIc7jrF7gV00V"
Status of the subscription.
draft
, pending
, trialing
, active
, paused
, errored
, cancelled
, voided
, archived
"active"
Start date of the current period. UTC date time string in the ISO 8601 format.
"2024-10-12T07:00:01.860Z"
End date of the current period. UTC date time string in the ISO 8601 format.
"2024-11-12T07:00:01.860Z"
Plan ID.
"plan_34hdd843hReh"
Checkout session ID.
"che_949djdj39RJj"
Customer creation date. UTC date time string in the ISO 8601 format.
"2024-10-12T07:00:01.860Z"
Customer last edition date. UTC date time string in the ISO 8601 format.
"2024-10-12T07:00:01.860Z"
Was this page helpful?
curl --request GET \
--url https://api.hyperline.co/v1/customers \
--header 'Authorization: Bearer <token>'
{
"meta": {
"total": 1,
"taken": 1,
"skipped": 0
},
"data": [
{
"id": "cus_Typ0px2W0aiEtl",
"name": "Acme",
"type": "corporate",
"status": "active",
"currency": "EUR",
"country": "FR",
"vat_number": "FR123456789",
"vat_number_valid": true,
"vat_rate_custom": 123,
"language": "fr",
"timezone": "Europe/Paris",
"external_id": "<string>",
"properties": {},
"custom_properties": {},
"billing_address": {
"name": "Acme",
"line1": "5 rue de Paradis",
"line2": "<string>",
"city": "Paris",
"zip": "75010",
"state": "<string>",
"country": "FR"
},
"billing_email": "billing@acme.com",
"invoice_emails": [
"accounting@acme.com"
],
"invoicing_entity_id": "ive_484dn4U48E",
"invoice_reminders_enabled": true,
"available_payment_methods": [
"card",
"direct_debit"
],
"current_payment_method_type": "card",
"current_payment_method_id": "pm_UTclbc1US8GzCe",
"custom_payment_delay": 30,
"subscriptions": [
{
"id": "sub_0kIc7jrF7gV00V",
"status": "active",
"current_period_started_at": "2024-10-12T07:00:01.860Z",
"current_period_ends_at": "2024-11-12T07:00:01.860Z",
"plan_id": "plan_34hdd843hReh",
"checkout_session_id": "che_949djdj39RJj"
}
],
"created_at": "2024-10-12T07:00:01.860Z",
"updated_at": "2024-10-12T07:00:01.860Z",
"deleted_at": "2024-10-13T02:00:00.000Z"
}
]
}