Skip to content

Notification contacts

A notification contact is an email address Flint writes to about your merchant account: new orders, account alerts, and the daily subscription shipment email. Each one has a notification_contact_id beginning with ntc_, an email, a status of pending or confirmed, and an order_emails setting that picks how often the address gets new-order emails. A merchant has at most 20 contacts. Use these routes to list the addresses, add a shared inbox, change how often an address gets order emails, or remove an address.

Listing and getting contacts requires settings.read. Creating, updating, deleting, and sending confirmations requires settings.write.

What each order_emails value sends#

order_emails controls new-order emails and nothing else. A new contact starts at each_order.

ValueSends
each_orderAn email when a buyer places an order on account. Also sends one email for each paid order, up to 50 paid-order emails a day in the merchant's time zone. The next morning's summary covers paid orders past 50.
daily_summaryOne email each morning that summarizes the previous day's paid orders.
offNo new-order emails.

Every confirmed contact still gets these emails, whatever its order_emails value:

  • Account alerts: paused payments or payouts, verification deadlines, disputes, and failed payouts.
  • Orders held for payment review.
  • The daily subscription shipment email.

Flint never emails test-mode orders. A change applies to new-order emails Flint has yet to send, including emails already queued: Flint checks the setting when it sends.

When a merchant has no confirmed contact, Flint sends contact alerts, such as disputes, failed payouts, and verification deadlines, to the merchant's owners. It sends no new-order emails. Deleting the last contact therefore never silences those alerts.

Confirm an address#

Creating a contact adds it as pending and emails a confirmation link to the address. Until the recipient opens the link and confirms, Flint sends the address nothing else. The link works for 7 days, and expires_at shows when it stops. At that time Flint deletes the pending contact: reads omit it, its ID returns 404 RESOURCE_NOT_FOUND, and creating the address again makes a new contact with a new ID.

POST /v1/notification-contacts/{notification_contact_id}/send-confirmation emails a new link, invalidates the previous one, and moves expires_at to 7 days from now. A confirmed contact returns 409 ACTION_NOT_ALLOWED with details[0].reason already_applied.

The recipient confirms on Flint's page. The link's token goes only to the mailbox, so there's no confirmation route for your API calls. To learn the outcome, get the contact and read status: it becomes confirmed, confirmed_at is set, and expires_at becomes null. You can update order_emails while a contact is pending; the setting takes effect when the address confirms.

The confirmation email names the business and lists what the address will receive. When an API credential added the address, the email doesn't name a person.

The account email contact#

Flint adds the merchant's account email as a confirmed contact with order_emails set to each_order, once. Your first GET /v1/notification-contacts returns it, and creating a contact for that address on a new merchant returns 409 ALREADY_EXISTS. For a merchant created through a merchant signup, this is the owner's address, which the owner verified with the emailed code.

It is an ordinary contact. Set it to off or delete it like any other. Flint never adds it again, and changing the account email later doesn't change the contact. To receive emails at a new account email, create a contact for it; it starts as pending.

Live and test mode#

Contacts belong to the merchant, so live mode and every sandbox share one list. Reads work with any credential. Writes need a live credential or a Dashboard session in any selected environment; a test credential returns 403 FORBIDDEN with details[0].reason live_mode_required, so a sandbox key can't make Flint send email. Dashboard sessions see and change contacts only as an owner or admin.

Platforms#

A partner app token can list contacts, get one, and update order_emails, within the scopes its install grants. A write needs a live token with settings.write; a test token can only read. A partner app token that calls create, delete, or send-confirmation gets 401 INVALID_CREDENTIAL with details[0].reason wrong_credential_type. Adding an address would send the merchant's account alerts to a mailbox the platform picked, and deleting one would cut the owner off from them, so the owner does both in Flint or with the merchant's own credentials.

A merchant you create gets Flint's new-order emails at the owner's address. If you send your own order alerts, turn Flint's off in two calls with the merchant's live partner app token, right after the live code exchange:

  1. GET /v1/notification-contacts returns the owner's address as a confirmed contact at each_order.
  2. PATCH /v1/notification-contacts/{notification_contact_id} with {"order_emails": "off"} for each contact in the list.

A merchant can't take live orders before onboarding completes, so the first email can't go out before you finish. Account alerts, orders held for payment review, and the subscription shipment email keep going to the owner. A contact the owner or their team adds later starts at each_order; read the list again when you want to enforce off.

Limits#

LimitAnswer
20 contacts per merchant409 LIMIT_REACHED with reason notification_contacts and limit 20. Delete a contact first.
30 confirmation emails per merchant each UTC day409 LIMIT_REACHED with reason notification_contact_confirmations, limit 30, and resets_at at the next UTC midnight.
20 confirmation emails per merchant each hour429 RATE_LIMIT_EXCEEDED
60 confirmation emails per credential each hour429 RATE_LIMIT_EXCEEDED
1 a minute and 5 an hour to one recipient address, across all merchants429 RATE_LIMIT_EXCEEDED
1 confirmation email per contact every 60 seconds429 RATE_LIMIT_EXCEEDED

Every 429 carries Retry-After with the remaining wait and the header Flint-Rate-Limited-Reason: notification_contact_confirmations. A refused create leaves no contact. If the confirmation sender is unavailable, the request returns 503 SERVICE_UNAVAILABLE; retry the same request.

Routes#

Writes accept an optional Idempotency-Key. The list returns every contact, oldest first, with no pagination, and takes no query parameters. An unknown field or an order_emails value other than each_order, daily_summary, or off returns 400 INVALID_REQUEST. The email can't change; delete the contact and create another.

List contacts#

cURL
curl https://api.withflintpay.com/v1/notification-contacts \
  -H "Authorization: Bearer YOUR_API_KEY"
Response
{
  "data": [
    {
      "notification_contact_id": "ntc_01KB7KZC2M8N4P6Q9R1S3T5V7W",
      "email": "maya@tidewateryoga.example",
      "status": "confirmed",
      "order_emails": "each_order",
      "confirmed_at": "2026-11-20T15:02:41Z",
      "expires_at": null,
      "created_at": "2026-11-20T15:02:41Z"
    }
  ],
  "request_id": "req_01KWM6WAHG3N9Q8T2V5XRZ7C4D"
}

Create a contact#

email is required, at most 254 characters, and stored in lowercase. Leading or trailing whitespace returns 400 INVALID_REQUEST instead of being trimmed. order_emails is optional and defaults to each_order. The response is 201 with a pending contact.

An address already on the list, pending or confirmed, returns 409 ALREADY_EXISTS with param email and the existing contact in details[0].current_resource. Flint sends no email in that case; call send-confirmation to email a pending address again. Retrying with the same Idempotency-Key returns the original contact and sends no second email.

cURL
curl -X POST https://api.withflintpay.com/v1/notification-contacts \
  -H "Authorization: Bearer YOUR_LIVE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "email": "orders@tidewateryoga.example", "order_emails": "daily_summary" }'
JSON
{
  "data": {
    "notification_contact_id": "ntc_01KB7M3Q4R9V2W8X5Y6Z0A1B2C",
    "email": "orders@tidewateryoga.example",
    "status": "pending",
    "order_emails": "daily_summary",
    "confirmed_at": null,
    "expires_at": "2026-12-05T17:20:11Z",
    "created_at": "2026-11-28T17:20:11Z"
  },
  "request_id": "req_01KWM6WAHG3N9Q8T2V5XRZ7C4D"
}

Get a contact#

An unknown, deleted, or expired ID, or one from another merchant, returns 404 RESOURCE_NOT_FOUND.

cURL
curl https://api.withflintpay.com/v1/notification-contacts/ntc_01KB7M3Q4R9V2W8X5Y6Z0A1B2C \
  -H "Authorization: Bearer YOUR_API_KEY"

The response is the same contact object as above.

Update a contact#

order_emails is the only field you can send. An empty body returns 400 INVALID_REQUEST with detail REQUIRED, and any other field returns UNKNOWN_FIELD.

cURL
curl -X PATCH https://api.withflintpay.com/v1/notification-contacts/ntc_01KB7M3Q4R9V2W8X5Y6Z0A1B2C \
  -H "Authorization: Bearer YOUR_LIVE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "order_emails": "off" }'

The response is the contact with "order_emails": "off".

Delete a contact#

Deleting removes the contact permanently and returns its final snapshot with status deleted and expires_at null. Flint stops emailing the address, and a pending contact's link stops working. Repeating the call without the original Idempotency-Key returns 404 RESOURCE_NOT_FOUND.

cURL
curl -X DELETE https://api.withflintpay.com/v1/notification-contacts/ntc_01KB7M3Q4R9V2W8X5Y6Z0A1B2C \
  -H "Authorization: Bearer YOUR_LIVE_API_KEY"

Send a confirmation#

Send no body or an empty JSON object. The response is the contact with a new expires_at.

cURL
curl -X POST https://api.withflintpay.com/v1/notification-contacts/ntc_01KB7M3Q4R9V2W8X5Y6Z0A1B2C/send-confirmation \
  -H "Authorization: Bearer YOUR_LIVE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

The Notification contact object#

An email address that receives the merchant's notifications once confirmed. Contacts are shared across live mode and every sandbox.

Returned by GET /v1/notification-contacts/{notification_contact_id} and carried by the endpoints below.

Attributes

confirmed_atstring or nullRequired

When the address was confirmed. Null when the recipient has yet to confirm.

created_atstringRequired

When Flint added the contact.

emailstringRequired

The lowercase address. To change it, delete this contact and create another.

expires_atstring or nullRequired

When a pending contact's confirmation link stops working and Flint deletes the contact. Sending a new confirmation moves this time. Null when the contact is confirmed or deleted.

notification_contact_idstringRequired

Flint notification contact ID.

order_emailsenumRequired

How often the address gets new-order emails once confirmed. Changes apply to new-order emails Flint has yet to send, including queued emails. This setting changes only new-order emails. Flint sends account alerts (paused payments or payouts, verification deadlines, disputes, and failed payouts), orders held for payment review, and the daily subscription shipment email to every confirmed contact whatever its value. Flint never emails test-mode orders.

  • each_order
  • daily_summary
  • off
statusenumRequired

Whether the recipient has confirmed the address or Flint has deleted the contact.

  • pending
  • confirmed
  • deleted
JSON
{
  "confirmed_at": null,
  "created_at": "2026-11-28T17:20:11Z",
  "email": "orders@tidewateryoga.example",
  "expires_at": "2026-12-05T17:20:11Z",
  "notification_contact_id": "ntc_01KB7M3Q4R9V2W8X5Y6Z0A1B2C",
  "order_emails": "daily_summary",
  "status": "pending"
}

List notification contacts#

GET/v1/notification-contacts

Requires scope settings.read or settings.write

Rate limit: read

Returns every notification contact. There are at most 20 contacts. Send no query parameters. Notification contacts are shared across live and all sandboxes. Default order: created_at ascending, then notification_contact_id ascending.

Response · 200

The notification contact result.

dataarray of objectRequired

Resource, collection, or operation result returned by this request.

metaobject

Additional information about this response.

request_idstringRequired

Identifier of this API request, used to correlate logs and support requests.

curl https://api.withflintpay.com/v1/notification-contacts \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY"

The notification contact result.

JSON
{
  "data": [
    {
      "confirmed_at": "2026-11-20T15:02:41Z",
      "created_at": "2026-11-20T15:02:41Z",
      "email": "maya@tidewateryoga.example",
      "expires_at": null,
      "notification_contact_id": "ntc_01KB7KZC2M8N4P6Q9R1S3T5V7W",
      "order_emails": "each_order",
      "status": "confirmed"
    }
  ],
  "meta": {
    "api_version": "2026-09-07"
  },
  "request_id": "req_01KWM6WAHG3N9Q8T2V5XRZ7C4D"
}

Create a notification contact#

POST/v1/notification-contactsIdempotent

Requires scope settings.write

Rate limit: sensitive_write

Adds a pending contact and queues its confirmation email together. The confirmation link works for seven days. An address already on the list returns ALREADY_EXISTS with the existing contact and sends no email. A retry with the same Idempotency-Key returns the original contact without sending another email. Notification contacts are shared across live and all sandboxes. Changing them requires a live-mode credential or a Dashboard session in any selected environment. Test credentials fail with FORBIDDEN and reason live_mode_required.

Request body

emailstringRequired

Address to add. Flint stores it in lowercase and refuses surrounding whitespace.

order_emailsenum

How often the address gets new-order emails once confirmed. Changes apply to new-order emails Flint has yet to send, including queued emails. This setting changes only new-order emails. Flint sends account alerts (paused payments or payouts, verification deadlines, disputes, and failed payouts), orders held for payment review, and the daily subscription shipment email to every confirmed contact whatever its value. Flint never emails test-mode orders.

  • each_order
  • daily_summary
  • off

Response · 201

The notification contact result.

dataobjectRequired

Resource, collection, or operation result returned by this request.

metaobject

Additional information about this response.

request_idstringRequired

Identifier of this API request, used to correlate logs and support requests.

curl -X POST https://api.withflintpay.com/v1/notification-contacts \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: a-unique-key" \
  -d '{
    "email": "orders@tidewateryoga.example",
    "order_emails": "daily_summary"
  }'

Get a notification contact#

GET/v1/notification-contacts/{notification_contact_id}

Requires scope settings.read or settings.write

Rate limit: read

Returns a notification contact. Expired pending contacts and deleted contacts return RESOURCE_NOT_FOUND. Notification contacts are shared across live and all sandboxes.

Path parameters

notification_contact_idstringRequired

Flint notification contact ID. Must be a valid ID with prefix ntc_. Malformed IDs return 400 INVALID_REQUEST with detail INVALID_VALUE; well-formed IDs that do not exist return 404 RESOURCE_NOT_FOUND.

Response · 200

The notification contact result.

Same response as Create a notification contact.

curl https://api.withflintpay.com/v1/notification-contacts/ntc_01KEZF7C005MC9B0Y6NM7HZDYE \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY"

The notification contact result.

JSON
{
  "data": {
    "confirmed_at": null,
    "created_at": "2026-11-28T17:20:11Z",
    "email": "orders@tidewateryoga.example",
    "expires_at": "2026-12-05T17:20:11Z",
    "notification_contact_id": "ntc_01KB7M3Q4R9V2W8X5Y6Z0A1B2C",
    "order_emails": "daily_summary",
    "status": "pending"
  },
  "meta": {
    "api_version": "2026-09-07"
  },
  "request_id": "req_01KWM6WAHG3N9Q8T2V5XRZ7C4D"
}

Update a notification contact#

PATCH/v1/notification-contacts/{notification_contact_id}Idempotent

Requires scope settings.write

Rate limit: write

Changes how often a contact receives new-order emails. A pending contact uses the setting after confirmation. Changes apply to new-order emails Flint has yet to send, including queued emails. Notification contacts are shared across live and all sandboxes. Changing them requires a live-mode credential or a Dashboard session in any selected environment. Test credentials fail with FORBIDDEN and reason live_mode_required.

Path parameters

notification_contact_idstringRequired

Flint notification contact ID. Must be a valid ID with prefix ntc_. Malformed IDs return 400 INVALID_REQUEST with detail INVALID_VALUE; well-formed IDs that do not exist return 404 RESOURCE_NOT_FOUND.

Request body

order_emailsenum

How often the address gets new-order emails once confirmed. Changes apply to new-order emails Flint has yet to send, including queued emails. This setting changes only new-order emails. Flint sends account alerts (paused payments or payouts, verification deadlines, disputes, and failed payouts), orders held for payment review, and the daily subscription shipment email to every confirmed contact whatever its value. Flint never emails test-mode orders.

  • each_order
  • daily_summary
  • off

Response · 200

The notification contact result.

Same response as Create a notification contact.

curl -X PATCH https://api.withflintpay.com/v1/notification-contacts/ntc_01KEZF7C005MC9B0Y6NM7HZDYE \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: a-unique-key" \
  -d '{
    "order_emails": "off"
  }'

Delete a notification contact#

DELETE/v1/notification-contacts/{notification_contact_id}Idempotent

Requires scope settings.write

Rate limit: write

Permanently deletes the contact and returns its final snapshot with status deleted. Flint stops emailing the address and invalidates any pending confirmation link. When no confirmed contact is left, Flint sends contact alerts, including disputes, failed payouts, and verification deadlines, to the merchant's owners and sends no new-order emails. Notification contacts are shared across live and all sandboxes. Changing them requires a live-mode credential or a Dashboard session in any selected environment. Test credentials fail with FORBIDDEN and reason live_mode_required.

Path parameters

notification_contact_idstringRequired

Flint notification contact ID. Must be a valid ID with prefix ntc_. Malformed IDs return 400 INVALID_REQUEST with detail INVALID_VALUE; well-formed IDs that do not exist return 404 RESOURCE_NOT_FOUND.

Response · 200

The notification contact result.

Same response as Create a notification contact.

curl -X DELETE https://api.withflintpay.com/v1/notification-contacts/ntc_01KEZF7C005MC9B0Y6NM7HZDYE \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY"

Send a notification contact confirmation#

POST/v1/notification-contacts/{notification_contact_id}/send-confirmationIdempotent

Requires scope settings.write

Rate limit: sensitive_write

Emails a new confirmation link for a pending contact. The previous link stops working and expires_at moves to seven days from now. Send no body or an empty object. A confirmed contact returns ACTION_NOT_ALLOWED. Each contact can receive one confirmation email every 60 seconds. Notification contacts are shared across live and all sandboxes. Changing them requires a live-mode credential or a Dashboard session in any selected environment. Test credentials fail with FORBIDDEN and reason live_mode_required.

Path parameters

notification_contact_idstringRequired

Flint notification contact ID. Must be a valid ID with prefix ntc_. Malformed IDs return 400 INVALID_REQUEST with detail INVALID_VALUE; well-formed IDs that do not exist return 404 RESOURCE_NOT_FOUND.

Response · 200

The notification contact result.

Same response as Create a notification contact.

curl -X POST https://api.withflintpay.com/v1/notification-contacts/ntc_01KEZF7C005MC9B0Y6NM7HZDYE/send-confirmation \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: a-unique-key" \
  -d '{}'

Was this helpful?