Buyer Updated Event


Buyer updated event representing a state change in buyer data.

Headers:

  • Ce-Type - buyer_updated
  • Ce-Source - breadpayments.webhooks.buyer_management
{ "identity": { "tenantID": "dc0dc633-1760-4d43-ba1d-da94ed701f06", "buyerID": "dc0dc633-1760-4d43-ba1d-da94ed701f06", "merchantID": "dc0dc633-1760-4d43-ba1d-da94ed701f06", "partnerID": "dc0dc633-1760-4d43-ba1d-da94ed701f06", "programID": "dc0dc633-1760-4d43-ba1d-da94ed701f06" }, "timestamp": "2020-12-31T15:10:55Z", "buyer": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "tenantID": "f95ac700-4c8f-4a38-a8d1-1582733edd5b", "buyerIdentity": { "tenantID": "dc0dc633-1760-4d43-ba1d-da94ed701f06", "buyerID": "dc0dc633-1760-4d43-ba1d-da94ed701f06", "merchantID": "dc0dc633-1760-4d43-ba1d-da94ed701f06", "partnerID": "dc0dc633-1760-4d43-ba1d-da94ed701f06", "programID": "dc0dc633-1760-4d43-ba1d-da94ed701f06" }, "primaryContactID": "6cba637d-8417-4481-9975-f1d80e1f1dfb", "contacts": { "property1": { "address": { "address1": "156 5th Avenue", "address2": "string", "locality": "New York", "postalCode": "10019", "region": "US-NY", "country": "US", "addressType": "Firm" }, "buyerID": "c3f8e97b-2d09-4cb8-a41e-c5b635b0f1e3", "contactType": "PRIMARY", "createdAt": "2020-12-31T15:10:55Z", "email": "john.doe@gmail.com", "id": "f322210a-e814-4b1b-a8bf-007a3e765bb9", "name": { "givenName": "John", "familyName": "Doe", "additionalName": "string" }, "phone": "+14539842345", "updatedAt": "2020-12-31T15:10:55Z" }, "property2": { "address": { "address1": "156 5th Avenue", "address2": "string", "locality": "New York", "postalCode": "10019", "region": "US-NY", "country": "US", "addressType": "Firm" }, "buyerID": "c3f8e97b-2d09-4cb8-a41e-c5b635b0f1e3", "contactType": "PRIMARY", "createdAt": "2020-12-31T15:10:55Z", "email": "john.doe@gmail.com", "id": "f322210a-e814-4b1b-a8bf-007a3e765bb9", "name": { "givenName": "John", "familyName": "Doe", "additionalName": "string" }, "phone": "+14539842345", "updatedAt": "2020-12-31T15:10:55Z" } }, "buyerStatus": "ACTIVE", "buyerSubStatus": "ACTIVE", "createdAt": "2020-12-31T15:10:55Z", "updatedAt": "2020-12-31T15:10:55Z" } }

Properties

NameTypeRequiredRestrictionsDescription
identityobjecttruenoneThe claims that determines the access level of the caller.
➥ tenantIDstring(uuid)truenoneAn UUID that represents a tenant.
➥ buyerIDstring(uuid)¦nullfalsenoneAn UUID that represents a buyer.
➥ merchantIDstring(uuid)¦nullfalsenoneAn UUID that represents a merchant.
➥ partnerIDstring(uuid)¦nullfalsenoneAn UUID that represents a partner.
➥ programIDstring(uuid)¦nullfalsenoneAn UUID that represents a program.
timestampstring(date-time)truenoneThe timestamp value formatted per RFC3339. This does not allow nulls.
buyerobjecttruenonenone
➥ idstring(uuid)trueread-onlyUnique ID associated with this buyer.
➥ tenantIDstring(uuid)trueread-onlyTenant associated with this buyer.
➥ buyerIdentityobjecttruenoneThe claims that determines the access level of the caller.
➥➥ tenantIDstring(uuid)truenoneAn UUID that represents a tenant.
➥➥ buyerIDstring(uuid)¦nullfalsenoneAn UUID that represents a buyer.
➥➥ merchantIDstring(uuid)¦nullfalsenoneAn UUID that represents a merchant.
➥➥ partnerIDstring(uuid)¦nullfalsenoneAn UUID that represents a partner.
➥➥ programIDstring(uuid)¦nullfalsenoneAn UUID that represents a program.
➥ primaryContactIDstring(uuid)trueread-onlyPrimary contact for this buyer.
➥ contactsobjecttruenoneBuyerContactMap represents a mapping of buyer contact IDs to contacts
➥➥ additionalPropertiesobjectfalsenoneBuyerContact represents a set of contact information.
➥➥➥ addressobjectfalsenoneRepresents a fully defined address for an entity
➥➥➥➥ address1stringtruenoneFirst address line
➥➥➥➥ address2stringfalsenoneSecond address line
➥➥➥➥ localitystringtruenoneThe locality (e.g. City) of the address.
➥➥➥➥ postalCodestringtruenoneThe administrative postal code (e.g. Zip Code)
➥➥➥➥ regionstringtruenoneThe region or first-level administration division (e.g. State/Province) of the address.
➥➥➥➥ countrystringtruenoneThe two character ISO-3166-1 country code.
➥➥➥➥ addressTypestringfalseread-onlyRepresents the type of address.
➥➥➥ buyerIDstring(uuid)falseread-onlyID of the buyer associated with this contact.
➥➥➥ contactTypestringfalsenoneOptional. Represents the type of contact.
➥➥➥ createdAtstring(date-time)falsenoneTime this entity was created.
➥➥➥ emailstring(email)truenoneEmail address.
➥➥➥ idstring(uuid)falseread-onlyUnique ID associated with this contact.
➥➥➥ nameobjecttruenoneFull name.
➥➥➥➥ givenNamestringtruenoneGiven name
➥➥➥➥ familyNamestringtruenoneFamily name
➥➥➥➥ additionalNamestringfalsenoneAdditional name, if any
➥➥➥ phonestringtruenonePhone number.
➥➥➥ updatedAtstring(date-time)falsenoneTime this entity was last updated.
➥ buyerStatusstringfalsenoneStatus represents buyer status as string. Options available will depend
on tenant level configurations
➥ buyerSubStatusstringfalsenoneStatus represents buyer status as string. Options available will depend
on tenant level configurations
➥ createdAtstring(date-time)truenoneTime this entity was created.
➥ updatedAtstring(date-time)truenoneTime this entity was updated.

Enumerated Values

Value
Firm
GeneralDelivery
HighRise
POBox
RuralRoute
Street
NoMatch
InternationalNone
InternationalAdministrativeArea
InternationalLocality
InternationalThoroughfare
InternationalPremise
InternationalDeliveryPoint
Other
PRIMARY
HOME
WORK
OTHER
BILLING
SHIPPING