Common Field Types
Shared objects and field conventions used across the API. Use these definitions when building requests and interpreting responses.
Address object
address1
string
Yes
Street line one
address2
string
No
Suite or unit
city
string
Yes
City or locality
region
string
Yes
State or province such as MA
country
string
Yes
ISO alpha two such as US
postalCode
string
Yes
ZIP or postal code
Example
{
"address1": "123 Main St",
"address2": "Suite 200",
"city": "Springfield",
"region": "MA",
"country": "US",
"postalCode": "01109"
}
Contact fields
contactPhone
string
Yes when documented
Local format or E.164 accepted. Prefer E.164 for production
contactEmail
string
Yes when documented
Valid email address for notifications or support
website
string or null
Conditional
Required when business type is virtual
. Must be HTTPS
Identifiers
Treat all identifiers as opaque strings. Preserve case and do not parse by prefix.
Partner
par_9f2a1cde
Merchant
mer_4e5a13aa
Location
loc_bfdc6a7f
Terminal
term_12345678
Payment
pay_abcdef12
Monetary amounts and volumes
Numeric values are JSON numbers. Do not quote numeric fields.
averageTicketSize
number
Typical transaction amount for the entity
maximumTicketSize
number
Maximum expected transaction amount
highestMonthlyVolume
number or null
Peak expected monthly volume if available
grossAnnualVolume
number
Estimated annual processing volume
Precision is two decimal places unless a field specifies otherwise. Currency is implied by the merchant or settlement rail unless a currency code is explicitly documented on that endpoint.
Merchant category codes
merchantCategoryCode
string
Yes
Four digit MCC such as 5812
additionalMerchantCategoryCodes
array of string
Yes
Can be an empty array when not applicable
Provide MCC values as strings to preserve leading zeros where used.
Tender types
Use the exact strings shown on the Tender Types pages. Values are case sensitive.
usdcBase
USDC on Base network
ethereum
ETH on Ethereum network
When a location or terminal omits tenderTypes
, defaults from the parent are applied according to the entity documentation.
Timestamps
Format
ISO 8601 in UTC with Z
suffix
Examples
2025-09-02T16:22:11Z
, 2025-09-02T16:22:11.015Z
Fields
created
and updated
use UTC consistently
Pagination parameters and envelope
Paginated endpoints accept common parameters and return a standard envelope.
page
integer
No
One based page number with a default of one
pageSize
integer
No
Items per page with a sensible default per endpoint
Response envelope
data
array
Results for the requested page
total
integer
Total number of records across all pages
page
integer
Page number that was returned
Some list endpoints return a bare array when the full set is expected to be small. Those endpoints do not use pagination parameters or the envelope.
Error object
All error responses follow a consistent JSON shape. Surface message
to users and log traceId
for support.
{
"code": "validation_error",
"error": "Invalid request",
"message": "One or more fields are invalid.",
"traceId": "00-73fffe343fd1d5b150beddb00730bb24-f182c31fd104b782-00",
"details": [
{ "field": "address.postalCode", "message": "Invalid format" }
]
}
code
string
Stable programmatic code such as validation_error
, not_found
, forbidden
error
string
Short category label used in logs
message
string
Human readable explanation
traceId
string
Correlation identifier for support
details
array
Optional per field errors with field
and message
Header conventions
Authorization
Bearer <access_token>
on every call
Content Type
application/json
for requests with bodies
Accept
application/json
URL and webhook fields
webhookUrl
Must be HTTPS and routable from Bead. Use a stable hostname. Rotate secrets without changing the path when possible
Last updated