Sandbox API Reference
Sandbox-only simulation endpoints: run transaction scenarios, publish single transaction messages, and simulate bulk-feed file ingestion for each network.
For: developers
Introduction
The sandbox environment includes simulation endpoints for generating test activity: whole transaction scenarios and single transaction messages on enrolled cards, and simulated network bulk files that enroll cards and add their transactions. No real network is ever called.
This page is the endpoint reference for those simulation endpoints. For what the environment is, how to get a token, and what is included, start at Sandbox Environment. For guided walkthroughs from start to finish, see Testing Single Card Enrollment, Testing Bank Linking and Testing Bulk Enrollment.
All endpoints below are sandbox-only, served from https://api.sandbox.astrada.co, and require an OAuth2 access token with the simulation:write scope; the two granular endpoints also need read scopes. Sandbox clients from astrada.co/sandbox hold all of them. They all return 202 Accepted and process asynchronously: results are observed through the existing read APIs (transactions, card subscriptions) and webhooks.
Requests use the standard headers only: Authorization: Bearer <access-token> and Content-Type: application/json. Account context is derived from your access token (no Account header is needed), matching the rest of the public API.
Simulate a transaction scenario
POST /simulate/transaction/scenario
Runs a predefined transaction scenario against an enrolled card in the sandbox, publishing the resulting transaction messages as if a card network had sent them.
Body params
| Param | Type | Required | Description |
|---|---|---|---|
scenario | string (enum) | Required | The predefined scenario to simulate. One of: simple_purchase, split_shipment, tip_adjustment, expired_auth, refund, hotel_preauth, car_rental, gas_pump, partial_clearing, recurring_subscription, fx_conversion, amex_auth_baseline, amex_auth_adjustment, amex_auth_reversal, uber_canada_reversal, uber_netherlands_positive_advice, uber_turkey_dual_auth, uber_brazil_cancelled, uber_korea_settle_at_auth, uber_turkey_fx_reversal, uber_india_fx_clearing. |
cardId | string (uuid) | Required | The identifier of the enrolled card to transact against. |
subaccountId | string (uuid) | Required | The subaccount identifier the card belongs to. |
amount | integer (≥1) | Optional | Base amount in minor units, by the currency's ISO 4217 exponent (cents for USD; none for JPY or KRW). When omitted, the scenario's default amount is used. Each step is a multiple of it (Scenarios). Ignored on fixed-amount steps: every uber_* step and the first gas_pump authorization. |
currency | string (3 chars) | Optional | ISO 4217 three-letter currency code. When omitted, the scenario's default currency is used. On fx_conversion and the billed uber_* scenarios it sets the billing currency instead. |
network | string (enum) | Optional | Card network override (VISA, MASTERCARD, AMEX), so one scenario can run against any network. When omitted, the scenario's own default network is used. |
source | string (enum) | Optional | Which network feed the messages appear to come from, as metadata.ingestion.source: amexgl, amexrta, smartdata, tns, vbds, vcf or vop. Leave it out: the default matches the scenario and network (amexrta for the amex_auth_* scenarios on American Express, amexgl for any other American Express run, tns otherwise). |
Scenarios
Every amount below is the default, in the scenario's currency; send amount (minor units) to change the base, and each step scales with it. A, V and F name the message types each step publishes: AUTH_REQU (an authorization request), AUTH_ADVC (an authorization advice: an adjustment or a reversal of the hold) and FINL_ADVC (a settlement). Every simulated message is approved; no scenario simulates a decline.
scenario | Default amount | Network | What it publishes |
|---|---|---|---|
simple_purchase | 4.50 USD | Visa | A, then F for the same amount. |
split_shipment | 100.00 USD | Mastercard | A, then two F: 60% and 40%. |
tip_adjustment | 45.00 USD | Visa | A, V raising the hold to 115.6% (a tip), F at the raised amount. |
expired_auth | 200.00 USD | Visa | A only: an authorization that never settles. |
refund | 120.00 USD | Mastercard | A, F, then a refund for the full amount as a new transaction. |
hotel_preauth | 1,247.00 USD | Visa | A at 40%, V releasing it, A at 64%, V releasing it, F at 100%. |
car_rental | 147.50 USD | Visa | A at 136%, V releasing it, F at 100%. |
gas_pump | 42.00 USD | Visa | A for a fixed 1.00, then F for the full amount. |
partial_clearing | 50.00 USD | Mastercard | A, then F at 84%. |
recurring_subscription | 15.99 USD | Visa | A and F, marked as a recurring payment. |
fx_conversion | 85.00 EUR, billed in USD | Visa | A and F; the USD billing rate moves slightly between them. |
amex_auth_baseline | 89.00 USD | American Express | A, then F for the same amount. |
amex_auth_adjustment | 150.00 USD | American Express | A, V adjusting the hold to 120%, F at the adjusted amount. |
amex_auth_reversal | 200.00 USD | American Express | A, V raising the hold to 135%, V releasing 35%, F at the original amount. |
The three amex_auth_* scenarios follow the sample authorizations American Express publishes for its sandbox: amex_auth_baseline (a single approved authorization), amex_auth_adjustment (initial authorization, adjusted authorization, settlement at the adjusted amount), and amex_auth_reversal (initial authorization, follow-up hold, reversal, settlement of the initial amount). They default to the American Express network, so you can run the same lifecycles on any enrolled card.
The seven uber_* scenarios are multi-country ride-share flows with fixed recorded amounts on every step, so amount has no effect on them. Except for uber_canada_reversal, each is billed in a second currency, and a currency you send changes that billing currency, not the transaction currency (the same applies to fx_conversion).
scenario | Currency (billed in) | Network | What it publishes |
|---|---|---|---|
uber_canada_reversal | CAD | Visa | A, a full reversal, then F at a different amount. |
uber_netherlands_positive_advice | EUR (USD) | Mastercard | A, V lowering the amount, F at the lowered amount. |
uber_turkey_dual_auth | TRY (USD) | Mastercard | Two A, then F for their total. |
uber_brazil_cancelled | BRL (USD) | Mastercard | A, then a full reversal; no settlement. |
uber_korea_settle_at_auth | KRW (USD) | Visa | A and F for the same amount. |
uber_turkey_fx_reversal | TRY (USD) | Visa | A, a full reversal, then F at a lower amount. |
uber_india_fx_clearing | INR (EUR) | Mastercard | A and F for the same amount. |
The call waits 3 seconds between steps before it answers, and dates the steps 60 seconds apart.
Example request
{
"scenario": "simple_purchase",
"cardId": "24c4f90d-ab3b-4f6e-8a1d-d251a4fcf34c",
"subaccountId": "f297d659-c13d-4219-aeaa-e10a845140a5",
"amount": 1500,
"currency": "USD"
}Responses
| Status | Description |
|---|---|
202 | Accepted: the transaction messages were published and will be processed asynchronously. Body contains transactions[], each with the messageIds (uuids) published for that transaction; use GET /transaction-messages/{transactionMessageId} to retrieve each message once processed. |
400 | Bad request: validation error on the request body. |
401 | Unauthorized: missing or invalid access token. |
403 | Forbidden: token does not have the simulation:write scope. |
500 | Server error. |
Example 202 response
{
"transactions": [
{
"messageIds": [
"9b2e6c4a-1f3d-4e8b-9a7c-2d5f8e1b4c6a",
"1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d"
]
}
]
}Granular transaction simulation
The scenario endpoint publishes a whole lifecycle at once. The two endpoints below publish one transaction message per call, so you can drive a transaction step by step and observe each webhook: start a transaction on a card, then add authorizations, adjustments, reversals, settlements and refunds to it in whatever order your test needs. Both return 202 with the id of the single message published; the transaction itself arrives asynchronously through the transaction.created / transaction.updated webhooks.
Both endpoints read from the public API on your behalf, so the access token needs read scopes in addition to simulation:write: cards:read for POST /simulate/transactions, and transactions:read plus transaction-messages:read for POST /simulate/transactions/{transactionId}.
Start a transaction
POST /simulate/transactions
Publishes the first message of a new transaction on an enrolled card. The subaccount and (unless overridden) the network are read from the card.
| Param | Type | Required | Description |
|---|---|---|---|
cardId | string (uuid) | Required | The enrolled card to transact against. 404 when the card is not on your account. |
type | string (enum) | Required | authorization creates a PENDING transaction with amount on hold. settlement creates a SETTLED transaction with no prior authorization; a later backdated authorization step joins it. |
amount | integer (≥1) | Optional | Amount in minor units of currency, by its ISO 4217 exponent (4500 is 45.00 USD, 450 is 450 JPY). Default 4500. Amounts you read back are decimals in the main unit (4500 USD reads back as 45.00). |
currency | string (3 chars) | Optional | ISO 4217 code, case insensitive; fund and precious-metal codes are rejected. Default USD. |
network | string (enum) | Optional | VISA, MASTERCARD or AMEX. Default: the card's own network (400 when this is omitted and the card has none or one outside the list). |
merchant | object | Optional | name (required), mcc (required, 4 digits), city, country (ISO 3166-1 alpha-3, case insensitive, for example USA or GBR). Default: a fixed sandbox coffee-shop merchant in the US. |
dateTime | string (date-time) | Optional | ISO 8601 with offset, not in the future. Default: now. |
{
"cardId": "24c4f90d-ab3b-4f6e-8a1d-d251a4fcf34c",
"type": "authorization",
"amount": 4500
}Response 202:
{
"messageId": "9b2e6c4a-1f3d-4e8b-9a7c-2d5f8e1b4c6a"
}To get the transactionId for the next step, take id from the transaction.created webhook, or call GET /transactions?transactionMessageId=<messageId> once the pipeline has processed the message (a few seconds).
Add a message to a transaction
POST /simulate/transactions/{transactionId}
Publishes one more message on an existing transaction, reusing its card, network, currency, merchant and network reference so the pipeline links it to the same transaction (for refund, the account's refund setting then decides whether it nets in or becomes a separate refund transaction; see the table below). Works on transactions created by this endpoint or by the scenario endpoint. 404 when the transaction is not on your account; 400 for bank transactions.
| Param | Type | Required | Description |
|---|---|---|---|
type | string (enum) | Required | One of authorization, adjustment, reversal, settlement, refund; see the table below. |
amount | integer (≥1) | Per type | Minor units of the transaction's currency; see the table below. |
dateTime | string (date-time) | Optional | ISO 8601 with offset, not in the future. Default: one second after the transaction's latest message, or now if that is later (now when the latest message is already ahead of the clock, as an end-of-day message is). Set an earlier value to backdate a message. As in production, Visa settlement and refund messages and Amex settlement messages carry an end-of-day dateTime: the UTC date of this value at 23:59:59Z. Mastercard settlement and refund messages carry its date at 23:59:59, with no Z. |
type | Effect | amount | 409 when |
|---|---|---|---|
authorization | Additional authorization; increases the hold. | Required | never |
adjustment | Replaces the current hold with amount (the new total). | Required | nothing is on hold |
reversal | Releases amount from the hold. | Default: the remaining hold | nothing is on hold, or amount exceeds the hold |
settlement | Clears amount from the hold into the settled amount. | Default: the remaining hold; required when nothing is on hold | never |
refund | Negative settlement linked to this transaction. What happens next follows the account's production refund setting: while the transaction is still PENDING, or on accounts that match refunds to their purchase, it nets into this transaction (transaction.updated); on accounts that do not (the default for accounts created through the API, including sandbox accounts) and once the transaction is SETTLED, it arrives as a separate refund transaction with a negative settled amount and its own transaction.created, and this transaction receives no webhook. | Default: the settled amount; required when nothing has been settled | never |
The 409 checks compare against the hold the pipeline has processed so far and are best effort: a step sent immediately after another may still see the earlier state. Wait for the webhook of the previous step before sending one that depends on it.
{
"type": "settlement"
}Response 202:
{
"messageId": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d"
}Example flows
Authorization then settlement. POST /simulate/transactions with { "cardId": "…", "type": "authorization", "amount": 4500 } → transaction.created, PENDING, hold 45.00 (the 4500 minor units read back as a decimal in dollars). Then POST /simulate/transactions/{transactionId} with { "type": "settlement" } → transaction.updated, SETTLED, settled 45.00, hold 0. A further { "type": "reversal" } returns 409 because nothing is on hold.
Settlement first. POST /simulate/transactions with { "cardId": "…", "type": "settlement", "amount": 4500 } → transaction.created, SETTLED, hold 0. Then POST /simulate/transactions/{transactionId} with { "type": "authorization", "amount": 4500, "dateTime": "<one minute before the settlement>" } → transaction.updated, still SETTLED, hold 0, with the authorization ordered before the settlement in GET /transactions/{transactionId}.
Responses
| Status | Description |
|---|---|
202 | Accepted: one transaction message was published. Body contains its messageId (uuid). |
400 | Bad request: validation error on the request body, a card without a network, a bank transaction, or a missing required amount. |
401 | Unauthorized: missing or invalid access token. |
403 | Forbidden: token does not have the simulation:write scope. |
404 | Not found: the card or transaction does not exist on your account. |
409 | Conflict (step endpoint only): the adjustment or reversal does not fit the current hold; see the table above. |
500 | Server error. |
Simulate a Visa bulk file
POST /simulate/ingestion/vcf
Creates a simulated Visa bulk-enrollment file and processes it as if Visa had delivered it. The pipeline then runs asynchronously: enrolled cards appear as card subscriptions once processing completes.
Prerequisite: a bulk feed must already exist for this account, created via POST /network-bulk-feeds. The networkReference below must match that feed.
Repeat calls, new cards, and transactions
The simulated cards come from a fixed, reserved test-card pool (BIN 404507; the full list is on Bulk Test Card Pools), mirroring how production files carry a stable card population:
cardCountincludes the head of the pool, the same cards every call. Once they are enrolled in the subaccount, sending them again deduplicates (no newcardsubscription.created), exactly like a re-delivered production file.newCardCountdraws cards this subaccount has never seen. Every call enrolls that many new cards and emits theircardsubscription.createdwebhooks. Use this to re-test the full feed → cards → transactions flow without creating a new subaccount.- Feed activation: a feed only moves from
submittedtoactiveonce a delivery creates at least one new card connection. On a feed that has never completed a delivery, a head-only replay would deduplicate and leave the feed stuck, sonewCardCount: 0still draws one never-seen card. This happens at most once per feed; once the feed is active, replays stay pure. - Every included card (head or new) gets
transactionsPerCardtransactions with fresh transaction references and recent dates, so repeat calls always emittransaction.created/transaction.updatedwebhooks, including for already-enrolled cards.
Enrolled sandbox cards carry cardholder data: GET /cards/{cardId}/cardholder returns firstName, lastName, postalCode, email, and corporate.employeeId for cards enrolled through this endpoint. The exact field set varies by network. See the Mastercard and American Express sections below for their differences (notably, email).
Body params
| Param | Type | Required | Description |
|---|---|---|---|
networkReference | string | Required | The Visa reference for the bulk feed, as registered at feed creation ({region}_{processor}_{issuer}_{company}, such as 1_123_45_6789). The form without the region ({processor}_{issuer}_{company}, such as 123_45_6789) is also accepted; the region segment is stripped before use. Must match the feed created via POST /network-bulk-feeds. Pattern: ^\d+(_\d+){2,3}$ |
cardCount | integer (0–100) | Optional (default 5) | Cards from the head of the test-card pool, the same cards every call; deduplicated once enrolled. cardCount + newCardCount must be at least 1. |
newCardCount | integer (0–20) | Optional (default 0) | Not-yet-enrolled cards drawn from the pool for this feed's subaccount. Each call enrolls this many new cards. On a feed that has never completed a delivery, leaving this at 0 still draws one new card so the feed can activate (see above). |
transactionsPerCard | integer (0–10) | Optional (default 3) | Transactions generated per included card, with fresh references and recent dates each call. Use 0 for a cards-only starter file. |
Example request
{
"networkReference": "123_45_6789",
"cardCount": 0,
"newCardCount": 5,
"transactionsPerCard": 3
}Responses
| Status | Description |
|---|---|
202 | Accepted: the simulated file was created and will be processed asynchronously. Empty response body. |
400 | Bad request: validation error on the request body; no feed with this networkReference on your account; or the subaccount has exhausted the new-card pool. |
401 | Unauthorized: missing or invalid access token. |
403 | Forbidden: token does not have the simulation:write scope. |
413 | Content too large: a numeric field exceeded its maximum (cardCount above 100, newCardCount above 20, or transactionsPerCard above 10). |
500 | Server error. |
Simulate a Mastercard bulk file
POST /simulate/ingestion/smartdata
Creates a simulated Mastercard bulk-enrollment file and processes it as if Mastercard had delivered it. The pipeline then runs asynchronously: enrolled cards appear as card subscriptions once processing completes.
Prerequisite: a bulk feed must already exist for this account, created via POST /network-bulk-feeds. The networkReference below must match that feed.
Repeat-call behaviour matches the Visa file endpoint above: cardCount replays the head of a reserved Mastercard test-card pool (BIN 510755, listed on Bulk Test Card Pools; deduplicated once enrolled), newCardCount enrolls cards the subaccount has never seen, and every included card gets transactionsPerCard transactions with fresh references and recent dates on each call. Enrolled cards carry cardholder firstName, lastName, postalCode, and corporate.employeeId / corporate.alternativeEmployeeId; Mastercard feeds do not expose a cardholder email, so email stays null (as in production).
Body params
| Param | Type | Required | Description |
|---|---|---|---|
networkReference | string | Required | The Mastercard Delivery ID for the bulk feed, such as G1234567. Must match the feed created via POST /network-bulk-feeds. Pattern: ^[a-zA-Z0-9-]+$ |
cardCount | integer (0–100) | Optional (default 5) | Cards from the head of the test-card pool, the same cards every call; deduplicated once enrolled. cardCount + newCardCount must be at least 1. |
newCardCount | integer (0–20) | Optional (default 0) | Not-yet-enrolled cards drawn from the pool for this feed's subaccount. Each call enrolls this many new cards. |
transactionsPerCard | integer (0–10) | Optional (default 3) | Transactions generated per included card, with fresh references and recent dates each call. Use 0 for a cards-only starter file. |
Example request
{
"networkReference": "G1234567",
"cardCount": 0,
"newCardCount": 5,
"transactionsPerCard": 3
}Responses
| Status | Description |
|---|---|
202 | Accepted: the simulated file was created and will be processed asynchronously. Empty response body. |
400 | Bad request: validation error on the request body; newCardCount > 0 with no feed with this networkReference on your account; or the subaccount has exhausted the new-card pool. |
401 | Unauthorized: missing or invalid access token. |
403 | Forbidden: token does not have the simulation:write scope. |
413 | Content too large: a numeric field exceeded its maximum (cardCount above 100, newCardCount above 20, or transactionsPerCard above 10). |
500 | Server error. |
Simulate an American Express bulk file
POST /simulate/ingestion/amex-gl
Creates a simulated American Express bulk-enrollment file (plus a companion settlement file when transactionsPerCard > 0) and processes it as if American Express had delivered it. Processing runs asynchronously: enrolled cards appear as card subscriptions once processing completes, and settlements follow shortly after enrollment.
Prerequisite: a bulk feed must already exist for this account, created via POST /network-bulk-feeds. The networkReference below must match that feed.
The repeat-call behaviour matches the Visa file endpoint above, though the cardCount default and the tokenized behavior differ (see the body params and callout below): cardCount replays the head of a reserved account pool (BIN 370000, listed on Bulk Test Card Pools; deduplicated once enrolled), newCardCount enrolls accounts the subaccount has never seen, and every included card gets transactionsPerCard settlements with fresh transaction ids and recent dates on each call. Enrolled cards carry cardholder firstName, lastName, postalCode, and corporate.employeeId; American Express bulk files do not carry a cardholder email, so email stays null.
Body params
| Param | Type | Required | Description |
|---|---|---|---|
networkReference | string | Required | The Amex Recipient ID for the bulk feed, in the format R{RecipientId}, such as R12345. Must match the feed created via POST /network-bulk-feeds. Pattern: ^R\d+$ |
cardCount | integer (0–100) | Optional | Cards from the head of the account pool, the same accounts every call; deduplicated once enrolled. When omitted, the count resolves off the feed's panFormat: an encrypted feed draws 3, a tokenized feed draws its whole enrollable tokenized pool (see the tokenized note below). The cardCount + newCardCount must be at least 1 rule applies only when cardCount is sent explicitly; omitting it entirely is fine, so a bare { "networkReference": "R12345" } succeeds. |
newCardCount | integer (0–20) | Optional (default 0) | Not-yet-enrolled accounts drawn from the pool for this feed's subaccount. Each call enrolls this many new cards. Not available on a tokenized feed: the tokenized pool has no new-card region, so any newCardCount > 0 on a panFormat: tokenized feed is rejected with 400. |
transactionsPerCard | integer (0–10) | Optional (default 3) | Settlements generated per included card (written as a companion settlement file), with fresh transaction ids and recent dates each call. Use 0 for a cards-only file. |
Tokenized Amex feedsA feed created with
panFormat: tokenized(sandbox-only, American Express only) draws American Express network tokens instead of encrypted card numbers, and two fields behave differently on it. An omittedcardCountdraws the feed's whole enrollable tokenized pool rather than the encrypted default, andnewCardCountis unsupported: there is no tokenized new-card region, so anynewCardCount > 0returns400. An explicitcardCountlarger than the tokenized pool under-delivers to the pool size rather than erroring.
Example request
{
"networkReference": "R12345",
"cardCount": 0,
"newCardCount": 5,
"transactionsPerCard": 3
}Responses
| Status | Description |
|---|---|
202 | Accepted: the simulated file(s) were created and will be processed asynchronously. Empty response body. |
400 | Bad request: validation error on the request body; newCardCount > 0 with no feed with this networkReference on your account; newCardCount > 0 on a tokenized feed (the tokenized pool has no new-card region); or the subaccount has exhausted the new-card pool. |
401 | Unauthorized: missing or invalid access token. |
403 | Forbidden: token does not have the simulation:write scope. |
413 | Content too large: a numeric field exceeded its maximum (cardCount above 100, newCardCount above 20, or transactionsPerCard above 10). |
500 | Server error. |
Simulate a Visa bulk feed (pulled)
POST /simulate/ingestion/vbds
Simulates a delivery on a pulled Visa feed (type: VBDS) that already exists. Astrada pulls this kind of feed from Visa instead of receiving a file: creating the feed via POST /network-bulk-feeds already triggers an initial fetch of simulated starter data in sandbox (sized by the creation-time cardCount field, 1–20, default 5), so this endpoint exists to run it again on demand: enroll additional cards and generate settlements without recreating the feed. Processing runs asynchronously: enrolled cards appear as card subscriptions once processing completes, and settlements follow shortly after enrollment.
Prerequisite: a bulk feed must already exist for this account, created via POST /network-bulk-feeds. The networkReference below must match that feed.
Repeat-call behaviour matches the other networks above: cardCount replays the head of a reserved card pool (deduplicated once enrolled), newCardCount enrolls cards the subaccount has never seen, and every included card gets transactionsPerCard settlements with fresh transaction ids and recent dates on each call.
Body params
| Param | Type | Required | Description |
|---|---|---|---|
networkReference | string | Required | The Visa reference for the bulk feed, made of the Visa region, processor, issuer and company segments joined by _ ({region}_{processor}_{issuer}_{company}), such as 1_12345_67890_54321. Must match the feed created via POST /network-bulk-feeds. Pattern: ^[a-zA-Z0-9]+_[a-zA-Z0-9]+_[a-zA-Z0-9]+_[a-zA-Z0-9]+$ |
cardCount | integer (0–100) | Optional (default 5) | Cards from the head of the card pool, the same cards every call; deduplicated once enrolled. cardCount + newCardCount must be at least 1. |
newCardCount | integer (0–20) | Optional (default 0) | Not-yet-enrolled cards drawn from the pool for this feed's subaccount. Each call enrolls this many new cards. |
transactionsPerCard | integer (0–10) | Optional (default 3) | Settlements generated per included card, processed the same way as real ones from this feed, with fresh transaction ids and recent dates each call. Use 0 for a cards-only simulation. |
Example request
{
"networkReference": "1_12345_67890_54321",
"cardCount": 0,
"newCardCount": 5,
"transactionsPerCard": 3
}Responses
| Status | Description |
|---|---|
202 | Accepted: the simulated delivery was queued and will be processed asynchronously. Empty response body. |
400 | Bad request: validation error on the request body; no feed with this networkReference on your account; or the subaccount has exhausted the new-card pool. |
401 | Unauthorized: missing or invalid access token. |
403 | Forbidden: token does not have the simulation:write scope. |
413 | Content too large: a numeric field exceeded its maximum (cardCount above 100, newCardCount above 20, or transactionsPerCard above 10). |
500 | Server error. |
Starter data at feed creation (cardCount)
cardCount)Distinct from this endpoint's cardCount body param above, cardCount is also an optional sandbox-only field on POST /network-bulk-feeds (integer, 1–20, default 5, type: VBDS feeds only): the number of simulated Visa cards to generate in the starter data, always drawn from the head of the Visa test-card pool, the same PANs every feed, deduplicated once enrolled, and always accepted by sandbox enrollment. Requests containing this field outside the sandbox environment, or for any other feed type (including a Visa file feed, type: VCF), are rejected with a 400.
newCards is a deprecated alias of cardCount and behaves identically; when both are provided, cardCount wins. Use cardCount in new integrations: it matches the field of the same name and meaning on the /simulate/ingestion/* endpoints.
Test card pools
Every simulated card comes from a fixed, reserved pool per network (Visa BIN 404507, Mastercard 510755, Amex 370000). The full PAN lists, the head/new region semantics, and the per-network Luhn notes live on Bulk Test Card Pools.
Next steps
- Sandbox Environment: what the environment is and how to get a token.
- Testing Bank Linking: the guided bank linking walkthrough.
- Testing Bulk Enrollment: the guided bulk-feed walkthrough.
Updated 4 days ago
