Skip to main content
Visa Accept

Workflows

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

Workflow overview

This section provides the primary workflow sequence for integrating Visa Accept APIs. Follow this sequence when implementing your integration.

Workflow stage to endpoint mapping

The following table maps each integration stage to its required endpoints. Complete seller onboarding and confirm ACTIVE seller status before invoking transaction APIs.

End-to-end API workflow mapping

Workflow Stage Endpoints
Application setup GET /va/v1/apps/{appId}/appdetails
Eligibility validation POST /va/v1/apps/{appId}/cardeligibility GET /va/v1/apps/{appId}/sellers/nametags/{sellerNameTag}
Seller enrollment POST /va/v1/apps/{appId}/sellers
Seller status verification POST /va/v1/apps/{appId}/sellers/search
Device registration POST /va/v1/apps/{appId}/sellers/{sellerId}/devices
Transaction processing POST /va/v1/apps/{appId}/sellers/{sellerId}/transactions POST /va/v1/apps/{appId}/sellers/{sellerId}/transaction-links
Seller lifecycle management PUT /va/v1/apps/{appId}/sellers/{sellerId} DELETE /va/v1/apps/{appId}/sellers/{sellerId}
Compliance reporting POST /va/v1/apps/{appId}/notification/seller/status
Pay-by-link management POST /va/v1/apps/{appId}/sellers/{sellerId}/transaction-links PATCH /va/v1/apps/{appId}/sellers/{sellerId}/transaction-links/{linkId}
Transaction history and retrieval GET /va/v1/apps/{appId}/sellers/{sellerId}/transactions GET /va/v1/apps/{appId}/sellers/{sellerId}/transactions/{transactionId}
Non-card transaction reversal POST /va/v1/apps/{appId}/sellers/{sellerId}/transactions/{transactionId}/reversal
Risk assessment (synchronous callback) POST /risk/v1/evaluate (implemented on your system; Visa calls this endpoint synchronously and requires a decision back)
Postback handling (inbound) POST /v1/paymentstatus (implemented on your system; Visa Accept calls this endpoint) POST /v1/sellerstatus (implemented on your system; Visa Accept calls this endpoint)

Call sequence diagrams

Seller Enrollment and Lifecycle Flow

This diagram illustrates the seller onboarding and lifecycle management flow across pre-enrollment, enrollment, and post-onboarding operations for card sellers.

seller_enrollment_and_management

Non-Card Seller Enrollment and Lifecycle Flow

This diagram illustrates the same onboarding and lifecycle stages for non-card sellers. It has no card eligibility step and no token provisioning round-trip, since non-card enrollment submits nonCardInfo instead of PAN or token data — see Non-Card Seller Model.

seller_enrollment_and_management_non_card

Payment and Transaction Flow

This diagram illustrates payment initiation and transaction processing flows after the seller has been onboarded and activated, including the synchronous Risk Assessment Callback that occurs during transaction processing — see Risk Assessment Callback.

payment_flow_sequence

Workflow selection guide

Identify which workflow applies to your use case before you start building.

Every integration follows The Main Workflow (application setup through payment processing). Depending on your integration model and use case, you may also need one or more of the following additional workflows.

Choosing a workflow

If you need to... Integration model Workflow
Onboard a seller and process card-present or card-not-present payments directly API-Only or Hybrid The Main Workflow
Onboard a seller without card/PAN data (non-card app) API-Only or Hybrid Enroll and validate a non-card seller
Accept payment on a Visa-hosted checkout page instead of collecting card details yourself API-Only or Hybrid Create a Pay-by-Link Transaction
Register an additional device for Tap-to-Phone card-present acceptance API-Only or Hybrid Register a Device
Update a seller's name tag or primary payment instrument, or close an account API-Only or Hybrid Seller Lifecycle Management

The main workflow

To enable seller acceptance capabilities, execute API calls in this sequence.

  1. Application Configuration: Retrieve application settings using . Use the response to determine integration mode and applicable account policies before calling other APIs.
  2. Card Eligibility Validation: Validate the payment instrument before enrollment using POST /va/v1/apps/{appId}/cardeligibility. Confirm the card is eligible before proceeding with seller enrollment. This step applies to card sellers only — non-card sellers skip it; see Enroll and validate a non-card seller.
  3. Seller Name Tag Check: Verify seller identifier availability using GET /va/v1/apps/{appId}/sellers/nametags/{sellerNameTag}. If the name tag is already in use, select a different value before enrolling the seller.
  4. Seller Enrollment: Register the seller using POST /va/v1/apps/{appId}/sellers. Store the returned sellerId and use it in all subsequent seller-related API calls.
  5. Seller Status Verification: Confirm the seller has reached ACTIVE status using POST /va/v1/apps/{appId}/sellers/search before attempting transactions. Do not proceed to transaction processing if the seller status is not ACTIVE.
  6. Transaction Processing: Process payments and refunds using POST /va/v1/apps/{appId}/sellers/{sellerId}/transactions. Store the transactionId from successful responses for refunds and reconciliation.

The topics that follow walk through the enrollment (card and non-card) and transaction-processing steps in full detail.

Enroll and validate a seller

Use this workflow to validate enrollment prerequisites, create the seller profile, and confirm that the seller is ready for downstream processing.

Before you begin, make sure you know the application ID that identifies your Visa Accept application.

  1. Retrieve the application configuration.

    Call GET /va/v1/apps/{appId}/appdetails to retrieve application properties such as the integration mode and account close period.

  2. Validate the seller payment instrument.

    Call POST /va/v1/apps/{appId}/cardeligibility with the card or Visa provisioning token information to verify that the payment instrument is eligible for Visa Accept enrollment.

    For each eligible card, the response can include a tncUrl (the card issuer's terms and conditions) and customerSupportInfo (the issuer's support contact channels — deep link, website, phone, or email). Use these to direct the seller to accept terms or reach issuer support as part of enrollment.

  3. Check whether the requested seller name tag is available.

    Call GET /va/v1/apps/{appId}/sellers/nametags/{sellerNameTag}. If the response indicates that the requested name tag is not available, use one of the returned suggestions or choose a different name tag before you continue.

  4. Enroll the seller.

    Call POST /va/v1/apps/{appId}/sellers with the seller country, locale, customer identifier, enrollment type, seller name tag, PAN or token enrollment data, and tncAcceptedAtFintech (a boolean indicating whether terms and conditions were accepted on your side of the integration). All of these fields except seller name tag are required on every enrollment request.

    Store the returned sellerId for later requests.

  5. Retrieve the seller profile.

    Call POST /va/v1/apps/{appId}/sellers/search and search by sellerId or customerId to retrieve the current seller profile.

  6. Inspect the seller status and issuer configuration.

    Use the seller profile response to inspect the returned seller status. The API response can include statuses such as ACTIVE, PENDING, SUSPENDED_FRAUD, SUSPENDED_DISPUTE, SUSPENDED_CLOSE, or CLOSED.

    The enrollment response can include kybUrl, which supports an externally hosted Know Your Business completion flow, and tncUrl, which supports a Terms and Conditions presentation and acceptance flow. When either value is returned, complete the applicable onboarding activity before you treat the seller as fully active.

  7. Send a compliance status update if your implementation requires it.

    When the seller must complete Know Your Business validation or accept terms and conditions, call POST /va/v1/apps/{appId}/notification/seller/status to send the issuer-side status update.

At the end of this workflow, you have a seller profile, a persisted sellerId, and the status information you need before you continue to device registration or transaction processing.

Enroll and validate a non-card seller

Use this workflow to enroll a seller identified by a processor-assigned merchant ID rather than card or token data.

Before you begin, make sure you know the application ID that identifies your Visa Accept application, and confirm your app is configured for the non-card model — see Non-Card Seller Model.

  1. Retrieve the application configuration.

    Call GET /va/v1/apps/{appId}/appdetails. Confirm isNonCard is true, and inspect issuerAppMap for the issuer app IDs enabled for the seller's country.

  2. Determine the issuer app ID for the seller's country.

    Select an issuerAppId from the issuerAppMap entry that matches the seller's country. This value is required on the enrollment request and must be one of the IDs enabled for that country.

  3. Enroll the seller.

    Call POST /va/v1/apps/{appId}/sellers with enrollType (NEW or REOPEN only), country, locale, the issuerAppId from the previous step, and a nonCardInfo object containing merchantId, cybsTransactingMid, terminalId, and mcc.

    customerId is optional — if omitted, it defaults to a hash of merchantId. Do not supply sellerNameTag or panData; both are rejected for non-card enrollments.

    merchantId is immutable after enrollment — a REOPEN request with a different merchantId than the original enrollment is rejected.

    Store the returned sellerId for later requests.

  4. Retrieve the seller profile.

    Call POST /va/v1/apps/{appId}/sellers/search and search by sellerId or customerId. The response includes isNonCard: true and a nonCardInfo object; it omits paymentInstruments.

  5. Inspect the seller status.

    Use the seller profile response to inspect the returned seller status. Non-card sellers use the same status values as card sellers: ACTIVE, PENDING, SUSPENDED_FRAUD, SUSPENDED_DISPUTE, SUSPENDED_CLOSE, or CLOSED.

  6. Send a compliance status update if your implementation requires it.

    When the seller must complete Know Your Business validation or accept terms and conditions, call POST /va/v1/apps/{appId}/notification/seller/status to send the status update.

At the end of this workflow, you have a seller profile, a persisted sellerId, and the status information you need before you continue to transaction processing.

Process a payment or refund

Use this workflow to submit payment or refund transactions for a seller and then retrieve the resulting transaction record.

Before you begin, make sure you have a valid sellerId for the seller.

  1. Build the transaction request.

    Call POST /va/v1/apps/{appId}/sellers/{sellerId}/transactions.

    In the request body, include amount, device, paymentMethod, transactionDetails, and transactionType.

  2. Set the transaction type.

    Use transactionType=Payment for a payment transaction or transactionType=Refund for a refund transaction.

  3. Provide the payment method details that match the transaction flow.

    The API supports card and token payment methods. The payment method model includes fields for card-present and card-not-present scenarios, including cardData, tokenData, entryMode, emvTags.

  4. Provide the transaction reference data.

    In transactionDetails, include the seller-provided referenceId.

    For refunds, include originalTransactionId to reference the original transaction.

    Before submitting a refund, retrieve the original transaction record and check availableAmountToRefund (the maximum refundable amount) and availableToRefundUntil (the deadline after which refunds are no longer accepted). The refund window is determined by refundExpiryDays in the AcceptTier configuration returned in the seller enrollment or search response.

  5. Store the transaction identifier from the response.

    The transaction response includes transactionId, status, and approvalCode. Persist the returned transactionId for later retrieval and refund processing.

  6. Retrieve transaction history when needed.

    Call GET /va/v1/apps/{appId}/sellers/{sellerId}/transactions to retrieve paginated transaction history. The API supports filtering by date range, transaction type, payment method, status, card digits, and search text.

  7. Retrieve the full transaction record when needed.

    Call GET /va/v1/apps/{appId}/sellers/{sellerId}/transactions/{transactionId} to retrieve detailed data for a specific transaction.

At the end of this workflow, you have submitted the transaction and persisted the returned transaction identifier for retrieval, reconciliation, or refund processing.

Reverse a non-card B2B transaction

Use this workflow to cancel a non-card authorization before it settles. This is a different operation from processing a refund on a settled transaction.

Before you begin, make sure you have the transactionId of the original authorization, and confirm the seller is a non-card seller — see Non-Card Seller Model. Reversal applies only to authorizations that have not yet settled; for a settled transaction, use the refund flow in Process a payment or refund instead.

  1. Send the reversal request.

    Call POST /va/v1/apps/{appId}/sellers/{sellerId}/transactions/{transactionId}/reversal with a JSON body containing amount and currencyCode.

    Always include a request body with at least amount and currencyCode. You can also include an optional reason value — one of CUSTOMER_CANCELLED, MERCHANT_CANCEL, TIMEOUT, SYSTEM_ERROR, or OTHER.

  2. Match the amount and currency to the original authorization.

    The request amount and currencyCode must exactly match the amount and currency on the original transaction record, or the request is rejected with 400. A 400 can also mean the transaction is not currently in an authorized state ready to reverse.

  3. Confirm the reversal succeeded.

    A successful reversal or an idempotent replay of an already-reversed transaction both return HTTP 200 with a body containing transactionId and status: Reversed.

At the end of this workflow, the original authorization is either reversed (or confirmed already reversed) or you have a specific error response telling you why it could not be reversed.

Additional workflows

Use these workflows for use cases outside the main enrollment-to-payment sequence.

The following workflows support use cases beyond the primary enrollment and payment sequence. See Workflow Selection Guide to confirm which one applies to you.

Create a pay-by-link transaction

Use this workflow to create a hosted payment link for a card-not-present transaction.

Before you begin, make sure you have a valid sellerId for the seller.

  1. Build the pay-by-link request.

    Call POST /va/v1/apps/{appId}/sellers/{sellerId}/transaction-links.

    The request body includes amount, device, transactionDetails, and transactionType.

  2. Do not send payment credentials in the request.

    The hosted payment link request excludes paymentMethod. The payer provides credentials on the Visa-hosted checkout page.

  3. Store the link data from the response.

    The response includes linkId, transactionId, the hosted linkUrl, and the validBefore timestamp. Persist linkId — it is the value required to cancel the link.

  4. Cancel the payment link if needed.

    To cancel an active payment link before it expires, call PATCH /va/v1/apps/{appId}/sellers/{sellerId}/transaction-links/{linkId} with body {"action": "CANCEL"}. Use the linkId returned from the create-link response directly as the path parameter — do not substitute transactionId.

At the end of this workflow, you have a hosted payment link that you can provide to the payer, and you can cancel it before expiry if needed.

Register a device

Use this workflow to register an additional device for a seller.

Before you begin, confirm that you have a valid sellerId.

  1. Prepare the device registration request.

    Call POST /va/v1/apps/{appId}/sellers/{sellerId}/devices.

    For Hybrid integrations, in the request body, include rebind, deviceInfo, and cryptographicKeys.

    For API-Only integrations, only deviceInfo.id is required.

  2. Supply device metadata.

    For Hybrid integrations, the deviceInfo object includes the device identifier, manufacturer, model, and operating system type. For API-Only integrations, only the device identifier (deviceInfo.id) is required.

  3. Supply Hybrid cryptographic data.

    The cryptographicKeys object includes device certificates and service keys. The file explicitly describes these fields as Hybrid-mode only.

  4. Persist the returned device identifiers.

    The response includes the enrolled deviceId, the Visa Accept device identifier (vacDeviceId), and the assigned device keys.

At the end of this workflow, the device is registered for the seller.

Seller lifecycle management

Update seller profile details or close a seller account after the initial enrollment is complete.

Update a seller profile

Use PUT /va/v1/apps/{appId}/sellers/{sellerId} to change a seller's name tag or primary payment instrument after enrollment.

Include only the fields you want to change in the request body. Both sellerNameTag and primaryPanId are optional — supply one or both depending on what needs to change.

Request body fields:

  • sellerNameTag — new name tag for the seller (1–25 characters; letters, numbers, spaces, and allowed special characters). Rejected for non-card sellers, whose name tag is derived from merchantId and cannot be changed.
  • primaryPanId — identifier of the payment instrument to set as the primary PAN for the seller. Rejected for non-card sellers, which have no PAN-based payment instrument.

A successful update returns HTTP 204 No Content with no response body.

Close a seller account

Use DELETE /va/v1/apps/{appId}/sellers/{sellerId} to close a seller account.

Closing a seller account removes it from the Visa Accept service. The seller cannot process transactions after the account is closed. A closed account can be reopened by submitting a new enrollment with enrollType: REOPEN.

A successful close returns HTTP 204 No Content with no response body.

Avoiding configuration errors

Common integration challenges

Common challenges when integrating with Visa Accept:

  • Seller Onboarding and Activation: Transactions are attempted before onboarding or activation is complete. Always verify seller status is ACTIVE before processing payments.
  • Incomplete or Inconsistent Configuration: Required setup steps are not completed across all systems prior to use. Complete application configuration, card eligibility validation, and seller enrollment in sequence.
  • Sandbox to Production Readiness: Prerequisites or validations are not fully completed before production go-live. Ensure all required agreements, approvals, and regional validations are in place.

Preventing common mistakes

During integrations, avoid these common errors:

  • Transaction Timing: Do not attempt payment or refund calls before sellers are fully onboarded and activated. Always check seller status first.
  • Reference Management: Retain original transaction identifiers required for refunds or reconciliation. Missing transaction references prevent refund processing.
  • Flow Assumptions: Do not treat the APIs as single-step payment actions. Follow the complete sequence: onboarding, activation, transaction, and post-transaction steps.
  • Configuration Dependencies: Verify application settings using /appdetails before beginning integration workflows. Integration mode affects available endpoints and required parameters.

See also

For step-by-step recovery from mid-workflow failures (timed-out enrollment, a seller stuck in a non-ACTIVE state, or a failed transaction call), see Idempotency and Retry Safety.

Confirming successful integration

Validate your integration by testing key workflow endpoints and confirming expected responses.

Success validation steps

You have successfully integrated when you can enroll sellers, process transactions, retrieve transaction details, and process refunds using the defined API workflows.

Complete these validation steps in sequence:

  1. Application Configuration: Confirm /appdetails returns your application settings successfully.
  2. Card Eligibility Validation: Test /cardeligibility with a valid card number to confirm payment processing capability. Applies to card sellers only.
  3. Seller Enrollment Test: Complete a test seller enrollment using /sellers and verify ACTIVE status is returned.
  4. Transaction Processing Test: Process a small test transaction using /sellers/{sellerId}/transactions with status "Approve".

Key success indicators

  • Application details retrieved successfully (confirms app configuration)
  • Card eligibility validated (confirms payment processing capability; card sellers only)
  • Seller enrollment completed with ACTIVE status
  • Test transaction approved with status "Approve"
  • Transaction details retrievable for reconciliation