Merchants
The merchant is the business behind your API key: it owns the payment processor account, the payout bank account, and the business profile buyers see on checkout, receipts, and emails. Every key belongs to exactly one merchant and one environment, so GET /v1/merchant and PATCH /v1/merchant always act on that key's merchant. There's no route to create or list merchants; sign-up creates them, as the API and agent onboarding guide describes. Partner app installs can read the merchant with merchants.profile.read. With merchants.profile.write and a live grant, an install's PATCH /v1/merchant can change only business_name, logo, and icon; see Partner app tokens.
A merchant answers three questions:
| Field | What it answers |
|---|---|
status | Whether Flint lets the account operate at all. See Account status. |
readiness | Whether the account can take payments and receive payouts now, and what to do next. See Readiness. |
| Profile fields | The business name, contact details, address, logo, icon, and default API version. See Profile and updates. |
status and the profile are shared by live mode and every sandbox. readiness answers for the environment of the credential you send.
Account status#
status is a closed set that Flint controls. You can't change it through the API.
status on merchantactiveThe account operates normally.readinesssays whether payments and payouts are available.suspendedFlint suspended the account, for example during a compliance or fraud review. Payments are refused in live and test mode until Flint reinstates it.restrictedThe account can't take live payments. The payment processor disabled charges, the account needs a supported automatic tax category, or Flint restricted the account.readinesssays which and what to do. Test payments continue unless Flint restricted the account.closedFinalThe account is permanently closed. It is reached only through Flint support: a merchant asks in Flint Help, as Close your account describes. No API route, Dashboard setting, or CLI command closes it.
Readiness#
readiness is the one answer to "can this merchant take payments, and what's next". It answers for the environment of the credential you send: a live key reads live readiness, and a sandbox key reads that sandbox's. See which credential reaches which environment. The onboarding session token from sign-up can read it too, before the first API key exists.
| Field | Meaning |
|---|---|
payments, payouts | The two axes. payments decides whether buyers can pay; payouts decides whether the balance can reach the bank. |
capabilities | Every capability Flint offers, such as accept_card_payments, accept_ach_debit_payments, and create_standard_payouts, each with its domain, its own status, requirements, and next_actions. |
requirements | The account information the payment processor needs. See Requirement codes. |
observed_at | When Flint observed this readiness. |
Each axis and capability has a status, and, unless it is ready or not_requested, a status_reason saying why. The status list is closed:
status on readiness axisreadyWorks now.next_actionsis usually empty, but it can offer acreate_merchant_account_sessionaction when information will be due later, or when information is currently due or overdue but the payment processor hasn't turned the capability off; those requirements carrydue_at.pendingWaiting. Withpending_verification, submitted information is under review. Withonboarding_not_started, the account owner hasn't submitted verification yet.blockedSomething must be resolved first.status_reasonsays what, andnext_actionssays who acts.not_requestedThe account never requested this capability, such as ACH debit for a card-only account.not_availableNot available right now. Withservice_unavailable, Flint couldn't observe readiness; the merchant read still succeeds, so read it again later.
status_reason can gain values, so treat one you don't recognize as other. Status reasons in the going-live guide explains each one and what to do about it.
When an axis or capability is blocked, blocked_since gives the start of the current blocked period as an RFC 3339 UTC timestamp. It stays the same if status_reason changes while the block continues. A later block starts a new period once Flint publishes an unblocked status. Flint may treat a brief unblock that it didn't publish as part of the same blocked period. Flint omits the field when the status is anything other than blocked or the start is unknown.
Next actions#
Each entry in next_actions has an action_type and an owner: integrator for a call you make, merchant for something the account holder does, or flint when Flint has to act. Some reasons, such as service_unavailable and platform_funding_unavailable, come with no action.
create_merchant_account_session, ownerintegrator: information is due. Send the action'smerchant_account_sessionbody as is toPOST /v1/merchant-account-sessions, including anytargeted_requirements, and mount the session for the account owner.wait_for_review, ownerflint: submitted information is under review. Read readiness again whenmerchant.readiness_updatedfires.settle_flint_balance, ownermerchant: an amount owed to Flint is past due, and payouts are held. Payments keep working, and payouts resume once no currency has 25 units or more past due, such as when it's paid; see Merchant billing.set_tax_category, ownermerchant: choose an automatic tax category Flint supports in the tax settings.contact_support, ownermerchant: only Flint support can clear the reason, such as an account review or a payment option that isn't set up.other: an action without a published name, including one newer than your code. Show it to the account owner, or contact Flint support.
advance_onboarding appears only in onboarding state's next_step; see Read the state.
Keep readiness current#
Readiness is observed from the payment processor, so it changes without any write to the merchant, and it doesn't advance the merchant's version. Subscribe to merchant.readiness_updated and read GET /v1/merchant when it fires, instead of polling. Deliveries can repeat or show no visible change, so act on the merchant you read, and compare observed_at to order two reads.
When information is due, the loop is:
merchant.readiness_updatedarrives, and you readGET /v1/merchant.- A
create_merchant_account_sessionaction carries the session body. Send it toPOST /v1/merchant-account-sessionsand mount the session in your product. - The account owner provides the information, and the payment processor reviews it.
- Each readiness change sends
merchant.readiness_updatedagain, so the loop repeats from step 1 while information is due.
merchant.readiness_updated also fires when upcoming_due or upcoming_due_at changes, so you can warn the account owner as soon as the payment processor schedules new requirements, before anything is due.
Before initial live activation, explicitly set profile.support_email. Buyers see this address on receipts and in their account. The onboarding action advance_onboarding lists profile.support_email in required_fields until you supply it. A request to advance live onboarding without it returns 409 MERCHANT_NOT_READY with reason onboarding_required and param: profile.support_email. New payment requests missing the required support email return the same error. Merchant readiness directs callers to advance_onboarding, with profile.support_email in required_fields. Flint does not use the business email as a fallback. Existing live merchants without a support email keep taking payments and receive the outstanding profile requirement as a prompt.
Payment and payout requests check readiness themselves. A request made while the capability it needs isn't ready fails with 409 MERCHANT_NOT_READY, and details[0].reason says why. Follow the readiness actions, then send a new request with a new idempotency key.
Scheduled review pauses#
When Flint schedules a review pause, readiness.payments or readiness.payouts reports upcoming_block_reason and upcoming_block_at if that area is expected to become blocked. The reason is the expected status_reason when the pause takes effect. The effective time is an RFC 3339 UTC timestamp. Use the pair to warn the account owner.
Flint omits the pair for an area that is already blocked. The pair clears when the pause takes effect, is canceled, or starts early. At the scheduled time, GET /v1/merchant reflects the pause even if the webhook is still on its way. Scheduling, canceling, or starting a review pause each triggers merchant.readiness_updated.
Requirement codes#
readiness.requirements and each capability's requirements group what the payment processor needs into five arrays:
| Array | Meaning |
|---|---|
currently_due | Needed now, by due_at when one is set. A capability the payment processor turns off for it is blocked with requirements_due. |
past_due | Missed its deadline. A capability it stops is blocked with requirements_past_due. |
pending_verification | Submitted and under review. Nothing to do. |
| upcoming_due | The payment processor starts requiring it on upcoming_due_at. A warning only: it doesn't affect payments or payouts before that date. After the date it moves to currently_due or past_due. | | eventually_due | Doesn't block anything yet and has no date. Collect it before it moves to currently_due. |
readiness.requirements.errors lists verification failures as requirement, code, message, and resolution. The same list is available under each capability's requirements. Show the message and resolution to the account owner, then open a merchant account session so they can correct the details. The array is empty when no failures are reported. An error can name a requirement outside the due lists.
Codes include tax_id_mismatch, identity_mismatch, document_unreadable, document_expired, document_mismatch, document_rejected, invalid_value, and verification_failed. New codes may be added; use the supplied message and resolution when a code is unfamiliar.
upcoming_due_at is an RFC 3339 UTC timestamp, omitted when nothing is scheduled. Collect upcoming_due before that date so nothing is paused when it arrives: while upcoming_due isn't empty, the recommended create_merchant_account_session action sets future_requirements to include, so the session collects these requirements too.
disabled_reason says why the processor disabled the account, when it has. When it is account_rejected, rejected_by says whether flint or the payment_processor rejected the account.
The arrays hold Flint requirement codes, which name the information to collect rather than provider field names:
- Business:
business_address,business_description,business_directors,business_executives,business_name,business_owners,business_phone,business_support_phone,business_support_url,business_tax_id,business_verification_document,business_website,merchant_category_code - Representative:
representative_address,representative_additional_identity_document,representative_date_of_birth,representative_email,representative_first_name,representative_identity_document,representative_last_name,representative_phone,representative_tax_id,representative_tax_id_last_four - Owner:
owner_address,owner_additional_identity_document,owner_date_of_birth,owner_first_name,owner_identity_document,owner_last_name,owner_tax_id_last_four - Payout destination:
payout_destination,payout_destination_ownership_document - Agreements:
terms_acceptance - Other account information:
additional_account_information
New codes can appear in responses. Treat one you don't recognize as additional_account_information.
A create_merchant_account_session action's targeted_requirements uses the same codes. Copy them unchanged into the session request so it collects only that information. A request accepts only published codes: an unknown one returns 400 INVALID_REQUEST with an INVALID_VALUE detail at the array item. See Targeted remediation. Account session responses don't include requirements, so read GET /v1/merchant after the owner finishes.
Profile and updates#
The profile is shared by every environment, and PATCH /v1/merchant changes it for all of them. It is a sparse update: fields you leave out keep their values, and null clears the fields that allow it.
A new account starts with a suggested business_name taken from the domain of the sign-up email address or, failing that, from the person's name, and email set to the sign-up email. Once the merchant starts verification, business_name stays in sync with the business name on the payment processor account: a change on either side applies, and the latest change wins.
Fields that need a live key#
All 13 mutable fields require a live-mode credential or a Dashboard session: api_version, business_name, email, phone, address, timezone, metadata, logo, icon, support_email, support_phone, support_url, and website_url. Dashboard sessions can edit them with any environment selected, subject to the user's role. Onboarding sessions have no Dashboard exception.
A test credential that supplies any of these fields gets 403 FORBIDDEN with reason live_mode_required, and nothing in the request is saved. This includes explicit null, clears, and every metadata change, including an empty object. details has one item per supplied shared field, ordered by field name, with that field's JSON path in param. The top-level param names the first field. expected_version is a concurrency fence and doesn't change the profile by itself.
api_version is the default for requests without a Flint-Version header in every environment; see Move the merchant default. business_name and the support and website fields sync to the live payment processor account. For sandbox onboarding prefill, send profile to POST /v1/onboarding/advance; it updates only the selected environment.
Partner app tokens#
A partner app token with merchants.profile.write changes the name and images buyers see: business_name, logo, and icon. It needs a live grant, like any credential that isn't a Dashboard session. The account email, which receives Flint's notices, phone and address, which the payment processor uses to verify the business, the support contact and website_url, which the payment processor requires, timezone, api_version, expected_api_version, and metadata stay with the merchant. Sending one of those, with any value, returns 400 INVALID_REQUEST with a NOT_ALLOWED detail per field and param naming it, and nothing is saved. Where an install can advance onboarding, merchants.onboarding.write lets it send the support contact and website fields through POST /v1/onboarding/advance, but never the account email. See Brand checkout and set custom domains.
Contact field formats#
| Field | Accepted format |
|---|---|
email, support_email | One bare email address with no display name or whitespace, at most 320 characters, with a valid dotted host, such as help+orders@example.com. Internationalized domain names are supported. |
support_url, website_url | A full http:// or https:// URL of at most 2,048 characters with a valid host name or IP address, such as https://example.com/support. User names, passwords, and leading or trailing spaces are rejected. |
support_phone, phone | International format: + followed by 7 to 15 digits including the country code, such as +12125551234. The first digit can't be 0, and spaces, dashes, and parentheses are rejected. |
timezone | An IANA time zone name, such as America/New_York. |
A value that fails returns 400 INVALID_REQUEST with the field name in param.
address is a complete replacement: send line1, city, and an uppercase ISO 3166-1 alpha-2 country. US addresses also require state and postal_code. For other countries, omit either field or send null when it doesn't apply; a Hong Kong address can omit both. Supplied blank strings are rejected. Send address: null to clear the whole address. Tax calculations can still require additional geography.
Business time zone#
timezone is the business's time zone. Set it at signup, in the Business profile section of Dashboard Settings, or by sending {"timezone":"America/New_York"} to PATCH /v1/merchant with a live-mode key that has merchants.profile.write.
When the business has no saved time zone, GET /v1/merchant tries to infer one from the business profile address, live tax legal address, first live Location, or live payment account country, in that order. The response includes timezone_inferred: true when Flint finds a time zone this way. If Flint cannot determine one, it omits both fields.
Where a request accepts timezone, the one you send takes precedence.
- Invoices count due dates, reminder days, and late fee days in their
timezone. A new draft takes the saved business time zone or UTC and keeps that value. See Invoices. - Locations use the business time zone, a zone inferred from the Location address, or UTC when the request omits
timezone. See Locations. - Reports and analytics use the saved or inferred business time zone, then UTC. See Reporting and Analytics.
- Order receipts use the buyer's time zone when available, then the saved or inferred business time zone, then UTC.
- The CLI starts dates,
today,yesterday, andthis_weekat midnight in the time zone returned byGET /v1/merchant, or UTC if the field is omitted. See the CLI guide.
A resource's own timezone is a snapshot taken when Flint writes it, so it keeps the value it was written with.
A timezone you send that isn't a valid IANA name returns 400 INVALID_REQUEST with the field in param. If a write needs a saved merchant or resource timezone and that zone is invalid, the request returns 500 INTERNAL_ERROR before writing anything.
Logo and icon#
logo and icon each hold one image for the whole account, in live mode and every sandbox. Send an image with exactly one of source_url or file_id, plus optional alt and source_reference; send null to remove it; leave it out to keep it. The icon must be square and at least 128 by 128 pixels. Images covers uploads and the image errors.
Concurrent edits#
The profile, logo, and icon share version. Profile, status, and API version changes advance it, including a business name or business type the payment processor syncs; readiness changes don't. Send the version you last read as expected_version to make sure your edit doesn't overwrite one you haven't seen:
curl -X PATCH https://api.withflintpay.com/v1/merchant \
-H "Authorization: Bearer YOUR_LIVE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: merchant-phone-2" \
-d '{
"expected_version": 7,
"phone": "+12125551234"
}'
- StatusHTTP 409What to doThe profile changed since you read
expected_version.details[0].current_versionis its version now. Read the merchant again and decide whether your change still applies. - StatusHTTP 409What to doAnother write landed while your request ran, and nothing was saved. Any
expected_versionyou sent still matched. Send the same request again, with the sameIdempotency-Keyif it had one. - StatusHTTP 403CodeFORBIDDENWhat to do
- StatusHTTP 400CodeINVALID_
REQUEST What to doWith detail codeNOT_ALLOWED, a partner app token sent a field that stays with the merchant.paramnames it.
Webhooks#
Both events carry the merchant as GET /v1/merchant returns it in the event's mode, including readiness. Partner apps can receive both on installed_merchants endpoints when the install's grant holds merchants.profile.read.
merchant.updated: the profile, business name, status, API version, logo, or icon changed. Because the profile is shared, one change sends the event to each active environment. Keep the merchant with the higherversion.merchant.readiness_updated: readiness may have changed in this environment. ReadGET /v1/merchantand act on that response.
Related guides#
API and agent onboardingCreate a merchant, verify it, and handle later requirements without the dashboard.Going liveConfirm readiness before live buyers pay, with every status reason explained.Close your accountStop selling, export your data, receive your last payout, and ask Flint support to close the account.Merchant account sessionsEmbed verification and account management in your product.Get merchant#
/v1/merchantRequires scope merchants.profile.read or merchants.profile.write
Rate limit: read
Returns the authenticated merchant.
Response · 200
The authenticated merchant.
dataobjectRequiredResource, collection, or operation result returned by this request.
addressobjectThe merchant's business address.
api_versionstringDefault API version for requests without a Flint-Version header. Shared across live and test environments.
api_version_changed_atstringWhen the merchant's default API version last changed.
api_version_pinned_atstringWhen the merchant's default API version was first set.
api_version_previousstringPrevious API version, present while a supported rollback is available.
api_version_rollback_expires_atstringWhen the 72-hour rollback offer expires. Explicit changes to any supported version remain available afterward.
business_namestringBusiness name buyers see on checkout, payment links, and receipts. Once the merchant starts verification, it stays in sync with the business name on the live Stripe account: a change on either side applies, and the latest change wins.
business_typeenumMerchant's business type. - `other`: A business type Flint does not map yet.
individualcompanynon_profitgovernment_entityother
created_atstringRequiredRFC3339 timestamp.
emailstring or nullRequiredThe account's contact email address. A new account starts with the sign-up email. `null` when none is set.
iconobjectA square image, at least 128 by 128 pixels, shown where the store needs a small mark: browser tabs and compact headers.
logoobjectThe merchant's public brand mark.
merchant_idstringRequiredStable identifier of the merchant.
metadatamap of stringStored caller-owned key-value data. See `MetadataInput` for key, value, and size rules.
phonestringThe account's contact phone number, in international format such as +12125551234.
readinessobjectRequiredWhether the merchant can accept payments and receive payouts, and what is still needed.
statusenumRequiredWhether Flint lets the account operate. `readiness` says whether payments and payouts are available.
activesuspendedrestrictedclosed
support_emailstringSupport email address shown to buyers, for example on receipts and checkout.
support_phonestringSupport phone number shown to buyers, in international format such as +12125551234.
support_urlstringSupport page shown to buyers.
timezonestringBusiness IANA time zone, such as America/New_York. If no zone is saved, GET /v1/merchant returns a zone inferred from live business geography when one is available, and omits the field otherwise. Existing resources keep their saved time zone.
timezone_inferredbooleanTrue when GET /v1/merchant inferred timezone because the merchant has no saved business time zone. Omitted otherwise.
updated_atstringRequiredRFC3339 timestamp.
versionintegerRequiredMerchant version. Profile, status, and API version changes advance this version, including business name and business type changes synced from the payment provider. Readiness updates alone do not.
website_urlstringThe business's website.
metaobjectAdditional information about this response.
api_versionstringAPI version used to produce this response.
idempotency_replayedbooleanWhether this response replays a stored result for the supplied Idempotency-Key.
trace_idstringTrace identifier to include when contacting Flint about this request.
warningsarray of objectConditions that need attention even though the request succeeded.
request_idstringRequiredIdentifier of this API request, used to correlate logs and support requests.
curl https://api.withflintpay.com/v1/merchant \
-H "Flint-Version: 2026-09-07" \
-H "Authorization: Bearer YOUR_API_KEY"The authenticated merchant.
{
"data": {
"address": {
"city": "New York",
"country": "US",
"line1": "123 Main St",
"postal_code": "10001",
"state": "NY"
},
"business_name": "Flint Events LLC",
"business_type": "company",
"created_at": "2026-03-17T14:30:00Z",
"email": "owner@example.com",
"icon": {
"alt": "Merchant icon",
"height": 256,
"url": "https://images.withflintpay.com/ia_merchant_icon/original",
"width": 256
},
"logo": {
"alt": "Merchant logo",
"height": 512,
"url": "https://images.withflintpay.com/ia_merchant_logo/original",
"width": 512
},
"merchant_id": "mer_01KEZF7C00MPP0T9S0KH5BB4CC",
"metadata": {
"segment": "events"
},
"phone": "+14155552671",
"readiness": {
"capabilities": [
{
"capability": "accept_card_payments",
"domain": "payments",
"next_actions": [],
"requirements": {
"currently_due": [],
"errors": [],
"eventually_due": [],
"past_due": [],
"pending_verification": [],
"upcoming_due": []
},
"status": "ready"
},
{
"capability": "save_payment_methods",
"domain": "payments",
"next_actions": [],
"requirements": {
"currently_due": [],
"errors": [],
"eventually_due": [],
"past_due": [],
"pending_verification": [],
"upcoming_due": []
},
"status": "ready"
},
{
"capability": "accept_affirm_payments",
"domain": "payments",
"next_actions": [],
"requirements": {
"currently_due": [],
"errors": [],
"eventually_due": [],
"past_due": [],
"pending_verification": [],
"upcoming_due": []
},
"status": "ready"
},
{
"capability": "accept_ach_debit_payments",
"domain": "payments",
"next_actions": [],
"requirements": {
"currently_due": [],
"errors": [],
"eventually_due": [],
"past_due": [],
"pending_verification": [],
"upcoming_due": []
},
"status": "not_requested"
},
{
"capability": "receive_payouts",
"domain": "money_movement",
"next_actions": [],
"requirements": {
"currently_due": [],
"errors": [],
"eventually_due": [],
"past_due": [],
"pending_verification": [],
"upcoming_due": []
},
"status": "ready"
},
{
"capability": "create_standard_payouts",
"domain": "money_movement",
"next_actions": [],
"requirements": {
"currently_due": [],
"errors": [],
"eventually_due": [],
"past_due": [],
"pending_verification": [],
"upcoming_due": []
},
"status": "ready"
},
{
"capability": "manage_payout_destinations",
"domain": "money_movement",
"next_actions": [],
"requirements": {
"currently_due": [],
"errors": [],
"eventually_due": [],
"past_due": [],
"pending_verification": [],
"upcoming_due": []
},
"status": "ready"
},
{
"capability": "manage_payout_settings",
"domain": "money_movement",
"next_actions": [],
"requirements": {
"currently_due": [],
"errors": [],
"eventually_due": [],
"past_due": [],
"pending_verification": [],
"upcoming_due": []
},
"status": "ready"
}
],
"observed_at": "2026-06-28T00:00:00Z",
"payments": {
"next_actions": [],
"status": "ready"
},
"payouts": {
"next_actions": [],
"status": "ready"
},
"requirements": {
"currently_due": [],
"errors": [],
"eventually_due": [],
"past_due": [],
"pending_verification": [],
"upcoming_due": []
}
},
"status": "active",
"support_email": "support@example.com",
"support_phone": "+14155552671",
"support_url": "https://example.com/support",
"updated_at": "2026-03-17T14:30:00Z",
"version": 1,
"website_url": "https://withflintpay.com"
},
"meta": {
"api_version": "2026-09-07"
},
"request_id": "req_01KWM6P4QT7J4SZ8Q1HQS87M4D"
}Update merchant#
/v1/merchantIdempotentRequires scope merchants.profile.write
Rate limit: sensitive_write
Applies a sparse update to the authenticated merchant's profile, shared across live and all sandboxes. Every mutable field requires a live-mode credential or a Dashboard session in any selected environment. Test credentials fail with `FORBIDDEN` and reason `live_mode_required`, with one detail per supplied shared field, including nulls and metadata changes. Nothing is saved on refusal. A partner app install token can change only `business_name`, `icon`, and `logo`; another field returns `400 INVALID_REQUEST` with a `NOT_ALLOWED` detail whose `param` names it.
Request body
addressobjectThis field is shared across live and all sandboxes. Writing it requires a live-mode credential or a Dashboard session in any selected environment. Test credentials receive 403 FORBIDDEN with reason live_mode_required, including for nulls and metadata changes.
citystringRequiredNonempty after surrounding whitespace is trimmed. Limits count Unicode code points after trimming.
countrystringRequiredA real ISO 3166-1 alpha-2 country code. Lowercase codes and surrounding whitespace are rejected.
line1stringRequiredNonempty after surrounding whitespace is trimmed. Limits count Unicode code points after trimming.
line2string or nullNonempty after surrounding whitespace is trimmed. Limits count Unicode code points after trimming. Send null or omit it when the address has none.
postal_codestring or nullNonempty after surrounding whitespace is trimmed. Limits count Unicode code points after trimming. Send null or omit it when the address has none. Required for US addresses.
statestring or nullNonempty after surrounding whitespace is trimmed. Limits count Unicode code points after trimming. Send null or omit it when the address has none. Required for US addresses.
api_versionstringSet the merchant default to any supported API version using a live-mode credential or a Dashboard session. Omit to leave it unchanged. Null is not accepted. The default is shared across live and test environments; requests with Flint-Version use that header instead. This field is shared across live and all sandboxes. Writing it requires a live-mode credential or a Dashboard session in any selected environment. Test credentials receive 403 FORBIDDEN with reason live_mode_required, including for nulls and metadata changes.
business_namestringBusiness name buyers see. Limited to 120 characters (Unicode code points) before trimming surrounding whitespace. The trimmed name must not be empty. The name cannot be cleared. This field is shared across live and all sandboxes. Writing it requires a live-mode credential or a Dashboard session in any selected environment. Test credentials receive 403 FORBIDDEN with reason live_mode_required, including for nulls and metadata changes.
emailstring or nullOne bare email address with no display name or whitespace, a valid host, and at most 320 characters. Send null to clear it. This field is shared across live and all sandboxes. Writing it requires a live-mode credential or a Dashboard session in any selected environment. Test credentials receive 403 FORBIDDEN with reason live_mode_required, including for nulls and metadata changes.
expected_api_versionstringRequires api_version in the same request. The merchant’s current API version must match this value; otherwise returns VERSION_CONFLICT with current_api_version. It guards only api_version, which is shared across live and all sandboxes. Writing api_version requires a live-mode credential or a Dashboard session in any selected environment. Test credentials receive 403 FORBIDDEN with reason live_mode_required.
expected_versionintegerMerchant profile version last read. A different current version returns 409 VERSION_CONFLICT. Send this value when saving a logo or icon to detect concurrent profile edits.
iconone of or nullA square image, at least 128 by 128 pixels, shown where the store needs a small mark: browser tabs and compact headers. This field is shared across live and all sandboxes. Writing it requires a live-mode credential or a Dashboard session in any selected environment. Test credentials receive 403 FORBIDDEN with reason live_mode_required, including for nulls and metadata changes.
Send exactly one of these
The `Source URL` variant of `ImageInput`.
altstringAlternative text describing the image for accessibility.
source_referencestringAn opaque reference for this attachment, unique within its gallery. Whitespace and case are preserved.
source_urlstringRequiredA public image URL for Flint to fetch, or an untransformed canonical image.url returned by Flint. Send exactly one of source_url or file_id. Canonical Flint URLs attach without another fetch. Flint doesn't download a source_url again while the image it produced is still in this field.
logoone of or nullThis field is shared across live and all sandboxes. Writing it requires a live-mode credential or a Dashboard session in any selected environment. Test credentials receive 403 FORBIDDEN with reason live_mode_required, including for nulls and metadata changes.
Send exactly one of these
The `Source URL` variant of `ImageInput`.
altstringAlternative text describing the image for accessibility.
source_referencestringAn opaque reference for this attachment, unique within its gallery. Whitespace and case are preserved.
source_urlstringRequiredA public image URL for Flint to fetch, or an untransformed canonical image.url returned by Flint. Send exactly one of source_url or file_id. Canonical Flint URLs attach without another fetch. Flint doesn't download a source_url again while the image it produced is still in this field.
metadatamap of string or nullThis field is shared across live and all sandboxes. Writing it requires a live-mode credential or a Dashboard session in any selected environment. Test credentials receive 403 FORBIDDEN with reason live_mode_required, including for nulls and metadata changes.
phonestring or nullSend null to clear it. This field is shared across live and all sandboxes. Writing it requires a live-mode credential or a Dashboard session in any selected environment. Test credentials receive 403 FORBIDDEN with reason live_mode_required, including for nulls and metadata changes.
support_emailstring or nullOne bare support email address with no display name or whitespace, a valid host, and at most 320 characters. Send null to clear it. This field is shared across live and all sandboxes. Writing it requires a live-mode credential or a Dashboard session in any selected environment. Test credentials receive 403 FORBIDDEN with reason live_mode_required, including for nulls and metadata changes.
support_phonestring or nullSupport phone in E.164 format, for example +12125551234. Send null to clear it. This field is shared across live and all sandboxes. Writing it requires a live-mode credential or a Dashboard session in any selected environment. Test credentials receive 403 FORBIDDEN with reason live_mode_required, including for nulls and metadata changes.
support_urlstring or nullSend null to clear it. This field is shared across live and all sandboxes. Writing it requires a live-mode credential or a Dashboard session in any selected environment. Test credentials receive 403 FORBIDDEN with reason live_mode_required, including for nulls and metadata changes.
timezonestringBusiness IANA time zone, such as America/New_York. Defaults for new invoice deadlines, locations, notifications, and reporting use this zone unless a request supplies one. Existing resources keep their saved time zone. Omit to leave unchanged; null and empty values are not accepted. This field is shared across live and all sandboxes. Writing it requires a live-mode credential or a Dashboard session in any selected environment. Test credentials receive 403 FORBIDDEN with reason live_mode_required, including for nulls and metadata changes.
website_urlstring or nullSend null to clear it. This field is shared across live and all sandboxes. Writing it requires a live-mode credential or a Dashboard session in any selected environment. Test credentials receive 403 FORBIDDEN with reason live_mode_required, including for nulls and metadata changes.
curl -X PATCH https://api.withflintpay.com/v1/merchant \
-H "Flint-Version: 2026-09-07" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: a-unique-key" \
-d '{
"business_name": "Flint Events LLC",
"metadata": {
"segment": "festivals"
},
"phone": "+14155550000",
"support_email": "help@example.com"
}'Was this helpful?