Guides

Connect a merchant's own payments account

A merchant opens a GoDaddy Payments account through Monetize.Pay's signup link, then connects it to your merchant record in one click; from then on their payments run on their own account.

In test mode every merchant you create starts on Monetize.Pay's shared test business, so you never think about it. A live merchant connects its own payments account. A test merchant can connect too, to get a test business of its own: its link opens Monetize.Pay's "Connect a test business" page, which makes a new test business for that merchant. The Processor is never involved, and the callback, return link and events are the same as for a live connect. Physical terminals are not available in test mode, whichever business the merchant uses. Monetize.Pay never boards a merchant and never asks you for their credentials: a live merchant reads who is asking on a Monetize.Pay consent page, approves the connection on the Processor's own page, and Monetize.Pay keeps the result.

The three steps

  1. The merchant gets a payments account. For a live merchant, send them to Monetize.Pay's signup link for GoDaddy Payments: your platform's own link is signup_url in integration_checklist, on every merchant object and in the connect response (while it is null, ask your Monetize.Pay contact for it). The link is how the referral is credited. They complete the Processor's signup, underwriting and bank setup there. Nothing in your code changes for this step. For live merchants and real GoDaddy Payments accounts: Monetize.Pay works only with a GoDaddy Payments account opened through Monetize.Pay's signup link. A business that already has a GoDaddy Payments account cannot use that account with Monetize.Pay; it opens a new one through the link. Earnings apply only to merchants whose GoDaddy Payments account was opened through Monetize.Pay's signup link. An account opened any other way earns nothing, for you or for Monetize.Pay. A sandbox test account is not affected by this rule. A business that already has an account uses the new one with Monetize.Pay from then on; before it applies, ask your Monetize.Pay contact what happens to the earlier account.

  2. You create the merchant and ask for a connect link.

    POST /v1/merchants                     {"display_name":"Northstar Gym"}
    POST /v1/merchants/{merchant_id}/connect   {"return_url":"https://app.example.com/settings/payments"}

    The second call answers with a processor_connection object:

    JSON
    {"object":"processor_connection","merchant_id":"mch_01j...","connect_url":"https://HOST/connect/processor/<one-time-token>","expires_at":1758800000,"status":"pending"}

    Show connect_url to the merchant as a button or link. It works once and for fifteen minutes; ask for a new one whenever you need it. return_url must be https (http://localhost is allowed while developing) and may carry its own query string.

  3. The merchant opens the link and presses Continue. The link opens a Monetize.Pay consent page first, not the Processor. It shows your platform's name and the merchant's display_name as quoted text you chose (each with the line "Name provided by the app."), your contact email and whether Monetize.Pay confirmed you control it, whether the connection is test or live, and states that continuing gives the app the ability to take payments and issue refunds on the merchant's GoDaddy Payments account. Control and invisible characters are removed from both names and each is cut to 80 characters on this page, so keep them short and plain. Opening the page changes nothing, so a link preview or a reload is harmless. When the merchant presses Continue, Monetize.Pay sends them to the Processor's authorize page, they pick their business and approve, and the Processor sends them back to Monetize.Pay, which binds your merchant to that business and forwards the merchant to your return_url with ?merchant_id=mch_01j...&status=connected. On any other outcome the status is failed and nothing changed; ask for a new link. Without a return_url Monetize.Pay shows the merchant a plain "Connected" or "Not connected" page.

    The merchant must press Continue and approve in the same browser: the callback is only accepted from the browser that saw the consent page. Do not send the merchant straight to the Processor, do not open connect_url in a hidden frame (the page refuses to be framed), and do not fetch it from your server on the merchant's behalf.

When Monetize.Pay refuses a connection

Three checks run after the merchant approves. When one fails, nothing is connected, the link is spent, and the merchant sees a Monetize.Pay page that explains it and shows the code. That page links back to your return_url with status=failed&reason=<code>; the merchant is not forwarded automatically.

reasonMeaningWhat to do
connect_consent_requiredThe browser that came back from the Processor never pressed Continue on the consent page for this linkAsk for a new link and have the merchant open it and finish in one browser
processor_mode_mismatchThe approved account does not match the merchant's mode: a test merchant only connects a processor test account, and a live merchant only a real payments accountCreate the merchant with the key of the right mode, or have the merchant pick the right account
processor_already_connectedThat payments account is already connected to a merchant of a different platformThe merchant contacts Monetize.Pay to move it
processor_business_other_partnerThat payments account was connected through a different platform before, and it stays with that platformThe merchant contacts Monetize.Pay; only Monetize.Pay can move it

One payments account can be connected to several merchants of the same platform, and can be connected again after it was disconnected. Monetize.Pay's shared test business is not subject to the one-platform rule.

Then read the merchant: processor_connected is true, state is active, processor_connected_at is set, processor_business_name carries the name on the connected account, and card_payments_held says whether its card payments can run (see "US businesses and USD only" below). A merchant.state_changed event with processor_connected: true is delivered to your webhooks at the same moment, so you do not have to poll.

The MCP tool connect_merchant_processor does exactly what the REST call does.

US businesses and USD only

Monetize.Pay serves United States businesses and charges in US dollars only today. Every sale is sent as usd, and there is no setting that changes it.

When a merchant connects, Monetize.Pay reads two things from its payments account: the store currency (what the account's stores report; a store the Processor marks as out of use is ignored; the Processor documents the store statuses ACTIVE, DISABLED and REMOVED, VERIFIED-IN-DOCS at https://docs.poynt.com/api-reference/index.html, model "Store", and Monetize.Pay also ignores other out-of-use spellings such as CLOSED) and the country. They appear on the merchant object as processor_currency and processor_country (null when the account reports none). When stores report different currencies, processor_currency lists them, for example CAD,USD. Two special values can appear: ??? for a store currency that is not a three-letter code, and MIXED when there are more distinct currencies than fit; both mean held.

  • Every store that names a currency says USD: card payments run.
  • No store names a currency (or the account reports no stores at all), and the country is the United States (US or USA): card payments run.
  • Anything else: the merchant is still connected, but its card payments are held. That covers any store in a currency other than USD (even beside a USD store), and no store currency with a country that is missing or not the United States.

A held merchant is not a failed connection. processor_connected is true and state is active, and the merchant object carries card_payments_held: true with card_payments_hold_code: "processor_currency_unsupported". The merchant sees a Monetize.Pay page that says the account is connected and card payments are on hold, with what the account reports and the code; its link back to your return_url carries status=connected&hold=processor_currency_unsupported. The merchant.state_changed event carries the same merchant object.

card_payments_held has three values. false: card payments run. true: held. null: not yet verified, which you only see on a merchant that connected before Monetize.Pay recorded the account's currency; its first card request reads the account and settles it to true or false.

While a merchant is held, every request that would send card activity for it answers 403 processor_currency_unsupported before anything is written or sent: creating a payment (keyed or terminal), refund, void, registering, discovering or pinging a terminal, and collect-config. The hosted card form is not served for it either: the form page answers 403 with a short page that says only "Card payments are not available for this business.", shows no card fields and nothing about the account, and posts zeropoint.error with code form_unavailable to your page (see the collect concept), so a customer is never asked for a card that cannot be charged. No payment row is created, so the platform_reference you used stays free; the 403 is kept for that Idempotency-Key like any other 4xx, so use a new key once the hold is gone.

What keeps working for a held merchant: every read (merchants, payments, refunds, events, receipts), and cancel. A terminal payment that was already in flight when the hold began still finishes: the tap is verified with the Processor and recorded as the Processor reports it, and an unanswered one expires on time. You receive payment.needs_attention with reason card_payments_held for each payment that was open at that moment. One thing does not happen: Monetize.Pay sends no void or refund for a held merchant, so where it would normally reverse an unexpected authorization (a tap after expiry, a wrong amount) it raises payment.needs_attention with reason standing_authorization instead; see reconciliation.

What to do: show the merchant that card payments are not available on that account, and contact Monetize.Pay. Once the payments account is a US, USD account, send the merchant through a new connect link; the account is read again at connect and the hold is lifted if it qualifies. Sandbox merchants on the shared sandbox account are never held.

What changes after connecting

Every payment, refund, void, terminal discovery and terminal push for that merchant runs on its own processor account with its own credentials. In test mode, terminal discovery, registration and push answer 400 physical_terminal_unavailable, whichever business the merchant uses. Monetize.Pay keeps the credentials sealed and renews them itself; nothing about them ever appears in an API response.

If the merchant later revokes Monetize.Pay on the Processor's side, the next request for that merchant answers 502 processor_unavailable once, the merchant becomes processor_connected: false with state: read_only, and merchant.state_changed is delivered with processor_disconnected: true. Send the merchant through a new connect link; nothing else is needed.

While it is disconnected, Monetize.Pay sends nothing to the Processor for that merchant: no charge, renewal, refund, void or terminal message. Payments and refunds that were still open end on their usual timers (a terminal payment expires; a card payment or refund with no recorded answer ends failed with processor_unverified, delivered as payment.failed or refund.failed), and a terminal tap reported after the disconnect cannot be checked, so once its payment has ended Monetize.Pay raises payment.needs_attention with reason callback_unverified. Each payment that still needed a check with the Processor at the disconnect (open, with a refund not yet confirmed, or ended processor_unverified shortly before) receives payment.needs_attention with reason processor_disconnected, once; see reconciliation. Its account is not reconciled again until the merchant reconnects.

Live mode today

A live key can create merchants (born invited), connect them and use payments, refunds, voids, physical terminals and webhooks. Every processor call uses that merchant's account. An unconnected live merchant receives 503 processor_not_connected. Simulated terminal creation and simulation tools remain test-only.

Before the first live payment, complete the going-live guide: connect the merchant, confirm the account and hardware, register and verify your Monetize.Pay signed-event receiver, and finish the owner's acceptance checks. Connect does not register a processor ORDER hook: those events do not observe Payment Bridge or API sales. The hosted card form uses the merchant's business; live configuration has no test cards and sandbox_form_url is null. Embed form_url in your checkout.

Connected live businesses are observed independently using their merchant credentials, including refresh and refusal-disconnect handling. These comparisons cover the last 24 hours and never correct payments or refunds. Test-mode records are handled separately. Applying corrections in live mode is not available yet; Monetize.Pay switches it on per business after its own checks.

Errors

codeHTTPMeaning
return_url_invalid400Not https (or localhost http), or it carries credentials or a fragment
connect_unavailable503Live merchants only: this deployment has no processor application credentials configured
processor_not_connected503A live merchant was asked to move money before its owner connected; send the connect link
processor_mode_mismatch403A connected merchant's payments account does not match its mode (test merchant on a real account, or a live merchant on a test account). Nothing was sent to the Processor; connect a matching account. Also a refusal reason on the connect link
processor_currency_unsupported403The merchant is connected, but its payments account does not read as a United States account charging in USD (the message names the store currency and country it reports), so its card payments are held. Nothing was sent to the Processor and no payment, refund or terminal was created. Also the hold value on the connect return link. See "US businesses and USD only" above
processor_already_connected409Refusal reason on the connect link only: the account is connected through another platform
processor_business_other_partner409Refusal reason on the connect link only, live merchants: the account was connected through another platform before and stays with it; only Monetize.Pay can move it
connect_consent_required403Refusal reason on the connect link only: the merchant did not press Continue on the consent page in this browser
resource_missing404Not your merchant