Simulate an American Express bulk file (sandbox only)

Works in the sandbox only (https://api.sandbox.astrada.co). Production has no such call.

Creates a simulated American Express bulk-enrollment file, plus a companion settlement file when transactionsPerCard is above 0, and processes it as if American Express had delivered it. The call returns 202 Accepted at once; enrolled cards appear as card subscriptions when processing finishes, and their settlements follow shortly after.

A bulk feed must already exist for the networkReference, created with POST /network-bulk-feeds.

cardCount replays the fixed head of the sandbox account pool (encrypted feeds; for tokenized feeds see below): the same accounts every call, so once enrolled in a subaccount they deduplicate (no new cardsubscription.created), exactly like a file that is delivered twice. newCardCount draws accounts the subaccount has never seen from a reserved pool, so every call enrolls that many new cards. All included cards get transactionsPerCard transactions with fresh ids and recent dates, so repeat calls always produce transaction.* webhooks.

For a feed registered tokenized (see panFormat on POST /network-bulk-feeds), cardCount draws American Express network tokens instead of raw card numbers, and newCardCount is not supported (there is no tokenized new-card pool).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
^(R\d+|\d{6})$

The Amex Recipient ID for the bulk feed, in the format 'R{RecipientId}', such as 'R12345', or the 6-digit Company ID the feed was created with. Must match the feed created via POST /network-bulk-feeds.

integer
0 to 100

Number of cards to include. For an encrypted feed these are drawn from the head of the sandbox account pool: the same accounts every call; once enrolled in the subaccount they deduplicate. For a tokenized feed they are drawn from the enrollable 374290-BIN Amex token pool (two tokens). Requesting more than the tokenized pool holds does not error: the call still returns 202 and under-delivers (only the enrollable tokens are written), so do not build a retry on an expected 400. When omitted, defaults to 3 for encrypted feeds and to the whole enrollable token pool for tokenized feeds. When cardCount is sent, cardCount + newCardCount must be at least 1.

integer
0 to 20
Defaults to 0

Number of not-yet-enrolled accounts to draw from the sandbox pool for this feed's subaccount. Each call enrolls this many new cards (with cardsubscription.created webhooks). Requires an active feed for the networkReference; returns 400 when none exists or when the subaccount has exhausted the pool. Not supported on tokenized feeds: a value greater than 0 on a tokenized feed returns 400 (there is no tokenized new-card pool).

integer
0 to 10
Defaults to 3

Number of settlements generated for every included card (written as a companion settlement file), with fresh transaction ids and recent dates on each call. Use 0 for a cards-only file.

Responses
202

Accepted. The simulated file was created and is processed asynchronously. The response has no body.

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/problem+json