Skip to content
Last updated

KYC and merchant statuses

Use this guide to understand application review and payment setup. For requests you can copy, follow the merchant onboarding guide. For diagrams and suggested messages, see merchant experience flows.

How to Create a Merchant and Set Up a Webhook with TalusPay API

The complete hosted flow has six steps:

  1. Register a merchant webhook and store its signing secret on your server.
  2. Create a merchant and keep the returned merchant ID.
  3. Create an onboarding link for that merchant.
  4. Sign the merchant in to your app, then open the returned URL so they can complete and sign the application.
  5. On return, read the current merchant and show progress.
  6. Follow webhook updates through KYC and payment setup. Use merchant.payments_onboarded for completed payment setup.

Creating a merchant alone doesn't submit an application. See the complete sequence diagram for the handoff between your app, the API and hosted onboarding.

Payments API in progress. You can track payment setup status. Endpoints for taking payments, refunds and charges are not published yet.

How KYC Works

Before a merchant can take payments, TalusPay verifies the business and its owners. This check is called KYC (know your customer). It starts on its own once the application is signed: there is no endpoint to call.

The merchant has two statuses:

  • lead_onboarding_status: where the application stands, including the KYC decision.
  • payment_onboarding_status: whether the merchant is set up to take payments. This step runs after KYC approves the merchant.
Application lifecycle: merchants start at IN_PROGRESS, move to READY_TO_SIGN when every required field is filled in, and return to IN_PROGRESS if a required field is cleared. The main owner's signature moves the application to COMPLETED, awaiting remaining signatures or KYC initiation. All required signatures must be collected before KYC starts (KYC_IN_PROGRESS). KYC can approve (APPROVED), approve with conditions (APPROVED_ON_HOLD), request more information (PENDED), or decline (FAILED). Later review updates: APPROVED can move to APPROVED_ON_HOLD when more documents are needed and back to APPROVED. PENDED can become APPROVED or FAILED.Application lifecycle: merchants start at IN_PROGRESS, move to READY_TO_SIGN when every required field is filled in, and return to IN_PROGRESS if a required field is cleared. The main owner's signature moves the application to COMPLETED, awaiting remaining signatures or KYC initiation. All required signatures must be collected before KYC starts (KYC_IN_PROGRESS). KYC can approve (APPROVED), approve with conditions (APPROVED_ON_HOLD), request more information (PENDED), or decline (FAILED). Later review updates: APPROVED can move to APPROVED_ON_HOLD when more documents are needed and back to APPROVED. PENDED can become APPROVED or FAILED.

1. The merchant fills in and signs the application

lead_onboarding_statusMeaning
IN_PROGRESSThe merchant is filling in the application, or hasn't started it. Every merchant starts here.
READY_TO_SIGNEvery required field is filled in. The application waits for the main owner to sign.
COMPLETEDMain owner signed; awaiting remaining signatures or KYC initiation.

While the merchant is IN_PROGRESS or READY_TO_SIGN, each change to the application moves it between the two. From COMPLETED on, the application can't be changed: an update returns LEAD_DATA_LOCKED.

2. KYC reviews the application

Once every required signer has signed, the application is sent to KYC automatically and lead_onboarding_status becomes KYC_IN_PROGRESS. It stays there until KYC decides.

3. KYC decides

lead_onboarding_statusMeaningWebhookPayments
APPROVEDThe merchant is approved.merchant.kyc_approvedSet up next, see step 5.
APPROVED_ON_HOLDThe merchant is approved, but KYC needs more documents or is still reviewing them.merchant.updatedSet up next, see step 5.
PENDEDKYC needs more information before it can decide.merchant.updatedBlocked until KYC approves.
FAILEDKYC declined the merchant, or onboarding failed.merchant.verification_failedNot set up.

No dedicated event is sent when KYC puts a merchant on hold or pends it: you only receive merchant.updated. Check lead_onboarding_status in its payload, or read the merchant with GET /v1/merchants/{merchant_id}. The moves to READY_TO_SIGN, COMPLETED and KYC_IN_PROGRESS send no event: read the merchant when it comes back.

The status can still change after approval. For example, KYC can put an approved merchant on hold if it needs more documents. Read the current status before you rely on it.

4. Show the merchant what to do

Read the merchant with GET /v1/merchants/{merchant_id}?expand=approval_status to get the KYC details:

approval_statusMeaningWhat to do
APPROVEDApproved. Nothing is missing.Nothing.
APPROVED_WITH_REVIEWApproved, but the merchant must send more information.Open status_review_url.
APPROVED_UNDER_REVIEWApproved. The merchant has sent the information and KYC is reviewing it.Wait.
PENDED_ACTION_REQUIREDPayments are blocked until the merchant sends more information.Open status_review_url.
PENDED_UNDER_REVIEWPayments are blocked while KYC reviews what the merchant sent.Wait.
DECLINEDKYC declined the merchant.Nothing. The decision is final.

status_review_url is a page where the merchant sees what KYC needs, sends it, and follows the review. Open it in a browser or a webview. It is set for the four review states above, including the *_UNDER_REVIEW ones, and null for APPROVED and DECLINED.

approval_status is left out until the application is submitted (COMPLETED or later). It can also be left out of a submitted application while KYC has no decision yet, or when the KYC provider can't be reached: treat a missing value as "still in review" and check again later. Each request asks the KYC provider live, so it is slower than a plain read: request it only when you need it, and don't poll it in a tight loop.

5. TalusPay sets up payments

Once the merchant is APPROVED or APPROVED_ON_HOLD, TalusPay sets it up to take payments:

payment_onboarding_statusMeaningWebhook
NOT_STARTEDPayments are not set up yet.None
ONBOARDEDPayment setup is complete.merchant.payments_onboarded (and merchant.verification_approved)
FAILEDSetting up payments failed.merchant.payments_onboarding_failed

A failed payment setup does not undo the KYC approval. Show the payment setup failure separately from the application status; don't send the merchant through the application again.

The public API and merchant webhooks report setup status without returning payment gateway credentials.

Accounts whose partner reviews applications

When kyc_handled_by_partner is true on the merchant, your account's partner program reviews applications itself. TalusPay does not send these merchants to KYC.

  1. Subscribe a webhook to the merchant scope.
  2. On merchant.kyc_approved, tell the merchant they are approved.
  3. On merchant.payments_onboarded, show that payment setup is complete. If the event is missed, read the merchant's current payment_onboarding_status.
  4. On merchant.verification_failed, check the current merchant and available review outcome before showing a decline: the event can also mean onboarding failed.
  5. While a merchant is COMPLETED, KYC_IN_PROGRESS, APPROVED_ON_HOLD or PENDED, check it from time to time with expand=approval_status, and show status_review_url when the merchant has to act. Show a waiting message for *_UNDER_REVIEW states. See suggested merchant messages.

Testing KYC in sandbox

In sandbox, POST /v1/events/trigger lets you skip the real review. Send merchant.verification_approved to approve a merchant or merchant.verification_failed to decline it. Both send the matching webhooks, so you can test your integration end to end. They do nothing in production. See Testing.