Skip to main content
Visa Accept

Concepts

Available for use by:
Issuer banks Acquirer banks Merchants Independent developers Issuer banks for small businesses

Before you begin integrating with the Visa Accept Service B2B APIs, it is important to understand the underlying logic and key structural concepts. Understanding the seller lifecycle and workflow dependencies helps prevent integration errors and helps ensure successful seller onboarding and transaction processing.

Lifecycles

Understanding how data is structured and how a seller's status changes over time helps prevent integration errors.

Resource hierarchy

Resource Role Dependencies
Application Parent Foundation configuration that determines integration mode and account policies for all operations
Seller Primary Must be enrolled and ACTIVE before transaction processing; requires name tag availability and, for card sellers, valid card eligibility
Device Child Depends on existing seller account; required for Hybrid integrations (full device data plus cryptographic keys) and for API-Only integrations (device identifier only)
Transaction Child Requires active seller status; refund transactions require original transaction ID reference
Compliance Data Child Submitted after seller enrollment completion for KYB/Terms and Conditions requirements where applicable

Seller status lifecycle

A seller's status field can be ACTIVE, PENDING, SUSPENDED_FRAUD, SUSPENDED_DISPUTE, SUSPENDED_CLOSE, or CLOSED. Only an ACTIVE seller can process transactions.

A seller enrolled with PENDING status does not reach ACTIVE until the required compliance status update (KYB validation or terms and conditions acceptance) is submitted.

A CLOSED seller account can be reopened by submitting a new enrollment with enrollType: REOPEN.

Controls and rules

  • Application Configuration Dependency: Retrieve and evaluate application configuration from /appdetails before executing other API workflows. Application configuration determines integration mode, available features, and processing behavior.
  • Sequential Workflow Requirements: Complete seller onboarding and activation before processing transactions. Transaction flows require an ACTIVE seller profile, and refund flows require previously completed transactions with valid references.
  • Seller Lifecycle Management: Process transactions only after the seller reaches ACTIVE status. Do not attempt payment processing for inactive or incomplete seller profiles.
  • Eligibility Validation Requirement: For card sellers, validate payment instruments for eligibility before enrolling sellers — skipping eligibility validation can cause downstream transaction failures. Non-card sellers are validated instead through the app's configured issuerAppMap.
  • Seller Identity Usage: Persist the sellerId returned during enrollment and reuse it for all subsequent operations, including status retrieval, transactions, and lifecycle management.
  • Transaction Reference Dependency: Store transaction identifiers from successful payment responses. Use these identifiers for refunds and reconciliation. Refund requests must include a valid reference to a completed transaction.
  • Transaction Type Handling: Ensure request data aligns with the selected transaction type and payment method, such as card-present, card-not-present, or token-based transactions (the buyer's payment credential or token, not a seller-side token).
  • Client System Responsibility: Design and manage your own user interfaces and workflows, and invoke the Visa Accept APIs from your backend systems. The APIs do not impose UI or system design requirements beyond standard API integration.
  • Reference Management: Retain all transaction identifiers required for refunds and reconciliation. Missing or invalid references prevent refund processing.
  • Production Readiness: Complete all prerequisites and validations before production go-live. Incomplete or inconsistent configuration across systems prevents successful integration.
  • Refund Availability Check: Check isRefundEnabled in the response from GET /appdetails before submitting refund transactions. If this flag is false, refunds are not available for the application.

Asynchronous behaviors

Implement inbound endpoints to receive payment status and seller status notifications from Visa Accept.

Overview

Visa Accept sends status notifications to your system by calling two endpoints that you implement and host. These are inbound calls — Visa Accept is the caller and your backend is the receiver. Both endpoints must return HTTP 204 No Content to acknowledge receipt.

Payment status postback

Visa Accept calls POST /v1/paymentstatus on your system to notify you of a payment status change for a transaction, such as a transition to Approve, Pending, Decline, Abort, Expired, or Canceled.

Request body: a single payment status update object containing:

  • customerId — customer identifier for the seller
  • sellerId — identifier of the seller associated with the transaction
  • transactionId — unique transaction identifier
  • transactionStatus — current status of the transaction

Respond with HTTP 204 No Content.

Seller status postback

Visa Accept calls POST /v1/sellerstatus on your system to notify you of seller status changes, such as transitions to ACTIVE, SUSPENDED_FRAUD, SUSPENDED_DISPUTE, SUSPENDED_CLOSE, or CLOSED.

Request body: an object with a single sellers property, containing an array of one or more seller status update objects, each with:

  • customerId — customer identifier for the seller
  • sellerId — identifier of the seller
  • sellerStatus — new status for the seller

Respond with HTTP 204 No Content.

Implementation requirements

  • Both endpoints must be publicly accessible for Visa Accept to call them.
  • Endpoint URLs are configured during application onboarding.
  • Process postback payloads idempotently — Visa Accept may retry on non-204 responses.
  • Do not delay the 204 response by performing synchronous downstream work inside the postback handler. Acknowledge receipt first, then process the notification asynchronously.

Risk assessment callback

Implement a synchronous callback endpoint so Visa can obtain a real-time risk decision during a transaction.

Overview

Visa calls an endpoint that you implement and host to request a risk decision synchronously, during an active transaction flow — this is a different pattern from the asynchronous postbacks described in Asynchronous Behaviors. Those postbacks are fire-and-forget notifications acknowledged with HTTP 204. This callback is a blocking call: the transaction cannot proceed until your endpoint returns a decision, so your response directly determines what happens next.

This capability is a general-purpose, synchronous pre-processing risk gate — it is not limited to the non-card seller model or to any specific processor integration.

This endpoint is authenticated using mutual TLS (mTLS) rather than the x-pay-token header used elsewhere in this guide — see Authentication Methods.

Risk assessment callback

Visa calls POST /risk/v1/evaluate on your system to obtain a risk decision for a payment or refund transaction in progress.

Request body: a risk assessment request containing:

  • transactionId — the unique transaction identifier generated by Visa Accept
  • transactionType — Payment or Refund
  • merchantId — the merchant identifier as known to your system
  • amount — transaction amount in the smallest currency unit
  • currency — ISO 4217 3-digit numeric currency code
  • cardLastFourDigits — the last four digits of the buyer's card number
  • tokenized (optional) — whether the card number was presented as a wallet token rather than the underlying PAN
  • cardholderName (optional) — the cardholder's name, if available

Response body: a risk decision containing:

  • decision — APPROVE allows transaction processing to continue through its configured processing path; DECLINE can stop processing before downstream steps occur
  • reason (optional) — a reason code or message, especially for a DECLINE decision

Respond with HTTP 200 and the decision body. Other documented responses: 400 (malformed or invalid request payload), 401 (the mTLS client certificate is invalid or missing), 500, and 503 (temporarily unavailable).

Implementation requirements

  • Configure your endpoint to trust Visa's Root CA and validate the client certificate presented by Visa's calling proxy.
  • Return a real decision synchronously — this is not a notification you can acknowledge and process later. A slow or failed response blocks the transaction it's evaluating.

Guardrails and limitations

  • Rate Limits: There are no specific call-frequency, batching, or transaction-per-second requirements prescribed for clients consuming the Visa Accept Service B2B APIs. Clients with specific volume or performance requirements should review those expectations with the Visa Accept team as part of onboarding.
  • Regional Availability: The APIs can be consumed only in regions where Visa Accept is available. Once available in a given geography, API behavior may vary based on local regulatory requirements or participant models.
  • Production Scale Design: The APIs are designed to support multiple clients and production-scale usage within standard Visa platform controls.
  • Data Retention: Transaction history supports pagination for large datasets with timestamp-based filtering. Specific data retention periods should be confirmed during implementation planning.
  • Market-Specific Requirements: Clients should confirm regional availability and validate any market-specific requirements as part of implementation. Local regulatory requirements or participant models may affect API behavior.

Non-card seller model

Visa Accept supports a second seller model, alongside the card-based model, for apps that identify sellers by a processor-assigned merchant ID rather than by card or token data.

Non-card identity at a glance

During non-card seller enrollment, you submit merchantId (from the non-card payment processor, immutable after enrollment) along with an issuerAppId selected from the issuerAppMap entry that matches the seller's country. The enrolled seller is linked to that issuerAppId. sellerNameTag is derived internally from merchantId and rejected if supplied by the caller; customerId is optional and defaults to a hash of merchantId when omitted.

Identifying a non-card app

Check the isNonCard flag in the response from GET /appdetails to determine whether your application is configured for the non-card model. For non-card apps, that same response also includes a top-level issuerAppMap — a map of country codes (ISO 3166-1 alpha-3) to the issuer app IDs enabled for non-card sellers in that country. Every country in your acceptance tiers must have at least one issuer app ID configured here.

Non-card seller identity

Instead of PAN or token data, a non-card seller is identified by a nonCardInfo object containing:

  • merchantId — merchant identifier from the non-card payment processor. Immutable after enrollment.
  • cybsTransactingMid — CyberSource transacting merchant ID.
  • terminalId — terminal identifier for the merchant.
  • mcc — merchant category code (ISO 18245, exactly 4 digits).

Two enrollment fields behave differently for non-card sellers:

  • sellerNameTag is not supplied by the caller — it is derived internally from merchantId and rejected if provided.
  • customerId is optional — if omitted, it defaults to a hash of merchantId.

Because merchantId is immutable, a REOPEN enrollment for an existing non-card seller with a different merchantId is rejected.

Enrollment type support

Non-card apps support enrollType values NEW and REOPEN only. ADD_NEW_CARD — token provisioning for an existing card seller — does not apply to non-card sellers.