account.created
Overview of the account.created
webhook
account.created
webhookWhen an account.created
event is triggered, FastSpring sends a webhook payload containing details about a newly created buyer account. This event occurs when FastSpring processes an order associated with an unrecognized email
This page includes:
- A full sample payload for the
account.created
webhook - A detailed table listing every payload property, including name, type, and description
- Notes on optional fields and account-related metadata
Webhook payload example
When an account.created
event is triggered, the webhook sends the following JSON payload:
{
"id": "abcDEFgHiJklM1N-3OP9q",
"account": "abcDEFgHiJklM1N-3OP9q",
"contact": {
"first": "Jane",
"last": "Doe",
"email": "[email protected]",
"company": "Example Corp",
"phone": "+1 5550001000",
"subscribed": true
},
"address": {
"address line 1": "123 Main St",
"address line 2": "Suite 200",
"city": "Santa Barbara",
"country": "US",
"postal code": "93101",
"region": "US-CA",
"region custom": "California",
"company": "Example Corp"
},
"language": "en",
"country": "US",
"lookup": {
"global": "ZxYwVuTsRqPoNmLk_JiHgF"
},
"url": "https://examplestore.test.onfastspring.com/account"
}
Navigate this webhook
The account.created
webhook payload includes details about a newly created customer account. Use the links below to jump directly to a section of the property reference.
Payload properties
All fields below are included in the account.created
webhook payload. Fields are grouped into categories for easier navigation.
Name | Type | Description |
---|---|---|
Account Metadata | ||
id | string | Unique FastSpring-generated identifier for the account |
account | string | Duplicate of id for backward compatibility |
Contact Info | ||
contact.first | string | First name of the account contact |
contact.last | string | Last name of the account contact |
contact.email | string | Email address of the account contact |
contact.company | string | Company name associated with the contact, when provided |
contact.phone | string | Phone number of the account contact, when provided |
contact.subscribed | boolean | Whether the contact is subscribed to marketing communications |
Address | ||
address.address line 1 | string | Primary street address line |
address.address line 2 | string | Secondary street address line |
address.city | string | City of the account address |
address.country | string | Two-letter ISO country code of the address |
address.postal code | string | Postal or ZIP code of the account address |
address.region | string | Region or state of the account address |
address.region custom | string | Custom region name when not standard |
address.company | string | Company name associated with the account address, when provided |
Preferences | ||
language | string | Two-letter ISO code for the customer’s preferred language |
country | string | Two-letter ISO country code for the customer |
Lookup and URLs | ||
lookup.global | string | Globally unique public ID used to look up the account in customer-facing portals |
url | string | Customer-facing account management URL |