You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
latest version, trying to parse the response with rusts serde crate, getting the error duplicate field
curl --location --request GET "$LAGO_URL/api/v1/customers/sub123" --header "Authorization: Bearer $API_KEY"
{"customer":{"lago_id":"4c47c363-500e-4704-85d4-735ff3f7e84a","external_id":"sub123","name":null,"firstname":"John","lastname":"Doe","customer_type":null,"sequential_id":12,"slug":"DAT-8F9C-012","created_at":"2025-01-01T21:36:07Z","updated_at":"2025-01-01T21:36:07Z","country":"US","address_line1":"123 Main St","address_line2":null,"state":null,"zipcode":"12345","email":"[email protected]","city":"New York","url":null,"phone":null,"logo_url":null,"legal_name":null,"legal_number":null,"currency":"EUR","tax_identification_number":null,"timezone":null,"applicable_timezone":"UTC","net_payment_term":null,"external_salesforce_id":null,"finalize_zero_amount_invoice":"inherit","billing_configuration":{"invoice_grace_period":null,"payment_provider":"stripe","payment_provider_code":"1","document_locale":null,"provider_customer_id":"cus_RValmji9iEiN8E","provider_payment_methods":["card"],"sync_with_provider":true,"provider_payment_methods":["card"]},"shipping_address":{"address_line1":null,"address_line2":null,"city":null,"zipcode":null,"state":null,"country":null},"metadata":[],"taxes":[],"integration_customers":[]}}%
The text was updated successfully, but these errors were encountered:
latest version, trying to parse the response with rusts serde crate, getting the error duplicate field
curl --location --request GET "$LAGO_URL/api/v1/customers/sub123" --header "Authorization: Bearer $API_KEY"
{"customer":{"lago_id":"4c47c363-500e-4704-85d4-735ff3f7e84a","external_id":"sub123","name":null,"firstname":"John","lastname":"Doe","customer_type":null,"sequential_id":12,"slug":"DAT-8F9C-012","created_at":"2025-01-01T21:36:07Z","updated_at":"2025-01-01T21:36:07Z","country":"US","address_line1":"123 Main St","address_line2":null,"state":null,"zipcode":"12345","email":"[email protected]","city":"New York","url":null,"phone":null,"logo_url":null,"legal_name":null,"legal_number":null,"currency":"EUR","tax_identification_number":null,"timezone":null,"applicable_timezone":"UTC","net_payment_term":null,"external_salesforce_id":null,"finalize_zero_amount_invoice":"inherit","billing_configuration":{"invoice_grace_period":null,"payment_provider":"stripe","payment_provider_code":"1","document_locale":null,"provider_customer_id":"cus_RValmji9iEiN8E","provider_payment_methods":["card"],"sync_with_provider":true,"provider_payment_methods":["card"]},"shipping_address":{"address_line1":null,"address_line2":null,"city":null,"zipcode":null,"state":null,"country":null},"metadata":[],"taxes":[],"integration_customers":[]}}%
The text was updated successfully, but these errors were encountered: