Bistromathic Lab INTERNAL TEST ONLY

Numbers on a restaurant bill obey their own laws of physics; so do payments. The Bistromathic Lab is an internal PSP simulator that mimics a real card processor (auth / debit / capture / refund / void / cancel) so end-to-end tests don't have to depend on Citigate / Circoflow / CC7995.

Not available in production.

HTTP API

All API requests must include the shared secret header X-Sim-Key.

Outcome rules (priority order)

  1. Test card match — see table below. An encrypted PAN (ev:…) matches by the card.bin and card.last4 sent beside it.
  2. Amount last-2-digits fallback.
  3. Default: approved.

Test cards

PANStatus3DSDescription
4242424242424242approvedApproved (Visa, no 3DS)
4111111111111111approvedApproved (Visa, no 3DS)
5555555555554444approvedApproved (Mastercard, no 3DS)
378282246310005approvedApproved (Amex, no 3DS)
4000000000003220approvedyesApproved after 3DS challenge
4000002500003155approvedyesApproved after 3DS challenge (Visa)
5200828282828210approvedyesApproved after 3DS challenge (Mastercard)
4000000000000002do_not_honorDo not honor
4000000000009995insufficient_fundsInsufficient funds
4000000000000069expired_cardExpired card
4000000000000127invalid_cvvInvalid CVV
4000000000000119psp_malfunctionAcquirer system malfunction
4100000000000019suspected_fraudSuspected fraud
4000000000000259issuer_errIssuer or switch is inoperative
40000000000003413ds_auth_failureyes3DS authentication failure
4000000000000051psp_timeoutAcquirer timeout

Amount-last-2-digits fallback

Amount ends inStatus3DSDescription
…12invalid_amtInvalid amount
…13invalid_amtInvalid amount
…14invalid_accountInvalid card number
…33expired_cardExpired card
…51insufficient_fundsInsufficient funds
…54expired_cardExpired card
…59suspected_fraudSuspected fraud
…65do_not_honorExceeds withdrawal frequency
…79invalid_cvvInvalid CVV
…91issuer_errIssuer unavailable
…96psp_malfunctionAcquirer system malfunction
…983ds_auth_failureyes3DS challenge, then authentication failure (amount-rule: ends in 98)
…99approvedyesApproved after 3DS challenge (amount-rule: ends in 99)
…00approvedApproved (amount-rule: ends in 00)
…01do_not_honorRefer to card issuer
…02do_not_honorDo not honor
…05insufficient_fundsInsufficient funds

Swish

Swish's Commerce API on Swish's own paths, as its Merchant Integration Guide describes it, so a Swish client can be pointed here instead of at Swish. X-Sim-Key stands in for the client certificate (401, empty body, without it). SEK only; the merchant Swish number is any 123xxxxxxx (Swish's simulator uses 1234679304).

Callbacks POST the payment request or refund as GET returns it, with the callbackIdentifier header when one was given, retried after 5 and 10 seconds until a 200. A payment calls back once it is final; a refund on DEBITED and again on PAID (or ERROR). A request nobody answers ends in ERROR TM01 after three minutes.

Outcomes

In the app, Avbryt declines (DECLINED); Betala hands over to BankID, which signs after two seconds and pays, unless a rule below chose an error; the page's lab drawer cancels in BankID (ERROR BANKIDCL) or lets the request time out. As in Swish's own simulator, a message equal to an error code forces it:

Otherwise the amount decides (a payment request only):

Amount ends inCodeWhenerrorMessage
…10 öreFF10ERROR once the payer signsBank system processing error
…24 öreDS24ERROR once the payer signsSwish timed out waiting for an answer from the banks after payment was started
…01 öreTM01ERROR once the payer signsSwish timed out before the payment was started
…02 öreAM02422 at createAmount value is too large
…03 öreACMT03ERROR once the payer signsPayer not Enrolled
…06 öreAM06422 at createSpecified transaction amount is less than agreed minimum
…07 öreRF07ERROR once the payer signsTransaction declined

Vipps

Vipps MobilePay's ePayment API (v1), with its Access Token and Webhooks APIs, on apitest.vipps.no's own paths under /vipps: a Vipps MobilePay client works here by swapping https://apitest.vipps.no for https://<this host>/vipps. The same API answers at the root too (/accesstoken/get, /epayment/v1/…, /webhooks/v1/…). No credentials are checked: any client_id, client_secret and Ocp-Apim-Subscription-Key get a token, and any Bearer token is taken, so a connection's real Vipps keys work unchanged. The Merchant-Serial-Number (five to seven digits) names the sales unit, each its own. A Norwegian sales unit takes NOK only, from 1 kr; an MSN starting 45 or 358 is MobilePay's (see MobilePay).

States as at Vipps: CREATED, then AUTHORIZED, ABORTED (the payer cancelled), EXPIRED (ten minutes) or TERMINATED (the merchant cancelled first). An authorized payment stays AUTHORIZED; its aggregate says what was captured, cancelled and refunded. Webhooks are signed with HMAC-SHA256 as Vipps signs them and retried after 2, 4 and 6 seconds until acknowledged. Errors are RFC 7807 problems with Vipps' error codes.

Vipps' test amounts

Payment amountIn the app
1,51 kr (151)Every card declined in the app: Insufficient funds
1,82 kr (182)Every card declined in the app: Refused by issuer
1,83 kr (183)Every card declined in the app: Suspected fraud
1,84 kr (184)Every card declined in the app: Withdrawal limit exceeded
1,86 kr (186)Every card declined in the app: Expired card
1,87 kr (187)Every card declined in the app: Invalid card
1,97 kr (197)3-D Secure denied: the card is declined
2,01 kr (201)After the payer pays, unknown for an hour (CREATED), then AUTHORIZED
2,02 kr (202)3-D Secure asked for, and passable
Refund amountRefused with
1,23 kr (123)5100 Can't refund single transferred payments. User is deleted or does not have a receiving account.
1,24 kr (124)6220 Refund period expired

Lab rules

AmountEffect
…28 øre, from 10 krThe first capture fails: 6280 Capture failed, please try again later; a retry captures
…05 øre, from 10 krEvery capture is refused: 6260 Funds unavailable
…06 øre, from 10 krCreate refused: 422, 5070 Payment cannot be created

MobilePay (Denmark, Finland)

MobilePay is Vipps MobilePay's other brand on the same ePayment API as Vipps above: the same paths, keys, states, RFC 7807 errors, force approve and signed webhooks. A sales unit belongs to one market, and every payment it takes must be in that market's currency. Vipps knows a sales unit's market from the merchant agreement; the lab reads it from the MSN, by this convention: the MSN starts with the market's country calling code.

MSNMarketCurrencyMinimumThe payerTest user
45…, e.g. 451234MobilePay DenmarkDKK1 øre/mobilepay/landing, Danish; picks the card first+45 12 34 56 78
358…, e.g. 358123MobilePay FinlandEUR1 cent/mobilepay/landing, Finnish+358 40 123 4567
any other, e.g. 123456Vipps NorwayNOK100 øre/vipps/landing, Norwegian+47 91 23 45 67

Another currency is refused with 5040 Invalid currency for merchant; less than the minimum with 6010 Amount too small.

MobilePay's limits

MarketLimitIn the lab
FinlandPayments to companies: €40,000 per 30 days per payer (Vipps MobilePay's help centre, FI)A running total per payer (phone number) at the sales unit over the last 30 days. A payment that would pass it is declined in the app, whatever card pays: the payer can only cancel (ABORTED) or let it expire. Force approve answers 10010 Payment limit reached. To see it at once, pay € 40 000,01 (4000001).
DenmarkNone of MobilePay's own on payments to businesses: they follow the card'sVisa/Dankort ••9012's bank allows 1.000 kr. per 24 hours: over that the app declines that card ("Du har nået kortets beløbsgrænse") and another card pays. Pay 1.500 kr. (150000) with it to see it.

Who takes MobilePay (for a showcase design)

CashierMarketMobilePay depositsWithdrawals
Danske SpilDKCard, MobilePay, Apple Pay and Google Pay; no bank transferTo NemKonto, at most one payout a day, within 32 h
bet365 DKDKEnter the mobile number, choose the card in the app, instant; 100–50 000 kr. (unverified)By bank transfer
VeikkausFISince April 2025, from € 15 (unverified; bank buttons from € 10)To a bank account

Real or modeled. The API is Vipps MobilePay's real ePayment API, as for Vipps, and so are the per-market currencies and minimums, the Norway-only 3-D Secure amounts and Finland's € 40 000. Modeled by the lab: the MSN convention, the payer's cards and the Danish card limit, running totals kept per sales unit (MobilePay counts across every business), and the Danish and Finnish wording of the screens.

iDEAL

iDEAL 2.0's Merchant/CPSP API (2.0.6) on the iDEAL Hub's own paths, with the acquirer's token endpoint, so an iDEAL 2.0 client can be pointed here instead of at merchant-cpsp-mtls.ext.idealapi.nl. The payer sees iDEAL | Wero's payment page. SIM_API_KEY stands in for every key and certificate iDEAL uses: the client assertion, the acquirer's access token, the request Signature and the Hub's own signatures are HS256 under it (iDEAL signs ES256 with certificates). Any nine-digit merchant id will do, each one its own creditor. EUR only.

Statuses as at iDEAL: OPEN, IDENTIFIED (the code was scanned or a bank chosen), then SUCCESS, CANCELLED, FAILURE or EXPIRED (after expirationPeriod, 1200 seconds by default). Errors are iDEAL's {code, message, traceId}. iDEAL has no refunds. The banks offered: ABN AMRO, ASN Bank, bunq, Finom, Handelsbanken, ING, Knab, N26, Nationale-Nederlanden, Rabobank, RegioBank, Revolut, SNS, Triodos Bank, Van Lanschot Kempen, Yoursafe; their screens are a plain banking app, no bank's design.

iDEAL's test amounts

AmountEffect
€ 2,00 (200)the bank cancels the payment (CANCELLED)
€ 3,00 (300)the payment expires at the bank (EXPIRED)
€ 4,00 (400)the bank never answers: IDENTIFIED until the expiry period ends, then EXPIRED
€ 5,00 (500)the bank refuses the payment (FAILURE)
€ 7,00 (700)the create is refused: 500 TECHNICAL_ERROR

Lab rules

AmountEffect
…24 cents, from € 10the transaction-callback arrives 20 seconds late
…29 cents, from € 10the first create is refused 429 TOO_MANY_REQUESTS; iDEAL's one retry goes through
…41 cents, from € 10no transaction-callback at all: only a GET tells the outcome
…53 cents, from € 10the create is refused: 503 SERVICE_UNAVAILABLE
…05 cents, from € 10the bank refuses the payment, insufficient balance (FAILURE)
…07 cents, from € 10the create is refused: 500 TECHNICAL_ERROR

BLIK (PayU)

BLIK, Poland's bank-app payment, on PayU's REST API v2.1, on PayU's own paths under /payu: a PayU client swaps https://secure.snd.payu.com (or https://secure.payu.com) for https://<this host>/payu and changes nothing else. PLN only. Each merchantPosId is a POS of its own (PayU's public sandbox POS is 300746).

Credentials are ignored. The OAuth endpoint gives a token to any client_id / client_secret, and no call is refused for its bearer token. What PayU signs, the lab signs PayU's way: notifications carry OpenPayu-Signature: sender=checkout;signature=<MD5(body + second key)>;algorithm=MD5;content=DOCUMENT with the published simulation key bistromathic-lab-simulated-flow as the second key.

Statuses as at PayU: NEW, PENDING (the code is in, the payer confirms in the app), WAITING_FOR_CONFIRMATION (a POS without auto-receive), COMPLETED, CANCELED. A code is valid two minutes and once; the payer has a minute to confirm (BLIK publishes no figure). A NEW order is CANCELED when its validityTime (86400 s by default) runs out. On the payment page a refused code leaves the order NEW for another try; "Anuluj płatność" cancels it and returns to continueUrl with error=501, as does any failure.

PayU's BLIK test codes

CodeEffect
777xxxauthorised (no token registered): COMPLETED three seconds later
200201authorised, and a One Click (UID) token is registered
500500refused by the bank (negative authorization): CANCELED
700701code expired: ERROR_AUTHORIZATION_CODE / AUTH_CODE_EXPIRED
700702code cancelled: ERROR_AUTHORIZATION_CODE / AUTH_CODE_CANCEL
700703code already used: ERROR_AUTHORIZATION_CODE / AUTH_CODE_USED

A code from the lab's banking app is a real one: valid two minutes, once (AUTH_CODE_EXPIRED, AUTH_CODE_USED), refused over the payer's bank limit (AUTH_CODE_LIMIT_EXCEEDED), and confirmed or rejected by the payer in the app. Six digits nobody issued: AUTH_CODE_INVALID.

Tpay's failure amounts, as lab rules (exact amounts)

AmountEffect
96,00 złlimit exceeded: the bank refuses after the payer confirms (AUT_ERROR_LIMIT_EXCEEDED)
120,00 złinsufficient funds: the bank refuses after the payer confirms (AUT_ERROR_INSUFFICIENT_FUNDS)
144,00 złrejected by the payer in the bank app (AUT_ERROR_USER_REJECTED)
168,00 złrejected by the issuer after the payer confirms (AUT_ERROR_NO_AUTHORIZATION)
216,00 złrefused for security reasons after the payer confirms (AUT_ERROR_SECURITY)
312,00 złtimeout: the push never arrives; CANCELED when the confirmation time runs out (AUT_ERROR_TIMEOUT)

Lab rules

AmountEffect
…24 grosze, from 10 złevery notification arrives 20 seconds late
…41 grosze, from 10 złno notifications at all: only a GET tells the outcome
…53 grosze, from 10 złthe create is refused: 503 SERVICE_NOT_AVAILABLE
…77 grosze, from 10 złthe POS does not receive automatically: WAITING_FOR_CONFIRMATION until the merchant captures (or cancels)
refund amount …66 groszeaccepted (PENDING), then CANCELED: statusError BANK_DECLINED
refund amount …02 groszerefused at create: 9102 NO_BALANCE (the shop's balance is short)

Limits

BLIK has no scheme limit; each bank sets its own. The payer's phone can belong to any of these banks (the lab drawer switches), each with its default daily limit for BLIK payments online, summed per Warsaw day:

BankDaily BLIK limit online
PKO Bank Polski3 000,00 zł
mBank3 000,00 zł
ING Bank Śląski2 000,00 zł
Bank Pekao1 000,00 zł
Bank Millennium1 000,00 zł
VeloBank1 000,00 zł

A single payment above 999 999,99 zł is refused (ERROR_VALUE_INVALID): PayU publishes no BLIK maximum, this is the largest a Polish BLIK PSP publishes. Merchants cap lower themselves: Totalbet takes 1–1 000 zł per BLIK deposit, which is the cashier's rule, not PayU's. BLIK is deposit-only: refunds go back to the account the payment came from, and BLIK reports no IBAN.

PayU's status codes

HTTPstatusCodeMeaning
200SUCCESSRequest processed
201SUCCESSOrder created with a BLIK code or token in payMethods
302SUCCESSOrder created: redirectUri in the body and the Location header
302WARNING_CONTINUE_REDIRECTTransparent pay-by-link: redirect the buyer (not BLIK)
400ERROR_SYNTAXThe body is not JSON
400ERROR_VALUE_INVALIDA value is wrong (a BLIK code that is not six digits, an amount BLIK does not take…)
400ERROR_VALUE_MISSINGA required value is missing
400ERROR_ORDER_NOT_UNIQUEextOrderId already used at this POS
400ERROR_INCONSISTENT_CURRENCIESThe order's currency is not the POS's (PLN)
400ERROR_AUTHORIZATION_CODEThe BLIK code was refused (expired, cancelled, used, unknown, over the payer's limit)
401UNAUTHORIZEDNo or a wrong access token
403ERROR_VALUE_INVALIDThe token's POS is not merchantPosId (INVALID_AUTH_FOR_THIS_ORDER)
404DATA_NOT_FOUNDNo such order or refund at this POS
500ERROR_INTERNALPayU unavailable
503SERVICE_NOT_AVAILABLEPayU unavailable

Real vs modeled. Real: the paths, OAuth, the order and refund shapes, statuses and status codes, the 302 with redirectUri, the refund error codes, the notification and its MD5 signature, BLIK's test codes. Modeled: PayU's tokens are opaque ids it keeps (the lab's carry the POS and grant in the open); the HTTP status of a refused BLIK code (400); AUTH_CODE_LIMIT_EXCEEDED read as "over the payer's bank limit"; the resultCode literals AUT_ERROR_USER_REJECTED, AUT_ERROR_TIMEOUT and AUT_ERROR_SECURITY (PayU's own are AUT_ERROR_NO_AUTHORIZATION, _LIMIT_EXCEEDED, _INSUFFICIENT_FUNDS); the refusal of a DELETE on a COMPLETED order; the order id's first ten characters, which carry the POS; the payment page and the banking app (redrawn, a generic bank). Notifications are tried twice, 5 s apart (PayU retries for 72 hours).

Redsys (Bizum)

Redsys' TPV Virtual, on the real hosts' own paths under /redsys: a client of https://sis-t.redsys.es:25443 (test) or https://sis.redsys.es (production) is pointed at <lab>/redsys instead. Bizum only (Ds_Merchant_PayMethods z), euros only, sold in one step (Ds_Merchant_TransactionType 0). Any merchant code (FUC) is a merchant of its own; Redsys' public test merchant is 999008881, terminal 1.

Credentials are ignored: no request is refused for its Ds_Signature. What Redsys signs — the online notification, the Ds_* parameters on the way back to URLOK/URLKO, the REST answers and the query answers — the lab signs Redsys' way (HMAC_SHA256_V1: a per-order key, 3DES-CBC of Ds_Order under the secret key, then HMAC-SHA256 of the Base64 parameters) with the simulation key YmlzdHJvbWF0aGljLWxhYi1zaW11bGF0: Base64 of the first 24 bytes of the lab's published simulation secret bistromathic-lab-simulated-flow. A connection's "Simulated flow" uses it as its secret key.

The online notification is a form POST of the signed triplet to DS_MERCHANT_MERCHANTURL on every final state (Redsys takes any HTTP 200), retried once after five seconds; refunds notify too when they name a MerchantURL. URLOK (authorised) or URLKO (anything else) gets the same signed triplet as query parameters. The query service reports Ds_State S (page open), P (with the payer's bank), F (final) or T with 9998 (sin finalizar: the payer's time ran out — four minutes once the push is sent, 10 minutes on the page or in Clave Bizum).

Payers

PhoneBankEffect
600000000Banco de pruebasPaylands' KO number: denied once the payer confirms (9966)
611111111BBVABBVA: €3,000 per operation, €3,000 a day, €5,000 a month (9966 beyond)
622222222CaixaBankCaixaBank: €500 per operation, €2,000 a day, €5,000 a month (9966 beyond)
633333333Caja RuralCaja Rural, still on Clave Bizum: the legacy flow (Clave, then the SMS code)
644444444UnicajaUnicaja, €50 in the account: more than that is denied (9677)
699999999Banco de pruebasNot registered in Bizum: Redsys asks for another number
700000000Banco de pruebasPaylands' OK number. Clave Bizum (forced from the drawer): paid. Request to Pay: Paylands' push bands — under €5 paid; €5–9.99 denied (9966); €10–15 no R2P, falls back to Clave Bizum, paid; over €15 the same fallback, denied (9966)
any other 6xx/7xxby the last digitA Bizum user at the bank its last digit picks (0 Santander, 1 BBVA, 2 CaixaBank, …): the payer confirms or rejects in the bank app

Clave Bizum: any four to eight characters (1234 in Redsys' sandbox). SMS code: 123456; 3 wrong codes deny with 0184. The bank app's "Rechazar" and Redsys' "Cancelar" end with 9915.

Bank limits (e-commerce, as published)

BankPer operationPer dayPer month
BBVA3.000,00 €3.000,00 €5.000,00 €
CaixaBank500,00 €2.000,00 €5.000,00 €

Beyond a limit the bank says no and Redsys reports 9966 (Bizum's KO); the bank app says which limit. Bizum's €1,000 per operation is its person-to-person limit, not e-commerce: shops are capped by the payer's bank. Other banks publish no e-commerce limit and the lab enforces none.

Lab rules

AmountEffect
…91 cents, from €10The online notification arrives 30 seconds after the payer is back
…92 cents, from €10No online notification at all: the merchant has to ask the query service
…93 cents, from €10The payer's bank does not answer: denied with 9912 (Emisor no disponible)

Refunds

Within 365 days, partial or full, up to 10 % over the payment in total (Bizum lets a refund exceed the original by the acquirer's percentage); beyond that SIS0057. A refund whose amount ends in 85 cents is refused by Bizum (9485). Bizum pays nothing out to a payer otherwise: it is deposit-only.

Ds_Response

CodeMeaning
9485BIZUM ha devuelto un KO en la devolución
9677Saldo disponible insuficiente
9912Emisor no disponible
9915A petición del usuario se ha cancelado el pago
9966BIZUM ha devuelto un KO en la autorización
9998Operación en proceso de solicitud de datos de tarjeta
0000Transacción autorizada para pagos y preautorizaciones
0900Transacción autorizada para devoluciones y confirmaciones
0184Error en la autenticación del titular
0190Denegación del emisor sin especificar motivo

Real or modeled

Brite (Instant Payouts)

Brite's merchant API, the payout half, on Brite's own paths under /brite: a Brite client works here by swapping https://sandbox.britepaymentgroup.com (or https://production.britepaymentgroup.com) for https://<this host>/brite. It is the bank rail BabelPay pays withdrawals out on when the deposit method cannot receive money (iDEAL, MobilePay, BLIK, Bizum…): a pay-by-bank credit to the player's IBAN. No credentials are checked: any public_key and secret get a token, and the token names the merchant (its public key), each with its own accounts and payouts. Brite deposits (the Brite Client) are not simulated.

A payout is PENDING (1) at once, then COMPLETED (4), CREDIT (5) and SETTLED (6) a second apart. Callbacks POST {merchant_id, transaction_id, transaction_state} with User-Agent: Brite Callback to each URL subscribed to a state the payout reaches (2, 3, 4, 5 or 6), unsigned, as Brite's are: the merchant reads the payout back with transaction.get. ABORTED (2) carries an error_code; FAILED (3) none. When a settled payout's money comes back, a Returned Funds transaction (type 13, related_transaction_id = the payout) appears and {merchant_id, transaction_id, original_transaction_id, notification_type: "RETURNED_TRANSACTION", country_id, amount} goes to the returned-funds URL.

Checked as Brite checks: amount a number of at least 1.0 with at most two decimals (Brite's own error text); the bank account must exist; currency_id (CHF, DKK, EUR, GBP, HUF, NOK, RON, SEK, Brite's list: no PLN) must be the account's currency; statement_reference is refused for Swedish and Finnish accounts and over 105 characters; callbacks only for states 2–6. Errors are Brite's: HTTP 400 {error_name, error_message, state: "APPLICATION_ERROR"} (TransactionInvalid, NotFound, InvalidRequest, NotAvailable, BadRequest). A bank account takes a valid IBAN (mod 97) in its country_id, one of: AT, BE, CH, DE, DK, EE, ES, FI, FR, GB, HR, HU, IE, IT, LT, LU, LV, NL, NO, PT, RO, SE, SI, SK.

Brite's sandbox amounts

AmountBrite's caseEffect
11.01PO-03Aborted payout: STATE_ABORTED (2) after a second, error_code bank_rejected_transaction
11.02PO-03Aborted payout: STATE_ABORTED (2) after a second, error_code risk_engine_rejection
12.01PO-04Failed payout: STATE_FAILED (3) after a second, no error_code (Brite: the reason is unknown)
13.01PO-05Delayed payout: STATE_COMPLETED (4) for five minutes, then CREDIT (5) and SETTLED (6)
14.01PO-07Returned funds: SETTLED (6), then a minute later the money comes back (RETURNED_TRANSACTION)

Lab rules

ValueEffect
15.01Refused at create: the merchant's Brite balance is too low (400 BadRequest)
16.01Stays STATE_PENDING (1) for two minutes, as Swedish payouts sometimes do, then COMPLETED, CREDIT and SETTLED
IBAN ending 9901The payee's bank refuses the payout: STATE_ABORTED (2), error_code bank_rejected_transaction
IBAN ending 9902The account is closed: the payout SETTLES, then the money comes back a minute later (RETURNED_TRANSACTION)
holder_dob under 18 yearsBrite's risk engine refuses the payee: STATE_ABORTED (2), error_code risk_engine_rejection
CountrySettlesRefused by the bank (…9901)Returned (…9902)
DEDE89370400440532013000DE02370400440532019901DE72370400440532019902
NLNL91ABNA0417164300NL87ABNA0417169901NL60ABNA0417169902
FIFI9821421000005678FI5221421000009901FI2521421000009902
SESE4550000000058398257466SE6650000000058398259901SE3950000000058398259902

Real or modeled. Brite's: the paths, the token exchange, the request and response fields, the transaction states and their order, callback bodies, returned-funds notifications, the merchant_reference idempotency, the statement_reference rules, the currency list, the error body and the amount error's text, and the sandbox amounts 11.01–14.01. Modeled by the lab: which error code 11.01 and 11.02 carry, the other error texts, a second between states, the list of payout countries, the IBAN and age rules, the 401, the low-balance and slow-pending amounts, the bank name (Brite's sandbox "Test Bank"), and the Back Office setting as an API call. Callbacks are tried twice (now and after five seconds); Brite retries after 10, 30 and 60 minutes.

Paysafe: paysafecard, Skrill, Neteller, Play+, VIP Preferred, SafetyPay, Rapid Transfer

The Paysafe Payments API (paymenthub v1) on the real host's paths, under /paysafe: a client of https://api.test.paysafe.com (or https://api.paysafe.com) reaches the lab at https://<lab>/paysafe and changes nothing else. One engine for every brand (paymentType PAYSAFECARD, SKRILL, NETELLER; the US gaming rails and SafetyPay Express below). Credentials are ignored: any HTTP Basic API key is taken; its username only names the merchant, each username a merchant of its own (no credentials: lab-merchant).

Webhooks, as Paysafe sends them: the envelope {payload, eventType, eventName, attemptNumber, resourceId, eventDate, links, mode}, signed in a Signature header = Base64(HMAC-SHA256(key, raw body)). The key is the published simulation key bistromathic-lab-simulated-flow (a real merchant's is its Business Portal HMAC key). Events: PAYMENT_HANDLE_PAYABLE / _FAILED / _EXPIRED / _COMPLETED, PAYMENT_COMPLETED / _FAILED, SETTLEMENT_COMPLETED, REFUND_COMPLETED / _FAILED, SA_CREDIT_PENDING / _COMPLETED / _FAILED; each to every subscribed URL.

Magic values

Limits, enforced with Paysafe's errors

Lab rules

Amount (minor units)Effect
…15, from 10.00a withdrawal is PENDING, then COMPLETED ten seconds later
…16, from 10.00a withdrawal is PENDING, then FAILED ten seconds later
…17, from 10.00a refund is PENDING, then FAILED
…24, from 10.00every webhook arrives 20 seconds late
…41, from 10.00no webhooks at all: only a GET tells the outcome
…53, from 10.00the handle create is refused: 500, 1000 internal error
…05, from 10.00the wallet's balance is short: Pay fails, the handle FAILED (3022 insufficient funds)
…06, from 10.00Paysafe's risk checks decline it: the handle FAILED (4002)
…07, from 10.00the handle create is refused: 502, 1001 External Gateway Error
…08, from 10.00the payer confirms too late: the handle EXPIRED
…09, from 10.00the payments call is declined: 402, 5021 (PAYMENT_FAILED)

Real vs modeled. Real (developer.paysafe.com): the paths, the payment-handle → payment flow, statuses, the 15-minute handle, the field names, the webhook envelope and signature, Paysafe's error codes and body {error:{code, message, details, fieldErrors}}, paysafecard's test PIN, caps and payout rules, Skrill's refund rule, Neteller's verification levels. Modeled: which paymenthub code carries a paysafecard gateway refusal (1001, with the gateway's code in details), PENDING refunds settling after 3 s, the unverified-wallet cap, the personas, the PINs, the lab rules, the /monitor check, and the Business Portal stand-in. Rapid Transfer and Skrill 1-Tap are not simulated.

Play+ and VIP Preferred (US gaming rails)

The same API, paymentType SIGHTLINE (Play+) and VIPPREFERRED (VIP Preferred eCheck, Pavilion Payments), USD only. A deposit is a PAYMENT handle with action: REDIRECT to the method's hosted page, PAYABLE once the payer confirms, then /payments. A withdrawal is a STANDALONE_CREDIT handle, PAYABLE at once, then /standalonecredits.

VIP Preferred SSNPlayerRegistered accounts (bank token)What it shows
111223333Morgan Lee, born 1984-06-15, NJJPMorgan Chase Bank, N.A. ••21 (BA9e4dnkCP3S3ZKQ)
Wells Fargo Bank, N.A. ••07 (BARQyFfooxlO5zGC)
registered, two bank accounts
111224444Riley Grant, born 1990-12-03, PAPNC Bank, N.A. ••55 (BA0WdHWAXlK4wxPk)registered; the bank's balance check fails (3022, R01 insufficient funds)
111225555Avery Quinn, born 1976-03-28, MICitibank, N.A. ••90 (BAPouvZaClXcbP2S)in Paysafe's negative database: payments and payouts refused (4001)

Limits (modeled; Paysafe's pages give none): Play+ $10,000 per deposit, VIP Preferred $5,000 per eCheck, refused with 3027. Gambling cashiers offer both in the states with regulated online casino gaming (NJ, PA, MI, WV, DE, CT, RI) and for sports betting in more; the lab leaves the state to the operator's geolocation.

Rapid Transfer (Skrill's bank transfer)

paymentType RAPID_TRANSFER with rapidTransfer: {consumerId, countryCode?}: the payer's email (required) and country, in EUR, GBP, DKK, PLN, SEK, NOK, HUF. On the page the payer picks a bank (Demo Bank, Lab Savings Bank, Bistromathic Bank), signs in to its online banking with any username and password and approves the transfer; the handle is PAYABLE, the payment COMPLETED with Skrill Quick Checkout's gateway response, and refunds go as a wallet's. The amount rules below apply. Real (Paysafe's Rapid Transfer pages and OpenAPI file): the payment type, the brand object, the sequence and the fields. Modeled: the pages and banks, and no withdrawals (Paysafe's go to the bank of the payment rapidTransfer.paymentId names).

SafetyPay Express (LatAm bank transfer and cash)

paymentType ONLINE_BANK_TRANSFER with paymentDetails: {countryCode, bankNameCodes?}, or SAFETYPAY_CASH with safetypayCash: {countryCode, bankNameCodes?}; profile.email required; paymentExpiryMinutes (default 15). Amounts are in Paysafe's two-decimal minor units, CLP and COP included (CLP 123 is 12300). The handle is PAYABLE once the payer has picked a bank or cash point and has a payment code (the handle's gatewayResponse.operationId); /payments then answers PROCESSING until the code is paid (PAYMENT_COMPLETED webhook), COMPLETED when it already is, and the payment FAILS when the code expires unpaid (1001 with PAYMENT_EXPIRED in details, modeled). A PAYABLE handle nobody uses is paid by Paysafe itself when it expires: PAYMENT_HANDLE_EXPIRED with statusReason: AUTO_SETTLE_EXPIRED_PAYMENT_HANDLE, then the payment. Payments only: no refunds (3419), no standalone credits (5040).

Real vs modeled. Real (Paysafe's Play+, VIP Preferred and SafetyPay Express pages and its OpenAPI file): the payment types, the brand objects, the redirect → PAYABLE → payment and standalone-credit sequences, VIP Preferred's bank accounts, bank tokens and Verification API, SafetyPay's countries, currencies, bank codes and limits, its PROCESSING payments, auto-settle and error pairs. Modeled: every payer page (Paysafe hosts them and documents none), the Play+ and VIP Preferred caps, the personas, the SMS codes, the expired-code error and the cash desk.

Paysafe's errors the lab answers

1000 500 An internal error occurred.
1001 502 External Gateway Error
1007 500 An internal error occurred.
3022 402 The card has been declined due to insufficient funds.
3027 402 The external processing gateway has reported a limit has been exceeded.
3029 402 The external processing gateway has rejected the transaction.
3402 402 The requested Refund amount exceeds the remaining Settlement amount.
3404 402 The Settlement has already been fully refunded.
3406 402 The Settlement you are attempting to Refund has not been batched yet. There are no settled funds available to refund.
3416 402 The external processing gateway for which your merchant account is configured does not support partial Settlements.
3418 402 The external processing gateway for which your merchant account is configured does not support partial Credits.
3419 402 This type of transaction cannot be refunded.
4001 402 The card number or email address associated with this transaction is in our negative database.
4002 402 The transaction was declined by our Risk Management department.
5001 400 The submitted currency code is invalid or your account does not support this currency.
5003 400 You submitted an invalid amount with your request.
5010 400 The submitted country code is invalid.
5021 402 Your transaction request has been declined.
5023 400 The request is not parsable.
5031 409 The transaction you have submitted has already been processed.
5040 401 Your merchant account is not configured for the transaction you attempted.
5042 400 The merchant reference number is missing or invalid or it exceeds the maximum permissible length.
5068 400 Field error(s)
5269 404 The ID(s) specified in the URL do not correspond to the values in the system.
5272 406 The Content-Type of the request is not supported.
5273 404 The URL is invalid.
5279 401 The authentication credentials are invalid.
5280 401 The required authentication credentials were not provided.
5281 405 The HTTP method is not supported by the requested resource.

Trustly

Trustly's JSON-RPC 1.1 API on test.trustly.com's own path, under /trustly: a Trustly client swaps https://test.trustly.com for this host's /trustly. Credentials are ignored: any Username, Password and request Signature will do. The Username names the merchant: each one has its own orders, ledger and balance (1 000 000.00 in each currency to start). Answers and notifications are signed the Trustly way (SHA1withRSA over method + UUID + Trustly's serialisation of data, Base64) with the lab's published test key in place of Trustly's: its public key is in bistromathic-lab/src/trustly/trustly-simulation-keys.ts, and a connector trusts it only in its simulated flow. SEK, EUR, DKK, NOK, PLN, GBP and CZK.

Notifications go to NotificationURL as Trustly sends them: account (when the payer picks an account: accountid, verified, clearinghouse, bank, descriptor, lastdigits, name; with KYC also personid, address, zipcode, city), kyc (Pay N Play, sent while the payer waits: an answer with "status": "FINISH" aborts), pending (signed), credit (2 s later), cancel, debit (a deposit taken back), payoutconfirmation (3 s after an AccountPayout; a credit if the money comes back). Trustly's HoldNotifications: "1" holds them for the lab drawer's notification tool. An order nobody finishes is cancelled after 30 minutes. Refunds answer at once (a pending deposit's refund is queued until the credit) and send nothing. Each notification is tried twice; Trustly wants its signed {"status": "OK"} back, and the lab logs any other 2xx.

Test cases ("Set order options", in the lab drawer)

Trustly's test checkout names these cases; what each does here is the lab's reading of it.

CaseNameEffect
D1Credit, then debitcredit as usual, then 30 s later a debit notification: the bank took the deposit back
D2Deprecateddeprecated by Trustly; the lab treats it as a normal deposit
D3Pending, then cancelpending once the payer signs, then the bank rejects the transfer: cancel after 10 s, no credit
D4Delayed creditpending once the payer signs; the credit arrives 60 s later (a bank without instant payments)
D5Declined by TrustlyTrustly's risk check declines the order when the payer confirms: cancel, the payer goes to FailURL
W1Payout returnedthe withdrawal is confirmed, then returned by the receiving bank 20 s later: a credit notification gives the money back
G1Late notificationsevery notification arrives 20 s late
G2Duplicate notificationsevery notification is sent twice, with the same notificationid
G3Hold notificationsnothing is sent until the lab drawer's notification tool releases the held notifications

Lab rules (when no test case is set)

Deposit amountEffect
…13, from 10.00Trustly's risk engine suggests a lower amount (half) at confirm; the payer accepts it or cancels
…24, from 10.00every notification arrives 20 s late
…41, from 10.00pending once the payer signs, then the bank never confirms: cancel after 2 minutes
…53, from 10.00Deposit refused: HTTP 503, no JSON-RPC answer (Trustly unavailable)
…05, from 10.00the payer's bank refuses at signing, insufficient funds: cancel
…07, from 10.00Deposit refused: 620 ERROR_UNKNOWN
AccountPayout / Refund amountEffect
…13, from 10.00payoutconfirmation, then 20 s later the receiving bank returns it: a credit notification
…17, from 10.00the payout fails before it is confirmed (FAILED): a credit notification gives the money back
…41, from 10.00EXECUTED for 2 minutes before the payoutconfirmation
…05, from 10.00AccountPayout (and Refund) answered result "0": not accepted

Markets, banks and limits

Trustly has no fixed limit: the payer's bank decides. One payment over the bank's limit (below, in the market's currency) is refused at signing (cancel). * from a third-party table (unverified); the rest are the lab's. A deposit an account cannot cover greys that account out. The payers are invented, one per market (Sweden also has a 16-year-old, for Pay N Play's age check).

CountryCurrencyLoginBanks (limit per payment)
SESEKMobile BankIDSwedbank 500,000*, SEB 150,000, Handelsbanken 50,000*, Nordea 100,000, Danske Bank 100,000, Länsförsäkringar 150,000, ICA Banken 60,000
FIEURthe bank's appOP 15,000, Nordea 10,000, Danske Bank 10,000, S-Pankki 5,000, Aktia 5,000
EEEURSmart-IDSwedbank 15,000, SEB 15,000, LHV 10,000, Luminor 10,000, Citadele 5,000
LVEURSmart-IDSwedbank 15,000, SEB 15,000, LHV 10,000, Luminor 10,000, Citadele 5,000
LTEURSmart-IDSwedbank 15,000, SEB 15,000, LHV 10,000, Luminor 10,000, Citadele 5,000
DEEURlogin + pushTANSparkasse 5,000, Deutsche Bank 10,000, Commerzbank 10,000, ING 10,000
NLEURthe bank's appING 10,000, ABN AMRO 50,000, Rabobank 10,000
DKDKKthe bank's appDanske Bank 50,000, Nordea 50,000, Jyske Bank 50,000
PLPLNthe bank's appPKO BP 20,000, mBank 50,000, Pekao 20,000
NONOKthe bank's appDNB 100,000, SpareBank 1 100,000, Nordea 100,000
GBGBPthe bank's appBarclays 25,000, HSBC 25,000, Lloyds 25,000, NatWest 50,000, Monzo 25,000
CZCZKthe bank's appČeská spořitelna 200,000, ČSOB 200,000, Komerční banka 200,000, Air Bank 200,000

Errors

CodeNameWhenSource
616ERROR_INVALID_CREDENTIALSUsername unknown or Password wrongTrustly's
620ERROR_UNKNOWNSomething went wrong at TrustlyTrustly's
623ERROR_INVALID_PARAMETERSA parameter is missing or malformedTrustly's
636ERROR_UNABLE_TO_VERIFY_RSA_SIGNATUREThe request's Signature does not verifymodeled
637ERROR_INVALID_FUNCTIONThe method is not one the lab servesmodeled
638ERROR_MALFORMED_NOTIFICATIONURLNotificationURL is not https, or carries a '?'modeled
639ERROR_DUPLICATE_MESSAGE_IDAn AccountPayout with this MessageID exists already: a payout is never made twicemodeled
640ERROR_INVALID_AMOUNTAmount is not digits with two decimals, or not above zeromodeled
641ERROR_CURRENCY_NOT_SUPPORTEDNot one of SEK, EUR, DKK, NOK, PLN, GBP, CZKmodeled
642ERROR_INVALID_ORDER_IDNo such order for this merchantmodeled
643ERROR_ACCOUNT_NOT_FOUNDAccountID never came from this merchant's account notificationsmodeled
644ERROR_NOT_ALLOWEDThe order is not in a state that allows thismodeled
645ERROR_INSUFFICIENT_FUNDSThe merchant's Trustly balance cannot cover the payoutmodeled
646ERROR_REFUND_AMOUNT_TOO_HIGHThe refund exceeds what is left of the depositmodeled

Nuvei

Nuvei's (ex-SafeCharge) REST API 1.0, on the real hosts' own paths under /nuvei: a client of https://ppp-test.nuvei.com/ppp/api/v1 (integration) or https://secure.safecharge.com/ppp/api/v1 (production) is pointed at <lab>/nuvei/ppp/api/v1 instead. Cards server to server with 3-D Secure 2, iDEAL (apmgw_iDeal) and Pay4Fun (apmgw_Pay4Fun) as redirect APMs, refunds, voids, settles, card payouts and Pay4Fun payouts. Every merchantId is a merchant of its own.

Credentials are ignored: every request must carry merchantId, merchantSiteId, a 14-digit timeStamp and a checksum (SHA-256 of the documented fields and the merchant secret key), but no request is refused for the checksum's value. The DMN's advanceResponseChecksum — SHA-256 of the secret key, totalAmount, currency, responseTimeStamp, PPP_TransactionID, Status and productId — is signed with the published simulation secret bistromathic-lab-simulated-flow, which a connection's "Simulated flow" takes as its merchant secret key.

DMNs are POSTed form-encoded to urlDetails.notificationUrl (Nuvei takes HTTP 200, retried once after five seconds here): every final card payment, refund, void, settle and payout; an APM payment's PENDING at once and its end later. Duplicate clientRequestIds are refused (1089).

Test cards (Nuvei's own)

Any CVV and future expiry. For a 3DS card the cardholder name picks the flow: FL-BRW1 (FL-…) frictionless, CL-BRW1 (CL-…) a challenge, ERR-BRW1 (ERR-…) the Directory Server's error (filter 1277); any other name is frictionless. Any card number not listed is a 3DS card that approves.

CardBrand3DSIssuer's answer
4761344136141390VISA debit (SG)not enrolled in 3DSApproved
4244951901005043VISA debit (GB)not enrolled in 3DSApproved
4159129252458086VISA credit (SV)not enrolled in 3DSApproved
4001888687412469VISA credit (DE)not enrolled in 3DSApproved
4444493318246892VISA credit (MX)not enrolled in 3DSApproved
4000287447386587VISA debit (US)not enrolled in 3DSApproved
4263704637473241VISA debit (CA)not enrolled in 3DSApproved
4815163523263534VISA debit (MX)not enrolled in 3DSApproved
5221744250525131MASTERCARD credit (MX)not enrolled in 3DSApproved
5550343875851690MASTERCARD credit (ZA)not enrolled in 3DSApproved
5333395610225642MASTERCARD credit (HN)not enrolled in 3DSApproved
5203821142568313MASTERCARD credit (CN)not enrolled in 3DSApproved
5256787172322309MASTERCARD debit (MX)not enrolled in 3DSApproved
5413037340736315MASTERCARD credit (DK)not enrolled in 3DSApproved
375510513169537AMEX credit (IL)not enrolled in 3DSApproved
374245171846495AMEX credit (GB)not enrolled in 3DSApproved
6011405433455453DISCOVER credit (EC)not enrolled in 3DSApproved
3612569856088370DINERS credit (DE)not enrolled in 3DSApproved
6233052703225398UNIONPAY credit (JP)not enrolled in 3DSApproved
4107652651950141VISA debit (CZ)not enrolled in 3DSDecline
4083595312691240VISA debit (CZ)not enrolled in 3DSSoft Decline - Authentication is Advised
4916562347530945VISA credit (BR)not enrolled in 3DSExternal Error in Processing
5333438937354537MASTERCARD debit (US)not enrolled in 3DSAcquirer Validation
4485076191294772VISA credit (US)not enrolled in 3DSLost/Stolen
4344141510671174VISA debit (IN)not enrolled in 3DSDo Not Honor
5525873084077200MASTERCARD credit (CN)not enrolled in 3DSDo Not Honor
4000173946194872VISA debit (IN)not enrolled in 3DSInsufficient Funds
5221422486574534MASTERCARD credit (ZA)not enrolled in 3DSInsufficient Funds
4000187443195604VISA debit (IN)not enrolled in 3DSExceeds Withdrawal Limit
4000195795445766VISA debit (IN)not enrolled in 3DSExceeds Withdrawal Frequency
5168723718989159MASTERCARD debit (CZ)not enrolled in 3DSInvalid Transaction
4107647509690329VISA debit (CZ)not enrolled in 3DSFormat Error
5588341543306531MASTERCARD credit (VE)not enrolled in 3DSIssuer or Switch Inoperative
4000237713987816VISA debit (US)not enrolled in 3DSTimeout/Retry
4000248973221309VISA credit (US)not enrolled in 3DSExpired Card
4603171563067000VISA debit (CZ)not enrolled in 3DSTransaction Not Permitted To Cardholder
4917013255931104VISA debit (CZ)not enrolled in 3DSTransaction Not Permitted on Terminal
4645798619106711VISA debit (AU)not enrolled in 3DSRestricted Card
5333582039422930MASTERCARD debit (US)not enrolled in 3DSInvalid CVV
4521107938796906VISA credit (TT)not enrolled in 3DSInvalid CVV2
4105876029788196VISA debit (ZA)not enrolled in 3DSClosed Account
6011206953470801DISCOVER credit (US)not enrolled in 3DSDo not honor
4000023164892261VISA credit (GB)3DS (the cardholder name picks the flow)Approved
4005241818985068VISA credit (IN)3DS (the cardholder name picks the flow)Approved
4037073766091520VISA credit (MX)3DS (the cardholder name picks the flow)Approved
4021937195658109VISA credit (GB)3DS (the cardholder name picks the flow)Soft Decline - Authentication is Advised
4742101426751112VISA debit (PL)3DS (the cardholder name picks the flow)Approved
4008370896662369VISA debit (GB)3DS (the cardholder name picks the flow)Decline
4000164166749263VISA debit (IN)3DS (the cardholder name picks the flow)Do not honor
4871040116543210VISA debit (BE)3DS (the cardholder name picks the flow)Stolen card
5408458947067358MASTERCARD credit (MX)3DS (the cardholder name picks the flow)Approved
5333418445863914MASTERCARD credit (MX)3DS (the cardholder name picks the flow)Decline
5359438180895896MASTERCARD credit (MX)3DS (the cardholder name picks the flow)Declined by the bank
5353029602254618MASTERCARD debit (DE)3DS (the cardholder name picks the flow)Approved
5127880173456783MASTERCARD debit (BE)3DS (the cardholder name picks the flow)Approved
5109486948867999MASTERCARD debit (US)3DS (the cardholder name picks the flow)Soft Decline - Authentication is Advised
5333463046218753MASTERCARD debit (US)3DS (the cardholder name picks the flow)Do not honor
4000027891380961VISA credit (GB)3DS (the cardholder name picks the flow)Approved
4000020951595032VISA credit (GB)3DS (the cardholder name picks the flow)Approved
2221008123677736MASTERCARD credit (US)3DS (the cardholder name picks the flow)Approved
5333302221254276MASTERCARD credit (US)3DS (the cardholder name picks the flow)Approved
5545060700001113MASTERCARD credit (US)3DS, frictionless at 83.10Approved
4567491000001113VISA credit (US)3DS, frictionless at 83.10Approved
5545060700002228MASTERCARD credit (US)3DS, challenge at 115.20Approved
4567491000002228VISA credit (US)3DS, challenge at 115.20Approved

Lab rules

Amount (last two digits in minor units)Effect
…55, from 10.00A payout stays PENDING for 10 s, then approves (a DMN tells)
…77, from 10.00A refund of this amount is declined by the acquirer (gwErrorReason Decline)
…91, from 10.00The DMN arrives 30 s late: the response, the payer's return or a status read tell the outcome first
…92, from 10.00No DMN at all: only the response and a status read tell the outcome

Gateway filter errors (gwErrorCode -1100)

gwExtendedErrorCodeMeaning
1001Invalid Expiration Date
1002Expiration Date Too Old
1106Credit Amount Exceed Total Charges
1112Sale/Settle was already credited
1126Credit amount exceeds ceiling
11553D Related transaction is missing or incorrect
1167Transaction already settled
1168Transaction already voided
1176Cannot void an auth transaction
1177Cannot void a credit transaction
1185Related transaction must be Auth3D, APPROVED, same 3DS version and same merchant
1186Related transaction must be 3D authenticated
1206Settle amount exceeds total charges
1210NameOnCard is missing
1272Card number must be equal for all transaction in a specific 3DS flow
1273Card number, Currency and Amount must be equal in a specific 3DS flow
1274Requested Auth3D 2.0 but card number is not supported with 3DS 2.0
1277DS responded with an error, please verify request and try again
1278Authentication is expired, new InitAuth3d is required
12793D related transaction was already used for Sale/Auth
1281Authentication has not completed

Real or modeled

MiFinity

MiFinity's eWallet API on its own paths, under /mifinity: a MiFinity client swaps https://demo.mifinity.com for this host's /mifinity. The API is real, built from MiFinity's public docs (mifinity.readme.io and its llms.txt). Credentials are ignored: any key header is taken and names the merchant (its sessions, payouts, MiFinity users and balances); x-api-version and X-MiFinity-Signature are not checked. The cashier is redrawn from the screenshots in MiFinity's docs; the MiFinity app on the phone beside it is the lab's (the docs show none). Errors whose codes MiFinity does not publish (validation, limits, an unknown payee, insufficient funds) are the lab's.

Deposit limits (MiFinity's): EUR 10–2,500, GBP 10–2,500, USD 10–2,500, AUD 10–4,000, CAD 10–3,750, CZK 250–65,000, NZD 10–4,000, PLN 50–10,500, SEK 100–25,000, CHF 10–2,500, DKK 75–18,500, ZAR 175–42,500, JPY 1500–325,000, NOK 100–23,750, RUB 850–200,000, CNY 10–2,500, INR 875–200,000; other currencies convert to EUR. PayAnyBank's limits are MiFinity's too (EUR 10–10,000). The merchant's account opens with 100,000.00 in each eWallet currency; payouts carry the lab's 1 % fee. The demo's card verification code is 1234.

MiFinity users (the lab's; any password, wrong fails)

EmailAccountsEffect
player@mifinity.test5001000001213949, 5001000001213950, 5001000001213951an existing, verified user: EUR 5,000, USD 2,500 and GBP 2,000 in the eWallet, a verified Visa •••• 1111
lowbalance@mifinity.test5001000001214001an existing user with EUR 5.00: the balance cannot pay, a card can
unverified@mifinity.test5001000001214002an existing user whose card •••• 4242 is not verified: nothing can be paid until it is (code 1234)
risk@mifinity.test5001000001214003an existing user whose deposits MiFinity's risk engine refuses (REFUSED_BY_RISK)
any other emaila new accountcreates the account (accept the Terms), pays by card, then sets a password

Lab rules (amount, from 10.00, last two digits)

AmountEffect
deposit …13MiFinity fails the deposit (FAILED, TRANSACTION_FAILED) once the payer pays
deposit …14MiFinity's risk engine refuses the deposit (FAILED, REFUSED_BY_RISK)
deposit …15the processor takes 30 seconds: PENDING, then SUCCESSFUL (the callback comes after the payer is back)
deposit …16PENDING for 10 seconds, then FAILED
payout …13acct2acct: declined (400 TRANSACTION_FAILED); PayAnyBank: Rejected (6) after it is submitted

TrueLayer

TrueLayer's Payments API v3 on its own paths, under /truelayer: a TrueLayer client swaps each TrueLayer host (auth.truelayer-sandbox.com, api.truelayer-sandbox.com, payment.truelayer-sandbox.com, webhooks.truelayer-sandbox.com) for this host's /truelayer. Credentials are ignored: any client_id and client_secret get a token at POST /truelayer/connect/token, and the token names the client (its payments, its GBP and EUR merchant accounts with 1 000 000.00 each, its webhook URI). Tl-Signature on requests is not checked; Idempotency-Key is required and honoured (the same key with another body is 422 Idempotency-Key Reuse). The API is real: built from TrueLayer's public OpenAPI (payments-api-v3.json), signing spec and docs. The real banks' provider ids and limits, the lab's amount rules and the timings are the lab's.

Webhooks go to the webhook URI with X-Tl-Webhook-Timestamp and Tl-Signature (ES512, tl_headers: X-Tl-Webhook-Timestamp, over POST and the URI's path) by the lab's published key, whose JWKS is at /truelayer/.well-known/jwks (the jku): payment_executed, payment_settled (with payment_source.id and user_id, for closed-loop payouts), payment_failed, refund_executed, refund_failed, payout_executed, payout_failed. A payment executes 1.5 s after the bank approves and settles 2 s later; a payout or refund executes 2 s after it is authorised (a refund once its payment has settled). The resource token lasts 15 minutes.

TrueLayer's mock bank (mock-payments-*-redirect)

UsernameEffect
test_executedExecution: the payment executes (and settles)
test_authorisation_failedAuth failure: failed, authorization_failed
test_execution_rejectedExecution rejection: failed after authorisation, provider_rejected

Lab rules (at a real bank)

Deposit amountEffect
…13, from 10.00executed, then settled two minutes later
…24, from 10.00authorised, executed a minute later
…05, from 10.00the bank refuses: failed, insufficient_funds (stage authorizing)
…06, from 10.00over the payer's limit at the bank: failed, payment_limit_exceeded
…07, from 10.00authorised, then rejected at execution: failed, provider_rejected (stage authorized)
Payout amountEffect
…13, from 10.00executed, then returned by the beneficiary's bank 20 s later: failed, returned
…17, from 10.00failed, scheme_error
…41, from 10.00pending for two minutes, then executed
…05, from 10.00failed, blocked (sanctions screening)
Refund amountEffect
…05, from 10.00failed, insufficient_funds

A payout to an IBAN ending 9901 fails invalid_iban; to an account number ending 9902, invalid_scan. Payments over 5 000 000 in minor units to a merchant account are refused (TrueLayer's sandbox limit); GBP payouts over 100 000 000 (Faster Payments' £1M).

Markets, banks and the payer's limit per payment

CountryCurrencyBanks
GBGBPBarclays 25,000, HSBC UK 25,000, Lloyds 25,000, NatWest 50,000, Santander 25,000, Nationwide 10,000, Halifax 25,000, Monzo 25,000, Starling Bank 50,000, Revolut 250,000, mock-payments-gb-redirect, mock-payments-gb-redirect-unhealthy
IEEURAIB 15,000, Bank of Ireland 15,000, PTSB 10,000, Revolut 100,000, mock-payments-ie-redirect
DEEURSparkasse 5,000, Deutsche Bank 10,000, Commerzbank 10,000, ING 10,000, N26 50,000, mock-payments-de-redirect
FREURBNP Paribas 15,000, Crédit Agricole 15,000, Société Générale 15,000, LCL 10,000, BoursoBank 30,000, mock-payments-fr-redirect
ESEURBanco Santander 15,000, BBVA 15,000, CaixaBank 15,000, Banco Sabadell 10,000, mock-payments-es-redirect
ITEURIntesa Sanpaolo 15,000, UniCredit 15,000, Fineco 30,000, mock-payments-it-redirect
NLEURING 10,000, ABN AMRO 50,000, Rabobank 10,000, mock-payments-nl-redirect
LTEURSwedbank 15,000, SEB 15,000, Luminor 10,000, mock-payments-lt-redirect
PTEURMillennium bcp 10,000, Caixa Geral de Depósitos 10,000, mock-payments-pt-redirect
FIEUROP 15,000, Nordea 10,000, mock-payments-fi-redirect
ATEURErste Bank 10,000, Raiffeisen 10,000
BEEURKBC 10,000, BNP Paribas Fortis 10,000, Belfius 10,000

Jeton

Jeton's Merchant API v2 on its own paths, under /jeton: a Jeton client swaps https://merchant-api-sandbox.jeton.com for this host's /jeton. The API is real, built from Jeton's public OpenAPI 3.1 (openapi.yaml) and its sandbox guide. Credentials are ignored: any Jeton-Api-Key is taken and names the merchant (its payments, payouts, accounts in 15 currencies and USDT, events and webhook address); Jeton-Timestamp, Jeton-Nonce and Jeton-Signature are not checked. Idempotency-Key is required on the money-moving POSTs and honoured (the same request replays with Idempotent-Replayed: true; another request under the key is idempotency_key_reused). Money is a decimal string; errors are application/problem+json with Jeton's codes. FX and transfers are not simulated.

Webhooks carry the outcomes (payment.completed, .expired, .cancelled, .refunded, payout.completed, .failed), each an Event envelope, signed as Standard Webhooks (webhook-id, webhook-timestamp, webhook-signature: v1,…) with the published secret whsec_YmlzdHJvbWF0aGljLWxhYi1qZXRvbi13ZWJob29rLXNpbXVsYXRpb24=. A paid payment completes 1.5 s after the payer pays; a bank payout reaches its rail after 1 s and ends 2 s later; a crypto payout in 5 s.

The sandbox's magic payout destinations

DestinationValueOutcome
bank_account IBANDE09000000000000000001completed
bank_account IBANDE79000000000000000002failed
crypto_wallet, an EVM network0x0000000000000000000000000000000000000001completed
crypto_wallet, an EVM network0x0000000000000000000000000000000000000002failed
crypto_wallet, TRONT9yD14Nj9j7xAB4dbGeiX9h8unkKLxmGkncompleted
crypto_wallet, TRONT9yD14Nj9j7xAB4dbGeiX9h8unkKT76qbHfailed
jeton_account customer number (lab)ending 01 / 02completed / failed

Jeton accounts at the checkout (the lab's)

LoginCustomer numberEffect
alex.morgan@example.com4815162342the sandbox's test customer (4815162342): 5,000.00 in any currency
low.balance@example.com734001290520.00: paying more fails the attempt (insufficient balance) and the payment stays pending
suspended@example.com7340012913the login is refused: the account is suspended
payout.fails@example.com7340012902customer number ends 02: pays as usual, and a payout back to it fails

Lab rules

Deposit amountEffect
…13, from 10.00Paid, then processing for a minute before it completes

Limits (the lab's): a payment from about 1 to 50,000 euros' worth, a payout up to 25,000 (amount_below_minimum, limit_exceeded); a payout beyond the account's balance is insufficient_funds. Each fiat account opens with 100,000.00. The fees and these limits are the lab's; Jeton publishes neither.

AstroPay

AstroPay's Checkout (Partners API) and its OneTouch merchant API (wallet cashouts, Direct Withdrawal) on their own paths, under /astropay: an AstroPay client swaps https://partners-api-sandbox.astropay.com and https://onetouch-api-sandbox.astropay.com for this host's /astropay. The API is real where AstroPay's public guides document it (developers.astropay.com) and modeled where they do not: AstroPay's regulated-gambling and wallet-checkout sections are private (77 of 185 pages), so the payer's AstroPay user id on a deposit (deposit_user_id, from the public closed-loop guide), the checkout's 20-minute expiry, the payer's screens and the cashout API's error codes (AstroPay documents only their descriptions) are the lab's. Credentials are ignored: the Basic client id (or the lab's Bearer token) names the partner, Merchant-Gateway-Api-Key or Merchants-Backend-Api-Key the merchant; no Signature is checked.

AstroPay users at the checkout

PhoneUser idEffect
+5511911223344Vx0H4pdAtPCz5,000.00 USD. Pays; cashouts back are APPROVED at once
+5491123456789Lm7Qa2Zx9KpR5,000.00 USD (Argentina). Pays
+525512345678Sh4Mx8Tq2LwN5,000.00 USD (Mexico). Pays
+5511900000005Bl0Wb5Lc3VnE20.00 USD: paying more is refused for the balance; the payment stays PENDING
+5511900000009Cd9Bk1Ld7XqSThe account is blocked: the login is refused
any othermade up from the phoneA fresh account holding 5,000.00 USD

Direct Withdrawal countries

CountryCurrencyMethods
ARARSTR Bank transfer (CBU / CVU)
BRBRLPIX PIX
CLCLPTR Bank transfer
COCOPTR Bank transfer, BREB Bre-B
ECUSDTY Bank transfer
ININRTR Bank transfer
MXMXNTR SPEI (CLABE)
PEPENTR Bank transfer, YP Yape

Lab rules (from 10.00, the amount's last two digits)

AmountEffect
deposit …13Paid, then PENDING for a minute before COMPLETED
deposit …33COMPLETED, but no callback is sent: only the status endpoint tells
deposit …05REJECTED once the payer confirms (AstroPay's risk check refuses it)
withdrawal …13PENDING for two minutes, then APPROVED
withdrawal …02CANCELLED, INVALID_BANK_ACCOUNT (Brazil: INVALID_PIX_KEY)
withdrawal …03CANCELLED, ACCOUNT_BLOCKED (Argentina: INVALID_ALIAS; elsewhere GENERIC_ERROR)
withdrawal …04CANCELLED, CPF_MISMATCH (Brazil; elsewhere TRX_COULD_NOT_BE_PROCESSED)
refund …07412 PAYMENT_PROCESSING_ERROR

Brazil's betting ban (MP 1.394/2026) stops regulated gambling payments there; the lab still takes BRL and pays out by PIX.

CryptoProcessing (CoinsPaid)

CryptoProcessing by CoinsPaid's merchant API on its own paths, under /coinspaid: a client swaps https://app.sandbox.cryptoprocessing.com for this host's /coinspaid. The API is real, built from the public docs (docs.cryptoprocessing.com: an OpenAPI 3.1 block on every endpoint page, and the Postman collection). Credentials are ignored: any X-Processing-Key is taken and names the merchant; X-Processing-Signature must be there but is not checked. Validation messages, status codes and callbacks are CryptoProcessing's. Callbacks carry X-Processing-Key and X-Processing-Signature, the hex HMAC-SHA512 of the body under the published secret bistromathic-lab-coinspaid-simulation-secret.

A deposit is seen 2 s after the wallet sends it (not_confirmed) and confirmed after 1.5 s per confirmation the currency needs, at most 9 s. One below the minimum deposit is cancelled; the wallet can also double-spend (cancelled) or never confirm. A withdrawal confirms after 3 s; to 0x000000000000000000000000000000000000dEaD it is cancelled as forbidden.

Currencies (the lab's rates in EUR)

API codeAssetConfirmationsMin depositMin withdrawalEUR
BTCBTC on Bitcoin10.00010.000285000
ETHETH on Ethereum20.0020.0023000
ETHAETH on Arbitrum120.0020.0023000
ETHBASEETH on Base120.0020.0023000
USDCUSDC on Ethereum2550.87
USDCAUSDC on Arbitrum12550.87
USDCBASEUSDC on Base12550.87
USDCBUSDC on BNB Smart Chain10550.87
USDCPUSDC on Polygon10550.87
USDCSUSDC on Solana1550.87
EURCEEURC on Ethereum2551
EURCBASEEURC on Base12551
EURCSEURC on Solana1551
USDGUSDG on Ethereum2550.87
USDGSUSDG on Solana1550.87
LTCLTC on Litecoin20.010.0180
BCHBCH on Bitcoin Cash20.0010.001400
DOGEDOGE on Dogecoin310.010.15
TRXTRX on Tron310100.25
SOLSOL on Solana10.050.05140
XRPXRP on XRP Ledger140.0012
ADAADA on Cardano15220.6
BNB-BSCBNB on BNB Smart Chain100.010.01600
POLPOL on Polygon1010100.4

No USDT: CryptoProcessing no longer lists it. Fiat for conversion: EUR, USD, GBP, CHF, SEK, NOK, DKK, PLN, CZK, HUF, CAD, AUD, NZD, JPY, TRY, BRL, MXN, ZAR, INR, ARS, AZN, BDT, CLP, CNY, IDR, KRW, MDL, MYR, NGN, PEN, PHP, THB, VND. Each merchant starts with 100000 EUR, 50000 USD, 2 BTC, 30 ETH, 100000 USDC, 50000 USDCS, 50000 EURCE, 500 LTC, 200000 TRX, 300 SOL, 20000 XRP.

Lab rules for withdrawals (the amount's last two decimals)

AmountEffect
…02cancelled: "Not enough money on balance"
…03pending (held for approval), then declined: "Declined by user ID:777"
…04pending (held for approval), then approved and confirmed
…09stays not_confirmed: never sent to the blockchain

Shift4

Shift4's Gateway API (ex-SecurionPay), on the real host's own paths under /shift4: a client of https://api.shift4.com is pointed at <lab>/shift4 instead. Cards server to server with 3-D Secure 2, charges captured or authorized, captures, refunds, credits (funds to a card) and events. Every secret key is a merchant of its own. Only test mode is played.

Credentials are ignored: Shift4 authenticates with HTTP Basic, the secret key as the username and an empty password; the lab never refuses a key, it only tells merchants apart by it. Bodies may be form-encoded with bracketed keys, as Shift4 documents, or JSON, as its SDKs send. Webhooks are not signed, as Shift4's are not: Shift4 tells the receiver to take only the event's id and read the event back with GET /events/{id}, which the lab serves. Webhook URLs are set in Shift4's dashboard; the lab's stand-in is POST /shift4-lab/dashboard/webhooks with {"url": …} and the merchant's key.

Events (CHARGE_SUCCEEDED, CHARGE_FAILED, CHARGE_CAPTURED, CHARGE_REFUNDED, REFUND_UPDATED, CREDIT_SUCCEEDED, CREDIT_FAILED) are POSTed as JSON to the dashboard's webhook URLs; Shift4 takes HTTP 200. A POST with an Idempotency-Key answers its first answer again for 24 hours (Idempotent-Replayed: true). Charges above 50,000.00 (modeled) fail with limit_exceeded.

Test cards (Shift4's own)

Any future expiry and any 3 or 4 digit CVC. A card number not listed is approved and not enrolled in 3DS. A card arriving as vault ciphertext is recognised by BabelPay's BIN and last-four headers; its CVC cannot be read, so the CVC-123 card approves then.

CardBrandOutcome
4012000100000007VisaSuccessful charge
4242424242424242VisaSuccessful charge
4012888888881881VisaSuccessful charge
4000056655665556Visa (debit card)Successful charge (debit)
4426034383518716VisaSuccessful charge (GB)
4909069612259316VisaSuccessful charge (ES)
5555555555554444MasterCardSuccessful charge
5200828282828210MasterCard (debit card)Successful charge (debit)
5105105105105100MasterCardSuccessful charge
2222000000000008MasterCardSuccessful charge
5294008684328401MasterCardSuccessful charge (GB)
5125646148694267MasterCardSuccessful charge (ES)
6759649826438453MasterCard (debit card)Successful charge (Maestro)
378282246310005American ExpressSuccessful charge
371449635398431American ExpressSuccessful charge
6011111111111117DiscoverSuccessful charge
6011000990139424DiscoverSuccessful charge
30569309025904Diners ClubSuccessful charge
38520000023237Diners ClubSuccessful charge
3530111333300000JCBSuccessful charge
3566002020360505JCBSuccessful charge
4024007102349866Visainvalid_number
4532873294814636Visainvalid_expiry_month
4532582477951947Visainvalid_expiry_year
4024007189368227Visainvalid_cvc
4916487051294548Visaexpired_card
4024007134364842VisaDeclined: incorrect_cvc
4929225021529113VisaDeclined: incorrect_zip
4242000000000323VisaDeclined: incorrect_address
4024007118468684VisaDeclined: insufficient_funds
4024007114621187VisaDeclined: lost_or_stolen
4024007155502486VisaDeclined: suspected_fraud
4916018475814056VisaDeclined: card_declined
4916449457024978VisaDeclined: authentication_required
4024007114166316VisaDeclined: processing_error
4242000000000083VisaSuccessful only with CVC 123, else incorrect_cvc
4242000000000018VisaSuccessful; Shift4 disputes it (chargeback)
4242000000000026VisaSuccessful; Shift4 disputes it (retrieval request)
4242000000000042VisaSuccessful, fraud check safe
4242000000000059VisaSuccessful, fraud check suspicious
4242000000000067VisaSuccessful, fraud check fraudulent
4242000000000208VisaSuccessful, fraud check fraudulent (with a fraud warning)
4242000000000075VisaSuccessful, fraud check unknown
4012001800000016VisaEnrolled for 3D Secure 2
5428000221101226MasterCardEnrolled for 3D Secure 2
370000000000002American ExpressEnrolled for 3D Secure 2
36000000000008Diners ClubEnrolled for 3D Secure 2
6011000990191003DiscoverEnrolled for 3D Secure 2
3528000111101116JCBEnrolled for 3D Secure 2
4242000000000513VisaANI check: cardholder name "Ani check" full_match
4242000000000315VisaAVS check: zip 00000 full_match, 00001 no_match, 00002 partial_match, 00003 not_provided
4111100000000006VisaCVV check: 111 match, 222 no_match, 333 not_verified, 444 not_provided, 555 not_supported
4242000000011114VisaA credit to it is a fast credit
4242000000011148VisaAFT funding supported

Lab rules

Amount (last two digits in minor units)OnEffect
…51, from 10.00creditThe credit fails: card_declined
…77, from 10.00refundThe refund fails (status failed)
…91, from 10.00chargeThe charge's webhooks arrive 30 s late
…92, from 10.00chargeThe charge sends no webhooks

Real or modeled

PXP

PXP's Unity API (pxp.io, ex-PXP Financial: regulated gaming in 23 US states, the EU and Canada), on the real hosts' own paths under /pxp: a client of https://api-services.test.pxp.io is pointed at <lab>/pxp instead. Cards server to server with PXP's integrated 3-D Secure 2, authorisations, purchases, captures, refunds, voids and card payouts, on one transaction endpoint. Every client id is a merchant group of its own. Only the sandbox is played.

Credentials are ignored: PXP signs every request (Authorization: PXP-UST1 {tokenId}:{timestamp}:{HMAC}, an upper-case hex HMAC-SHA256 of timestamp, X-Request-Id, path and body under the token value, with X-Client-Id); the lab never checks the signature and tells merchant groups apart by the client id. Webhooks are signed as PXP signs them: X-Signature is the Base64 HMAC-SHA256 of X-Request-Id + X-Signature-Timestamp + the body, under the published simulation key bistromathic-lab-simulated-flow. Webhook URLs are set in PXP's Unity Portal; the lab's stand-in is POST /pxp-lab/portal/webhooks with {"url": …} and the merchant group's X-Client-Id.

Webhooks (eventCategory transaction: Authorised, Captured, Cancelled, Refunded, Refused TXN_RFU, Error TXN_ERR; authentication: the challenge completed) are POSTed as JSON to the portal's URLs; PXP retries 10 times within 10 seconds. A transaction above 50,000.00 is refused (CRD110), a payout above 25,000.00 too (CRD121), both modeled. An amount with more decimals than its currency is refused (CAR0010).

Test cards (PXP's own)

Any future expiry and any valid CVC. A card number not listed authenticates frictionless and is approved. A 3-D Secure test card charged without a successful authentication is soft declined (CRD180, SCA required) unless an exemption PXP grants applies. A card arriving as vault ciphertext is recognised by BabelPay's BIN and last-four headers.

CardSchemeOutcome
4111111111111111VisaApproved, no challenge
5555555555554444MasterCardApproved, no challenge
378282246310005American ExpressApproved, no challenge
4000000000000002VisaChallenge required, then approved
4000000000000077VisaRefused: not sufficient funds (CRD116)
4000000000000051VisaRefused: do not honour (CRD100)
4000000000000069VisaRefused: expired card (CRD101)
4000000000000101VisaRefused: CVC check failed (CRD100, CVC not matched)
4570020000000851Visa3DS frictionless, authenticated (Y); SCA mandated; no fingerprinting
4570020000000067Visa3DS frictionless, attempted (A)
4570010000000076Visa3DS failed (N)
4570020000000083Visa3DS failed, could not be performed (U)
4570010000000092Visa3DS rejected (R)
4570020000000018Visa3DS challenge (C)
4570020000000109VisaTRA exemption at 135.50
5266001055000588MasterCard3DS frictionless, authenticated (Y); device fingerprinting
5266001055000075MasterCard3DS frictionless, attempted (A)
5266001055000083MasterCard3DS failed (N)
5266001055000091MasterCard3DS failed, could not be performed (U)
5266001056000108MasterCard3DS rejected (R)
5266001055000026MasterCard3DS challenge (C)
5266001055000117MasterCardLVP exemption at 13.50; TRA at 13.50 or 135.50
375987130000321American Express3DS frictionless, authenticated (Y)
375987130000073American Express3DS frictionless, attempted (A)
375987140000089American Express3DS failed (N)
375987130000107American Express3DS failed, could not be performed (U)
375987130000099American Express3DS rejected (R)
375987140000022American Express3DS challenge (C)
384444444400077Diners3DS frictionless, authenticated (Y)
3833333333000075Diners3DS frictionless, attempted (A)
3844444444000081Diners3DS failed (N)
3833333333000091Diners3DS failed, could not be performed (U)
3844444444000107Diners3DS rejected (R)
3844444444000024Diners3DS challenge (C)
3844444444000073DinersSCA not mandated (PSD2)
6011060000000560Discover3DS frictionless, authenticated (Y)
6011030000000076Discover3DS frictionless, attempted (A)
6011060000000081Discover3DS failed (N)
6011030000000092Discover3DS failed, could not be performed (U)
6011060000000107Discover3DS rejected (R)
6011060000000024Discover3DS challenge (C)

Lab rules

Amount (last two digits in minor units)OnEffect
…23, from 10.00payoutThe payout is refused: exceeds withdrawal frequency limit (CRD123)
…51, from 10.00payoutThe payout is refused: do not honour (CRD100)
…77, from 10.00refundThe refund is refused (CRD100)
…83, from 10.00paymentError: timeout / malfunction at the issuer (CRD183)
…91, from 10.00paymentThe webhooks arrive 30 s late
…92, from 10.00paymentNo webhooks
…02, from 10.00paymentError: suspected fraud, PXP's risk refusal (CRD102)

Real or modeled

Volt

Volt's current ("Global") APIs on their own paths, under /volt: a Volt client swaps gateway.sandbox.volt.io (OAuth and the Global Payments API) and accounts.sandbox.volt.io (the Accounts API v2) for this host's /volt, and the hosted checkout (checkout.volt.io) is /volt/checkout. Credentials are ignored: any client id, secret, username and password get a token at POST /volt/oauth (the password grant, JSON or form), and the token names the merchant (its EUR, GBP and AUD Volt accounts with 1 000 000.00 each, its payments and beneficiaries). X-JWS-Signature is required on outgoing transactions and not checked; Idempotency-Key and X-Volt-Api-Version: 1 are required, and a key used before is 409 IDEMPOTENCY_CONFLICT, as Volt does. The API is real: built from Volt's public OpenAPI files (the Global Payments API on docs.volt.io, the Accounts API in github.com/volt-io/volt-io-accounts) and docs. The real banks' ids and limits, the lab's amount rules, the timings and the euro countries offered are the lab's. The legacy Gateway and Accounts APIs are not simulated.

Notifications go to the request's communication.notifications.url, signed X-Volt-Signed (hex HMAC-SHA256 of body|X-Volt-Timed|version) under the published secret bistromathic-lab-volt-notification-secret: gateway notifications (User-Agent: Volt/1.0; PENDING, COMPLETED, FAILED with a detailedStatus), Volt Connect's payment_received and payment_not_received, and the Accounts API's outgoing_transaction_completed, outgoing_transaction_rejected and account_holder_verification_result_completed (Volt/2.0, X-Volt-Type). A payment completes 1.5 s after the bank approves and is RECEIVED into the Volt account 2 s later (an incoming GATEWAY_PAYMENT transaction; the payer is now a beneficiary); an outgoing transaction is PROCESSING after 1 s and COMPLETED 2 s later. A payment nobody finishes is ABANDONED_BY_USER after its validityPeriod.

Lab rules (any bank)

Deposit amountEffect
…13, from 10.00DELAYED_AT_BANK for two minutes, then COMPLETED
…41, from 10.00FAILED (a technical failure in the banking network)
…05, from 10.00REFUSED_BY_BANK (insufficient funds at the bank)
…06, from 10.00ERROR_AT_BANK
…07, from 10.00REFUSED_BY_RISK (Circuit Breaker, before the bank)
exactly 2050COMPLETED, then NOT_RECEIVED (Volt's sandbox value)
Payout amountEffect
exactly 1570REJECTED, ACCOUNT_INSUFFICIENT_FUNDS (the legacy sandbox's PAYOUT_FAILED)
exactly 2570REJECTED, TRANSACTION_REJECTED_BY_BANKING_PROVIDER (the legacy sandbox's PAYOUT_REJECTED_BY_PROVIDER)
…17, from 10.00REJECTED, PROCESSING_ERROR
…41, from 10.00PROCESSING for two minutes, then COMPLETED
to an account that never paid inREJECTED, TRANSACTION_BENEFICIARY_CHECK_REJECTED
under another nameaccount holder verification CLOSE_MATCH or NO_MATCH: waits for approve or reject (10 min, then TRANSACTION_APPROVAL_TIMEOUT)
Refund amountEffect
exactly 1177REJECTED, TRANSACTION_REJECTED_BY_BANKING_PROVIDER (the legacy sandbox's REFUND_FAILED)
…05, from 10.00REJECTED, ACCOUNT_INSUFFICIENT_FUNDS
X-Volt-Testing-ScenarioEffect
PAYOUT_REJECTEDREJECTED, TRANSACTION_REJECTED_BY_BANKING_PROVIDER
ACCOUNT_HOLDER_VERIFICATION_CLOSE_MATCHaccount holder verification CLOSE_MATCH: waits for approve or reject
ACCOUNT_HOLDER_VERIFICATION_NO_MATCHaccount holder verification NO_MATCH: waits for approve or reject
ACCOUNT_HOLDER_VERIFICATION_ERRORaccount holder verification ERROR: waits for approve or reject

Markets, banks and the payer's limit per payment

CountryCurrencyPayment systemBanks
GBGBPOPEN_BANKING_UKBarclays 25,000, HSBC UK 25,000, Lloyds Bank 25,000, NatWest 50,000, Santander UK 25,000, Nationwide 10,000, Monzo 25,000, Revolut 250,000, Synthetic Redirect, Synthetic Embedded
DEEUROPEN_BANKING_EUSparkasse 5,000, Deutsche Bank 10,000, Commerzbank 10,000, ING 10,000, N26 50,000, Synthetic Redirect, Synthetic Embedded
ATEUROPEN_BANKING_EUErste Bank und Sparkassen 10,000, Raiffeisen 10,000, Bank Austria 10,000, Synthetic Redirect, Synthetic Embedded
NLEUROPEN_BANKING_EUING 10,000, ABN AMRO 50,000, Rabobank 10,000, bunq 25,000
FREUROPEN_BANKING_EUBNP Paribas 15,000, Crédit Agricole 15,000, Société Générale 15,000, BoursoBank 30,000
ESEUROPEN_BANKING_EUBanco Santander 15,000, BBVA 15,000, CaixaBank 15,000
ITEUROPEN_BANKING_EUIntesa Sanpaolo 15,000, UniCredit 15,000, Fineco 30,000
IEEUROPEN_BANKING_EUAIB 15,000, Bank of Ireland 15,000, PTSB 10,000
BEEUROPEN_BANKING_EUKBC 10,000, BNP Paribas Fortis 10,000, Belfius 10,000
FIEUROPEN_BANKING_EUOP 15,000, Nordea 10,000
PTEUROPEN_BANKING_EUMillennium bcp 10,000, Caixa Geral de Depósitos 10,000
LTEUROPEN_BANKING_EUSwedbank 15,000, SEB 15,000, Luminor 10,000
LVEUROPEN_BANKING_EUSwedbank 15,000, Citadele 10,000
EEEUROPEN_BANKING_EUSwedbank 15,000, LHV 15,000, SEB 15,000
SKEUROPEN_BANKING_EUSlovenská sporiteľňa 10,000, Tatra banka 10,000
AUAUDNPP_PAY_TO_AUCommBank 25,000, Westpac 25,000, ANZ 25,000, NAB 25,000

D24 (Directa24)

D24's Deposits API and Cashouts API (v3) on their own paths, under /d24: a D24 client swaps https://api-stg.directa24.com for this host's /d24. The API is real (docs.d24.com, public): the bodies, statuses, error codes and notifications, and D24's own Mock PSP scenarios by amount. Modeled: the method limits and expiry times (the merchant account's, unpublished), the notification headers (X-Date, X-Login, Authorization, as D24's security guide says notifications are signed), and the payer's screens. Credentials are ignored: X-Login names the deposits merchant, the body's login the cashouts merchant; no Authorization or Payload-Signature is checked.

Methods

CodeMethod (option)CountryTypeLimits (local, modeled)Expiry (modeled)
IXPix (pix)BRBANK_TRANSFER1–50,00012 h
SESpei (spei)MXBANK_TRANSFER10–500,0003 days
OXOXXO (oxxo)MXVOUCHER10–10,0006 days
PCPSE (pse)COBANK_DEPOSIT5,000–20,000,0001 h
EYEfecty (efecty)COVOUCHER5,000–5,000,0003 days

D24's Mock PSP: the amount's leading digits (trailing zeros ignored)

AmountEffect
deposit 1Paid: COMPLETED about 2 seconds after the payer pays
deposit 2Paid: COMPLETED about 3 minutes after the payer pays
deposit 3Paid: COMPLETED about 5 minutes after the payer pays, with no notification (poll the status)
deposit 4Refused at once: INVALID_CARD_NUMBER, no deposit
deposit 5CANCELLED about 3 minutes after the payer pays (MOCK_ERROR)
deposit 6FOR_REVIEW about 1 minute after the payer pays (terminal), then refunded automatically
deposit 41Refused at once: INSUFFICIENT_FUNDS, no deposit
deposit 51CANCELLED about 8 minutes after the payer pays (PROCESSING_ERROR)
deposit, any otherPaid: COMPLETED about 1 minute after the payer pays
refund 1COMPLETED about 2 seconds later
refund 4Refused at once: DUPLICATE_TRANSACTION
refund 5CANCELLED about 3 minutes later (MOCK_ERROR)
refund 6COMPLETED about 2 seconds later (the under-review deposit's automatic refund)
cashout 1COMPLETED about 2 seconds later
cashout 2COMPLETED about 3 minutes later
cashout 3COMPLETED about 5 minutes later, with no notification
cashout 4Refused at once: INVALID_BENEFICIARY_ACCOUNT
cashout 5CANCELLED about 3 minutes later (PROCESSING_FAILED)
cashout 41Refused at once: MERCHANT_INSUFFICIENT_BALANCE
cashout 51CANCELLED about 8 minutes later (MOCK_ERROR)
cashout document …0800REJECTED 800 ERROR_ACCOUNT_INCORRECT (lab rule)
cashout document …0812REJECTED 812 BLOCKED_FROZEN_ACCOUNT (lab rule)
cashout document …0813REJECTED 813 DOCUMENT_ACCOUNT_MISMATCH (lab rule)

Cashout bank codes

CountryCodes
BR1 BANCO DO BRASIL S.A., 33 BANCO SANTANDER BRASIL S.A., 104 CAIXA ECONOMICA FEDERAL - CEF, 237 BANCO BRADESCO S.A., 260 NU PAGAMENTOS, 341 ITAU UNIBANCO S.A., 10000 Pix Key Phone, 10001 Pix Key Email, 10002 Pix Key Document, 10003 Pix Key Random
MX2 BANAMEX, 12 BBVA MEXICO, 14 SANTANDER, 21 HSBC, 72 BANORTE, 127 AZTECA, 646 STP
CO1007 BANCOLOMBIA, 1001 BANCO DE BOGOTA, 1051 BANCO DAVIVIENDA, 1013 BBVA COLOMBIA, 1507 NEQUI, 1551 DAVIPLATA, 10003 EFECTY, 20000 BREB Key - Phone, 20001 BREB Key - Email, 20002 BREB Key - Document, 20003 BREB Key - Random

Brazil's betting ban (MP 1.394/2026) stops regulated gambling payments there; the lab still takes BRL and pays out by Pix.

Zota

Zota's (ex-Zotapay) MG Deposit API 1.0 and MG Payout API 1.1 on their own paths, under /zota: a Zota client swaps https://api.zotapay-sandbox.com for this host's /zota. The API is real, from Zota's public docs (docs.zota.com): the paths, the fields and their lengths, the {code, message} refusals (400 missing arguments, bad request, endpoint currency mismatch, timestamp too old; 404 not found; 409 order already created), the order statuses and the SHA-256 signatures. Each country's methods, the limits, the payment form's screens and the payer's account in a deposit's extraData are modeled: Zota sets them per merchant endpoint and does not publish them. Credentials are ignored: no signature is checked, and any MerchantID is the lab's one merchant.

Markets and published endpoints (deposit / payout)

CountryCurrencyEndpointsLimitsBanksQRWallets, mobile money
THTHB1050 / 2050100–200,000BBL Bangkok Bank, KBANK Kasikornbank, SCB Siam Commercial Bank, KTB Krungthai Bank, BAY Krungsri, TTB TMBThanachartPROMPTPAY PromptPay QRTRUEMONEY TrueMoney Wallet
VNVND1051 / 205150,000–300,000,000VCB Vietcombank, TCB Techcombank, BIDV BIDV, CTG VietinBank, ACB ACB, MB MB BankVIETQR VietQRMOMO MoMo, ZALOPAY ZaloPay
MYMYR1052 / 205210–50,000MBB Maybank, CIMB CIMB Bank, PBB Public Bank, RHB RHB Bank, HLB Hong Leong BankDUITNOW DuitNow QRTNG Touch 'n Go eWallet, BOOST Boost
IDIDR1053 / 205310,000–100,000,000BCA Bank Central Asia (BCA), MANDIRI Bank Mandiri, BNI BNI, BRI BRI, CIMBN CIMB NiagaQRIS QRISOVO OVO, DANA DANA, GOPAY GoPay
PHPHP1054 / 2054100–500,000BDO BDO Unibank, BPI BPI, MBTC Metrobank, UBP UnionBank, LBP LandbankQRPH QR PhGCASH GCash, MAYA Maya
ININR1055 / 2055100–200,000HDFC HDFC Bank, ICICI ICICI Bank, SBI State Bank of India, AXIS Axis Bank, KOTAK Kotak Mahindra BankUPI UPI QRPAYTM Paytm, PHONEPE PhonePe
CNCNY1056 / 2056100–50,000ICBC ICBC, CCB China Construction Bank, ABC Agricultural Bank of China, BOC Bank of China, CMB China Merchants BankUNIONPAYQR UnionPay QRALIPAY Alipay, WECHAT WeChat Pay
NGNGN1057 / 20571,000–5,000,000ACCESS Access Bank, GTB GTBank, ZENITH Zenith Bank, FBN First Bank, UBA UBA—OPAY OPay, PALMPAY PalmPay
KEKES1058 / 2058100–250,000EQUITY Equity Bank, KCB KCB Bank, COOP Co-operative Bank—MPESA M-PESA, AIRTEL Airtel Money
GHGHS1059 / 205910–50,000GCB GCB Bank, ECOBANK Ecobank Ghana, STANBIC Stanbic Bank—MTN MTN MoMo, TELECEL Telecel Cash, ATMONEY AT Money
EGEGP1060 / 206050–100,000NBE National Bank of Egypt, CIB CIB, BANQUEMISR Banque MisrINSTAPAY InstaPay QRVFCASH Vodafone Cash
MXMXN1061 / 206150–100,000BBVA BBVA México, BANORTE Banorte, SANTANDER Santander, BANAMEX BanamexCODI CoDiMERCADOPAGO Mercado Pago
BRBRL1062 / 206210–50,000ITAU Itaú, BRADESCO Bradesco, BB Banco do Brasil, NUBANK NubankPIX PixPICPAY PicPay

Lab rules (from the market's minimum, the amount's last two digits)

AmountEffect
deposit …13PROCESSING for a minute after the payer approves, then APPROVED
deposit …21UNKNOWN for two minutes after the payer approves (not final), then APPROVED
deposit …33APPROVED with no callback: only the order status (or reconciliation) tells
deposit …02DECLINED once the payer approves: insufficient funds at the bank
deposit …03FILTERED once the payer approves: declined by Zota's fraud prevention
deposit …04ERROR once the payer approves: a processor error (final)
payout …13PROCESSING for two minutes, then APPROVED
payout …02DECLINED: invalid bank account
payout …03FILTERED: declined by fraud prevention
payout …04ERROR: a processor error (final)

Zota has no refund API. Brazil's betting ban (MP 1.394/2026) stops regulated gambling payments there; the lab still takes BRL.

Interkassa (and UnityFinance)

Interkassa's SCI (its payment form and hosted payment page, sci.interkassa.com) and its API v1 (api.interkassa.com/v1) on their own paths, under /interkassa/sci and /interkassa/api. Interkassa (Ukraine, the CIS and the EU; not Russia since 2022) takes licensed betting and gambling, with AML/KYC, withdrawal, refund and responsible-gaming policies, the licence shown on the site and 18+ gating. Its API reference (docs.interkassa.com, api.yaml) is behind its portal's login, so the API is partly modeled: real, from its public PHP SDK (github.com/interkassa/php-sdk), its CMS modules (github.com/CMSInterkassa), its developer components (with the API error codes) and its wiki (wiki.interkassa.com): the SCI's form fields, ik_int=json with ik_act=process and its resultCode/resultMsg/resultData.paymentForm envelope, the signature, the test payment system, the notification's fields and states and its OK answer, the API's paths, Basic auth with Ik-Api-Account-Id, its status/code/data envelope, the refund's and withdrawal's fields, and the error codes. Modeled: the method aliases other than card, the invoice and refund objects the API returns, the withdrawal states and its notification, the paymentNo filter on co-invoice, limits, fees, rates, the banks and coins, and the lab's outcome rules.

Credentials are ignored: ik_sign is never checked; any Basic credentials are taken (none: 401). A checkout and its business account are one merchant here: ik_co_id on the SCI, Ik-Api-Account-Id on the API. Notifications are signed (ik_sign: the Base64 MD5 or SHA-256, as the form was signed, of the ik_* values sorted by name, joined with :, the key last) with the published secret key bistromathic-lab-interkassa-secret-key, or the test key bistromathic-lab-interkassa-test-key for the test payment system (ik_pw_via=test_interkassa_test_xts).

Payment methods (ik_payment_method)

AliasMethodCurrenciesLimits
cardBank cardUAH, EUR, USD, GBP, PLN, CZK, TRYUAH 10.00–500000.00; EUR 1.00–15000.00; USD 1.00–15000.00; GBP 1.00–12000.00; PLN 5.00–60000.00; CZK 25.00–350000.00; TRY 30.00–500000.00
applepayApple PayUAH, EUR, USD, GBP, PLN, CZK, TRYUAH 10.00–500000.00; EUR 1.00–15000.00; USD 1.00–15000.00; GBP 1.00–12000.00; PLN 5.00–60000.00; CZK 25.00–350000.00; TRY 30.00–500000.00
googlepayGoogle PayUAH, EUR, USD, GBP, PLN, CZK, TRYUAH 10.00–500000.00; EUR 1.00–15000.00; USD 1.00–15000.00; GBP 1.00–12000.00; PLN 5.00–60000.00; CZK 25.00–350000.00; TRY 30.00–500000.00
bankInternet bankingUAHUAH 10.00–300000.00
cryptoCryptocurrencyUAH, EUR, USDUAH 200.00–2000000.00; EUR 5.00–50000.00; USD 5.00–50000.00

Banks: PrivatBank, monobank, Oschadbank, PUMB, Raiffeisen Bank, UKRSIBBANK, A-Bank, Sense Bank. Coins: USDT (TRC20), BTC (Bitcoin), ETH (ERC20), LTC (Litecoin).

Withdrawals (method, with useShortAlias=true)

MethodToCurrenciesDetails
cardBank cardUAH, EUR, USDdetails[card]
bankBank accountUAH, EUR, USDdetails[account_number], details[first_name], details[last_name]
usdtTether USDT (TRC20)USDTdetails[address]
btcBitcoin (Bitcoin)BTCdetails[address]
ethEthereum (ERC20)ETHdetails[address]
ltcLitecoin (Litecoin)LTCdetails[address]

Lab rules for withdrawals (the last two decimals)

AmountEffect
…02canceled by the payment system (1409, an error carrying out the withdrawal)
…09stays process: the payment system never answers

Card withdrawals: the lab's test cards

CardEffect
4111 1111 1111 1111Paid: success
5555 5555 5555 4444Paid: success
4000 0000 0000 0002Canceled: the card takes no payouts
4000 0000 0000 0069Canceled: the card has expired

PPRO

PPRO's Payments API ("Payment Charges") on its own paths, under /ppro: a PPRO client swaps api.sandbox.eu.ppro.com for this host's /ppro. Credentials are ignored: any Authorization: Bearer … is taken, and Merchant-Id names the merchant. Request-Idempotency-Key answers a repeat with the first answer (Request-Idempotency: true) and a different body with 409, as PPRO does. The API is real: built from PPRO's public developer hub (developerhub.ppro.com, its OpenAPI per endpoint and each method's page). The banks, the lab's amount rules and the timings are the lab's.

Webhooks (CloudEvents 1.0.2: PAYMENT_CHARGE_CREATED, …_AUTHENTICATION_PENDING, …_PROVIDER_CONFIRMATION_PENDING, …_AUTHORIZATION_SUCCEEDED, …_AUTHORIZATION_FAILED, …_CAPTURE_SUCCEEDED, …_DISCARDED, …_REFUND_PENDING, …_REFUND_SUCCEEDED, …_REFUND_FAILED) go to the charge's webhooksUrl, signed PPRO-Signature: t=…,s=… (hex HMAC-SHA256 of t + "." + body) under the published secret bistromathic-lab-ppro-webhook-secret.

MethodNameConsumersCurrenciesAuthenticationTimeout
BANCONTACTBancontactBEEURREDIRECT SCAN_CODE APP_INTENT60 min
BLIKBLIKPLPLNREDIRECT MULTI_FACTOR30 min
EPSeps ÜberweisungATEURREDIRECT60 min
P24Przelewy24PLEUR, PLNREDIRECT60 min
TWINTTWINTCHCHFREDIRECT SCAN_CODE60 min
ALIPAYAlipayCNAUD, CAD, CHF, CNY, EUR, GBP, HKD, JPY, NZD, SGD, USDREDIRECT720 min
WEROWeroDE, FR, BE, LU, NLEURREDIRECT60 min
MYBANKMyBankBE, ES, FR, IT, PTEURREDIRECT30 min

Test values

ValueEffect
BLIK code 999009, 777123 (777xxx), or the code the lab's banking app showsaccepted; the payer confirms in the app
BLIK code 999001 AUTHENTICATION_FAILED, 999002 INSUFFICIENT_FUNDSFAILED
Bancontact 60600599999899023 / 60600599999899080, 01/2035CAPTURED / FAILED, AUTHENTICATION_FAILED
3000.00 – 3999.99 (the mock authenticator)FAILED after the payer approves: …02 INSUFFICIENT_FUNDS, otherwise GENERIC_DECLINE
…13, from 10.00AUTHORIZATION_ASYNC, then CAPTURED when the provider confirms 20 seconds later
…14, from 10.00AUTHORIZATION_ASYNC, then FAILED 20 seconds later
…53, from 10.00504 from the create: nothing is created
…05, from 10.00the bank declines after the payer approves (GENERIC_DECLINE)
…06, from 10.00the bank declines after the payer approves (INSUFFICIENT_FUNDS)
…07, from 10.00FAILED at once: PPRO's risk check (BLOCKED_ACCOUNT)
refund …77PENDING, then FAILED (REFUND_NOT_SUPPORTED)

eps banks: PSA BANK GROUP, Erste Bank und Sparkassen, Raiffeisen Bankengruppe, UniCredit Bank Austria, BAWAG, Volksbank, easybank, Oberbank, BKS Bank, BTV Bank für Tirol und Vorarlberg, Hypo Tirol Bank, Bankhaus Schelhammer. MyBank's banks (Italy's, MyBank's home market): Intesa Sanpaolo, UniCredit, Banco BPM, BPER Banca, Banca Monte dei Paschi di Siena, Crédit Agricole Italia, Banca Sella, Credem, Banca Popolare di Sondrio, Gruppo BCC Iccrea, Sparkasse, Volksbank. Przelewy24's documented bankCodes: 25 mBank - mTransfer, 94 Euro Bank, 102 Raiffeisen Bank PBL, 135 Płacę z IKO, 146 Płacę z Orange, 154 BLIK, 177 Użyj przedpłaty, 178 Przekaz tradycyjny, 1000 Przekaz/Przelew tradycyjny.

OPPWA (ACI PAY.ON, Peach Payments, CatalystPay)

The Open Payment Platform's server-to-server API (ACI's ex-PAY.ON "OPPWA"), on the real hosts' own paths under /oppwa. One white-label protocol behind several PSPs, played once for every tenant: a client of any of these hosts is pointed at <lab>/oppwa instead.

CatalystPay (EU, a broker gateway for high-risk merchants) has no engine of its own: its card gateway is ACI's Open Payment Platform on ACI's own hosts, as CatalystPay's public PHP SDK and WooCommerce plugin show, so a CatalystPay account is an OPPWA connection with the CatalystPay platform, and this engine plays it. The API is real, not modeled. CatalystPay's own public docs (docs.catalystpay.com) cover only its SEPA Direct Debit Payment Session API, which BabelPay does not use (it has no SEPA Direct Debit option).

Cards with 3-D Secure 2 inside the payment (paymentType DB, or PA then CP), back-office refunds (RF) and reversals (RV), credits to a card (CD, the gaming payout), registrations (tokens) and the transaction reports. Every entity id is a merchant of its own. Only the test system is played.

Credentials are ignored: OPPWA authenticates with Authorization: Bearer <access token> and the entityId parameter; the lab never checks the token and tells merchants apart by the entity. Bodies are form-encoded. Webhooks are encrypted, as OPPWA's are: AES-256-GCM under the webhook's 64-hex secret, the ciphertext in hex as the body (or {"encryptedBody": …}), the IV and tag in X-Initialization-Vector and X-Authentication-Tag. The lab's published secret is ac2f9341ede05efc330a3b3733a9d8d15511d88be980c52b845cd98e24f89601. Webhook URLs are set in OPPWA's backoffice; the lab's stand-in is POST /oppwa-lab/backoffice/webhooks with {"entityId": …, "url": …}.

Answers are OPPWA's JSON: result.code and result.description (the documented regex groups decide success, pending and rejection), HTTP 200 for a success or a pending payment, 400 for a rejection or a malformed request (200.300.404 with parameterErrors), 404 for an unknown payment. A successful test payment answers 000.100.110 ("Merchant in Integrator Test Mode"), or 000.100.112 with testMode=EXTERNAL. Payments above 50000.00 and credits above 25000.00 (modeled) are rejected with 100.550.312.

Test cards (OPPWA's own)

Any future expiry, any 3 digit CVV (4 for Amex). Every listed card is approved unless 3-D Secure rejects it; a card number not listed is not enrolled and is approved, unless customParameters[3DS2_enrolled]=true. customParameters[3DS2_flow]=challenge|frictionless and threeDSecure.challengeIndicator=04 force the flow, as OPPWA's testing guide says. A card arriving as vault ciphertext is recognised by BabelPay's BIN and last-four headers.

CardBrandOutcome
4200000000000000VISANot enrolled (no 3-D): successful
4711100000000000VISA3-D enrolled: the issuer's challenge
4012888888881881VISA3-D enrolled: the issuer's challenge
4111111111111111VISASimulates external mode (no 3-D here): successful
4242424242424242VISA3-D disabled: successful
5454545454545454MASTERNot enrolled (no 3-D): successful
5212345678901234MASTER3-D enrolled: the issuer's challenge
5105105105105100MASTER3-D disabled: successful
377777777777770AMEXNot enrolled (no 3-D): successful
375987000000005AMEX3-D enrolled: the issuer's challenge
30082246403846DINERS3-D disabled: successful
4200000000000091VISA3-D Secure 2 frictionless (Y): successful
5200000000000007MASTER3-D Secure 2 frictionless (Y): successful
6761301000993772MAESTRO3-D Secure 2 frictionless (Y): successful
374500262001008AMEX3-D Secure 2 frictionless (Y): successful
4200000000000109VISA3-D Secure 2 frictionless attempt (A): successful
5200000000000023MASTER3-D Secure 2 frictionless attempt (A): successful
6706981111111113MAESTRO3-D Secure 2 frictionless attempt (A): successful
377277081382243AMEX3-D Secure 2 frictionless attempt (A): successful
4200000000000026VISA3-D Secure 2 frictionless (Y): successful (no 3DS Method)
5200000000000056MASTER3-D Secure 2 frictionless (Y): successful (no 3DS Method)
6799851000000032MAESTRO3-D Secure 2 frictionless (Y): successful (no 3DS Method)
375987000000062AMEX3-D Secure 2 frictionless (Y): successful (no 3DS Method)
4200000000000059VISA3-D Secure 2 frictionless attempt (A): successful (no 3DS Method)
5200000000000106MASTER3-D Secure 2 frictionless attempt (A): successful (no 3DS Method)
6007930123456780MAESTRO3-D Secure 2 frictionless attempt (A): successful (no 3DS Method)
373953192351004AMEX3-D Secure 2 frictionless attempt (A): successful (no 3DS Method)
4012001037461114VISA3-D Secure 2 technical error (U): rejected
5434580000000006MASTER3-D Secure 2 technical error (U): rejected
6761301000941201MAESTRO3-D Secure 2 technical error (U): rejected
375987000169875AMEX3-D Secure 2 technical error (U): rejected
4012001037141112VISA3-D Secure 2 user not enrolled (N): rejected
5457350076543210MASTER3-D Secure 2 user not enrolled (N): rejected
6761301000946341MAESTRO3-D Secure 2 user not enrolled (N): rejected
375987000169883AMEX3-D Secure 2 user not enrolled (N): rejected
4532497088771651VISA3-D Secure 2 card not participating: rejected
5497260847316287MASTER3-D Secure 2 card not participating: rejected
6761257707836567MAESTRO3-D Secure 2 card not participating: rejected
343923092050144AMEX3-D Secure 2 card not participating: rejected
4200000000000042VISA3-D Secure 2 challenge: the cardholder decides
5200000000000015MASTER3-D Secure 2 challenge: the cardholder decides
6799998900000060018MAESTRO3-D Secure 2 challenge: the cardholder decides
343434343434343AMEX3-D Secure 2 challenge: the cardholder decides
4200000000000067VISA3-D Secure 2 challenge: the cardholder decides
5200000000000049MASTER3-D Secure 2 challenge: the cardholder decides
6773670009114879MAESTRO3-D Secure 2 challenge: the cardholder decides
375987000000021AMEX3-D Secure 2 challenge: the cardholder decides
4200000000000018VISA3-D Secure 2 challenge: the cardholder decides (no 3DS Method)
5200000000000064MASTER3-D Secure 2 challenge: the cardholder decides (no 3DS Method)
67034200554565015MAESTRO3-D Secure 2 challenge: the cardholder decides (no 3DS Method)
375987000169867AMEX3-D Secure 2 challenge: the cardholder decides (no 3DS Method)
4200000000000075VISA3-D Secure 2 challenge: the cardholder decides (no 3DS Method)
5200000000000072MASTER3-D Secure 2 challenge: the cardholder decides (no 3DS Method)
6759888888888888MAESTRO3-D Secure 2 challenge: the cardholder decides (no 3DS Method)
371449635398431AMEX3-D Secure 2 challenge: the cardholder decides (no 3DS Method)

Lab rules

Amount (last two digits)OnEffect
…14, from 10.00payment800.100.151 transaction declined (invalid card)
…51, from 10.00payment800.100.203 Insufficient Funds
…52, from 10.00credit800.100.180 transaction declined (not supported by issuer): the card takes no credits
…54, from 10.00payment800.100.157 transaction declined (wrong expiry date)
…57, from 10.00payment800.100.170 transaction declined (transaction not permitted)
…59, from 10.00payment800.100.159 transaction declined (stolen card)
…61, from 10.00payment800.100.162 transaction declined (limit exceeded)
…62, from 10.00payment800.100.168 transaction declined (restricted card)
…77, from 10.00refund700.400.200 cannot refund
…82, from 10.00payment800.100.153 transaction declined (invalid CVV)
…91, from 10.00paymentSuccessful; the payment's webhooks arrive 30 s late
…92, from 10.00paymentSuccessful; the payment's webhooks never arrive
…05, from 10.00payment800.100.183 transaction declined (Do not honor)

Real or modeled

PayPal

PayPal's REST APIs on their own paths, under /paypal: a PayPal client swaps https://api-m.sandbox.paypal.com for this host's /paypal. The API is real, built from PayPal's public OpenAPI specifications (paypal-rest-api-specifications) and its developer docs. Credentials are ignored: POST /paypal/v1/oauth2/token gives any client id and secret a token, and the client id names the merchant (its orders, payouts, webhooks and balances); any bearer token is taken. PayPal-Request-Id replays an answer, Prefer: return=representation gets the full resource, and the sandbox's negative testing works: PayPal-Mock-Response: {"mock_application_codes": "INSTRUMENT_DECLINED"} on Orders and Payments, and the Payouts test values (ERRPYO005 in items[0].note, GET /v1/payments/payouts/ERRPYO022).

Webhooks go to every subscribed URL (CHECKOUT.ORDER.APPROVED, PAYMENT.CAPTURE.COMPLETED, .PENDING, .DECLINED, .REFUNDED, PAYMENT.AUTHORIZATION.CREATED, .VOIDED, PAYMENT.PAYOUTSBATCH.PROCESSING, .SUCCESS, PAYMENT.PAYOUTS-ITEM.SUCCEEDED, .FAILED, .UNCLAIMED, .RETURNED, .CANCELED), signed as PayPal signs them: PAYPAL-TRANSMISSION-SIG is SHA256withRSA over transmission id|transmission time|webhook id|CRC32 of the body with the lab's published key, and PAYPAL-CERT-URL names its certificate. The lab's verify-webhook-signature answers SUCCESS only for webhooks it signed. Payout items end 4 seconds after the batch is created (it is PROCESSING after 1).

PayPal accounts at the login (the lab's; any password)

EmailPayer idEffect
sb-buyer@personal.example.com4NC59AJ93HPM6The sandbox's personal account: a PayPal balance of 5,000.00 and a Visa. Pays; payouts back succeed
declined@personal.example.com3SLEDCFBAVXHAOnly a Visa that declines: the capture fails with INSTRUMENT_DECLINED
cannot.pay@personal.example.comLWEWER3WEGHS7Approves, but the capture fails with PAYER_CANNOT_PAY
review@personal.example.com9F4DWRQNQ8C4EThe capture is PENDING (PENDING_REVIEW) for a minute, then COMPLETED
limited@personal.example.comKUNDS7XP2A3YHThe login is refused: the account is limited
otp@personal.example.comNR66CYVKERVEGAlways asks for the one-time code texted to the phone
payout.locked@personal.example.com32YVBPFSZ2HBEPays; a payout back to it fails (RECEIVER_ACCOUNT_LOCKED)
payout.unclaimed@personal.example.comDLKKG2RME4R24Pays; a payout back to it stays UNCLAIMED (RECEIVER_UNREGISTERED) until it is cancelled, or returned after 30 days
any other emailits ownA fresh, verified account with 5,000.00 in any currency

Lab rules

Deposit amountEffect
…13, from 10.00The capture is PENDING (PENDING_REVIEW) for a minute, then COMPLETED
…05, from 10.00The capture fails with INSTRUMENT_DECLINED (422)
…09, from 10.00The capture is DECLINED by PayPal's risk filters (201, capture status DECLINED)

Limits: PayPal's maximum per payment (AUD 12,500, BRL 20,000, CAD 12,500, CZK 240,000, DKK 60,000, EUR 8,000, HKD 80,000, HUF 2,000,000, ILS 40,000, JPY 1,000,000, MYR 40,000, MXN 200,000, TWD 330,000, NZD 15,000, NOK 70,000, PHP 500,000, PLN 32,000, GBP 5,500, SGD 16,000, SEK 80,000, CHF 13,000, THB 360,000, USD 10,000; above it the order is refused with TRANSACTION_REFUSED, the lab's choice of issue), 60,000 per payout item (TRANSACTION_LIMIT_EXCEEDED), and the merchant's balance (INSUFFICIENT_FUNDS, REFUND_FAILED_INSUFFICIENT_FUNDS; 100,000.00 per currency to start). An unapproved order expires after 3 hours, an approved one must be captured within 3 hours, an authorization lasts 29 days, a capture can be refunded for 180 days. The fees are the lab's (3.49 % + 0.39 per capture, 2 % up to 20.00 per payout item).

Gambling (shown, not enforced): PayPal approves gambling merchants market by market. bwin UK takes no PayPal first deposit since 5 September 2024; Ladbrokes restricts the sportsbook until KYC after a PayPal first deposit; withdrawals to PayPal need a PayPal deposit within the last 6 months.

Gigadat (Interac e-Transfer, Request Money)

Gigadat, Canada's iGaming Interac processor, under /gigadat: a Gigadat client swaps https://interac.express-connect.com for this host's /gigadat. The API is modeled: Gigadat's documentation comes only with a contract. The paths, fields, statuses and types are those of Hyperswitch's open-source Gigadat connector (juspay/hyperswitch) and its field probe, and of merchants' published integrations; the credentials (access token, security token, campaign ID) and the campaign's listener and redirect URLs are from Corefy's, Rebilly's, BridgerPay's and Too Much Media's guides. The banks' screens, the limits, the timers, the amount rules, the signature on notifications, the per-request listener and redirect URLs (listenerUrl, successUrl, failureUrl) and the payee's side are the lab's. Credentials are ignored: the Basic auth's user only tells merchants apart; any campaign ID works (a simulated connection without one uses bistromathic-lab).

Listener notifications: POST <listener>?transaction=<transactionId>&status=<STATUS_…>, a form body (transactionId, id, type, cpiType, finalType, amount, currency, userId, name, email, mobile, userIp, site, campaign, financialInstitution), on STATUS_PENDING and every final status, signed X-Gigadat-Signature (hex HMAC-SHA256 of transaction|status|body) under the published security token bistromathic-lab-gigadat-simulation-security-token. A deposit nobody finishes is STATUS_EXPIRED after 20 minutes.

Limits: 1.00 to 10000.00 CAD per deposit and 1.00 to 10000.00 per e-Transfer out at Gigadat; the payer's bank takes at most 3000.00 per transfer (STATUS_REJECTED).

Lab rules

Deposit amountEffect
…13, from 10.00STATUS_PENDING for a minute after the payer confirms, then STATUS_SUCCESS
…33, from 10.00STATUS_SUCCESS with no listener notification: only the transaction lookup (or reconciliation) tells
…02, from 10.00STATUS_REJECTED once the payer confirms: the bank declined (insufficient funds)
…03, from 10.00STATUS_REJECTED1 once the payer confirms: Gigadat's checks (the name Interac reports is not the player's)
…04, from 10.00STATUS_FAILED once the payer confirms: a technical failure
Payout amountEffect
…01, from 10.00The payee has Autodeposit: deposited two seconds after it is sent (STATUS_SUCCESS)
…02, from 10.00STATUS_REJECTED: the payee's bank refused the e-Transfer
…04, from 10.00STATUS_FAILED: a technical failure
any otherSTATUS_PENDING until the payee deposits it (inbox) or declines it
Refund amountEffect
…05, from 10.00422 REFUND_REJECTED: Gigadat refuses the refund

Aeropay

Aeropay's v2 API (US pay by bank: ACH and RTP, for gaming among others) on its own paths, under /aeropay: an Aeropay client swaps api.sandbox-pay.aero.inc for this host's /aeropay. Credentials are ignored: POST /aeropay/v2/token gives any apiKey and apiSecret a 30-minute token for the merchant id (scope merchant), or for one of its users (userForMerchant, who must have confirmed their code there: AP002 otherwise). Each merchant id is one simulated merchant, with its users and their linked banks, its transactions and its webhooks. The API is real: built from Aeropay's public reference (dev.aero.inc, an OpenAPI definition per endpoint) and guides. Modeled, where Aeropay publishes nothing: the checkout's pages (the SDK's popup is Aeropay's own), the lab's banks, rules, timings and limits, and that the SDK's uuid is the transaction's id.

Webhooks go to the URL subscribed for their topic (payloadVersion 2.0: transaction_completed a second after a payment or payout, transaction_declined and user_suspended on a return, transaction_voided, transaction_refunded). Once a merchant has called createWebhookSigningKey they carry ap-signature: the hex HMAC-SHA256 of the body plus the registered url, as Python's json.dumps writes it, under the published key bistromathic-lab-aeropay-webhook-signing-key. A payment is pending (Aeropay guarantees it) until the lab's batch a minute later clears it to processed; a full refund before then voids it, a partial one is queued until it clears.

Test values

Phones: 5550173 AP115, 3105550187 AP115, +65-718-555-0134 AP119, +657185550134 AP119, +14045550124 AP115, +13125550198 AP115, +19175550163 AP115. Emails: no-authenticated-user@aeropay.com AP101, unable-to-create-user@aeropay.com AP102, cannot-extract-user-info@aeropay.com AP104, user-already-exists@aeropay.com AP107, error-adding-user@aeropay.com AP108. Aerobank: sync / no_mfa, or mfa with the answer correct. Every other bank takes any login. A savings account is refused when paying (AP411). Banks: Aerobank (RTP), Aerobank (OAuth) (RTP), Chase (RTP), Bank of America (RTP), Wells Fargo (RTP), Citibank (RTP), U.S. Bank (RTP), Capital One, PNC Bank (RTP), Truist (RTP), TD Bank, Navy Federal Credit Union, Fifth Third Bank (RTP), Huntington Bank.

exceptionScenarioEffect
returnInsufficientpending, then declined 3 s later: an R01 (Insufficient Funds) return, status nsf; the user is suspended
returnAccountpending, then declined 3 s later: an R02 (Account Closed) return; the user is suspended
returnDisputepending, then declined 3 s later: an R07 (Customer Revoked Authorization) return; the user is suspended
delinquentAP109: the user is rejected for delinquent activity
riskEngineAP307: Aeropay's risk engine declines the payment (reasonCodes ["exceptionScenario"])
balanceInsufficientAP302: the user's balance does not cover the payment
Checkout amountEffect
…07, from 10.00AP307, declined by the risk engine (reasonCodes A1): the checkout shows the decline
…02, from 10.00AP302 Insufficient funds: the checkout shows the decline
…09, from 10.00AP109 delinquent activity: the checkout shows the decline
…01, from 10.00Approved, then an ACH return R01 3 s later (transaction_declined, status nsf)
…03, from 10.00Approved, then an ACH return R02 3 s later (transaction_declined)
…05, from 10.00Approved, then an ACH return R07 3 s later (transaction_declined)
over 5 000.00AP304
Payout amountEffect
…15, from 10.00AP315 Payment rejected: threshold or suspended bank
…02, from 10.00AP302 Insufficient funds
…04, from 10.00AP304 Transaction amount exceeds limit
…09, from 10.00pending, then voided 3 s later (transaction_voided: the payout did not go out)
over 10 000.00AP304
Refund amountEffect
…10, from 10.00AP310 Credit transaction declined

PayNearMe (MoneyLine)

PayNearMe's API v3.0 on its own paths, under /paynearme: a PayNearMe client swaps https://api.paynearme-sandbox.com (and the login host) for this host's /paynearme. The API is real (apidocs.paynearme.com, public, OpenAPI 3.0.1 per endpoint): the calls, parameters, the {"status", "errors"} envelope answered with HTTP 200, the signature scheme, the sandbox test cards and decline amounts, the callbacks. Modeled (PayNearMe's keys need an NDA, and the docs leave them out): the MoneyLine page's screens, the limits and timers, the ACH, PayPal and Venmo test values, and a decline's details. Credentials are ignored: any OAuth client gets a token, no signature is checked; site_identifier names the site. All of PayNearMe lives in one LabMerchant object (paynearme:world).

Test cards (any amount but a decline amount succeeds): 9999925615744358 (debit), 9999924503863867 (debit), 9999926275252757 (debit), 9999926481617389 (debit), 9999926863362265 (debit), 9999916516806651 (credit), 9999914004280406 (credit), 9999915317077884 (credit), 9999915568082161 (credit), 9999915852074023 (credit), and the lab's shared table. Limits per payment (modeled): cash 1.00–1500.00, card 1.00–10000.00, ach 1.00–25000.00, paypal 1.00–10000.00, venmo 1.00–5000.00, push 1.00–25000.00.

Decline amounts (PayNearMe's sandbox, any test card)

AmountCodeMessage
213.8905This card is not permitted to make this payment.
213.8312This payment with this card is invalid.
213.7914This card number is invalid.
213.7351There are insufficient funds on this card to complete this payment.
213.7154This card is expired.
213.6757This card is not permitted to make this kind of payment.
213.6161This payment exceeds this card’s withdrawal limit. (disbursements only)
213.5962This card is restricted and cannot make this payment.
213.53NZThis payment didn't complete because the security code was invalid.
172.01P9Unable to process this payment. Please try a different payment method.
172.0210Unable to process this payment for the requested amount. Please try a different payment method.
172.0320Unable to process this payment right now. Please try again later or use a different payment method.
172.0460This payment could not be authorized. Please contact your card issuer or try a different payment method.
172.0568Unable to receive response from card issuer. Please try again in a few minutes.
172.066PThe security information could not be verified. Please check your card information and try again.
172.07SGAccount could not be found. Please check your card information or try a different payment method.
44.029GYour bank didn’t approve this transaction. Please review your account settings or contact your bank.
44.015CYour bank couldn’t approve this transaction. Please contact your bank for more information.

Bancontact

Bancontact Pro's Payment V3 API (3.6.5) and Payment Refund Service API (3.0.3) on their own paths, under /bancontact: a Bancontact client swaps merchant.api.preprod.bancontact.net for this host's /bancontact. Credentials are ignored: any Authorization is taken and names the merchant; a request's Signature (JWS) is never checked. The API is real: built from Bancontact Pro's public developer portal (docs.bancontactpro.com, its OpenAPI files and guides). Modeled: the checkout page's card tab (Bancontact Pro's own page offers the app; the card's entry, its card reader and banking-app confirmation are modeled on the PSPs' Bancontact pages), the app's screens, the payers' accounts and the lab's rules.

Callbacks (MerchantCallback, every final status; IDENTIFIED to an identifyCallbackUrl) carry signature: a detached JWS, ES256, with the https://payconiq.com/* critical claims, signed with the published key 49cc69eb-393a-4a2c-896f-0a29d82d0cd5. A payment request is valid for 20 minutes, then EXPIRED. Limits: Bancontact Pay 1,500.00 EUR per payment and 2,500.00 EUR a day per card, the card 2,500.00 EUR per seven days (AUTHORIZATION_FAILED).

Test values

ValueEffect
5127 8829 9999 9715, 11/29Always authorised
5127 8829 9999 9723, 11/29Insufficient funds
5127 8829 9999 9731, 11/29Card refused by the issuer
Any other valid card, a future expiryAuthorised
…13, from 10.00AUTHORIZED after the payer confirms, then SUCCEEDED a minute later
…22, from 10.00The create answers 422 UNABLE_TO_PAY_CREDITOR: nothing is created
…53, from 10.00The create answers 503 TRY_AGAIN_LATER: nothing is created
…05, from 10.00AUTHORIZATION_FAILED after the payer confirms (insufficient funds)
…06, from 10.00FAILED after the payer confirms (a technical error)
refund …05PENDING, then FAILED

CircoFlows (Circoflow)

CircoFlows' card gateway on the real host's paths, under /circoflow: a client of https://gateway.circoflows.com/api/v1/test (sandbox) or …/api/v1 (production) reaches the lab at https://<lab>/circoflow/api/v1/test or …/circoflow/api/v1 and changes nothing else. JSON, snake_case, amounts as decimal strings, lowercase statuses. Credentials are ignored: any Authorization: Bearer key is taken and only names the merchant (no key: lab-merchant); sandbox and production keep separate books.

Test cards (the lab's own; any future expiry, any CVV)

CardBrandEffect
4242 4242 4242 4242Visasuccess "Payment completed." (frictionless)
5555 5555 5555 4444Mastercardsuccess "Payment completed." (frictionless)
4111 1111 1111 1111Visasuccess "Payment completed." (frictionless)
4000 0000 0000 3220Visaprocessing "Payment authentication required." with a 3ds_url; authenticated: pending "Payment pending.", success 3 s later
5200 8282 8282 8210Mastercardprocessing with a 3ds_url; authenticated: pending, success 3 s later
4000 0000 0000 0341Visaprocessing with a 3ds_url; declined "3ds_rejected" however the challenge is answered
4000 0000 0000 0077Visapending "Payment pending." with no 3ds_url; success 5 s later, by webhook
4000 0000 0000 0002Visadeclined "Payment failed."
4000 0000 0000 9995Visadeclined "Insufficient funds."
4000 0000 0000 0069Visadeclined "Card expired."
4000 0000 0000 0127Visadeclined "CVV verification failed."
4100 0000 0000 0019Visadeclined "suspected_fraud"
4000 0000 0000 0259Visadeclined "no appropriate payment routes found"
4000 0000 0000 0051Visablocked "Max 2 declines reached for this card in 24 hrs. Please retry after 24 hours." (Circoflow's own velocity rule)
4000 0000 0000 0119Visadeclined "Acquirer Side integration error, …" (a gateway fault)
3782 8224 6310 005Amexdeclined "Payment method not supported"

An encrypted card (ev:…) is recognised by the BIN and last four BabelPay sends in X-Bistromathic-Card-Bin / -Last4.

Lab rules: the amount's last two digits (minor units), any other card

AmountEffect
…21blocked "Max 2 declines reached for this card in 24 hrs. …"
…22declined "no appropriate payment routes found"
…23declined "mid_at_capacity"
…54declined "Card expired."
…59declined "suspected_fraud"
…77pending, then success 5 s later by webhook
…78pending, then declined "Declined by Issuer" 5 s later by webhook
…96HTTP 500 {"message":"Server Error"}; nothing is filed
…983DS challenge, then declined "3ds_rejected" however it is answered
…993DS challenge; authenticated: pending, success 3 s later
…02declined "Declined by Issuer"
…05declined "Insufficient funds."
…06declined in the acquirer's frame "P0002||Payment failed!|Insufficient funds||billaddress:…"
…07declined "Issuer Decline-Invalid CVV"

Any other amount is approved. Also: an expiry in the past is declined "Card expired."; an expiry year after 2050, an empty field or a malformed one is a validation message; a merchant_transaction_id used before is declined "Duplicate merchant_transaction_id not allowed".

Real vs modeled. CircoFlows publishes no API document; the API is reverse-documented from BabelPay's integration and the answers it has seen. Real (as observed): the two endpoints, the field names, amounts as strings, the statuses and their casing, the sandbox's and production's reason strings (including the acquirer's pipe frame and the "Issuer Decline-" prefix), blocked, "Transaction not found." for a refused payment, asynchronous settlement after 3DS, a never-opened 3DS page never expiring, the unsigned payment.notify webhook, created_at without a zone. Modeled: which card or amount gives which outcome, the HTTP statuses of validation answers, the exact wording of validation messages other than the observed ones, the 3 s and 5 s settlement delays, the 10-minute challenge timeout, a webhook for a payment approved at create, the masked payment_info, and the velocity block (answered by magic values, not by counting declines). Circoflow offers no refund, capture or void to BabelPay, so the lab serves none.

CC7995 (cards)

The CC7995 API (the bundled CC7995 API.pdf, the only reference) on the real host's paths, under /cc7995: a client of https://api.7995-endpoint-b.com reaches the lab at https://<lab>/cc7995 and changes nothing else. Credentials are ignored: X-Api-ClientId only names the calling system (each its own payments; none: lab-client), X-Api-Signature is never checked; an X-Api-RequestDate more than ten minutes off is refused with 6, as CC7995 does. A card arrives as vault ciphertext on a simulated BabelPay connection (no Evervault relay in front of the lab); the lab knows its test cards by BabelPay's X-Bistromathic-Card-Bin / -Last4 hint.

Postbacks (§6), as CC7995 sends them: POST JSON {data:{…the status item…}} to the PaymentCallbackUrl, with X-Signature = lower-case hex SHA-512(ClientId + body + ClientSecret); the ClientSecret is the published simulation secret bistromathic-lab-simulated-flow, the ClientId the payment's own. Delivered on HTTP 200; sent when a payment is decided (COMPLETED or DECLINED).

Test cards (the lab's: CC7995 publishes none)

Any future expiry, any CVV, a cardholder name of two Latin words.

CardBrandWhat it does
4242 4242 4242 4242VISACOMPLETED, frictionless (the confirmation page only)
5555 5555 5555 4444MASTERCARDCOMPLETED, frictionless
4000 0000 0000 3220VISA3-D Secure challenge, then COMPLETED
5200 8282 8282 8210MASTERCARD3-D Secure challenge, then COMPLETED
4000 0000 0000 0341VISA3-D Secure challenge that fails however it is answered: DECLINED "User Authentication Failed"
4000 0000 0000 0002VISADECLINED "Authorization declined 05 DECLINED" (do_not_honor)
4000 0000 0000 9995VISADECLINED "Insufficient Funds"
4000 0000 0000 0069VISADECLINED "transaction declined (wrong expiry date)" (expired_card)
4000 0000 0000 0127VISADECLINED "invalid CVV/brand combination"
4100 0000 0000 0019VISADECLINED "Blocked due to risk score" (risk_block)
4000 0000 0000 0259VISADECLINED "Restricted card"
4000 0000 0000 0119VISADECLINED "error response from connector/acquirer" (unable_to_authorize)
4000 0000 0000 0051VISADECLINED "risk management transaction timeout" (unable_to_authorize)
4000 0000 0000 6975VISADECLINED "transaction declined (maximum transaction frequency exceeded)"
4000 0000 0000 4954VISADECLINED "transaction declined (suspecting manipulation)" (suspected_fraud)
3782 8224 6310 005AMEXRefused at the card payment: HTTP 400, error 209 Unsupported card (any card but Visa or Mastercard)

Lab rules, for any other card

Amount (minor units)Effect
…51DECLINED "Blocked due to risk score"
…983-D Secure challenge that fails: DECLINED "User Authentication Failed"
…993-D Secure challenge, then COMPLETED
…02DECLINED "Authorization declined 05 DECLINED"
…05DECLINED "Insufficient Funds"
anything elseCOMPLETED, without a challenge

Real vs modeled. Real (the PDF, and the live gateway as BabelPay's integration notes record it): the paths, headers, field names and validity rules, the two-step debit, the status codes and texts, the decline reasons (verbatim from production), the error codes and texts, 209's shape, the postback and its signature, the default one-hour timeout, 20 ids per status call, HTTP 400 for a status call without payment_ids (the live gateway has no listing form) and HTTP 502 for an id that is not a CC7995 payment_id. Modeled: the test cards and amount rules, the confirmation page's look (CC7995 publishes none), the HTTP statuses of errors (401 for 1/5/6, 400 otherwise; §3 says only "4xx"), the error for an unknown payment_id (1000), the ten-minute request-date window, the 25,000 cap, transaction_id and payment_method_* values, postbacks only on a final status, the duplicate rule, and the platform administration stand-in. Not simulated: 50 (no ClientId requires a beneficiary URL), 200–202, 211, recurring payments, the method web form's other methods.

CC7995's errors (§3)

1 Authentication failed or access denied
5 X-Api-Signature verification failed
6 Request header X-Api-RequestDate is out of date
50 Beneficiary URL required
51 Beneficiary URL is of incorrect format or invalid
200 Creating payments not allowed for the specified ClientID
201 Card payments not allowed for the specified ClientID
202 Card payments not allowed for the recipient
203 Payment with the specified payment_id already processed
204 Card number (PAN) is of incorrect format or invalid
205 Card expiration date is of incorrect format or invalid
206 Card cvv/cvc2 is of incorrect format or invalid
207 Cardholder name is of incorrect format or invalid
208 Payer email is of incorrect format or invalid
209 Unsupported card. Try another one
210 URL not allowed
211 Payer country not allowed
212 Amount not allowed
1000 General error

Argent Platforms: cards

The Argent Platforms API on its two hosts' real paths: a client of https://api.argentplatforms.com reaches the lab at https://<lab>/argent, and of https://tokenise.argentplatforms.com at https://<lab>/argent/tokenise, and changes nothing else. Credentials are ignored: HTTP Basic with the secret key as username is taken whatever it holds; the key (hashed) only names the merchant, each key a company of its own (no credentials: lab-merchant). public_key must be present, as Argent requires it, but any value is taken. Every answer says live: false.

3-D Secure. The action is a 3-D Secure 2 challenge: action_data carries acs_url, a creq and three_ds_session_data (the method card first gives three_ds_method_url and three_ds_method_data; continue with threeDSCompInd Y, N or U in action_data and the challenge follows). The payer posts the CReq to /argent-lab/acs/{token}, the issuer's challenge (two seconds to verify), whose CRes goes through the browser to Argent's 3DS server and on to the merchant's return_url with payment_intent_id and status appended. Without can_handle_3ds: true a challenge card fails ("This transaction requires authentication").

Webhooks, to every URL subscribed to the event: {id, event, created_at, live, data} (a refund's data is its RefundDetail), with X-ArgentPlatforms-Signature = hex HMAC-SHA256 of the raw body under the published simulation secret bistromathic-lab-simulated-flow (a real company's is its own signing secret).

Test cards

CardWhat it doesProcessorSource
4242424242424242Payment succeedsfakeArgent's Testing docs
4000000000000002Payment fails: "Your card was declined."stripe_standardArgent's Testing docs
40000000000032203-D Secure challenge: confirm to pay; fail or cancel it and the payment failslab_3dsArgent's sandbox (observed)
40000025000031553-D Secure challenge, as 4000000000003220lab_3dsArgent's sandbox (observed)
40000027600031843-D Secure challenge, as 4000000000003220lab_3dsArgent's sandbox (observed)
40000000000030553-D Secure frictionless: the issuer authenticates without a challenge and the payment succeedsstripe_standardStripe's test number
40000000000032533DS method (device data) step first, then the challengelab_3dsthe lab
40000084000016293-D Secure challenge; once authenticated the payment fails: "Your card was declined."lab_3dsStripe's test number
40000082600031783-D Secure challenge; once authenticated the payment fails: "Your card has insufficient funds."lab_3dsStripe's test number
4000000000009995Payment fails: "Your card has insufficient funds."stripe_standardStripe's test number
4000000000000069Payment fails: "Your card has expired."stripe_standardStripe's test number
4000000000000127Payment fails: "Your card's security code is incorrect."stripe_standardStripe's test number
4000000000000119Payment fails: "An error occurred while processing your card. Try again in a little bit."stripe_standardStripe's test number
any other valid numberAny other valid card number fails: "Your card was declined."stripe_standardArgent's Testing docs

Lab rule

An amount ending in 5.03 (5.03, 15.03, …): the intent is created and runs as its card says, but the create answer is 503 Service Unavailable, a lost answer for reconciliation to find by reference.

Limits

Real vs modeled. Real (argent-openapi.yaml and BabelPay's sandbox run of 2026-10-27): the hosts and paths, Basic auth with the secret key, public_key in tokenise, create and continue, the tokenise → intent → PATCH → GET flow, the statuses, the 200 action answer's shape, absent values as null, string amounts, the nested currency, payment and error objects, the id prefixes, DRF's error bodies, the tokenise refusal, "Unsupported currency", payment_intent_id and status on the return, cursor pagination, the webhook events and the signature header. Modeled: the action itself (the sandbox's is a Stripe PaymentIntent for Stripe.js, which the lab cannot be), the webhook body, the refund's id prefix and refusal wording, the processors' names for the lab's cards, Stripe's decline numbers and reasons, the method card, the lost-answer rule, the currency list, the dashboard stand-in.

HappyCoins (Onramp Pay): crypto onramp

HappyCoins' Onramp Pay API on the real host's paths, under /happycoins: a client of https://dev-api-onramp-pay.up.railway.app (or https://api.onramp-pay.happycoins.com) reaches the lab at https://<lab>/happycoins and changes nothing else. The apiKey header is never checked: it only names the merchant, each key a merchant of its own (no key: lab-merchant). HappyCoins has no webhook: the merchant polls.

Status and step move together: STARTED/INITIATED at create; IN_PROCESS/URL_VISITED when the buyer opens the link; a new buyer's registration walks WALLET_ADDRESS (the country), KYC_STARTED (the identity method), VERIFIED/KYC_DONE (identified), IN_PROCESS/FORM_VISITED (personal number and PEP), FORM_VISITED_DOB (personal details) and FORM_SUBMITTED (the financial details); Continue to checkout is ORDER_SUMMARY, and for a registered buyer walks all of those first with no screens of their own; PENDING/FIAT_PAYMENT while the card is charged (2 s); IN_PROCESS/PAYMENT_DONE; IN_PROCESS/SEND_TO_CUSTOMER once the crypto is in the buyer's wallet (3 s); then COMPLETED/SEND_TO_CUSTOMER when the buyer pays the merchant (where HappyCoins' paid orders stay) or COMPLETED/KEPT_BY_CUSTOMER when they keep it. DECLINED, FAILED, REJECTED, ERROR, KYC_ATTEMPT_EXCEEDED and TIMEOUT end an order where it stands; opening the link again mid-flow is RELOADED.

Magic values

Lab rules (the fiat amount's last two digits in minor units)

AmountEffect
…03HappyCoins cannot verify the buyer: a new buyer's identification (BankID, ID card or passport) ends the order KYC_ATTEMPT_EXCEEDED, and so does a registered buyer's Continue to checkout (risk_block)
…04HappyCoins rejects the order on Continue to checkout, before the card: REJECTED (do_not_honor)
…06The card is charged, then buying the crypto fails: ERROR (psp_malfunction)
…07After the buyer pays the merchant, delivery follows HappyCoins' documented tail: SEND_TO_CUSTOMER, then RECEIVED_TO_CUSTOMER (the hash appears), SEND_TO_MERCHANT and COMPLETED, four seconds apart
…08Open question 3(h): COMPLETED/SEND_TO_CUSTOMER is served while the buyer is still choosing whether to pay the merchant or keep the crypto

Real vs modeled. Real (HappyCoins' guide rev. 2026-08-19, the status endpoint and vocabularies of 2026-08-24, sandbox traffic to 2026-08-31): the paths, the apiKey header, the request and response fields, major-unit amounts, the UUID paymentRequestId echoed back and its uniqueness, the 422 and 404 shapes and the messages quoted above, the restricted residences and reserved emails, the lookup by request id, the status and step vocabularies, COMPLETED/SEND_TO_CUSTOMER as a paid order's last state and KEPT_BY_CUSTOMER under COMPLETED, the crypto leg's shape, ALGO's price, and the hosted checkout's screens, order and words as recorded on the sandbox on 2026-11-24, and the registration's from HappyCoins' first-time purchase screens of that day (the artwork redrawn). Modeled: which status accompanies each step, the steps walked through registration and on Continue to checkout, the ID card and passport screens (not shown), BankID (the lab's own page), the countries offered, the registration's checks, an account kept per merchant (HappyCoins' are global), the other validation messages, the fiat currencies, the card's test cards (HappyCoins publishes none) and the 3-D Secure step, the crypto leg's status values (In_Process, Completed, Failed), the 15-minute TIMEOUT (HappyCoins' is hours), the lab rules, and the documented delivery tail of rule …07, which HappyCoins' sandbox has never been seen to reach. crypto-accept is unspecified and not simulated.

Worldpay (WPG, Direct XML)

Worldpay's paymentService XML API (DTD v1.4) on secure-test's paths, under /worldpay: a client of https://secure-test.worldpay.com reaches the lab at https://<lab>/worldpay and changes nothing else. Credentials are ignored: any HTTP Basic merchant code and XML password are taken; the paymentService merchantCode attribute names the merchant (else the Basic username), each code a merchant of its own.

Order notifications, as WPG sends them: <notify><orderStatusEvent orderCode> with the payment and the journal entry, POSTed as text/xml, unsigned, for AUTHORISED, REFUSED, ERROR, CAPTURED, CANCELLED, SENT_FOR_REFUND, REFUNDED and REFUND_FAILED, and for a payout's PUSH_PENDING, PUSH_APPROVED and PUSH_REFUSED (the scheme named VisaDirect / MastercardSend, as Worldpay's samples spell it). Worldpay expects [OK] in the answer; the lab logs an answer without it.

3DS Flex keys: challenge and DDC JWTs verify with the simulation secret bistromathic-lab-simulated-flow (what a connection in simulated flow signs with) or Worldpay's published secure-test credentials (iss 5bd9e0e4444dce153428c940, OrgUnitId 5bd9b55e4444761ac0af1c80, MAC key fa2daee2-1fbb-45ff-4444-52805d5cd9e0). The Response JWT is signed with the same key.

Magic values (Worldpay's)

Fast Access payouts (Worldpay's disbursement test values)

Lab rules

Real vs modeled. Real (docs.worldpay.com): the path, the XML elements and reply shapes the client reads (orderStatus/payment/lastEvent, ISO8583ReturnCode, ThreeDSecureResult with eci/cavv, challengeRequired/threeDSChallengeDetails, request3DSecure + echoData, the machine cookie, <ok> receipts, journals), the error codes (2 parse, 3 amount, 5 duplicate order / not found / currency, 7 payment details), the magic names, cards, amounts, CVC and AVS values, Cardinal's cases, the step-up's claims and empty 400, the published test JWT credentials; for payouts, the FF_DISBURSE-SSL request (the DTD's), the PUSH_* statuses, schemeResponse and fastFunds, the disbursement magic names and cards, Mastercard Send's validation messages. Modeled: the wording of the lab's own error 5 messages (machine cookie, session id, 3DS not completed), out-of-band modification failures (booked as nothing, a refund over the captured amount as REFUND_FAILED), the capture, refund and pending-push timings, the lab's frictionless default and wallet rules, the issuer's page, the MAI stand-in, an ordinary payout name approved, the action code 05 of a PENDINGREFUSED, the error-simulation cards answered as error 5. Not simulated: "Order not ready" inquiry lag, HPP, tokenisation (payouts to a token), card checks, Money Transfer OCTs (FF_MONEYTRANSFER-SSL), batch orders, settlement (SETTLED, SETTLED_BY_MERCHANT), chargebacks.

Citigate (Orion card gateway)

Citigate's JSON interface (Integration Specification, Credit Card v1.27) on the real host's path, under /citigate: a client of https://gw-test.cgate.tech/orion/interface/json.ashx (or gw.cgate.tech) reaches the lab at https://<lab>/citigate/orion/interface/json.ashx and changes nothing else. One POST, the operation picked by TransTypeID; every answer is HTTP 200 with Citigate's fields (TransactionID as text, TransTypeID, Amount and ResponseCode as numbers). Credentials are ignored: MerchantName only names the merchant (each its own MID; none: lab-merchant), MerchantPassword is never read.

Callback and user return, as Citigate sends them on the JSON interface: a JSON POST to CallbackURL with every response field as text plus Signature = lowercase hex SHA-1 of MerchantPassword + TransactionID + MerchantRef + Currency + Amount + ResponseCode. The lab signs with the published simulation secret bistromathic-lab-simulated-flow in the MerchantPassword's place; a connection in simulated flow verifies with it.

Magic values

CardBrand3-D SecureWhat happens (lab's MID)
4111111111111111VISAnoneApproved, no redirect (Citigate's own example card; so is any other Luhn-valid card)
5555555555554444MASTERCARDnoneApproved, no redirect
378282246310005AMEXnoneApproved, no redirect
4000000000003220VISAchallenge600 Redirect required; the issuer's 3-D Secure challenge, then approved
5200828282828210MASTERCARDchallenge600 Redirect required; the issuer's challenge, then approved
4000000000003253VISAchallenge600 Redirect required; the challenge, then the bank declines: 51 Not sufficient funds
4000000000003063VISAfrictionless600 Redirect required; frictionless 3-D Secure (no challenge), then approved
4000000000000341VISAfrictionless600 Redirect required; the issuer refuses without a challenge: 103 3D authentication failure
4000000000000002VISAnoneDeclined: 5 Do not honour
4000000000009995VISAnoneDeclined: 51 Not sufficient funds
4000000000000069VISAnoneDeclined: 54 Expired card
4000000000000127VISAnoneDeclined: 79 Invalid CVV2/CVC2
4100000000000019VISAnoneDeclined: 59 Suspected fraud
4000000000009235VISAnoneDeclined: 102 General risk decline
4000000000000259VISAnoneDeclined: 91 Issuer or switch is inoperative
4000000000000101VISAnoneDeclined: 105 Timeout at acquirer
4000000000000119VISAnoneDeclined: 96 Acquirer system malfunction

An encrypted card (ev:…) is recognised by BabelPay's BIN and last-four headers. Expiry any future month, CVV any 3 or 4 digits.

Checked, with Citigate's codes

Real vs modeled. Real (Citigate.pdf v1.27): the endpoint, the TransTypeIDs, the field names, Appendix 1's codes and texts, the 600 → redirect → callback → user-return sequence with the callback joined before the return, the SHA-1 signature, the pending/unknown status answers, Dummy1/Dummy2 and the amount rule, the 30-second duplicate guard, partial refunds off by default, auto-capture. Modeled: the decline code of the amount rule (5), TransTypeID 0 / TransactionID "0" on a refused request, the timeout lengths, 589 for a MerchantRef that is not the original's, a refund answering the refunded amount, the lab's MID and test cards, Brand not required of an encrypted card, the payer's name and address fields not required (Citigate marks them mandatory; the sandbox's enforcement is not documented). Not served: the SOAP, XML and NVP interfaces, the Refund and Fraud Notifications (an optional push, off by default), and RaaS (TransTypeID 31 answers 573).

Citigate's response codes

0 Approved
1 Refer to Card Issuer
2 Refer to Card Issuer's Special Condition
3 Invalid Merchant
4 Pick-up
5 Do not honour
12 Invalid transaction
13 Invalid amount
14 Invalid card number
15 No such issuer
19 Re-enter transaction
20 Invalid response
21 No Transaction
30 Format error
31 Bank not supported
33 Expired card, pick-up
34 Issuer suspects fraud, pick-up
35 Contact acquirer, pick-up
36 Restricted card, pick-up
39 No credit account
41 Lost card, pick-up
43 Stolen card, pickup
50 Maintenance in progress
51 Not sufficient funds
54 Expired card
56 No card record
57 Transaction not permitted to cardholder
58 Transaction not permitted to terminal
59 Suspected fraud
61 Exceeds withdrawal amount limit
62 Restricted card
63 Security violation
65 Exceeds withdrawal frequency
78 Invalid account specified
79 Invalid CVV2/CVC2
91 Issuer or switch is inoperative
92 Destination cannot be found for routing
93 Transaction cannot be completed; violation of law
94 Duplicate transaction
96 Acquirer system malfunction
101 Unable to authorize
102 General risk decline
103 3D authentication failure
104 Acquirer limits reached
105 Timeout at acquirer
106 User aborted transaction
107 Missing or invalid client information
108 AVS Response
109 Risk Decline - 3rd Party
110 Risk Decline - 3rd Party
500 TransTypeID not supplied or invalid
501 MerchantReference not supplied
502 MerchantReference invalid
503 Currency not supplied
504 Currency invalid
505 Amount not supplied
506 Amount invalid
507 MerchantName not supplied
508 MerchantName invalid
509 MerchantPassword not supplied
510 MerchantPassword invalid
511 Brand not supplied
512 Brand invalid
513 Firstname not supplied
514 Firstname invalid
515 Surname not supplied
516 Surname invalid
517 StreetLine1 not supplied
518 StreetLine1 invalid
519 StreetLine2 not supplied
520 StreetLine2 invalid
521 City not supplied
522 City invalid
523 PostalCode not supplied
524 PostalCode invalid
525 StateProvince not supplied
526 StateProvince invalid
527 Country not supplied
528 Country invalid
529 Email not supplied
530 Email invalid
531 Telephone not supplied
532 Telephone invalid
533 DateOfBirth not supplied
534 DateOfBirth invalid
535 UserIP not supplied
536 UserIP invalid
537 CardholderName not supplied
538 CardholderName invalid
539 CardNo not supplied
540 CardNo invalid
541 ExpiryYear not supplied
542 ExpiryYear invalid
543 ExpiryMonth not supplied
544 ExpiryMonth invalid
545 CVV not supplied
546 CVV invalid
553 Failed Luhn check
554 Card expired
555 TransactionID not supplied
556 TransactionID invalid
557 Invalid MerchantName and MerchantPassword combination
559 Error looking up original transaction info
560 No corresponding successful authorisation
561 Transaction has already been captured
562 Transaction has already been cancelled
563 Transaction has already been refunded
564 No corresponding successful sale or capture
567 Unknown Brand
568 Unknown Currency
573 TransTypeID not supported on current MID
584 SuccessURL invalid
585 FailURL invalid
586 CallbackURL invalid
589 Invalid reference combination
590 Invalid payload received
597 Duplicate transaction (successful purchase in last 30 secs with same card, MID, currency and amount)
600 Redirect required
621 Recurring transactions not possible with 3D MIDs
622 No corresponding purchase or capture
629 Partial refund not supported
630 Partial refund amount exceeds available amount
700 No user redirect (timeout)
800 No user return (timeout)
999 Transaction Pending

Blueemi (Checkout.com's Unified Payments API)

Blueemi is a white-label of Checkout.com's Unified Payments API, and the lab serves that API on the real host's paths, under /blueemi: BabelPay's blueemi connector in simulated flow swaps the Evervault relay in front of api(.sandbox).checkout.com for https://<lab>/blueemi and changes nothing else. Credentials are ignored: any Authorization: Bearer key is taken and only names the merchant (a simulated connection sends simulated-<connection id>; any other key names its merchant by a hash and is never kept). The card arrives as vault ciphertext with its BIN and last four in X-Bistromathic-Card-Bin / -Last4, or in clear.

Webhooks, Checkout.com's envelope {id: "evt_…", type, version, created_on, data: {id, action_id, reference, amount, currency, response_code, response_summary, balances, source, …}, _links}, signed blueemi-Signature = hex HMAC-SHA256(key, raw body), the key being the published simulation key bistromathic-lab-simulated-flow. The lab has no dashboard: they go to the callback_url in the payment's metadata. Events: payment_approved, payment_declined, payment_captured / _capture_declined, payment_voided / _void_declined, payment_refunded, card_verified / card_verification_declined; a refund's or capture's event carries that action's id, amount and reference.

Test cards (Checkout.com's): the issuer's answer

Any future expiry (a past one: 422 card_expired); a 3-digit CVV, 4 for American Express. A card with no 3DS profile is not enrolled: with attempt_n3d it is authorized at once without 3DS (3ds.downgraded: true), without it declined 20150.

91 cards
Card numberSchemeWhat it does
4543474002249996Visa, USApproved (the card in Checkout's token example)
4000020000000000Visa, USApproved
4242424242424242Visa, GBApproved; amount 101 (1.01) declines 20051 Insufficient funds
4273149019799094Visa, TRCard verifications only: approves, but captures and voids are declined
4539467987109256Visa, ESDeclined 20005 Do not honour
4024007181869214Visa, USDeclined 20005 Do not honour
4916301720257093Visa, USDeclined 20020 Invalid response
4485899805156040Visa, USDeclined 200R1 Stop payment for this authorization
4659105569051157Visa, GBApproved (debit)
4095254802642505Visa, USDeclined 20068 Response received too late / timeout (debit)
4000148147058142VisaDeclined 20020 Invalid response (prepaid)
5436031030606378Mastercard, MUApproved
5585076576791786Mastercard, HUDeclined 20005 Do not honour
5305484748800098Mastercard, DEApproved (debit)
341829238058580American Express, USDeclined 20005 Do not honour
6011111111111117Discover, USApproved
6011111111111118Discover, USDeclined 20005 Do not honour
6011201559638046790Discover, USDeclined 20005 Do not honour
6445979375892355607Discover, USApproved
36160940933914Diners Club International, KRApproved
36160912071610Diners Club International, KRDeclined 20005 Do not honour
3582069482684995JCB, JPApproved
3528257085901927JCB, JPDeclined 20005 Do not honour
3566027046765007JCB, JPApproved
4276038578596818Visa, USDeclined 2005C Transaction not supported / blocked by issuer
4152812521833588Visa, USDeclined 2009G Blocked by cardholder
4734868958733862Visa, USDeclined 200N7 Decline for CVV2 failure
4567361325981788Visa, GBDeclined 200R3 Stop payment for all authorizations
4111111111111129Visa, USDeclined 20001 Refer to card issuer
4024007103573027Visa, USDeclined 20012 Invalid transaction
4158596042924182Visa, GBDeclined 20012 Invalid transaction
4485381577182090Visa, USDeclined 20014 Invalid card number
4544249167673670Visa, GBDeclined 20051 Insufficient funds
4659465888705671Visa, GBAn account funding transaction declines 20057 Not permitted to cardholder; anything else approves
4151512736305999Visa, GBDeclined 20057 Transaction not permitted to cardholder
4897453568485113Visa, USDeclined 20059 Suspected fraud
4000144348235050VisaDeclined 20059 Suspected fraud (prepaid)
4556294593757189Visa, UYDeclined 20061 Activity amount limit exceeded
4818924250131070Visa, GBDeclined 20062 Restricted card
4556253752712245Visa, USDeclined 20063 Security violation
4532819413487978Visa, USDeclined 20078 Blocked, first use
4732789363145785Visa, PRDeclined 20082 No security model
4000140542610783VisaDeclined 20082 No security model (prepaid)
4500622868341387Visa, CADeclined 20154 3DS authentication required
4539257838438511Visa, IEDeclined 20154 3DS authentication required
4941208378238219Visa, GBDeclined 20154 3DS authentication required
4024007162185267Visa, USDeclined 30015 No such issuer
4655710037275959Visa, GBDeclined 30015 No such issuer
4941202060999329Visa, GBDeclined 30041 Lost card - pick up
4658620059821613Visa, GBDeclined 30041 Lost card - pick up
4539253655711767Visa, IEDeclined 30043 Stolen card - pick up
4745820750643143Visa, GBDeclined 30043 Stolen card - pick up
4000140543766022VisaDeclined 20109 Transaction already reversed
5510696303117979MastercardDeclined 20003 Invalid merchant
5148447461737269Mastercard, USDeclined 20012 Invalid transaction
5510696303117987MastercardDeclined 20030 Format error
5437821135399682Mastercard, TWDeclined 20051 Insufficient funds
5355224542121849Mastercard, GBAn account funding transaction declines 20057 Not permitted to cardholder; anything else approves
5355222710253469Mastercard, GBDeclined 20057 Transaction not permitted to cardholder
5420951756276171Mastercard, TNDeclined 20061 Activity amount limit exceeded
5279988405398834Mastercard, JPDeclined 20062 Restricted card
5265162270587964Mastercard, USDeclined 20068 Response received too late / timeout
5525192142230028MastercardDeclined 20072 Account not yet activated
5347965091482021Mastercard, BRDeclined 20182 Policy
5357219827207436Mastercard, BGDeclined 20183 Security
5363450180402239Mastercard, PHDeclined 30041 Lost card - pick up
5355222710255852Mastercard, GBDeclined 30043 Stolen card - pick up
5525192142230002MastercardDeclined 30046 Closed account
5355222710255878Mastercard, GBDeclined 30046 Closed account
5333170000000008Mastercard, ITApproved up to 100.00; more declines 20051 Insufficient funds
5318773000000008Mastercard, USApproved up to 100.00; more declines 20051 Insufficient funds
4644968546281686Visa, GBVerifies (amount 0); an authorization declines 20012
5355228287185489Mastercard, GBVerifies (amount 0); an authorization declines 20012
4546381219393284Visa, GBVerifies (amount 0); an authorization declines 20051
5355229757805879Mastercard, GBVerifies (amount 0); an authorization declines 20051
4325350188287824Visa, GBVerifies (amount 0); an authorization declines 20051
4543611423334994Visa, GBVerifies (amount 0); an authorization declines 20061
5355222589678168Mastercard, GBVerifies (amount 0); an authorization declines 20061
4394666298116207Visa, GBVerifies (amount 0); an authorization declines 20061
4857662623668665Visa, GBVerifies (amount 0); an authorization declines 20062
5355225201525238Mastercard, GBVerifies (amount 0); an authorization declines 20062
4021277034700287Visa, GBVerifies (amount 0); an authorization declines 20062
4407108123937239Visa, GBVerifies (amount 0); an authorization declines 20063
5355226042898974Mastercard, GBVerifies (amount 0); an authorization declines 20063
3530111333300000JCB, JPNot 3DS-enabled: 20150 with 3DS; approves without (CVV 100)
5352151570003404Mastercard, FRNot 3DS-enabled: 20150 with 3DS; approves without (CVV 100)
4532432452900131Visa, DENot 3DS-enabled: 20150 with 3DS; approves without (CVV 257)
378282246310005American Express, US3DS: card not enrolled (attempt_n3d: authorized without 3DS)
5132562600000045Cartes Bancaires, FR3DS: card not enrolled (attempt_n3d: authorized without 3DS)
4022050100000182Cartes Bancaires, FR3DS: card not enrolled (attempt_n3d: authorized without 3DS)
4484070000035519Visa, GB3DS: card not enrolled (attempt_n3d: authorized without 3DS)

3DS test cards

Authenticated (Y) or attempted (A): authorized, then the amount rules decide. Not authenticated (N) or rejected (R): declined 20151. Could not be performed (U) or a scheme error (E): with attempt_n3d authorized without liability shift (ECI 07/00), otherwise 20153. A challenge cancelled or failed is not authenticated.

Frictionless
Card numberSchemeWhat it does
345678901234564American Express, ES3DS frictionless: authentication successful
5137210000000018Cartes Bancaires, FR3DS frictionless: authentication successful
4010056200000018Cartes Bancaires, FR3DS frictionless: authentication successful
5588686116426417Mastercard, CN3DS frictionless: authentication successful
6224120000000094UnionPay, CN3DS frictionless: authentication successful
4485040371536584Visa, US3DS frictionless: authentication successful
371064645462927American Express, US3DS frictionless: not authenticated
5132562600000029Cartes Bancaires, FR3DS frictionless: not authenticated
4022050100000000Cartes Bancaires, FR3DS frictionless: not authenticated
5309961755464047Mastercard, BR3DS frictionless: not authenticated
6224120000000086UnionPay, CN3DS frictionless: not authenticated
4539628347117863Visa, AD3DS frictionless: not authenticated
344282679519362American Express, US3DS frictionless: authentication could not be performed
5132562600000011Cartes Bancaires, FR3DS frictionless: authentication could not be performed
4022050100000018Cartes Bancaires, FR3DS frictionless: authentication could not be performed
5234106378657904Mastercard, KR3DS frictionless: authentication could not be performed
6224120000000078UnionPay, CN3DS frictionless: authentication could not be performed
4024007186645015Visa, US3DS frictionless: authentication could not be performed
4022050100000026Cartes Bancaires, FR3DS frictionless: attempted authentication
5558468902774508Mastercard, KE3DS frictionless: attempted authentication
6224120000000029UnionPay, CN3DS frictionless: attempted authentication
4556574722325580Visa, PT3DS frictionless: attempted authentication
343397288296672American Express, US3DS frictionless: authentication rejected
5596061690670931Mastercard, IN3DS frictionless: authentication rejected
6224120000000011UnionPay, CN3DS frictionless: authentication rejected
4275765574319271Visa, JP3DS frictionless: authentication rejected
378702153281139American Express, US3DS frictionless: error during scheme communication
5132562600000060Cartes Bancaires, FR3DS frictionless: error during scheme communication
4022050100000133Cartes Bancaires, FR3DS frictionless: error during scheme communication
5291144083573579Mastercard, US3DS frictionless: error during scheme communication
4452927588210665Visa, US3DS frictionless: error during scheme communication
340282533032846American Express, US3DS frictionless: authentication successful (no 3DS method URL)
36747880216043Diners Club International, US3DS frictionless: authentication successful (no 3DS method URL)
3528982710432481JCB, JP3DS frictionless: authentication successful (no 3DS method URL)
5121073611487018Mastercard, US3DS frictionless: authentication successful (no 3DS method URL)
6224120000000110UnionPay, CN3DS frictionless: authentication successful (no 3DS method URL)
4556085951507152Visa, ES3DS frictionless: authentication successful (no 3DS method URL)
Challenge
Card numberSchemeWhat it does
372688581899681American Express, US3DS challenge: authentication successful
5137210000000158Cartes Bancaires, FR3DS challenge: authentication successful
4010061700000021Cartes Bancaires, FR3DS challenge: authentication successful
5385308360135181Mastercard, US3DS challenge: authentication successful
6224120000000003UnionPay, CN3DS challenge: authentication successful
346126139326850American Express, US3DS challenge: attempted authentication
5341034800000008Cartes Bancaires, FR3DS challenge: attempted authentication
4150561000000001Cartes Bancaires, FR3DS challenge: attempted authentication
5518832400606463Mastercard, US3DS challenge: attempted authentication
6224120000000060UnionPay, CN3DS challenge: attempted authentication
4152868552773614Visa, BH3DS challenge: attempted authentication
375982239796002American Express, US3DS challenge: authentication rejected
5341034800000016Cartes Bancaires, FR3DS challenge: authentication rejected
6224120000000052UnionPay, CN3DS challenge: authentication rejected
4150561000000019Cartes Bancaires, FR3DS challenge: authentication rejected
347411540178242American Express, US3DS challenge: not authenticated
5341034800000024Cartes Bancaires, FR3DS challenge: not authenticated
4150561000000027Cartes Bancaires, FR3DS challenge: not authenticated
5258901507741160Mastercard, CA3DS challenge: not authenticated
6224120000000045UnionPay, CN3DS challenge: not authenticated
4243754271700719Visa, US3DS challenge: not authenticated
377990956548835American Express, US3DS challenge: authentication could not be performed
5341034800000032Cartes Bancaires, FR3DS challenge: authentication could not be performed
4150561000000035Cartes Bancaires, FR3DS challenge: authentication could not be performed
5569757734785691Mastercard, US3DS challenge: authentication could not be performed
6224120000000037UnionPay, CN3DS challenge: authentication could not be performed
4447336775378848Visa, US3DS challenge: authentication could not be performed
5341034800000040Cartes Bancaires, FR3DS challenge: error during scheme communication
4150561000000043Cartes Bancaires, FR3DS challenge: error during scheme communication
5572408422189334Mastercard, IE3DS challenge: error during scheme communication
4539929207120660Visa, IN3DS challenge: error during scheme communication
372310461284948American Express, US3DS challenge: authentication successful (no 3DS method URL)
5341034800000057Cartes Bancaires, FR3DS challenge: authentication successful (no 3DS method URL)
4150561000000183Cartes Bancaires, FR3DS challenge: authentication successful (no 3DS method URL)
36138956596288Diners Club International, AT3DS challenge: authentication successful (no 3DS method URL)
3528682570029332JCB, JP3DS challenge: authentication successful (no 3DS method URL)
5259410220714099Mastercard, US3DS challenge: authentication successful (no 3DS method URL)
6224120000000128UnionPay, CN3DS challenge: authentication successful (no 3DS method URL)
4485597929486000Visa, US3DS challenge: authentication successful (no 3DS method URL)

Amount rules (any other card, and 3DS cards after authentication)

From Checkout.com's earlier sandbox documentation, in minor units; an expiry of 01/2099 skips them. Any other amount approves.

2011 → 200R1 Issuer initiated a stop payment (revocation order) for this authorization
2013 → 200R3 Issuer initiated a stop payment (revocation order) for all authorizations
4001 → 40101 Risk Blocked Transaction
4008 → 40108 Gateway Reject - Post code failed
9998 → 20068 Response received too late / Timeout
…12 → 20012 Invalid transaction
…14 → 20014 Invalid account number (no such number)
…33 → 30033 Expired card - Pick up
…51 → 20051 Insufficient funds
…54 → 20087 Bad track data (invalid CVV and/or expiry date)
…62 → 20062 Restricted card
…63 → 20063 Security violation
…05 → 20005 Declined - Do not honour (from 1.00)
With 3DS on, any other card: 6900 or ending in 150 → 20150, 5000–5029 → 20153, 6510/6520/6530/6540 → 20154, at once.

Real vs modeled. Real (checkout.com/docs, api-reference.checkout.com): the paths, the 201/202/403/404/422 answers and bodies, statuses and their casing, pay_/act_/sid_/src_/cus_/evt_ ids, the balances, actions only by session id, the 15-minute session, the webhook envelope and its hex signature, the test cards and response codes. Modeled: the hosted 3DS page's look (Checkout's sandbox shows its own simulator, password Checkout1!), which cards have a 3DS profile (only the 3DS tables'), what U/E results and a cancelled challenge lead to, the earlier sandbox's amount rules applied to every other card, webhooks to metadata.callback_url (two attempts, not Checkout's eight over 24 hours), captures/voids/refunds settling at once. Payouts, tokens, instruments, customers' API, incremental authorizations and idempotency keys are not simulated.

Pay.nl

Pay.nl's Order API (the TGU, connect.pay.nl/v1) and its Transaction:Refund (rest.pay.nl/v2) on the real hosts' paths, under /paynl: a client of https://connect.pay.nl (or its failover core connect.payments.nl) and https://rest.pay.nl reaches the lab at https://<lab>/paynl for both and changes nothing else. Credentials are ignored: any HTTP Basic pair is taken; the username (the AT code) only names the merchant, each its own (no credentials: lab-merchant). The sales location's boarded methods: 10 iDEAL (EUR only), 436 Bancontact (EUR only), 11 Creditcard, 138 PayPal, 1717 Klarna, 2970 Pay by Bank (EUR only), 2277 Apple Pay, 2558 Google Pay, 613 Sandbox.

Exchanges, as SIGNED_JSON_POST: {event: "status_changed", type: "order", version: 1, id, object: <the order>} to the order's exchangeUrl (with type, id, event added to its query, for logging), headers signature = hex HMAC-SHA256 of the raw body, signature-method: HMAC, signature-algorithm: SHA256, signature-keyid: <SL code>. The key is the published simulation secret bistromathic-lab-simulated-flow (a real merchant's is its sales location's secret). Sent when an order is paid, authorised, held for VERIFY, voided, denied, failed, cancelled or expired (not for PENDING); Pay.nl wants {"result": true} back. A refund call with its own exchangeUrl gets refund:add and refund:received.

Magic values

Pay.nl's own test mode is its sandbox: "What should be the next payment status?" — Captured / Paid (100), Authorised (95), Aborted (-90), Pending (50), Cancelled (-90), Verify (85), Failed (-60), Denied (-64), Declined (-64), Expired (-80). The lab has it in the drawer of every screen (and as the page of payment method 613), and Pay.nl publishes no other test values. Cards (Pay.nl publishes none; the lab's own, typed on the hosted page):

CardOutcome
4111 1111 1111 1111Paid (100), no challenge; so is any other valid card number
5555 5555 5555 4444Paid (100), no challenge
4000 0000 0000 32203-D Secure challenge, then Paid (100)
5200 8282 8282 82103-D Secure challenge, then Paid (100)
4000 0000 0000 03413-D Secure challenge that fails: Denied (-63)
4000 0000 0000 0002Declined by the issuer: Denied (-63)
4000 0000 0000 9995Insufficient funds: Denied (-63)
4000 0000 0000 0119Processor error: Failure (-60)

Lab rules

Amount (minor units)Effect
…50, from 10.00the payment stays PENDING (50) for 15 seconds, then is PAID (100), with an exchange each time it ends
…53, from 10.00Order:Create is refused: 503 PAY-1503
…60, from 10.00FAILURE (-60): an error at the payment method
…63, from 10.00DENIED (-63): the payment processor rejects it (for Klarna: the credit check fails)
…85, from 10.00VERIFY (85): held for review; Order:Approve or Order:Decline settles it
Refund …03, from 10.00403 with an empty body: an AT token without refund rights

Limits and checks, with Pay.nl's errors ({type, code, title, detail, violations}; the refund API's {type, title, detail, violations[{propertyPath, message, code}]}): an order of 0.01 to 50,000 (PAY-2002 / PAY-2003); iDEAL, Bancontact and Pay by Bank in EUR only (PAY-2123); Klarna needs the email and invoice address (PAY-2119); capture and void only on an authorisation (95/97), abort only while open, approve/decline only in VERIFY; a refund only once paid, up to what was captured (PAY-2125), and the same refund twice within 15 seconds is "Refund too fast" (PAY-3000). Orders expire after 15 minutes unless expire says otherwise; authorisations after 7 days.

Real vs modeled. Real (developer.pay.nl): the paths and methods, Order.Output and its ids' shapes, the status codes, the sandbox's statuses, the exchange body and signature, the refund response, the error bodies and codes, Klarna as an authorisation. Modeled: the lower-case status names beyond new/pending/captured, the method screens (Pay.nl's test mode shows only its sandbox), which errors answer 400 or 422, the 15-minute expiry, one payment attempt per order (a declined card ends the order), Pay by Bank's 5 seconds at 98, the refund rate limit's window, the cards, the lab rules. Refunds leave the order's status at 100 (Pay.nl's −81/−82 are transaction statuses).

Pay.nl's errors the lab answers

PAY-1400 Bad request
PAY-1404 The requested resource is not found
PAY-1503 The server is unable to handle your request, try again later.
PAY-2001 The requested order could not be found.
PAY-2002 The order amount is too low.
PAY-2003 The order amount is too high.
PAY-2004 The order cannot be approved.
PAY-2005 The order cannot be declined.
PAY-2006 Order cannot be captured, the amount is invalid.
PAY-2007 The order is already captured.
PAY-2008 The order cannot be captured.
PAY-2009 The order cannot be voided.
PAY-2010 The order cannot be aborted.
PAY-2012 The requested order has already ended.
PAY-2101 The requested payment method is not enabled.
PAY-2104 The requested payment method is invalid.
PAY-2119 There is missing required data in the provided input.
PAY-2123 The requested payment method is not valid for this order.
PAY-2124 Card number invalid or not found.
PAY-2125 The payment cannot be refunded.
PAY-2130 The capture amount is too low.
PAY-2131 The capture amount is too high.

Orchid (Gate API)

Orchid's Gate API on the real host's paths, under /orchid: a client of https://api.orchid.works reaches the lab at https://<lab>/orchid and changes nothing else. Every request is JSON with a general object; general.project_id names the project (each a merchant of its own). Credentials are ignored: any project id is a project, and general.signature must be present (3262 when empty) but is never checked.

Callbacks go to general.merchant_callback_url, signed the Gate way (every parameter flattened, natural sort, HMAC-SHA512, Base64, top-level signature) with the published simulation secret bistromathic-lab-simulated-flow, which a connection in simulated flow uses as its project secret key. The same signs status answers.

The clock

Orchid's test cards

Decided by the card number alone (any holder, CVV, future expiry). Encrypted cards are recognised by the BIN and last four BabelPay sends beside them.

CardBrandPurchase
4000 0000 0000 0077VISAsuccess, no 3-D Secure
4111 1111 1111 1111VISAdecline, no 3-D Secure (10000 General decline)
4000 0000 0000 0119VISAsuccess, no 3-D Secure (Orchid's COF registration card; COF debits are not simulated)
4000 0000 0000 0135VISAsuccess, no 3-D Secure (Orchid's COF registration card; COF debits are not simulated)
4539 1214 1116 8251VISAdecline after a delay at the issuer: answers after 10 s with 10602 Time-out
4314 2200 0000 0056VISAsuccess after the challenge (the ACS page asks for the code)
4477 0000 0000 0006VISAsuccess, 3-D Secure frictionless (device fingerprint, no challenge)
5413 3300 0000 0019MASTERCARDsuccess after the challenge (the ACS page asks for the code)
5544 3300 0000 0045MASTERCARDdecline after the challenge, whatever is answered (10114 Declined by 3DS Check)
5252 0000 0000 0004MASTERCARDsuccess, 3-D Secure frictionless (device fingerprint, no challenge)
CardBrandPayout
4242 4242 4242 4242VISApayout success
4314 2200 0000 0072VISApayout decline (10000 General decline)
5413 3300 0000 0019MASTERCARDpayout success
5413 3300 0000 0035MASTERCARDpayout decline (10000 General decline)

Lab rules (other cards: last two digits of the amount in minor units)

AmountEffect
…14decline: 101021 Incorrect PAN
…34refused by RCS at creation: 1434 Duplicate operation
…41refused by RCS at creation: 1401 PAN is Blacklisted
…54decline: 10106 Card expired
…59decline: 10402 Suspicious operation
…79decline: 10103 Incorrect PIN or CVV
…883-D Secure frictionless (device fingerprint), then success
…91decline: 10202 Issuer inoperative
…96payment status error: 10505 PSP system is inoperative
…97decline after 10 s: 10602 Time-out
…98challenge, then authentication fails whatever is answered: 104
…99challenge, then success
…02decline: 10000 General decline
…05decline: 10105 Insufficient funds on card

A refund amount ending in …28 is declined 3028 (merchant balance). At the issuer's page, Confirm authenticates, "Fail authentication" declines 104, Cancel declines 301.

Real vs modeled. Real (developers.orchid.works, gate-spec.json): the paths, the general object, the ack, the error envelope and info codes, the payment and operation statuses, the callback and status bodies, the signature, the 3-D Secure callbacks (threeds2.iframe with 3DSMethodData/threeDSMethodData, threeds2.redirect with creq/threeDSSessionData, acs), the 30-minute ACS window and 108, the test cards, the refund rules, a payout on /card/payout. From BabelPay's own production record: the Apple Pay decrypted-token form, the 702 callback with errors for a request Gate cannot process (e.g. merchant-side authentication data without xid, which Gate's schema requires), the de-finalizing 3ds_check_iframe. Modeled: the timings, which code a test card declines with where Orchid names none (10000, 10114, 10602), 104 / 301 at the ACS, refunds after the business day (refunded, never same-day reversed), the lab rules, the ACS pages. Not simulated: the edge's HTML 400/429 under bursts, credential-on-file, tokens, Google Pay's encrypted etoken, AVS and clarification.

SIBS Gateway (MB WAY, Multibanco)

SIBS Gateway (SPG v2), Portugal's payment gateway, on its own paths under /sibs: a client of https://spg.qly.site1.sibs.pt/api/v2 (sandbox) or https://api.sibspayments.com/api/v2 (production) is pointed at <lab>/sibs/api/v2 instead (/api/v1 answers the same). MB WAY and Multibanco Reference only, euros only, one-off purchases (paymentType PURS). Any terminal is a merchant of its own; a simulated connection uses 11111.

Credentials are ignored: no call is refused for its Authorization: Bearer token, its X-IBM-Client-Id, or the Authorization: Digest <transactionSignature> of a purchase or a generation. Webhooks are encrypted, as SPG's are: AES-256-GCM under the Backoffice's secret (Base64), the ciphertext in Base64 as a text/plain body, the IV and the tag in Base64 in X-Initialization-Vector and X-Authentication-Tag. The lab's published key is 9GUP06mwAS++Q8TmXeLoZlCk/oMN2lcW+SRbctJD+XY=. SPG wants each one answered HTTP 200 with {"statusCode":"000","statusMsg":"Success","notificationID":…}. Webhook URLs are set in the SPG Backoffice; the lab's stand-in is POST /sibs-lab/backoffice/webhooks with {"terminalId": …, "url": …}.

MB WAY test numbers

customerPhoneEffect
351#911111112Approved in the app about 30 seconds later
351#911111113Not an MB WAY number: the purchase is refused (E0506, the alias does not exist)
351#911111114SPG declines a few seconds later (10.106.0009)
351#911111115Nobody answers: the request expires (Timeout) about 10 seconds later, the four minutes made short
351#911111116The payer refuses in the app a few seconds later (01.106.0001)
any other 351#9xxxxxxxxThe payer answers on the drawn phone (or in the lab drawer): Confirmar with any six-digit PIN approves, Recusar declines (01.106.0001), nothing for four minutes is a Timeout
another country, or not a Portuguese mobileE0506 (the alias does not exist) or E0504 (invalid format)

Limits

Lab rules (the amount's cents, from 1 €)

Real or modeled

Przelewy24

Przelewy24's REST API (Poland's pay-by-link aggregator: BLIK and the banks' fast transfers) and Ekspres Przelewy24's (its payouts, the rail Betclic and Superbet pay withdrawals on), on their own paths under /przelewy24: a client of sandbox.przelewy24.pl swaps the host for this host's /przelewy24. Credentials are ignored: Basic auth must be there, but its user only names the account (P24: the POS id; Ekspres: the API key), and no request's sign is checked. The APIs are real: built from P24's public OpenAPI (developers.przelewy24.pl, 1.0.18) and Ekspres Przelewy24's (developers.przelewy24.pl/ekspres, 1.0.6). Modeled, where P24 publishes nothing: the panel's and the banks' screens, which banks a merchant is offered and their method ids (P24's own for mBank 25, Raiffeisen 102, IKO 135 and BLIK 154), the methods' amount limits, the payer's accounts, the Ekspres wallet, its limits and timings, and the lab's rules.

The panel: the method tiles (BLIK, then the banks, with a search; P24's terms to accept unless regulationAccept), BLIK's code and the push in the bank's app, or the bank's login, the account (with balances), the pre-filled transfer that cannot be edited, and the bank's SMS code or its app; then P24's result and back to urlReturn (cancel too, err161/err162). On a computer the SMS and the app arrive on the phone drawn beside the page; on a phone the app fills the screen. ?device=mobile|desktop forces either flow. P24 notifies urlStatus only for a paid transaction, signed SHA-384 over merchantId, posId, sessionId, amount, originAmount, currency, orderId, methodId, statement and the published CRC bistromathic-lab-przelewy24-crc; a refund's notification likewise; Ekspres' transfer notifications (type pay, then payout: 4 paid, 2 sent, 5 finished; 3 or 7 failed) over type, id, status and bistromathic-lab-przelewy24-ekspres-crc.

Test values

BLIK 777XXX pays (P24's sandbox codes), any other six digits do not. Any bank login. SMS: the code on the phone, or 111111 (three wrong and the bank refuses). Banks: mBank (25, app), PKO Bank Polski (135, app), Bank Pekao (52, app), ING Bank Śląski (112, app), Santander Bank Polska (20, app), Bank Millennium (65, SMS), Alior Bank (64, app), BNP Paribas (70, SMS), Credit Agricole (45, SMS), Citi Handlowy (46, SMS), Inteligo (38, SMS), VeloBank (87, SMS), Nest Bank (72, SMS), Bank Pocztowy (90, SMS), Raiffeisen Digital Bank (102, SMS), Plus Bank (222, SMS), Bank Ochrony Środowiska (223, SMS), Toyota Bank (224, SMS), Bank BPS (225, SMS), SGB-Bank (226, SMS); BLIK 154.

Deposit amountEffect
…49, from 10.00P24 refuses the payment at the panel: err49, the risk-assessment score is too high
…51, from 10.00The bank refuses the transfer at authorisation (no funds): err53, the payer can try another method
…02, from 10.00Paid, but the bank's confirmation (and P24's notification) comes 60 seconds later
Refund amountEffect
…13, from 10.00Accepted, then rejected by P24 (status 4; the refund notification says status 1)
…14, from 10.00409: Insufficient funds available
Ekspres payout amountEffect
…02, from 10.00400, error 2002: insufficient funds in the wallet
…09, from 10.00400, error 2009: transfer limit exceeded
…03, from 10.00Paid (4), then 3: error while sending to processing; the money goes back to the wallet
…07, from 10.00Paid (4), sent (2), then 7: the bank refused it; the money goes back to the wallet
below 1.00 / over 500,000.00 PLN1008 / 2003

eps (AT: eps-Überweisung)

The eps scheme operator's merchant interface on the eps e-payment standard 2.7 (XML, with XMLDSig), on the SO's own paths under /eps: an eps client swaps routing-test.eps.or.at (or routing.eps.or.at) for this host's /eps. Credentials are ignored: the AuthenticationDetails' UserId names the merchant; its SHA256Fingerprint or XML signature is never checked. The messages are real: built from the standard's 2.7 schemas (EPSProtocol-V27, EPSPayment-V27, ECBS ePI, AustrianRules, the bank list, EPSRefund) and the SO's paths. Modeled: the error codes the schemas do not list (011, 012, 013, 021), the 2.7 reason codes, the status request's fingerprint, the SO's default validity, the banks' and the bank app's screens, the payers' accounts and the lab's rules (the Pflichtenheft 2.7 was not readable).

Before the payer signs, the bank sends the merchant's ConfirmationUrl a VitalityCheckDetails (with the payer's IBAN) and waits for the same XML back; anything else ends the payment NOK (005). The bank's BankConfirmationDetails (OK or NOK, with the payer's IBAN, name and bank, and a StatusReason) are signed when the merchant asks for DigSig: XMLDSig, enveloped in eps:PaymentConfirmationDetails (XPath Filter 2.0, enveloped, exclusive c14n), RSA-SHA256, with the published key bistromathic-eps-bank-2026-11 (/eps/.well-known/jwks). The merchant answers ShopResponseDetails. A payment nobody finishes expires at its ExpirationTime (default an hour): NOK 004. Minimum 1.00 EUR.

Error codes: 000 Keine Fehler, 004 Authorisierungsdaten fehlerhaft, 007 Fehler im XML Stream, 009 Interner Fehler, 010 IBAN ungültig, 011 Betrag ungültig, 012 Bank nicht verfügbar, 013 TransaktionsId bereits vergeben, 020 TransaktionsId nicht vorhanden, 021 Zahlungsbestätigung noch nicht vorhanden, 022 Refundierungsbetrag zu hoch. Reason codes: 001 Abbruch durch den Auftraggeber, 002 Deckung nicht ausreichend, 003 Verfügungslimit überschritten, 004 Zeitüberschreitung: die eps-Überweisung ist abgelaufen, 005 Händler nicht erreichbar (VitalityCheck fehlgeschlagen), 006 Freigabe in der App abgelehnt, 009 Technischer Fehler bei der Bank.

Test values

ValueEffect
Test bank STZZATWWXXX, logins 1002823, 1004649, 1009853The PSA's published test logins (any login and PIN work)
ZweitkontoToo little in it for most amounts: the bank asks for another account
…05, from 10.00NOK when the payer signs: 002 insufficient funds
…06, from 10.00NOK when the payer signs: 003 limit exceeded
…07, from 10.00The confirmation says UNKNOWN; a minute later OK (a second confirmation, and the status request)
…08, from 10.00OK, but no confirmation is sent: only the status request knows
…09, from 10.00The payment initiation is refused: 009 Interner Fehler (nothing is created)
refund …05StatusCode 009

Zimpler

Zimpler's API v4 on its own paths, under /zimpler: a Zimpler client swaps https://api.sandbox.zimpler.net for this host's /zimpler. Credentials are ignored: any HTTP Basic MID and API key are taken, and the MID names the merchant (its deposits, withdrawals, refunds and the consumers it has KYC'd); no Basic auth is 401. The API is real: built from Zimpler's own reference (docs.zimpler.com, Stoplight project api-doc: the SE deposit, withdrawal and refund articles, the API index's attributes, error codes and state diagrams, the sandbox test data), its operation schemas, and the sandbox's answers to unauthenticated probes: each service's 401 envelope (deposits {"error":"missing credentials"}, withdrawals plain text, refunds {"error_message"}), 405 for POST /deposits/{id}/rejected and GET /deposits. The screens, banks and fake consumers are the lab's.

Notifications (the full object, unsigned, as Zimpler's) go to notification_url on authorized, failed and expired (and rejected_by_bank). A flow nobody finishes expires after 15 minutes.

Markets

CountryCurrencyIdentificationBanks
SESEKMobile BankIDSwedbank SWEDSESS, SEB ESSESESS, Handelsbanken HANDSESS, Nordea NDEASESS
FIEURthe bank's loginNordea NDEAFIHH, OP OKOYFIHH
EEEURthe bank's loginLHV LHVBEE22, Swedbank HABAEE2X
DKDKKthe bank's loginDanske Bank DABADKKK, Nordea NDEADKKK

Withdrawals: SE SEK, FI EUR, EE EUR, DK DKK; SEPA withdrawals (EUR): AT, BE, HR, CY, FR, GR, IE, IT, LV, LT, LU, MT, PL, PT, SK, SI, ES, CH, GB, DE, NL.

Sandbox consumers (Zimpler's published test data)

CountryPersonal numberLogin
SE19980720-9607BankID
SE19640704-3774BankID
SE19960607-9581BankID
SE20031206-8653BankID
FI200468-051AFIDEMOUSER1
FI051286-598CFIDEMOUSER2
FI090882-632TFIDEMOUSER3
FI031067-638VFIDEMOUSER4
FI120854-042FFIDEMOUSER5
EE36610102484EEDEMOUSER1
EE36408024559EEDEMOUSER2
EE37703167995EEDEMOUSER3
EE38011125371EEDEMOUSER4
EE39708270436EEDEMOUSER5

Test triggers (Zimpler's sandbox)

DepositEffect
account_ref starting with a bank error code, e.g. 5015-player-reffailed with that code when the payer signs
amount 0.01failed (4001; Zimpler does not say which code)

Lab rules

Withdrawal amountEffect
…13, from 10.00approved, then rejected_by_bank 5 s later (notified with send_extra_notifications_on_errors)

The page's lab drawer approves, declines (5013), abandons or expires a flow.

Paytrail (FI: bank payments and Siirto)

Paytrail's Payment API (the Finnish PSP behind the banks' "bank buttons" and Siirto), on its own paths under /paytrail: a client of services.paytrail.com swaps the host for this host's /paytrail. Credentials are ignored: checkout-account must be there (it names the merchant), but no request's signature is checked. The API is real: built from Paytrail's public OpenAPI (docs.paytrail.com/paytrail-api.yaml, 2.0.0) and its docs. Modeled, where Paytrail publishes nothing: its payment page, the banks' and Siirto's screens, the banks Paytrail cannot test, transaction ids that carry the merchant, a refund read by its own id, and the lab's rules.

The payer: Paytrail's page with the bank buttons and Siirto (only those of the payment's groups), then the bank's login and the pre-filled payment confirmed with a security code, or Siirto's phone number and the push in the bank's app (on the phone drawn beside the page on a computer; full screen on a phone); the result, and back through Paytrail to the shop. ?device=mobile|desktop forces either flow.

Test values

Paytrail's own: OP (osuuspankki: no UI), Nordea (nordea: no credentials), Danske Bank (danske: any login, modeled), S-Pankki (spankki: 12345678 / 9999 / 1234), Aktia (aktia: 12345678 / 123456 / 1234), Säästöpankki (saastopankki: 11111111 / 123456 / 123456), POP Pankki (pop: any login, modeled), OmaSP (omasp: 11111111 / 123456 / 123456), Handelsbanken (handelsbanken: any login, modeled), Ålandsbanken (alandsbanken: any login, modeled), Siirto (siirto). Siirto +358401111111 approved, +358402222222 rejected; other numbers wait for the app. S-Pankki and Ålandsbanken refund by email only.

Deposit amountEffect
…05, from 10.00The bank refuses the payment after it is confirmed (insufficient funds): fail
…07, from 10.00pending when the payer is back; ok a minute later, by callback
…08, from 10.00delayed when the payer is back; ok two minutes later, by callback
Refund amountEffect
…05, from 10.00The refund fails: the cancel callback, status fail

Montonio

Montonio's Stargate payments API on its own paths, under /montonio: a Montonio client swaps https://sandbox-stargate.montonio.com for this host's /montonio (the API is /montonio/api), and the order's paymentUrl is Montonio's payment gateway here. Credentials are ignored: a POST's {"data": JWT} and a GET's Bearer JWT are read, never verified, and their accessKey names the store. The API is real, from docs.montonio.com (its llms-full.txt); the error bodies' shape, what a cancelled payment's bank says, the timings and the amount rules are the lab's. The lab plays bank payments (paymentInitiation) in EUR in Estonia, Latvia and Lithuania; cards, wallets, BLIK, BNPL, Finland and Poland are not simulated.

Webhooks go to the order's notificationUrl: {"orderToken": JWT} on PAID, VOIDED, ABANDONED, PARTIALLY_REFUNDED and REFUNDED, {"refundToken": JWT} on each refund status, User-Agent: MontonioWebhooks/1.0, HS256 under the published secret bistromathic-lab-montonio-secret-key. A paid order's token carries senderIban and senderName. A payer who gives up comes back with PENDING; the order is ABANDONED when it expires (expiresIn, 30 minutes by default). A refund is PROCESSING after a second and SUCCESSFUL two seconds later. The lab's banks refuse one payment over 15,000 EUR, and payments from customers under 18.

Smart-ID demo accounts (the personal code at the bank)

CountryPersonal codeDocument numberOutcome
EE40404040009PNOEE-40404040009-MOCK-QOK, adult
EE40504040001PNOEE-40504040001-DEM2-QOK, adult
EE61101012257PNOEE-61101012257-DEMO-QOK, under 18 (born 2011-01-01)
EE30403039917PNOEE-30403039917-MOCK-QUSER_REFUSED at login
EE30403039946PNOEE-30403039946-MOCK-Qlogs in, then refuses the payment (PIN2)
EE30403039972PNOEE-30403039972-MOCK-QWRONG_VC: the wrong verification code is chosen
EE30403039983PNOEE-30403039983-MOCK-QTIMEOUT: the app never answers
LV040404-10003PNOLV-040404-10003-DEMO-QOK, adult
LV050405-10009PNOLV-050405-10009-DEM0-QOK, adult
LV010111-23474PNOLV-010111-23474-DEME-QOK, under 18 (born 2011-01-01)
LV030403-10016PNOLV-030403-10016-MOCK-QUSER_REFUSED at login
LV030403-10040PNOLV-030403-10040-MOCK-Qlogs in, then refuses the payment (PIN2)
LV030403-10075PNOLV-030403-10075-MOCK-QWRONG_VC: the wrong verification code is chosen
LV030403-10083PNOLV-030403-10083-MOCK-QTIMEOUT: the app never answers
LT40404040009PNOLT-40404040009-MOCK-QOK, adult
LT40504040001PNOLT-40504040001-DEM2-QOK, adult
LT61101012257PNOLT-61101012257-MOCK-QOK, under 18 (born 2011-01-01)
LT30403039917PNOLT-30403039917-MOCK-QUSER_REFUSED at login
LT30403039946PNOLT-30403039946-MOCK-Qlogs in, then refuses the payment (PIN2)
LT30403039972PNOLT-30403039972-MOCK-QWRONG_VC: the wrong verification code is chosen
LT30403039983PNOLT-30403039983-MOCK-QTIMEOUT: the app never answers
Deposit amountEffect
…91, from 1.00PAID, then VOIDED ten seconds later: the payer's bank rejected the transfer after all
…92, from 1.00The bank keeps the payment pending: the payer returns with PENDING, and it is PAID two minutes later (the webhook)
Refund amountEffect
…52REJECTED, INSUFFICIENT_FUNDS
…53REJECTED, DECLINED (the payer's bank declined it)

Banks

CountryBanks (BIC)
EESwedbank Eesti HABAEE2X, SEB Eesti EEUHEE2X, LHV LHVBEE22, Luminor Eesti RIKOEE22, Coop Pank EKRDEE22, Citadele Eesti PARXEE22, Revolut RVUALT2V
LVSwedbank Latvija HABALV22, SEB Latvija UNLALV2X, Citadele Latvija PARXLV22, Luminor Latvija RIKOLV2X, Revolut RVUALT2V
LTSwedbank Lietuva HABALT22, SEB Lietuva CBVILT2X, Luminor Lietuva AGBLLT2X, Šiaulių bankas CBSBLT26, Medicinos bankas MDBALT22, Citadele Lietuva INDULT2X, Revolut RVUALT2V

IRIS (Nexi XPay Greece)

IRIS, Greece's (and Cyprus') instant account-to-account scheme run by DIAS, as merchants take it through Nexi XPay Greece: the XPay Payment API on its own paths, under /nexi-gr — an XPay client swaps xpaysandbox.nexigroup.com for this host's /nexi-gr. Credentials are ignored: any X-API-KEY is taken and names the merchant; Correlation-Id must be a UUID, as XPay asks. The API is real: built from Nexi's public developer portal (developer.nexigroup.com/xpaygreece: the Payment API v1 and Notification API references, "IRIS Payments", the error codes). Modeled: the hosted page's screens (Nexi's own are behind a merchant account), the banks' apps (one generic banking app, the banks by name), how long the page holds a payment (15 minutes), the banks' IRIS limits and refusal reasons, and the refund's results. DIAS's test web banking is copied from its public demo.

Notifications (the end of the payment) are POSTed to notificationUrl unsigned, with eventId, eventTime, the order's securityToken and the operation (AUTHORIZATION: EXECUTED, DECLINED, CANCELED or FAILED). Reference cashier: Stoiximan, IRIS deposits 1.00–5,000.00 EUR. Each bank holds the payer's current account (paid, up to 5,000.00 EUR a day), a savings account (12.50 EUR: AM04) and a blocked account (AC06).

Test values

ValueEffect
Current accountEXECUTED
Savings account / Blocked accountDECLINED (AM04 / AC06)
Over 5,000.00 a day per accountDECLINED (AM02)
…13, from 10.00PENDING once the payer confirms, EXECUTED a minute later
…53, from 10.00orders/hpp answers 500 PS0159 (service temporarily unavailable): nothing is created
…05, from 10.00The bank refuses once the payer confirms (AM04, insufficient funds): DECLINED
…06, from 10.00The beneficiary's bank does not answer in time (AB05): FAILED
refund …05PENDING, then FAILED

Datatrans (CH: TWINT, PostFinance Pay)

Datatrans' JSON API (the Swiss PSP; Worldline's Saferpay is the other big one) and its payment page with TWINT, on their own paths under /datatrans: a client of api.sandbox.datatrans.com and pay.sandbox.datatrans.com swaps both hosts for this host's /datatrans. TWINT itself publishes no merchant API; Datatrans does, so BabelPay's datatrans connector integrates TWINT through it. Credentials are ignored: Basic auth's user names the merchant (its merchantId); the password is never checked. The API is real: built from Datatrans' public API reference (its OpenAPI, 2.0.66) and docs. Modeled: the payment page's and the TWINT apps' screens, the code under the QR code, the apps' limits, and the lab's rules (Datatrans' TWINT tests run on TWINT's own test app, with no test values).

Test values

TWINT's limit is CHF 5,000 per payment; the apps' are modeled (bank apps CHF 5,000 a day, Yuh CHF 3,000 a payment, prepaid CHF 1,000 a day).

Payment amountEffect
…05, from 10.00TWINT (or PostFinance) declines when the payer pays (not enough balance): failed, declined
…06, from 10.00TWINT (or PostFinance) fails when the payer pays (a technical error): failed, error
Credit amountEffect
…05, from 10.00TWINT (or PostFinance) declines the refund: 400 DECLINED, nothing credited

Truevo

Truevo (Malta, MFSA-licensed acquirer) on its Payments API (OpenAPI 3.0.1, "Payments API" 4.3.0), on the real hosts' own paths under /truevo: a client of https://unify.truevo.com/payments (live) or https://sandbox.unify.truevo.com/payments (test) is pointed at <lab>/truevo/payments instead. Cards server to server with Truevo's own 3-D Secure 2, sales or authorisations and captures, reversals, linked refunds and original credit transfers (OCT). Every bearer token is a merchant of its own.

Credentials are ignored: Truevo authenticates with authorization: Bearer <token>, and every POST that moves money carries an idempotencyKey header; the lab never refuses a token, and answers a repeated key with its first answer. Two steps: every POST answers outcome.status RECEIVED with the new transactionUniqueIdentifier, and the outcome is read with GET /status, as Truevo's docs describe. Truevo sends no notifications for this API, and signs nothing.

Errors: a request the API refuses is a 400 with Truevo's outcome (status REJECTED and a reasonDescription); an unknown path is the gateway's 403 {"outcome":{"status":"FAILURE","message":"Missing Authentication Token"}}, as the real hosts answer. Payments above 50,000 and OCTs above 50,000 (modeled) are declined 61. The …97 rule holds a payment PENDING for 30 seconds.

Test cards (the lab's standard set: Truevo publishes none)

Truevo's plugin pages name a test-card table that is not in the page, and say the test cards never run 3-D Secure; test credentials come from Truevo's support. So the lab's card core decides, as for every card connector without published cards: any future expiry and any CVV; a card arriving as vault ciphertext is recognised by BabelPay's BIN and last-four headers; any other card follows the amount rules in the card simulator's table above.

CardBrandOutcome
4242424242424242VisaApproved, no 3-D Secure (frictionless)
5555555555554444MastercardApproved, no 3-D Secure (frictionless)
4000000000003220VisaThe issuer's 3-D Secure challenge, then approved
5200828282828210MastercardThe issuer's 3-D Secure challenge, then approved
4000000000000341VisaThe issuer's 3-D Secure challenge, which fails: declined
4000000000000002VisaDeclined: 05 Do not honour
4000000000009995VisaDeclined: 51 Not sufficient funds
4000000000000069VisaDeclined: 54 Expired card
4000000000000127VisaDeclined: N7 CVV2 failure
4100000000000019VisaDeclined: 59 Suspected fraud
4000000000000259VisaDeclined: 91 Issuer or switch inoperative
4000000000000119VisaTruevo FAILURE: 96 System malfunction (not processed)

Lab rules

Amount (last two digits in minor units)OnEffect
…52, from 10.00octThe OCT is declined (05 Do not honour)
…77, from 10.00refundThe linked refund is declined (05)
…97, from 10.00saleStays PENDING for 30 seconds, then the card's outcome (Truevo's two-step model: ask again)

Real or modeled

payabl.

payabl.'s gateway API (payabl.com, ex-Powercash21; Cyprus, a Visa and Mastercard principal member), on the real host's own paths under /payabl: a client of sandbox.payabl.com or pay4.payabl.com is pointed at <lab>/payabl instead. Cards server to server with payabl.'s own 3-D Secure, captures, reversals, refunds and Credit Fund Transfers (payouts). Every merchantid is a merchant of its own.

Credentials are ignored: every request is form-encoded and signed: signature is the SHA-1 of the parameters' values sorted by name, then the merchant's secret. The lab refuses a missing or malformed signature (-999), as payabl. does, but never checks its value. Notifications are signed as payabl. signs them, security = SHA-256 of transactionid, type, errorcode, timestamp and the secret, with the lab's published secret bistromathic-lab-simulated-flow; they are POSTed form-encoded to the payment's notification_url, and payabl. takes HTTP 200 with OK as received.

Test cards (payabl.'s own)

Any CVC and any future expiry. On the 3-D Secure page any code confirms (payabl.'s OTP is test). A card not listed is approved, frictionless. A card arriving as vault ciphertext is recognised by BabelPay's BIN and last-four headers.

CardBrandOutcome
5232050000010003MastercardSuccess: payments and refunds (no payouts). The test amounts below apply
4149011500000147VISASuccess: payments, refunds and payouts. The test amounts below apply
378282246310005AMEXSuccess: payments, refunds and payouts
4012001038443335VISADecline: error code -10001 (3-D Secure verification failed)
4242424242420000VISA3DS: card not enrolled (N); with try3d the payment goes on without 3DS
4012001038488884VISA3DS: unable to verify enrolment (U)
4012001037141112VISA3DS: successful authentication (Y, ECI 05) after the challenge
4242424242424242VISA3DS: successful authentication (Y, ECI 05) after the challenge
4012001037167778VISA3DS: successful merchant attempt (A, ECI 06)
4012001037461114VISA3DS: authentication failure (N): declined -10001
4242000000000000VISA3DS: authentication failure (N): declined -10001
4012001037484447VISA3DS: authentication not available (U)
4200000000000000VISA3DS: authentication not available (U)
4242426790614587VISA3DS: frictionless flow (Y, ECI 05)
5105105105105100Mastercard3DS (Mastercard): successful authentication (Y)
5555555555554444Mastercard3DS (Mastercard): attempt (A)
5454545454545454Mastercard3DS (Mastercard): cardholder not participating (N)
5406592832271063MastercardSoft decline: with param_3d=non3d the issuer answers 65, payabl. runs 3DS, then the payment is declined 65
4297016519240436VISAPartial approval: 1000.10 is approved for 50.00

Test amounts (payabl.'s own, on any card)

AmountCodeMeaning
1000.0505Do not honor
1000.1414Invalid account/card number
1000.5151Insufficient funds/over credit limit
1001.6565Soft decline (customer authentication required)

Lab rules

Amount (last two digits in minor units)OnEffect
…57, from 10.00payoutthe payout is refused: 57 (transaction not permitted on card)
…61, from 10.00payoutthe payout is refused: 61 (exceeds amount limit)
…76, from 10.00refundthe refund is refused: 12 (invalid transaction)
…91, from 10.00paymentthe notification arrives 30 seconds late
…92, from 10.00paymentno notification is sent (the payer's return and tx_diagnose still answer)
…93, from 10.00paymentthe payment stays pending (2000) for 2 minutes, then succeeds

Real or modeled

DECTA (Decta Gate)

DECTA (Latvia), the acquirer and EMI, on Decta Gate's REST API (OpenAPI 3.0.3 "Decta Gate API" v0.6), on the real hosts' own paths under /decta: a client of https://gate.decta.com/api/v0.6 and of the payment host https://transactions.decta.com is pointed at <lab>/decta instead. Cards server to server (Host2Host: the order, then the card to its api_do_url) with DECTA's partly automatic 3-D Secure (threed_check_url), captures, cancels, same-day reversals, refunds, OCT payouts (OG, B2P, SDWO) and webhooks. Every secret key is a merchant of its own.

Credentials are ignored: DECTA authenticates with Authorization: Bearer <secret key>; the lab never refuses one. DECTA signs nothing: its webhooks (X-Webhook-Event, the order or charge as the body) come from two published IP addresses, and DECTA advises reading the order back; the lab sends them unsigned, the same, to every URL registered with POST /webhooks/.

Errors: DECTA's field-keyed lists of {message, code} (__all__ for the request as a whole) with 400; {"detail":"Not found."} for an unknown order, charge or path on the API, {"message":"Payment not found"} on the payment host, as the real hosts answer.

Test cards

DECTA's sandbox has two test cards and the CVV picks the scenario. Through BabelPay the CVV reaches the lab encrypted (vault ciphertext), so the amount's last three digits in cents stand in for it; typed straight at the lab, the CVV decides. A card arriving as ciphertext is recognised by BabelPay's BIN and last-four headers. Any other card follows the lab's standard set (the card simulator's table above).

CardBrandOutcome
4111111111111111VisaDECTA's test card: the scenario follows the CVV (or the amount). A payout to it is paid
5105105105105100MastercardDECTA's test card: the scenario follows the CVV (or the amount). A payout to it fails
4000000000003220VisaAny amount: the 3-D Secure challenge, then paid (the lab's standard set)
4000000000009995VisaAny amount: failed, 116 not sufficient funds (the lab's standard set)
FieldValueEffect
CVV, or amount ending in (cents)300 (13.00) / 010 (10.10)The 3-D Secure challenge, then paid: 000 Approved
CVV, or amount ending in (cents)000 (10.00)Paid without 3-D Secure: 000 Approved
CVV, or amount ending in (cents)301 (13.01)3-D Secure attempted (frictionless), then paid
CVV, or amount ending in (cents)302 (13.02)Not enrolled in 3-D Secure: paid without it
CVV, or amount ending in (cents)001 (10.01) / 011 (10.11)Failed: 116 not sufficient funds
CVV, or amount ending in (cents)201 (12.01)The 3-D Secure challenge fails whatever you answer: failed
CVV, or amount ending in (cents)028 (10.28)Paid; its refund then fails: 911 card issuer timed out
Any other CVV or amountDECTA's test cardsThe 3-D Secure challenge, then paid
3-D Secure challengeCancel payment, or Fail authentication (lab drawer)Failed: the payer goes back to the failure page
3-D Secure challengeLeave it 15 minutesFailed: Operation timed out (DECTA's 3DS timeout)
Refund or payout amount (lab rule, from 10.00)…55Stays in_progress for 20 s, then paid; the webhook tells
Payout amount (lab rule)over 10,000.00Failed: 121 exceeds withdrawal amount limit

Lab rules

Amount (last two digits in minor units)OnEffect
…55, from 10.00Refund or payoutStays in_progress for 20 s, then paid; the webhook tells

Real or modeled

xpate

xpate (xpate Ltd, UK; xpate SIA, Latvia, for the EEA), an acquirer and EMI built for regulated industries, iGaming among them, on its acquiring API (the Ginger platform's orders and transactions), host to host, on the real hosts' own paths under /xpate: a client of https://api.gateway.xpate.com is pointed at <lab>/xpate, and of the Tokens API https://tokens.gateway.xpate.com at <lab>/xpate/tokens. Cards with xpate's 3-D Secure 2, captures and voids of an authorisation, refunds, and card payouts (OCT). Every API key is a merchant of its own.

Credentials are ignored: xpate authenticates with HTTP Basic, the API key as the user name and an empty password, on both hosts; the lab never refuses one. xpate signs nothing: its webhook is {"event":"status_changed","order_id","project_id"} to the order's webhook_url, retried, and the merchant reads the order back.

Errors are xpate's: {"error": {"status", "type", "value"}} — a 400 ValidationError naming its property_path, RefundError, BadRequest for Apple Pay or Google Pay (not played), a 404 NotFound; the Tokens API's 404 SetupTokenNotFound and bare 405, as the real host answers. A sale's transaction nobody finishes expires after its expiration_period (30 minutes by default).

Test cards (xpate's sandbox set)

Any CVC and any future expiry. Below 3000 (minor units) 3-D Secure is frictionless, above it the issuer challenges, and 100005 is declined "Do not honor" (05), as xpate's "Test data" page says; a payout follows the same amounts. Any other card follows the lab's card table and amount rules above.

CardBrandOutcome
5520330000002221Mastercardxpate test card: approved; the amount picks the 3-D Secure flow
5520330000002254Mastercardxpate test card: approved; the amount picks the 3-D Secure flow
5520330000002262Mastercardxpate test card: approved; the amount picks the 3-D Secure flow
4635440000002207Visaxpate test card: approved; the amount picks the 3-D Secure flow
4635440000002215Visaxpate test card: approved; the amount picks the 3-D Secure flow
4635440000002272Visaxpate test card: approved; the amount picks the 3-D Secure flow

Real or modeled

Trust Payments (MODELED)

Trust Payments' (ex-Secure Trading) Webservices API, its JSON interface, on the real hosts' own path under /trustpayments: a client of https://webservices.securetrading.net/json/ (EU platform) or https://webservices.securetrading.us/json/ (US platform) is pointed at <lab>/trustpayments/json/ instead. Cards server to server with 3-D Secure 2, refunds, captures and cancels, and card payouts (CFT). Every webservices user (alias) is a merchant of its own.

Modeled (plan D9): Trust Payments' Webservices documentation is behind a sign-in. The lab follows Trust Payments' own public libraries (github.com/SecureTrading: the envelope, the hosts, the error codes and their tests against the test gateway), its WooCommerce plugin (the settle statuses, TRANSACTIONUPDATE, REFUND, TRANSACTIONQUERY, the URL notification's hash and rules STR-8/9/10) and its public help-centre articles (payouts are CFT refunds on a CFT merchant id). The 3-D Secure 2 challenge's field names (acsurl, threedpayload, md, threedresponse) and the notification's fields are modeled.

Credentials are ignored: requests carry HTTP Basic (the webservices user and password); none is refused. The URL notification's responsesitesecurity (SHA-256 of the posted values in order, then the site's notification password) is signed with the published simulation password bistromathic-lab-simulated-flow, which a connection's "Simulated flow" takes as its notification password.

Settle statuses: 0 pending settlement, 1 manual, 2 suspended, 3 cancelled, 10 settling, 100 settled. The lab's settlement batch runs 15 minutes after the settle due date (modeled; Trust Payments settles daily); a suspended AUTH is cancelled after 7 days. A request naming ruleidentifier STR-8 (successfulurlnotification), STR-9 (declinedurlnotification) or STR-10 (allurlnotification) gets a form-encoded URL notification for each AUTH and REFUND, acknowledged by HTTP 200.

Test cards

Any CVV and a future expiry. Any other card follows the lab's card core (its card table, then the amount's last two digits: …51 insufficient funds, …54 expired, …96 the bank's error 60010, …99 a challenge, …98 a challenge that fails).

CardBrand3-D SecureOutcomeSource
4111111111111111Visaenrolled, a challengeAuthorised after the issuer's 3-D Secure challengeTrust Payments' libraries
4111110000000211Visaenrolled, frictionlessAuthorised, 3-D Secure frictionlessTrust Payments' libraries
4000000000000721Visanot enrolledNot enrolled in 3-D Secure: authorised without authenticationTrust Payments' libraries
4000000000000812Visanot enrolledDeclined (70000), Do not honourTrust Payments' libraries
4242424242424242Visanot enrolledDeclined (70000), Do not honourTrust Payments' libraries
4000000000002701Visaenrolled, frictionlessCardinal test case 1: frictionless, authenticated, authorisedCardinal Commerce
4000000000002503Visaenrolled, a challengeCardinal: the issuer's challenge, authorised once confirmedCardinal Commerce

Unlimit

Unlimit (formerly Unlimint and CardPay), a global PSP and acquirer for the EU, UK, LATAM, APAC and India whose payouts serve iGaming winnings, on its REST API v3 (the CardPay API), on the real host's own paths under /unlimit: a client of https://sandbox.cardpay.com (or https://cardpay.com) is pointed at <lab>/unlimit. Cards server to server in gateway mode with 3-D Secure, authorisations completed or reversed, refunds, card payouts, and the signed callbacks. Every terminal is a merchant of its own.

Credentials are ignored: Unlimit's OAuth 2.0 password grant (POST /api/auth/token, the terminal code and its password) answers a Bearer token pair whatever the password; the token only names the terminal. Callbacks are signed as Unlimit signs them: the hex SHA-512 of the JSON body followed by the terminal's callback secret, in the Signature header; the lab's secret is the published bistromathic-lab-simulated-flow. Unlimit has no API for the callback URL (the Merchant Account sets it), so the lab stands in for that setting at PUT /unlimit/lab/settings {callback_url}.

Errors are Unlimit's {name, message, request_id}: INVALID_API_REQUEST (400), RESOURCE_NOT_FOUND (404), DUPLICATE_REQUEST (409, a request.id reused within 30 minutes); the token endpoint's INVALID_REQUEST. A payment whose payer never finishes the redirect is declined after 20 minutes ("Cancelled by customer", 02).

Test cards (Unlimit's sandbox set)

Any cardholder name, expiry and CVV. Failing the 3-D Secure challenge always declines (04). Maestro, Discover, JCB, UnionPay and Amex cards from Unlimit's "Testing Data" page work too; any other card follows the lab's card table and amount rules above.

CardBrandOutcome
4000000000000085Visa3-D Secure challenge: confirm it and the payment completes
4000000000000093VisaFrictionless 3-D Secure: completed
4580000000000059VisaFrictionless 3-D Secure attempt: completed
4000000000000077VisaNo 3-D Secure: completed
4000000000000051VisaNo 3-D Secure: held as an authorisation by Unlimit's antifraud (AUTHORIZED)
4444444444444455Visa3-D Secure challenge, then declined by the bank
4444444444449777VisaNo 3-D Secure: declined by the bank (11); a payout to it is declined too
5100000000000065Mastercard3-D Secure challenge: completed
5100000000000073MastercardFrictionless 3-D Secure: completed
2400000000000077MastercardNo 3-D Secure: completed
5100000000000651MastercardNo 3-D Secure: held as an authorisation (AUTHORIZED)
5555555555559955Mastercard3-D Secure challenge, then declined
5555555555554477MastercardNo 3-D Secure: declined

Real or modeled

Paynetics

Paynetics (Bulgaria and the UK, an EMI and a Visa and Mastercard principal member; the acquirer behind EGT Digital) on its Acquiring API v1, on the real hosts' own paths under /paynetics: a client of https://acquiring.paynetics.net (live) or https://secure.payoo.cloud (sandbox) is pointed at <lab>/paynetics instead. Cards server to server with Paynetics' 3-D Secure 2 (its MPI), purchases, pre-authorizations with capture and reversal, refunds, credits and OCT payouts (Visa Direct and Mastercard Send, the use case G for gambling winnings) from the merchant's OCT funding balance. Every API key is a merchant of its own.

Credentials are ignored: Paynetics signs every request with x-api-key, x-timestamp and x-hash (HMAC-SHA256 under the API secret over API key + timestamp + operation + the body without whitespace; the card fields are in that body); the lab checks none of it. HTTP is always 200, as Paynetics answers: the body's code is 0, or an API error (400 bad request, 11001 validation, 11002 not found, 11008 the processor did not answer, 50004 no such transaction). An issuer's decline is code 0 with a response_code other than 00, 10 or 85.

Payments over 50,000 and OCTs over 50,000 (modeled) are declined 61. The …97 rule leaves a purchase pending 30 seconds (code 11008, then TRANSACTION.UPDATE).

Test cards (the lab's standard set: Paynetics publishes none)

Paynetics' acquiring sandbox credentials, and its test values, come from the partner's project manager, so the lab's card core decides, as for every card connector without published cards: any future expiry and any CVV; a card arriving as vault ciphertext is recognised by BabelPay's BIN and last-four headers; any other card follows the amount rules in the card simulator's table above.

CardBrandOutcome
4242424242424242VisaApproved, frictionless 3-D Secure
5555555555554444MastercardApproved, frictionless 3-D Secure
4000000000003220VisaThe issuer's 3-D Secure challenge, then approved
5200828282828210MastercardThe issuer's 3-D Secure challenge, then approved
4000000000000341VisaThe issuer's 3-D Secure challenge, which fails: declined
4000000000000002VisaDeclined: 05 Do not honour
4000000000009995VisaDeclined: 51 Not sufficient funds
4000000000000069VisaDeclined: 54 Expired card
4000000000000127VisaDeclined: N7 CVV2 failure
4100000000000019VisaDeclined: 59 Suspected fraud
4000000000000259VisaDeclined: 91 Issuer or switch inoperative
4000000000000119VisaPaynetics error 11008: the processor did not answer (nothing charged)

Lab rules

Amount (last two digits in minor units)OnEffect
…10, from 10.00paymentPartial approval: response_code 10, half the amount approved (Paynetics' partial authorization for gambling MIDs)
…52, from 10.00octThe OCT is declined (05 Do not honour)
…77, from 10.00refundThe refund is declined (05 Do not honour)
…97, from 10.00paymentThe processor does not answer in time: code 11008, the transaction stays pending (status 0) for 30 seconds, then approves and TRANSACTION.UPDATE follows

Real or modeled

Inovio (Gateway API v4.14: cards, 3-D Secure, force credits)

Inovio, the high-risk card gateway (North America and Europe; casinos and sports betting), on its form-encoded RPC API, on the real host's own paths under /inovio: a client of https://api.inoviopay.com is pointed at <lab>/inovio instead. Inovio has no sandbox host: a site pointed at the Test Bank merchant account makes test payments on the live host, which is what the lab plays. Every API username and site is a merchant of its own.

Credentials are ignored: Inovio authenticates with req_username, req_password and site_id in the form body; the lab never refuses them. Answers are HTTP 200 whatever happened (a refusal is API_RESPONSE, a decline TRANS_STATUS_NAME=DECLINED with SERVICE_RESPONSE), JSON with request_response_format=JSON, else XML, as the real host answers.

Errors: API_RESPONSE 110 Required field with REF_FIELD, 112 Not numeric, 113 Invalid Data (a four-digit PMT_EXPIRY: it is MMYYYY), 105 Invalid service action; service codes 506, 507, 510, 512, 515, 516, 536, 675, 685. A POST without a body is 411, a GET 400, an unknown path 404, as on the real host.

Test cards

Inovio's test cards, with any address, expiry and CVV; the amount (LI_VALUE_1) picks the Test Bank's scenario. A card arriving as ciphertext is recognised by BabelPay's BIN and last-four headers. Any other card follows the lab's standard set (the card simulator's table above).

CardBrandOutcome
4111111111111111VisaInovio's test card: the amount decides (any other amount is approved)
4907639999990022VisaInovio's test card: the amount decides
5105105105105100MastercardInovio's test card: the amount decides
5555555555554444MastercardInovio's test card: the amount decides
5546989999990033MastercardInovio's test card: the amount decides
378282246310005American ExpressInovio's test card: the amount decides
38520000023237Diners ClubInovio's test card: the amount decides
30569309025904Diners ClubInovio's test card: the amount decides
6011111111111117DiscoverInovio's test card: the amount decides
6011000990139424DiscoverInovio's test card: the amount decides
3530111333300000JCBInovio's test card: the amount decides
3566002020360505JCBInovio's test card: the amount decides
4000000000003220VisaAny amount: the 3-D Secure challenge, then approved (the lab's standard set)
4000000000009995VisaAny amount: declined, 635 Insufficient Funds (the lab's standard set)
FieldValueEffect
Amount5.02Declined: 624 Expired Card
Amount5.03Declined: 621 Failed CVV
Amount5.04Declined: 623 Failed AVS
Amount5.05Declined: Declined (processor: General Decline)
Amount5.06Declined: 603 Fraud
Amount5.07Declined: processor Overlimit
Amount5.08Approved, AVS N (no match)
Amount5.18Declined: 518 Missing Required Field
Amount5.30Declined: 530 Downstream Processor Unavailable
Amount6.00Declined: 600 General Decline
Amount6.05 / 6.10Declined: 605 Stolen Card / 610 Pickup Card
Amount6.20 / 6.24Declined: 620 Invalid CVV / 624 Expired Card
Amount6.26Declined: voided per Timeout Void settings
Amount6.35Declined: 635 Insufficient Funds
Amount (EUR)7.00Approved, converted: settled 5.686415 USD
Amount7.25Approved, CVV N (no match)
Amount8.81 / 8.83Declined: R1 / R3 revocation (industry)
Amount9.91 / 9.93Declined: R1 / R3 revocation (processor)
Amount ending in (lab rule, 3-D Secure on).99The issuer's challenge, then approved
Amount ending in (lab rule, 3-D Secure on).98The issuer's challenge fails whatever you answer: declined
3-D Secure challengeCancel, or Fail authentication (lab drawer)Declined: the authentication failed (P3DS_RESPONSE N)
Payout amount (lab rule)over 10,000.00Declined: 540 Maximum Auth Limit Exceeded
Refundmore than is left on the orderDeclined: 516 Credit amount exceeds order value

Real or modeled

Apcopay

Apcopay's Synthesis (Malta; a PSP and payment orchestration platform, iGaming since 2004), its Direct Connect card API on the real host's own paths under /apcopay: a client of https://payments.apcopay.tech/merchanttools (one host; IsTest in the payload picks the sandbox) is pointed at <lab>/apcopay/merchanttools instead. Card payments (PURC, AUTH) with 3-D Secure, captures, voids, refunds and card payouts (ORIGINALCREDIT). Every Basic ClientID is a merchant of its own.

Credentials are ignored: requests carry HTTP Basic (ClientID:ClientSecret) and a Signature header, the Base64 HMAC-SHA256 of the payload's attributes (nested as Parent.Child) sorted by name regardless of case, joined name=value&… and lower-cased. The lab refuses a missing or malformed signature (Invalid Signature), as Apcopay does, but never checks its value. Answers, the redirect back and webhooks are signed the same way with the lab's published secret bistromathic-lab-simulated-flow.

Test data (Apcopay's own: the card holder name, on any card)

Card holder nameOutcome
Frictionless ProcessedSuccess via the frictionless route (Processed)
Frictionless DeclinedFailure via the frictionless route (Declined)
Challenge ProcessedSuccess with a 3-D Secure challenge (Processed)
Challenge DeclinedFailure with a 3-D Secure challenge (Declined)

Any other name: the lab's test cards (by number, or by BabelPay's BIN and last-four headers for vault ciphertext) and amount rules decide. Any CVV, a future expiry. On the 3-D Secure page any code confirms; "Fail authentication" declines M001, "Cancel payment" Page Timeout.

Lab rules

Amount (last two digits in minor units)OnEffect
…57, from 10.00payoutThe payout is declined: B57 Transaction not permitted to issuer/cardholder
…61, from 10.00payoutThe payout is declined: B61 Exceeds withdrawal amount limit
…76, from 10.00refundThe refund is refused: C000 Transaction Rejected

Real or modeled

Worldline Direct

Worldline Direct, Worldline's European online acquiring and gateway platform (the successor to Ingenico ePayments, covering Bambora Europe), on its Server API v2, on the real host's own paths under /worldline: a client of https://payment.direct.ecom.preprod.worldline-solutions.com (or https://payment.direct.ecom.worldline-solutions.com) is pointed at <lab>/worldline. Cards server to server with 3-D Secure 2, sales and authorisations, captures, cancellations, refunds, card payouts and the signed webhooks. Every PSPID (the {merchantId} in the path) is a merchant of its own.

Credentials are ignored, their shape is not: every request must carry Authorization: GCS v1HMAC:<apiKeyId>:<signature> and a Date within 5 minutes, or it is answered as the platform answers it (403 9002 MISSING_OR_INVALID_AUTHORIZATION, 403 9007 ACCESS_TO_MERCHANT_NOT_ALLOWED); the key and the HMAC itself are never checked. Webhooks are signed as Worldline signs them: X-GCS-Signature is the Base64 HMAC-SHA256 of the body under the webhook secret, X-GCS-KeyId names the key; the lab's secret is the published bistromathic-lab-simulated-flow, its key bistromathic-lab. They go to the request's feedbacks.webhooksUrls.

Errors are Worldline's {errorId, errors: [{errorCode, category, code, httpStatusCode, id, message, propertyName, retriable}]}: INVALID_VALUE (400, 50001111), UNKNOWN_PAYMENT_ID (404, 50001130), ACTION_NOT_ALLOWED_ON_TRANSACTION (400; 50001127 for a refund before the capture), CARDNUMBER_PAYMENTPRODUCTID_MISMATCH (50001054). X-GCS-Idempotence-Key (up to 40 characters) replays the first answer for 24 hours, with X-GCS-Idempotence-Request-Timestamp. What the platform answers as pending settles 20 seconds later; an abandoned challenge stays REDIRECTED for good.

Test cards (Worldline's "Test cases")

Any future expiry and any CVV. Amex, Diners, JCB, UnionPay and Cartes Bancaires cards from the same page work too; any other card follows the lab's card table and amount rules above.

CardBrandOutcome
4330264936344675VisaFrictionless 3-D Secure (ECI 5): approved at once
4874970686672022Visa3-D Secure challenge (ECI 5): confirm it and the payment is approved
4450022237973103Visa3-D Secure challenge that fails (ECI 91): rejected, authentication failed
5137009801943438MastercardFrictionless 3-D Secure (ECI 5): approved at once
5130257474533310Mastercard3-D Secure challenge (ECI 5): approved
5168645305790452MastercardFrictionless authentication fails (ECI 91): rejected at once
5144144373781246Mastercard3-D Secure challenge that fails (ECI 91): rejected
371449635311004American ExpressFrictionless 3-D Secure: approved
4150550997933993Cartes Bancaires3-D Secure challenge: approved
6011492100005191DiscoverNo 3-D Secure (ECI 12): approved
5020802352808673Maestro3-D Secure challenge: approved
FieldValueEffect
Amount (EUR), sale13.02Any approving test card is declined by the issuer (statusCode 2)
Amount (EUR), sale14.02The authorisation is pending (AUTHORIZATION_REQUESTED, statusCode 51), then captured
Amount (EUR), authorisation14.04The authorisation is pending (statusCode 51), then authorised (5)
Refund amount (EUR)13.03The refund is requested (81), then refused (83)
Capture amount (EUR)13.09The capture is requested (91), then rejected (93)
3-D Secure challengeFail authentication or CancelRejected: authentication failed (40001134), whatever the card
PostFinance Pay amount (CHF)41200.00Pay in the app: rejected (statusCode 2), Worldline's "unsuccessful" test amount 4120000
PostFinance Pay amount (CHF)45401.00Pay in the app: uncertain (AUTHORIZATION_REQUESTED, statusCode 52), Worldline's test amount 4540100; it stays there
PostFinance Pay amount (CHF)any otherPay in the app: captured (9); refunds partial or full as for a card
PostFinance Pay pageCancelCancelled by the payer (CANCELLED, statusCode 1)
Any other cardthe lab's standard test cardsThe lab's card table decides (BIN and last four), then the amount's last two digits, as the lab's landing page lists; a payout to a declining card is refused

Real or modeled

Checkout.com (Unified Payments API, cards and card payouts)

The lab serves Checkout.com's Unified Payments API on the real host's paths under /checkout: BabelPay's checkout connector in simulated flow sends to https://<lab>/checkout what it would send to https://{prefix}.api(.sandbox).checkout.com, and changes nothing else. It is the same engine as Blueemi's (Checkout.com's white-label, under /blueemi), with Checkout.com's names, its Cko-Signature and card payouts. Credentials are ignored: any Authorization: Bearer key only names the merchant (a simulated connection sends simulated-<connection id>; any other key names its merchant by a hash and is never kept). The card arrives as vault ciphertext with its BIN and last four in X-Bistromathic-Card-Bin / -Last4, or in clear. Checkout.com is for the merchant's own contract: it restricts gambling to pre-approved merchants.

Webhooks: Checkout.com's envelope {id: "evt_…", type, version, created_on, data: {id, action_id, reference, amount, currency, response_code, …}, _links}, signed Cko-Signature = hex HMAC-SHA256(key, raw body) under the published simulation key bistromathic-lab-simulated-flow, to the callback_url in the payment's metadata (the lab has no workflows dashboard).

Test cards (Checkout.com's): the issuer's answer

91 cards
Card numberSchemeWhat it does
4543474002249996Visa, USApproved (the card in Checkout's token example)
4000020000000000Visa, USApproved
4242424242424242Visa, GBApproved; amount 101 (1.01) declines 20051 Insufficient funds
4273149019799094Visa, TRCard verifications only: approves, but captures and voids are declined
4539467987109256Visa, ESDeclined 20005 Do not honour
4024007181869214Visa, USDeclined 20005 Do not honour
4916301720257093Visa, USDeclined 20020 Invalid response
4485899805156040Visa, USDeclined 200R1 Stop payment for this authorization
4659105569051157Visa, GBApproved (debit)
4095254802642505Visa, USDeclined 20068 Response received too late / timeout (debit)
4000148147058142VisaDeclined 20020 Invalid response (prepaid)
5436031030606378Mastercard, MUApproved
5585076576791786Mastercard, HUDeclined 20005 Do not honour
5305484748800098Mastercard, DEApproved (debit)
341829238058580American Express, USDeclined 20005 Do not honour
6011111111111117Discover, USApproved
6011111111111118Discover, USDeclined 20005 Do not honour
6011201559638046790Discover, USDeclined 20005 Do not honour
6445979375892355607Discover, USApproved
36160940933914Diners Club International, KRApproved
36160912071610Diners Club International, KRDeclined 20005 Do not honour
3582069482684995JCB, JPApproved
3528257085901927JCB, JPDeclined 20005 Do not honour
3566027046765007JCB, JPApproved
4276038578596818Visa, USDeclined 2005C Transaction not supported / blocked by issuer
4152812521833588Visa, USDeclined 2009G Blocked by cardholder
4734868958733862Visa, USDeclined 200N7 Decline for CVV2 failure
4567361325981788Visa, GBDeclined 200R3 Stop payment for all authorizations
4111111111111129Visa, USDeclined 20001 Refer to card issuer
4024007103573027Visa, USDeclined 20012 Invalid transaction
4158596042924182Visa, GBDeclined 20012 Invalid transaction
4485381577182090Visa, USDeclined 20014 Invalid card number
4544249167673670Visa, GBDeclined 20051 Insufficient funds
4659465888705671Visa, GBAn account funding transaction declines 20057 Not permitted to cardholder; anything else approves
4151512736305999Visa, GBDeclined 20057 Transaction not permitted to cardholder
4897453568485113Visa, USDeclined 20059 Suspected fraud
4000144348235050VisaDeclined 20059 Suspected fraud (prepaid)
4556294593757189Visa, UYDeclined 20061 Activity amount limit exceeded
4818924250131070Visa, GBDeclined 20062 Restricted card
4556253752712245Visa, USDeclined 20063 Security violation
4532819413487978Visa, USDeclined 20078 Blocked, first use
4732789363145785Visa, PRDeclined 20082 No security model
4000140542610783VisaDeclined 20082 No security model (prepaid)
4500622868341387Visa, CADeclined 20154 3DS authentication required
4539257838438511Visa, IEDeclined 20154 3DS authentication required
4941208378238219Visa, GBDeclined 20154 3DS authentication required
4024007162185267Visa, USDeclined 30015 No such issuer
4655710037275959Visa, GBDeclined 30015 No such issuer
4941202060999329Visa, GBDeclined 30041 Lost card - pick up
4658620059821613Visa, GBDeclined 30041 Lost card - pick up
4539253655711767Visa, IEDeclined 30043 Stolen card - pick up
4745820750643143Visa, GBDeclined 30043 Stolen card - pick up
4000140543766022VisaDeclined 20109 Transaction already reversed
5510696303117979MastercardDeclined 20003 Invalid merchant
5148447461737269Mastercard, USDeclined 20012 Invalid transaction
5510696303117987MastercardDeclined 20030 Format error
5437821135399682Mastercard, TWDeclined 20051 Insufficient funds
5355224542121849Mastercard, GBAn account funding transaction declines 20057 Not permitted to cardholder; anything else approves
5355222710253469Mastercard, GBDeclined 20057 Transaction not permitted to cardholder
5420951756276171Mastercard, TNDeclined 20061 Activity amount limit exceeded
5279988405398834Mastercard, JPDeclined 20062 Restricted card
5265162270587964Mastercard, USDeclined 20068 Response received too late / timeout
5525192142230028MastercardDeclined 20072 Account not yet activated
5347965091482021Mastercard, BRDeclined 20182 Policy
5357219827207436Mastercard, BGDeclined 20183 Security
5363450180402239Mastercard, PHDeclined 30041 Lost card - pick up
5355222710255852Mastercard, GBDeclined 30043 Stolen card - pick up
5525192142230002MastercardDeclined 30046 Closed account
5355222710255878Mastercard, GBDeclined 30046 Closed account
5333170000000008Mastercard, ITApproved up to 100.00; more declines 20051 Insufficient funds
5318773000000008Mastercard, USApproved up to 100.00; more declines 20051 Insufficient funds
4644968546281686Visa, GBVerifies (amount 0); an authorization declines 20012
5355228287185489Mastercard, GBVerifies (amount 0); an authorization declines 20012
4546381219393284Visa, GBVerifies (amount 0); an authorization declines 20051
5355229757805879Mastercard, GBVerifies (amount 0); an authorization declines 20051
4325350188287824Visa, GBVerifies (amount 0); an authorization declines 20051
4543611423334994Visa, GBVerifies (amount 0); an authorization declines 20061
5355222589678168Mastercard, GBVerifies (amount 0); an authorization declines 20061
4394666298116207Visa, GBVerifies (amount 0); an authorization declines 20061
4857662623668665Visa, GBVerifies (amount 0); an authorization declines 20062
5355225201525238Mastercard, GBVerifies (amount 0); an authorization declines 20062
4021277034700287Visa, GBVerifies (amount 0); an authorization declines 20062
4407108123937239Visa, GBVerifies (amount 0); an authorization declines 20063
5355226042898974Mastercard, GBVerifies (amount 0); an authorization declines 20063
3530111333300000JCB, JPNot 3DS-enabled: 20150 with 3DS; approves without (CVV 100)
5352151570003404Mastercard, FRNot 3DS-enabled: 20150 with 3DS; approves without (CVV 100)
4532432452900131Visa, DENot 3DS-enabled: 20150 with 3DS; approves without (CVV 257)
378282246310005American Express, US3DS: card not enrolled (attempt_n3d: authorized without 3DS)
5132562600000045Cartes Bancaires, FR3DS: card not enrolled (attempt_n3d: authorized without 3DS)
4022050100000182Cartes Bancaires, FR3DS: card not enrolled (attempt_n3d: authorized without 3DS)
4484070000035519Visa, GB3DS: card not enrolled (attempt_n3d: authorized without 3DS)
3DS test cards
Card numberSchemeWhat it does
345678901234564American Express, ES3DS frictionless: authentication successful
5137210000000018Cartes Bancaires, FR3DS frictionless: authentication successful
4010056200000018Cartes Bancaires, FR3DS frictionless: authentication successful
5588686116426417Mastercard, CN3DS frictionless: authentication successful
6224120000000094UnionPay, CN3DS frictionless: authentication successful
4485040371536584Visa, US3DS frictionless: authentication successful
371064645462927American Express, US3DS frictionless: not authenticated
5132562600000029Cartes Bancaires, FR3DS frictionless: not authenticated
4022050100000000Cartes Bancaires, FR3DS frictionless: not authenticated
5309961755464047Mastercard, BR3DS frictionless: not authenticated
6224120000000086UnionPay, CN3DS frictionless: not authenticated
4539628347117863Visa, AD3DS frictionless: not authenticated
344282679519362American Express, US3DS frictionless: authentication could not be performed
5132562600000011Cartes Bancaires, FR3DS frictionless: authentication could not be performed
4022050100000018Cartes Bancaires, FR3DS frictionless: authentication could not be performed
5234106378657904Mastercard, KR3DS frictionless: authentication could not be performed
6224120000000078UnionPay, CN3DS frictionless: authentication could not be performed
4024007186645015Visa, US3DS frictionless: authentication could not be performed
4022050100000026Cartes Bancaires, FR3DS frictionless: attempted authentication
5558468902774508Mastercard, KE3DS frictionless: attempted authentication
6224120000000029UnionPay, CN3DS frictionless: attempted authentication
4556574722325580Visa, PT3DS frictionless: attempted authentication
343397288296672American Express, US3DS frictionless: authentication rejected
5596061690670931Mastercard, IN3DS frictionless: authentication rejected
6224120000000011UnionPay, CN3DS frictionless: authentication rejected
4275765574319271Visa, JP3DS frictionless: authentication rejected
378702153281139American Express, US3DS frictionless: error during scheme communication
5132562600000060Cartes Bancaires, FR3DS frictionless: error during scheme communication
4022050100000133Cartes Bancaires, FR3DS frictionless: error during scheme communication
5291144083573579Mastercard, US3DS frictionless: error during scheme communication
4452927588210665Visa, US3DS frictionless: error during scheme communication
340282533032846American Express, US3DS frictionless: authentication successful (no 3DS method URL)
36747880216043Diners Club International, US3DS frictionless: authentication successful (no 3DS method URL)
3528982710432481JCB, JP3DS frictionless: authentication successful (no 3DS method URL)
5121073611487018Mastercard, US3DS frictionless: authentication successful (no 3DS method URL)
6224120000000110UnionPay, CN3DS frictionless: authentication successful (no 3DS method URL)
4556085951507152Visa, ES3DS frictionless: authentication successful (no 3DS method URL)
372688581899681American Express, US3DS challenge: authentication successful
5137210000000158Cartes Bancaires, FR3DS challenge: authentication successful
4010061700000021Cartes Bancaires, FR3DS challenge: authentication successful
5385308360135181Mastercard, US3DS challenge: authentication successful
6224120000000003UnionPay, CN3DS challenge: authentication successful
346126139326850American Express, US3DS challenge: attempted authentication
5341034800000008Cartes Bancaires, FR3DS challenge: attempted authentication
4150561000000001Cartes Bancaires, FR3DS challenge: attempted authentication
5518832400606463Mastercard, US3DS challenge: attempted authentication
6224120000000060UnionPay, CN3DS challenge: attempted authentication
4152868552773614Visa, BH3DS challenge: attempted authentication
375982239796002American Express, US3DS challenge: authentication rejected
5341034800000016Cartes Bancaires, FR3DS challenge: authentication rejected
6224120000000052UnionPay, CN3DS challenge: authentication rejected
4150561000000019Cartes Bancaires, FR3DS challenge: authentication rejected
347411540178242American Express, US3DS challenge: not authenticated
5341034800000024Cartes Bancaires, FR3DS challenge: not authenticated
4150561000000027Cartes Bancaires, FR3DS challenge: not authenticated
5258901507741160Mastercard, CA3DS challenge: not authenticated
6224120000000045UnionPay, CN3DS challenge: not authenticated
4243754271700719Visa, US3DS challenge: not authenticated
377990956548835American Express, US3DS challenge: authentication could not be performed
5341034800000032Cartes Bancaires, FR3DS challenge: authentication could not be performed
4150561000000035Cartes Bancaires, FR3DS challenge: authentication could not be performed
5569757734785691Mastercard, US3DS challenge: authentication could not be performed
6224120000000037UnionPay, CN3DS challenge: authentication could not be performed
4447336775378848Visa, US3DS challenge: authentication could not be performed
5341034800000040Cartes Bancaires, FR3DS challenge: error during scheme communication
4150561000000043Cartes Bancaires, FR3DS challenge: error during scheme communication
5572408422189334Mastercard, IE3DS challenge: error during scheme communication
4539929207120660Visa, IN3DS challenge: error during scheme communication
372310461284948American Express, US3DS challenge: authentication successful (no 3DS method URL)
5341034800000057Cartes Bancaires, FR3DS challenge: authentication successful (no 3DS method URL)
4150561000000183Cartes Bancaires, FR3DS challenge: authentication successful (no 3DS method URL)
36138956596288Diners Club International, AT3DS challenge: authentication successful (no 3DS method URL)
3528682570029332JCB, JP3DS challenge: authentication successful (no 3DS method URL)
5259410220714099Mastercard, US3DS challenge: authentication successful (no 3DS method URL)
6224120000000128UnionPay, CN3DS challenge: authentication successful (no 3DS method URL)
4485597929486000Visa, US3DS challenge: authentication successful (no 3DS method URL)

Card payout test cards (Checkout.com's)

24 cards
Card numberSchemeThe payout
4921817844445119Visa, GB10000 Approved
4978313915783283Visa, FR10000 Approved
4076613139850359Visa, SG10000 Approved
4024764449971519Visa, US10000 Approved
4818192525595285Visa, GB20005 Declined - Do not honour
4558473893020179Visa, FR20005 Declined - Do not honour
4811553373235190Visa, SG20005 Declined - Do not honour
4610179846730147Visa, US20005 Declined - Do not honour
4818192160565981Visa, GB20057 Transaction not permitted to cardholder
4975992266555193Visa, FR20057 Transaction not permitted to cardholder
4815649658513826Visa, SG20057 Transaction not permitted to cardholder
4610174464118832Visa, US20057 Transaction not permitted to cardholder
5355224968521878Mastercard, GB10000 Approved
5132728491870081Mastercard, FR10000 Approved
5526303170157160Mastercard, SG10000 Approved
5318773012490080Mastercard, US10000 Approved
5574357535453624Mastercard, GB20005 Declined - Do not honour
5132724072801678Mastercard, FR20005 Declined - Do not honour
5274926611111018Mastercard, SG20005 Declined - Do not honour
5109110000000030Mastercard, US20005 Declined - Do not honour
5355224739676852Mastercard, GB20057 Transaction not permitted to cardholder
5136406072992030Mastercard, FR20057 Transaction not permitted to cardholder
5274926611111026Mastercard, SG20057 Transaction not permitted to cardholder
5109119931560251Mastercard, US20057 Transaction not permitted to cardholder

Any other card is paid; from 1.00 the lab's own amount rules decline: …22 → 50022 Unsupported recipient error, …03 → 50003 Balance reservation insufficient funds.

Amount rules (payments, any other card)

2011 → 200R1 Issuer initiated a stop payment (revocation order) for this authorization
2013 → 200R3 Issuer initiated a stop payment (revocation order) for all authorizations
4001 → 40101 Risk Blocked Transaction
4008 → 40108 Gateway Reject - Post code failed
9998 → 20068 Response received too late / Timeout
…12 → 20012 Invalid transaction
…14 → 20014 Invalid account number (no such number)
…33 → 30033 Expired card - Pick up
…51 → 20051 Insufficient funds
…54 → 20087 Bad track data (invalid CVV and/or expiry date)
…62 → 20062 Restricted card
…63 → 20063 Security violation
…05 → 20005 Declined - Do not honour (from 1.00). An expiry of 01/2099 skips them.

Real vs modeled. Real (api-reference.checkout.com, its OpenAPI, checkout.com/docs): the paths, the 201/202/403/404/422 answers and bodies, statuses and ids, the card payout request and its Accepted answer, the payout details' pending/approved/declined, the Payout action, the webhook envelope and its signature, the test cards and the payout test cards. Modeled: the hosted 3DS page's look, which cards have a 3DS profile, the earlier sandbox's amount rules for every other card, the payout amount rules and the 3-second scheme answer, webhooks to metadata.callback_url, and the error codes for a malformed payout. Bank payouts, returns, compliance reviews, tokens and the merchant-specific hosts are not simulated.

Adyen (Checkout API v71: cards, 3-D Secure 2 by redirect, modifications; Transfers API: card payouts)

Adyen, the global acquirer, on its own APIs and paths under /adyen: a client of https://checkout-test.adyen.com (or the merchant's live https://{PREFIX}-checkout-live.adyenpayments.com/checkout) and of https://balanceplatform-api-test.adyen.com/btl/v4 is pointed at <lab>/adyen instead, and the issuer's page of checkoutshopper-test.adyen.com is the lab's. Gambling is restricted at Adyen for direct merchants and prohibited under a platform model: BabelPay's adyen connector is for the merchant's own Adyen contract. One lab object plays one Adyen company, with every merchant account and balance account in it.

Credentials are ignored: every request needs an X-API-Key (without one, the host's own 401), whose value is never checked. Webhooks are HMAC-signed with the published simulation keys (adyen-simulation-keys.ts): a standard webhook item's additionalData.hmacSignature, a transfer webhook's HmacSignature header. The Customer Area's webhook settings are a stand-in, POST /adyen/ca/webhooks (merchantAccount or balanceAccountId, and url); BabelPay's simulated connection sets them itself.

Errors: Checkout's ServiceError (status, errorCode, message, errorType, pspReference): 401 000, 422 130 (a required field), 101 (card number), 103 (CVC), 129 (expiry), 137 (amount), 138 (currency), 167 (no such payment for a modification), 702 (an unknown field: the v71 schemas are checked), 905, 14_030 (no returnUrl); the balance platform's RFC 7807 problem with invalidFields.

Test cards

Adyen's published test cards (expiry 03/2030, CVC 737); the cardholder name picks a refusal from Adyen's table. A card arriving as ciphertext is recognised by BabelPay's BIN and last-four headers. Any other card follows the lab's standard set (the card simulator's table above).

CardBrandOutcome
4111111111111111VisaNot enrolled in 3-D Secure: authorised at once
5555555555554444MastercardNot enrolled: authorised at once
370000000000002American ExpressNot enrolled: authorised at once
4917610000000000Visa3-D Secure 2 challenge on the issuer's page: authenticate and the payment is authorised; fail or cancel and it is refused (3D Not Authenticated)
5454545454545454Mastercard3-D Secure 2 challenge: authorised once authenticated
5201281505129736MastercardFrictionless 3-D Secure 2 (transStatus Y): authorised at once
5201281262435268MastercardFrictionless authentication fails (transStatus N): refused, 3D Not Authenticated
4000020000000000VisaThe docs' card payout test card: a payout to it is paid
FieldValueEffect
Cardholder nameDECLINEDRefused: Refused (refusal reason 2)
Cardholder nameNOT_ENOUGH_BALANCERefused: Not enough balance (12)
Cardholder nameCARD_EXPIREDRefused: Expired Card (6)
Cardholder nameCVC_DECLINEDRefused: CVC Declined (24)
Cardholder nameFRAUDRefused by Adyen's risk checks: FRAUD (20)
Cardholder nameERRORError: Acquirer Error (4)
Cardholder namePENDINGReceived: the outcome follows in the AUTHORISATION webhook (authorised)
Cardholder nameany value of Adyen's refusal-reason tableThat result code and refusal reason, as on Adyen's test platform; the requested test acquirer response code (in additionalData) does the same
Refund amount (minor units)ending in 98The refund is received, then refused in its REFUND webhook (lab rule)
Refund above what is leftanyThe refund is received, then refused: Insufficient balance on payment
Payout above50,000.00The transfer is refused: notEnoughBalance (modeled balance account)
Any other cardthe lab's standard test cardsThe lab's card table decides (BIN and last four), then the amount's last two digits, as the lab's landing page lists; a payout to a declining card is refused

Real or modeled

beGateway (eComCharge, bePaid, Paysage)

beGateway's card API, on a gateway host's own paths under /begateway, and its APM API (a tenant's API host, /beyag/…) under the same prefix. beGateway is eComCharge's white-label gateway platform: each tenant PSP runs it under its own name and domain, so it is played once for every tenant, and a client of any of these hosts is pointed at <lab>/begateway instead. A tenant's one host takes test and live transactions alike ("test": true).

Payments and authorizations with 3-D Secure inside them, captures, voids, partial and full refunds, payouts to a card (by number or token), credits to a payment's card, the status queries by uid and tracking id, and the signed webhook notifications. Every Shop ID is a shop of its own.

Credentials are ignored: beGateway authenticates with HTTP Basic, the Shop ID and the Secret key; the lab reads the Shop ID and never checks the key. Bodies are JSON wrapped in request; RequestID makes a request idempotent for 24 hours; X-API-Version: 3 answers the flat API v3 shape. Notifications are signed, as beGateway's are: Content-Signature is the Base64 SHA256withRSA signature of the raw body with the shop's key, and the notification carries Basic auth with the Shop ID and the Secret key. The lab signs with its published key (public key MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmS6BdKWNSNdVXtH85C2MAWGN+hNw5fIPqF/91+gTQRFJmRuA6/dSxJDP71kiiFVLou3l8OKBZQFRmo/OoixgZ6mpUhYiP66+WtpsAl9PnWTQnlrDDUs81MJmxG3FnFJIRYQNTgb6v9PeLY+s8szYaQYLegKOrftePFOIuMSsXBOB65ntaPXknpaPOe99KJ4FlplxjswfMjYJaFHpURXgrThTfmRkXbQWaxP9k1LTNocf3MQKB9dl5eacqXuSZPKz/0/gHb9wUUotVQ0NPMQePjp5XhRe7e2v04bl/hw21cQ8yWjy3xqdYH87Zf8P1rUg6O3JG1iJhiuC4JD7dU9OuQIDAQAB) and sends the published secret bistromathic-lab-simulated-flow.

Answers are beGateway's: status (successful, failed, incomplete, expired), code (S.0000, F.xxxx, P.4012), message and friendly_message; a refused request is HTTP 400 {"response": {"message", "errors"}}, an unknown transaction 404 Record not found. Payments above 50,000.00 and payouts above 25,000.00 fail with F.0123 (modeled). additional_data.expected_bank_code on a test transaction fails it with that code, as beGateway documents.

Test cards (beGateway's own)

Any future expiry, any 3 digit CVC. Any other card follows the lab's card rules (its test cards, then the amount's last two digits).

CardBrandOutcome
4200000000000000visaNot enrolled for 3-D Secure: successful
4005550000000019visaNot enrolled for 3-D Secure: failed (F.0999 Payment was declined)
4012000000001006visa3-D Secure Y, frictionless: successful
4012000000001055visa3-D Secure A (attempt), frictionless: successful
4012000000001097visa3-D Secure Y after the challenge: successful (challenge)
4012000000001022visa3-D Secure U (unavailable): failed (F.4006)
4012000000001030visa3-D Secure R (rejected): failed (F.4013)
4012000000001014visa3-D Secure N (not authenticated): failed (F.4001)
5204240000015003master3-D Secure Y, frictionless: successful
5204240000015011master3-D Secure A (attempt), frictionless: successful
5204240000015029master3-D Secure Y after the challenge: successful (challenge)
5204240000015045master3-D Secure U (unavailable): failed (F.4006)
5204240000015052master3-D Secure R (rejected): failed (F.4013)
5204240000015060master3-D Secure N (not authenticated): failed (F.4001)

Payment methods (the APM API)

Statuses: pending, successful, failed, expired (at expired_at), error (a currency the method does not take, E.0607). Notifications on every change, with the Shop ID and the published secret in Basic auth (the APM webhook page's only check) and the card API's Content-Signature, except for an amount ending in …93, notified with Basic auth only. Refusals as api.begateway.com words them: 422 Unprocessable entity naming the missing fields, 422 Could not pick gateway for <type> for a method the shop has not got, 404 Couldn't find Transaction, 404 Not found. for a refund's unknown parent. A push answers itself by the phone's last digit: …2 confirmed after 10 seconds, …4 failed (F.0207), …5 expired, …6 refused (F.0206); any other waits for the drawn phone.

TypeMethodThe lab playsRequiredRefunds
mb_wayMB WAYa push to the payer's appcustomer.first_name customer.last_name customer.email customer.phoneno
much_betterMuchBettera push to the payer's appmethod.account method.channelno
multibancoMultibancoa reference (lab ATM)customer.first_name customer.last_name customer.email customer.phoneno
multibanco_redirectMultibancoa page (POST form)—no
trustlyTrustlya page (GET link)customer.first_name customer.last_name customer.country customer.external_idpartial
online_bankingOnline bankinga page (GET link)—no
t_365_open_bankingT365 Open Bankinga page (GET link)customer.first_name customer.last_name customer.email customer.zipno
noda_liveNodaa page (GET link)customer.device_id customer.emailno
idealiDEALa page (GET link)—full
epsepsa page (GET link)customer.first_name customer.last_nameno
blikBLIKa page (GET link)customer.first_name customer.last_name customer.emailpartial
p24Przelewy24a page (GET link)customer.first_name customer.last_name customer.emailno
my_bankMyBanka page (GET link)customer.first_name customer.last_name customer.countryno
bizumBizuma page (GET link)—no
bancontactBancontacta page (GET link)customer.first_name customer.last_nameno
pay_safe_cardpaysafecarda page (GET link)customer.first_name customer.last_name customer.countrypartial
skrillSkrilla page (GET link)method.accountno
netellerNETELLERa page (GET link)—no
bogusBogus (test)the amount decides—partial
interacInteraca page (GET link)method.login_id method.channel customer.first_name customer.last_name customer.email customer.phoneno

Real or modeled

Akurateco protocol (Ikajo, TESS Payments, …)

Akurateco's white-label "Payment Platform", run under their own brands by high-risk PSPs (Ikajo International, TESS Payments, …): its S2S CARD protocol on the protocol's own path under /akurateco. A merchant's PAYMENT_URL, whichever tenant gave it, is swapped for <lab>/akurateco. SALE (and SALE with auth=Y), CAPTURE, CREDITVOID (refunds and reversals), VOID, CREDIT2CARD payouts, GET_TRANS_STATUS, GET_TRANS_STATUS_BY_ORDER and GET_TRANS_DETAILS, with the redirect / 3-D Secure step and signed callbacks. Every client_key is a merchant of its own.

TenantPAYMENT_URLNote
Ikajo Internationalhttps://secure.ikajo.comIkajo's API documentation (ikajo.com/api) is this protocol; Ikajo hands out PAYMENT_URL at onboarding and allowlists merchant IPs (the host resolves and drops other connections)
TESS Paymentshttps://api.tesspayments.comdocs.tesspayments.com/s2s_card is this protocol; the host answers its errors

Credentials are ignored: a request carries client_key and the hash (md5, or sha256, of an upper-cased concatenation: the payer's email reversed, the merchant PASSWORD, the trans_id, the card's first six and last four digits reversed; per action, "Appendix A"). The lab refuses a missing hash, as the platform's validation does, but never checks its value. Callbacks are signed the platform's way (Formula 2; Formula 6 for CREDIT2CARD) with the published password bistromathic-lab-simulated-flow, in md5, or sha256 when the merchant's own hashes are.

Test data (the platform's sandbox: card 4111111111111111, any 3-digit CVV, the expiry picks the scenario)

ExpiryOutcome
01/2038Successful sale (SETTLED; an AUTH is PENDING). Also the card for a recurring token
02/2038Declined sale: Declined by processing.
03/2038Successful AUTH, then a declined CAPTURE
05/20383-D Secure (REDIRECT, 3DS), then a successful sale
06/20383-D Secure (REDIRECT, 3DS), then a declined sale
12/2038A redirect (REDIRECT, REDIRECT), then a successful sale
12/2039A redirect (REDIRECT, REDIRECT), then a declined sale

Payouts: 4601541833776519 is a successful CREDIT2CARD. Any other card follows the lab's test cards (by number, or by BabelPay's BIN and last-four headers for vault ciphertext) and amount rules. On the 3-D Secure page any code confirms; "Fail authentication" declines it, "Cancel payment" too.

Lab rules

Amount (last two digits in minor units)OnEffect
…57, from 10.00payoutThe payout is declined: Transaction not permitted to cardholder
…61, from 10.00payoutThe payout is declined: Exceeds withdrawal amount limit
…76, from 10.00refundThe refund is declined (CREDITVOID result DECLINED, the payment stays SETTLED)
…77, from 10.00refundThe refund waits (CREDITVOID result WAITING), then succeeds 30 s later

Real or modeled

Coriunder

Coriunder's processing platform (Coriunder Ltd, Cyprus): a white-label payment platform that PSPs, ISOs and high-risk merchants run under their own names, each on its own domain. Its server-to-server API, the "Silent Post", on a tenant's processing host's own paths under /coriunder: a client of process.coriunder.cloud, process.mantapay.biz or any other tenant's process. host is pointed at <lab>/coriunder instead. Cards with 3-D Secure, authorizations captured or voided, refunds and card payouts. Every CompanyNum is a merchant of its own, always in integration mode.

Credentials are ignored: every request carries Signature, base64 of the SHA-256 of the request's key values and the merchant's Personal Hash Key (a sale: CompanyNum + TransType + TypeCredit + Amount + Currency + CardNum + key). The lab refuses a missing or malformed one (500), as Coriunder does, but never checks its value. Answers and notifications are signed as Coriunder signs them, with the lab's published key bistromathic-lab-simulated-flow: an answer over Reply + TransID + Order + Amount + Currency, a notification over trans_id + trans_order + reply_code + trans_amount + trans_currency. Notifications are POSTed form-encoded to the request's notification_url; Coriunder takes HTTP 200 and does not retry.

Test cards (Coriunder's own)

Only these are taken (any other card: 595), with any future expiry and any CVV2. A card arriving as vault ciphertext is recognised by BabelPay's BIN and last-four headers.

CardIssuer
4387751111111111Visa (US)
5442987111111111MasterCard (US)
371000911111111American Express (US)
4056850111111111Visa (FR)
5130113111111111MasterCard (FR)
36005131111111Diners Club (GB)
3535111111111111JCB (JP)
6221701111111111LivaKash (JP)
4580000000000000VISA (IL)
5326140000000000MasterCard (IL)

Test amounts (Coriunder's "Controlling Reply")

1.00 or more is approved; any other amount below 1.00 is 596.

AmountReplyMeaning
0.041001Soft decline (call)
0.051002Insufficient funds
0.90000Approved after 5 seconds
0.91000Approved after 10 seconds
0.92000Approved after 20 seconds
0.93000Approved after 30 seconds
0.94000Approved after 40 seconds
0.95000Approved after 50 seconds
0.96000Approved after 60 seconds
0.97000Approved after 70 seconds
0.98000Approved after 80 seconds
0.99000Approved after 90 seconds
55.305533-D Secure / APM simulator: 553 with D3Redirect

Lab rules

Amount (last two digits in minor units)OnEffect
…53, from 10.00payment3-D Secure: 553 with D3Redirect, as 55.30 does
…57, from 10.00payoutthe payout is declined: 57 (transaction not permitted to issuer/cardholder)
…61, from 10.00payoutthe payout is declined: 61 (exceeds withdrawal amount limit)
…76, from 10.00refundthe refund is declined: 548 (declined by external processor)
…81, from 10.00paymentthe notification arrives 30 seconds late
…82, from 10.00paymentno notification is sent (the payer's return and getStatus still answer)

Real or modeled

emerchantpay Genesis (E-Comprocessing)

Genesis, emerchantpay's payment gateway, on its own paths under /emerchantpay. E-Comprocessing runs the same gateway on its own hosts (the official SDK names both endpoints), so it is played once for both, and a client of either points its gate and WPF hosts at <lab>/emerchantpay instead (their paths never meet):

The Processing API's cards (sale, authorize, their 3D variants with 3-D Secure v2 inside them: frictionless, the 3DS-Method and its signed continue, the challenge), captures, voids, partial and full refunds, credits on a payment and card payouts; eZeeWallet; Interac (Online Banking with the bank code CPI, Interac Combined Pay-in, on the WPF; Bank Payouts in CAD by "Interac e-Transfer Outbound Pay-out" or "eCashout Pay-out", pending_async until the bank pays them about 10 seconds later, …52 rejected); the Web Payment Form with its payer pages (a card, an eZeeWallet login, or Interac), its lifetime (30 minutes by default; status timeout) and cancel URL; both reconcile APIs (single and by date) and the signed notifications. Every API username is a merchant of its own.

Credentials are ignored: Genesis authenticates with HTTP Basic, the API username and password, and names the terminal in the URL; the lab reads the username and never checks the password or the terminal token. Bodies are XML (text/xml); answers are payment_response / wpf_payment XML, an error carrying Genesis's code (320 missing, 330 format, 340 invalid, 410 no approved reference, 440 amount over the reference, 460 not found, 5xx declines, 6xx risk). Notifications are signed as Genesis's are: signature is the hex SHA-1 (Processing API) or SHA-512 (WPF) of the unique id followed by the API password, here the lab's published password bistromathic-lab-genesis-simulation-password, and they are sent again until the answer is the notification_echo naming the unique id.

Deposits above 50,000.00 and payouts above 25,000.00 fail with 621 Terminal limits exceeded (modeled); an eZeeWallet holds 10,000.00 (modeled; more is declined), and the password wrong fails its login.

Test cards (Genesis's own)

Any future expiry, any 3 digit CVV. Any other card follows the lab's card rules (its test cards, then the amount's last two digits).

CardBrandOutcome
4200000000000000VisaSuccessful transaction
4111111111111111VisaTransaction declined
5555555555554444MastercardSuccessful transaction
5105105105105100MastercardTransaction declined
4012000000060085Visa3DS v2 frictionless, authenticated
4901170000000003Visa3DS v2 frictionless, authenticated
4901164281364345Visa3DS v2 frictionless, authenticated
4378510000000004Visa3DS v2 frictionless, authenticated (low risk exemption accepted)
4456530000001005Visa3DS v2 frictionless, attempted
5200000000001054Mastercard3DS v2 frictionless, attempted
4066330000000004Visa3DS v2 frictionless after a 3DS-Method, authenticated
5200000000001021Mastercard3DS v2 frictionless after a 3DS-Method, authenticated
5169750000001111Mastercard3DS v2 frictionless, authenticated (low risk exemption accepted)
4111110000000922Visa3DS v2 frictionless, not authenticated: declined
5200000000001047Mastercard3DS v2 frictionless, not authenticated: declined
4111112232423922Visa3DS v2 frictionless after a 3DS-Method, not authenticated: declined
4918190000000002Visa3DS v2 challenge: choose the result
5433300000000133Mastercard3DS v2 challenge: choose the result
4938730000000001Visa3DS v2 challenge after a 3DS-Method: choose the result
5200000000001005Mastercard3DS v2 challenge after a 3DS-Method: choose the result

Real or modeled

MuchBetter (e-wallet) — modeled

MuchBetter, the gambling e-wallet (UK, IE, .com): the payer is known by the mobile number of their MuchBetter account and approves the payment in the MuchBetter app. The API is modeled: MuchBetter publishes no merchant API (its partner portal is invite-only). What is MuchBetter's own comes from the platforms that integrate it in public: the phone number in international form without "+" (PXP Financial's Kalixa docs), "registered or INCOMPLETE with a quick sign-up link", the date-of-birth, country and last-name checks, the sandbox's one-time code 000000 and any four-digit passcode, a payout as a push then a status check until COMPLETED (the same), the merchant account id, API key, brand name and tracking code (Rebilly's and Corefy's MuchBetter gateways) and the currencies (EUR, GBP, USD, CAD, PLN, MXN, MYR, THB, IDR, VND). The paths, the JSON, the statuses, the error codes, the clocks and the limits are the lab's model. A client swaps https://merchant-api-sandbox.muchbetter.com (or https://merchant-api.muchbetter.com) for <lab>/muchbetter.

Credentials are ignored: any Authorization: Bearer … is taken; X-Merchant-Account-Id names the merchant account (a request with neither is 401 UNAUTHORIZED). Money is a decimal string; errors are {"error": {"code", "message", "field"}} with 400, 401, 404, 409 or 422. Notifications are unsigned: each final status is POSTed (JSON, the transaction as GET reads it, plus eventId and event) to the request's callbackUrl, and the merchant reads the transaction back before believing it. MuchBetter wants HTTP 200.

Test customers (any other well-formed number is a verified wallet with 5,000 in every currency)

phoneNumberEffect
447700900100 (+44 7700 900100)Registered and verified, 5,000.00: you approve or decline on the drawn phone. Payouts complete
447700900101 (+44 7700 900101)Approves by itself 5 seconds after the request reaches the app
447700900102 (+44 7700 900102)Declines by itself 5 seconds after the request (CUSTOMER_DECLINED)
447700900103 (+44 7700 900103)Never answers: the request expires 10 seconds later (EXPIRED)
447700900104 (+44 7700 900104)20.00 in the wallet: approving more is declined (INSUFFICIENT_FUNDS)
447700900105 (+44 7700 900105)Not verified: a payment over 200.00 is declined after approval (LIMIT_EXCEEDED); payouts are refused (CUSTOMER_NOT_VERIFIED)
447700900106 (+44 7700 900106)No MuchBetter account: INCOMPLETE, then the quick sign-up (code 000000, any 4-digit passcode), then the request
447700900107 (+44 7700 900107)Blocked: payments and payouts are refused at once (ACCOUNT_BLOCKED)
447700900108 (+44 7700 900108)Pays as usual; a payout to it fails 2 seconds later, a refund to it at once (FAILED, ACCOUNT_BLOCKED)

Limits and lab rules

STICPAY (e-wallet) — STICPAY's PAY page and withdrawals; status and refunds modeled

STICPAY, the e-wallet of gambling and forex merchants (global, strongest in Asia): the payer logs in to STICPAY's payment page with their STICPAY account and pays from its wallet; withdrawals go to the STICPAY account by its email. Real: the PAY form (pay.sticpay.com/1.1/pay: merchant_email, order_no, order_time as Y-m-d H:i:s, order_amount, order_currency, sign, success_url, failure_url, callback_url, referrer_url, interface_version live|sandbox, sign_type MD5|SHA256, product_*, client_ip, full_name, extra_return_param, registered_email) and its sign, rest_withdraw/withdraw and its sign (a public Laravel package), the error envelope and its texts (STICPAY's API, asked without credentials), the return codes, the merchant's API settings and the currencies (STICPAY's site; B2Broker's STICPAY guide). Modeled: the page's screens, the callback's fields besides parameters and its sign, rest_transaction/status, rest_refund/refund, the withdrawal's success body, the clocks, the limits and the test accounts. A client swaps https://pay.sticpay.com and https://api.sticpay.com for <lab>/sticpay.

Credentials are ignored: any merchant_email is a merchant; sign (lowercase hex MD5 or SHA256 of field=value&…&key=<API key>) must be sent but is never checked. Errors are {"success": false, "POST": {…}, "message", "code", "errors"} with HTTP 400 (800 "invalid post" with per-field errors, 803–808 formats, 1300 order_no used, 1400/1401 not found, 1402 not refundable, 410/411 limits). Callbacks: each PAY request's end is POSTed to its callback_url as the form field callback, JSON (merchant_email, order_no, order_time, transaction_id, order_amount, order_currency, status (the return code), message, customer_email, interface_version, sign_type, parameters (the request as posted, a JSON string) and sign over merchant_email&order_no&transaction_id&order_amount&order_currency&status with the lab's key bistromathic-lab-sticpay-simulation-key); HTTP 200 expected. The payer goes back to success_url, failure_url or (cancelled) referrer_url with the same field, posted.

Test accounts (any password; any other email is a verified account with 5,000.00 in every currency)

STICPAY emailEffect
payer@example.comVerified, 5,000.00 in every currency: you confirm and pay. Payouts and refunds to it complete
slow@example.comPays, but the payment stays processing (-1) for 10 seconds before it succeeds: the callback brings the outcome
lowbalance@example.com20.00 in the wallet: paying more is declined (700 Insufficient Customer Balance)
unverified@example.comNot verified: a payment over 100 dollars' worth is declined (417); a payout to it is refused (417)
limit@example.comDaily limit reached: paying is declined (412)
blocked@example.comRestricted: paying, and payouts to it, are refused (416 This type of transfer is not allowed)
nowallet@example.comNo wallet in the payment's currency: paying, and payouts to it, are refused (500 Customer Wallet Not Found)
nobody@example.comNo STICPAY account: the log-in fails (Customer not found); a payout to it is refused (800, The Customer Email does not exist.)

Limits and lab rules

Aircash + Abon

Aircash's Frame API on its own paths, under /aircash: a client swaps stage-frame-api.aircash.eu (and staging-m3.aircash.eu) for this host's /aircash. Credentials are ignored: the body's PartnerId names the partner, its Signature is never checked. The Frame API is real, from Aircash's own WooCommerce plugin (2.0.9: /api/v2/initiate, /api/v3/status, /api/v1/RefundTransaction, the signing, the status codes), its pretix plugin and its Frame partner simulator (PayType, PayMethod). Modeled (Aircash publishes no reference): the frame's screens, the payout API on M3 (/api/AircashPayoutV2/CreatePayout, /CheckTransactionStatus), the error codes beyond 1, 1002 and 3000, the limits and the lab's test values.

The notification is a GET to the NotificationUrl with partnerTransactionId added, on every final status. A frame is cancelled after 5 minutes. Status answers are signed SHA256withRSA with the lab's published key. Currencies: EUR (978), BGN (975), RON (946), CZK (203), PLN (985), SEK (752), CHF (756), HUF (348), BAM (977), DKK (208), RSD (941); Abon in EUR and RON.

Test values

ValueEffect
The drawn app (Scan & Pay) or a phone's cameraAna Kovač, +385 91 234 5678, holds 2,000.00
Phone +385 91 000 0001No active Aircash account (frame); payout: "The user is not active with phone number"
Phone +385 91 000 0002Over its limit or blocked: the payment and payouts are declined
Phone +385 91 000 0003Holds 20.00
Payout phone +385 91 000 0004Personal data does not match (with PayerFirstName, PayerLastName, PayerBirthDate)
Deposit …51, from 10.00The payer confirms in the app and Aircash declines the payment (status 1)
Abon: any 16 digitsWorth exactly the payment's amount
Abon 0000 0000 0000 5000Eight zeros, then the value in cents (50.00): refused unless it is the payment's amount
Abon 1111111111111111, 2222222222222222, 3333333333333333Used, not valid, another currency; three refused codes decline
Refund amount ending in 05 centsRefused

ePay.bg and EasyPay (BG)

ePay.bg's WEB API on its own paths under /epay-bg: a client of https://demo.epay.bg (demo) or https://www.epay.bg (production) is pointed at <lab>/epay-bg instead. ePay.bg is Bulgaria's online payment account (a microaccount and registered cards); EasyPay is its cash network, where a payer pays a 10-digit code at a desk or at a B-Pay ATM. It serves the real epay-bg connector's epay-bg and easypay deposits and its payouts. Any MIN (customer number) is a merchant of its own; a simulated connection uses 8000000042 and merchant@lab.epay.bg.

Credentials are ignored: no call is refused for its CHECKSUM (the hex HMAC-SHA1 of ENCODED under the merchant's secret word). Notifications are signed as ePay.bg signs them, with the lab's published secret BistromathicLabEpayBgSimulationSecret000000000000000000000000000: a form POST of encoded (Base64 lines INVOICE=…:STATUS=PAID|DENIED|EXPIRED[:PAY_TIME=…:STAN=…:BCODE=…], several invoices in one when they fall due together) and checksum; the merchant answers one line per invoice, INVOICE=…:STATUS=OK|ERR|NO. A merchant's notification URL is set in its ePay.bg profile (the demo lets the merchant set it); the lab's stand-in is POST /epay-bg-lab/merchant with {"min": …, "url": …, "merchantName": …}.

Test cards (ePay.bg's demo)

CardBrandEffect
5100770000000022MastercardApproves
4341792000000044VisaApproves
5555000000070019MastercardDeclined by the bank

The lab payer's account holds a microaccount of 1 000,00 € and those three cards (Visa •••• 0044, Mastercard •••• 0022, Mastercard •••• 0019).

Lab rules (the amount's cents, from 1 €)

Limits and timers

Real or modeled

OKTO (OKTO.CASH, OKTO.WALLET)

OKTO's cash and wallet payments for Romania, Greece and Cyprus, under /okto. The API is modeled: OKTO publishes no merchant API (its docs are private, and docs.okto.tech is another company's). The model follows Nuvei's OKTO.CASH guide (the PayCode as a numeric code or a GS1 barcode, the store locator, the payer's details Greece and Romania require), OKTO.CASH's FAQ (a paid code cannot be cancelled, refunds go through the merchant, withdrawals to OKTO.WALLET), Corefy's OKTO connector (a merchant account number, an API key and a callback signature key) and the cashiers that offer it. An OKTO client swaps https://sandbox.oktopay.eu for this host's /okto. Credentials are ignored: any Authorization: Bearer … is taken; X-Okto-Merchant-Account names the merchant. Errors are Spring's envelope (timestamp, path, status, error, requestId, as OKTO's hosts answer) with a modeled code and message.

Notifications (payment.completed, .declined, .cancelled, .expired, refund.completed, .declined, payout.completed, .declined) go to the request's notificationUrl as {eventId, eventType, createdAt, data}, signed X-Okto-Signature: t=…,v1=… (hex HMAC-SHA256 over t.body) with the published key okto-lab-callback-signature-key-simulation.

OKTO.WALLET phone numbers (last two digits)

PhoneEffect
ending 02Approved in the app, then declined: insufficient funds (the wallet holds 10.00)
ending 03Approved in the app, then declined: the wallet's limit is exceeded
ending 04Declined at once: the OKTO account is blocked
ending 09Pays; a refund or payout back to its wallet is declined (the account is restricted)
any otherA wallet with 10,000.00: approve and the payment completes

Payouts

wallet.accountIdOutcome
OKW…08declined, WALLET_NOT_FOUND
OKW…09declined, ACCOUNT_RESTRICTED
any other OKW + ten digitscompleted

Limits (Nuvei's RO integration, Betano's withdrawals; EUR the lab's)

CurrencyPaymentPayout
RON20.00 – 4500.0040.00 – 180000.00
EUR5.00 – 900.005.00 – 36000.00

Real: the hosts (sandbox.oktopay.eu, eu.oktopay.eu for EUR, ro.oktopay.eu for RON) and their error envelope; the PayCode and barcode, the store locator, the countries and currencies, the 24–48-hour code. Modeled: every path, field, status and code, the signature, the payment page's screens, the terminal.

Neosurf (prepaid voucher and myNeosurf) — page real, API modeled

Neosurf, the prepaid cash voucher (a 10-character code bought at a newsagent, a petrol station or online) and myNeosurf, its account, both paid on Neosurf's own page. The payment page's form is Neosurf's: the payer's browser posts it to https://pay.neosurf.com with version 3, merchantId, merchantTransactionId, amount (minor units), currency (lower case), language, subMerchantId, prohibitedForMinors and test (yes / no), urlOk, urlKo, urlPending, urlCallback and hash (ECOMMPAY's Neosurf Gate guide, a gambling cashier's own form); a merchant holds a merchant id and a secret key (Rebilly's Neosurf gateway); the outcomes are ok, pending or a refusal (Mozarto's Neosurf integration). Modeled, as Neosurf's merchant documentation is given only to merchants: the hash (SHA-1, hex, of the values in the order of their names, then the secret key), the notification, the browser's return, the merchant API, its errors, the clocks, the limits and the test values. A client swaps https://pay.neosurf.com for <lab>/neosurf and https://api.neosurf.com for <lab>/neosurf/api.

Credentials are ignored: no form or request is refused for its hash (one without is 401 invalid_hash). The lab signs its answers, its notifications and the browser's return with its published secret key (src/neosurf/neosurf-simulation-keys.ts). Notifications: every change of status is POSTed form-encoded to urlCallback (version, merchantId, merchantTransactionId, transactionId, type, status, amount, currency, paymentMethod voucher or myneosurf, customerId for myNeosurf, errorCode, errorMessage, test, created, updated, hash); Neosurf wants HTTP 200 and OK.

Test vouchers (any other 10 letters and digits: a fresh voucher worth 150.00 in the payment's currency)

CodeEffect
0000000020Holds 20.00: a larger payment asks for another code (up to five codes a payment)
1111111111Already used: refused (voucher_used)
2222222222Expired: refused (voucher_expired)
3333333333A "Minor" voucher: refused on an age-restricted site (prohibitedForMinors=yes, voucher_minor); 150.00 elsewhere
4444444444Bought in Canadian dollars: refused unless the payment is in CAD (voucher_currency)
5555555555Blocked for fraud: the payment is declined at once (voucher_blocked)

Test myNeosurf accounts (any other email, any password but wrong: verified, 1,000.00 in every currency)

EmailEffect
low@myneosurf.test20.00 in every currency: a larger payment is declined (insufficient_funds)
unverified@myneosurf.testNot verified: a payment over 250.00 is declined (limit_exceeded); a payout to it is refused (kyc_required)
blocked@myneosurf.testBlocked: the sign-in is refused (account_blocked); the payer may still pay with a voucher
payoutfail@myneosurf.testPays as usual; a payout to it fails 2 seconds later and a refund at once (account_closed)

Lab rules

CASHlib (prepaid cash voucher) — real API

CASHlib, the cash voucher bought at a tobacconist's or newsagent's (or online) and redeemed online with its 16-digit code: the euro area, Switzerland, Poland, the Czech Republic, the UK, Canada, Australia and New Zealand. The API is CASHlib's own, from its public Merchant API documentation (1.4.0, OpenAPI, PDF): the paths, the apikey header, amounts in cents, alpha-3 countries, the error envelope and codes, the statuses, the 30-minute session and the End of payment notification. The purchase page is redrawn from the documentation's screenshots. The test vouchers, the KYC threshold, the blacklisted country and email and the attempts before a rejection are the lab's (CASHlib hands its test vouchers to each merchant). A client swaps https://api-test.cashlib.com (or https://api.cashlib.com) for <lab>/cashlib.

Credentials are ignored: any apikey header is taken (none: 403 {"status":12,"error_message":"Could not authenticate you."}); the body's mid names the merchant. Errors are {"status", "error_message"} with HTTP 400 (functional codes 13, 16, 17, 50, 520, 53, 62, 70) or 403; an unknown path is {"error":{"code":404,"message":"Not Found"}}. The End of payment notification is not signed: it is POSTed (JSON: status 0, error_message, transaction_id, transaction_reference, purchase_amount, currency; header apikey) to the notification URL in the MID's settings once a payment is validated, and CASHlib wants "OK". The lab's stand-in for those settings is POST /cashlib-lab/mid {"mid", "notification_url", "merchant_name"}. When the KYC page opens, the KYC request (the payer's name, first name, birthdate, email and the transaction) goes to the same URL; an answer without documents leaves the payer to give them on the page.

Test vouchers (any other 16 digits: "Invalid voucher code")

CodeEffect
1111 2222 3333 44441,000.00: pays any payment up to the 1,200.00 limit on its own
1111 2222 3333 0150150.00
1111 2222 3333 0100100.00
1111 2222 3333 005050.00
1111 2222 3333 002525.00: less than the payment? Add another voucher for the rest
1111 2222 3333 001010.00
1111 2222 3333 0000Used up (balance 0.00): refused
1111 2222 3333 0080Expired: refused, and counts as a wrong code
1111 2222 3333 0042A live voucher: CASHlib's test platform refuses it (42), a wrong code

Timers, limits and lab rules

Payz (ex-ecoPayz, e-wallet)

Payz, the e-wallet formerly called ecoPayz (PSI-Pay; global, long used by gambling merchants), on its real merchant integration: ecoPayz's "API Specification" 2.0.x as the open-source omnipay-ecopayz driver implements it (updated in June 2024 to Payz's hosts), with PXP Financial's ecoPayz pages for the merchant confirmation. A client swaps https://myaccount.payz.com (myaccount.test.payz.com in test) and https://merchantapi.payz.com (merchantapi.test.payz.com) for <lab>/payz. Before the rebrand they were secure.ecopayz.com/PrivateArea/WithdrawOnlineTransfer.aspx and secure.ecopayz.com/services/MerchantAPI/MerchantAPIService.asmx. Modeled: the error codes other than 0, 60004 and 11007, Payz's pages, the test accounts, the limits and the clocks.

Credentials are ignored: the purchase's Checksum (the md5 of the parameters' values in order, then the merchant password) must be there but is never checked, and no MerchantPassword is. Notifications are signed the Payz way (the md5 of the XML with the password in the checksum's place) with the published password bistromathic-lab-simulated-flow.

Test accounts (any password but wrong; any other email is a fresh account with 5,000.00 in every currency)

EmailAccountEffect
player@payz.test11001855855,000.00 in every currency: you approve the sign-in on your phone (or type its code) and confirm the payment
lowfunds@payz.test110020020120.00 in the account: a bigger payment fails after Confirm (status 3, Insufficient funds)
suspended@payz.test1100200202Suspended: signing in works, the payment fails after Confirm (status 3, Account suspended); a payout to it is refused (11002)
nopayout@payz.test1100200203Pays as usual; a payout or refund to it is refused (11002, Client account is blocked)

Error codes and lab rules

Flexepin (prepaid cash voucher) — real API

Flexepin, the prepaid voucher bought for cash at a retailer (in Canada) or online, and redeemed on a merchant's site with its 16-digit PIN: Canada, Australia, New Zealand, the euro area, the UK and South Africa. Run by Novatti Group (Flexewallet Pty Ltd, Flexe Payments (MLT) Ltd, Flexewallet (NZ) Limited). The API is Flexepin's own, from its public Merchant API on Apiary (flexepinmerchantapi, the blueprint its test demo portal links to, and the older flmerchant): the paths, the HMAC-SHA256 AUTHENTICATION header (HMAC <api_key>:<signature>:<nonce>, the signature over the method, the URI, the nonce and the body, one per line), the result codes and the voucher object. The test host's own answers to an unauthenticated probe (401 {"error":401,"description":"Missing or malformed authentication"}, 400 {"error":400,"description":"Request does not conform to API schema"}) are copied. The test PINs are the lab's (Flexepin gives a merchant its test PINs through its demo portal, behind the merchant's test key), as is the 70 "Transaction Not Found" of a query that finds nothing (from Flexepin's Distributor API). A client swaps https://testrest.flexepin.com for <lab>/flexepin.

Credentials are ignored: any well-formed AUTHENTICATION header is taken, whatever its key and signature; none, or a malformed one, is the 401 above. A terminal id over 32 characters is 401 {"error":401,"description":"Agent Invalid Terminal ID"}; a transaction id over 32, an unknown path or a wrong method the 400. Every answer is HTTP 200 with result (a string, "0" for success) and result_description, transaction_id (the merchant's) and trans_no (Flexepin's). Nothing is sent to the merchant: Flexepin answers each call at once.

Test PINs: SSSS 0NNN VVVV VVVV

SSSS is the voucher's state, NNN its currency's ISO 4217 number (0124 CAD, 0978 EUR, 0826 GBP, 0036 AUD, 0554 NZD, 0840 USD, 0710 ZAR), VVVVVVVV its face value in cents. Any other 16 digits: 4075 "Voucher is not found". A valid test PIN is never used up: each redemption is a fresh voucher. The rows below are a CAD 50.00 voucher in each state.

PINEffect
1000 0124 0000 5000A valid voucher (ACTIVE; a Euro voucher validates as QUARANTINE, 10251, as Flexepin's always do): redeemed
1025 0124 0000 5000A quarantined voucher, in any currency (10251): still valid, replaced by an active one on redemption
4019 0124 0000 5000A voucher type or value the merchant is not set up for (4019)
4071 0124 0000 5000Locked (4071)
4072 0124 0000 5000Already used (4072)
4073 0124 0000 5000Not active (4073)
4074 0124 0000 5000Expired (4074)
4080 0124 0000 5000Insufficient value (4080)
0503 0124 0000 5000Flexepin is in maintenance mode (503)

Token.io

Token.io's Open Banking API for TPPs on its own paths, under /tokenio: a Token.io client swaps api.sandbox.token.io and app.sandbox.token.io (the Hosted Pages) for this host's /tokenio. Credentials are ignored: the JWT's mid (Token.io's JWT authentication: EdDSA, ES256 or RS256 over the header and the body), or a sandbox API key's member, names the member (its payments, its GBP and EUR settlement accounts with 1 000 000.00 each, its webhook config); no signature is checked, and only a request without any Authorization is refused (401). The API is real: built from Token.io's public OpenAPI (reference.token.io, "Token.io's Open Banking API for TPPs") and its docs (docs.token.io). Token.io's mock bank and its amounts are Token.io's; the real banks' ids, names and BICs are from its sandbox's public GET /v2/banks; their limits, the lab's amount rules and the timings are the lab's.

Webhooks go to the member's one webhook URL (PUT /tokenio/webhook/config) for the types it subscribed: PAYMENT_STATUS_CHANGED (every payment status, from creation), REFUND_STATUS_CHANGED, PAYOUT_STATUS_CHANGED, with token-event and token-signature: the Ed25519 signature of the body (canonical JSON) by the lab's published key, JVKF6XMLC9nIaJN_27rBMT1huAqUkEDmgZTLAUwibto (also at /tokenio/.well-known/jwks). A payment completes 1.5 s after the bank approves, its settlement completes 3 s later; a refund or payout processes after 1 s and completes 2.5 s later. A payment nobody authorises fails after 40 minutes.

Token.io's Mock Redirect Bank (mock-redirect)

amount.valueStatusstatusReasonInformation
101INITIATION_COMPLETEDsuccess
103INITIATION_REJECTEDfailure
104INITIATION_DECLINEDError during payment redemption: PERMISSION_DENIED
105INITIATION_PROCESSINGprocessing
106INITIATION_DECLINEDPayment initiation has been canceled.
108INITIATION_REJECTED_INSUFFICIENT_FUNDSInsufficient funds
110INITIATION_PROCESSINGinitiated
112INITIATION_DECLINEDPayment initiation has been declined.
116INITIATION_REJECTEDInsufficient funds
117INITIATION_DECLINEDPermission denied
118INITIATION_DECLINEDCUST
119INITIATION_DECLINEDOrder not executed

Any other amount completes (success).

Lab rules (at a real bank)

Deposit amountEffect
…13, from 10.00INITIATION_PROCESSING for two minutes, then completed and settled
…24, from 10.00Completed, then SETTLEMENT_INCOMPLETE: the settlement account never finds the money
…05, from 10.00The bank refuses: INITIATION_REJECTED_INSUFFICIENT_FUNDS
…06, from 10.00The bank refuses: INITIATION_REJECTED (over the payer's daily limit)
…07, from 10.00Token.io cannot reach the bank: INITIATION_FAILED
Refund amountEffect
…17, from 10.00INITIATION_FAILED: Token.io cannot reach the bank
…05, from 10.00INITIATION_REJECTED: the payer's account is closed (AC04)
Payout amountEffect
…17, from 10.00INITIATION_FAILED: Token.io cannot reach the bank
…41, from 10.00INITIATION_PROCESSING for two minutes, then completed
…05, from 10.00INITIATION_REJECTED: the payee's account is closed (AC04)

A payout to an IBAN ending 9901 or an account number ending 9902 is rejected (invalid creditor account). A refund or payout bigger than the settlement account's balance is rejected. GBP payments over 1 000 000.00 (Faster Payments) are refused.

Markets, banks and the payer's limit per payment

CountryCurrency, railBanks
GBGBP, FASTER_PAYMENTSBarclays Bank ob-barclays 25,000, HSBC Bank - Personal ob-hsbc 25,000, Lloyds Bank ob-lloyds 25,000, NatWest Bank ob-natwest 20,000, Santander Bank ob-santander 20,000, Nationwide Building Society ob-nationwide 10,000, Starling Bank ob-starling 25,000
IEEUR, SEPA_INSTANTAllied Irish Banks-Personal ob-aib-ie-per 15,000, Permanent tsb ob-ptsb-ie 10,000, Revolut ob-revolut-eea 50,000
DEEUR, SEPA_INSTANTDeutsche Bank ngp-deutdedb 25,000, Commerzbank ngp-coba 25,000, Berliner Sparkasse sk-10050000 15,000, ING-DiBa ngp-ingdd 25,000, N26 ngp-ntsb 15,000
NLEUR, SEPA_INSTANTING ngp-ingb 25,000, Rabobank ngp-rabo 25,000, bunq bp-bunq 15,000, ASN Bank ngp-asnb 10,000
ESEUR, SEPA_INSTANTSantander ngp-bsch 15,000, BBVA ngp-inal 15,000, Abanca ngp-abnk 10,000
FREUR, SEPA_INSTANTBNP Paribas Ma Banque stet-bnpa-per 15,000, Société Générale stet-soge 15,000
ITEUR, SEPA_INSTANTUniCredit SpA ngp-uncrit 15,000, ING Italy ngp-ingbit 15,000
ATEUR, SEPA_INSTANTErste Bank (Sparkassen) ngp-giba 15,000, Raiffeisen ngp-rvvg 15,000
BEEUR, SEPA_INSTANTKBC Bank ngp-kred 15,000, Belfius Bank ngp-gkcc 15,000, ING ngp-bbru 15,000
PTEUR, SEPA_INSTANTMillennium bcp ngp-mibp 10,000, Banco Santander Totta ngp-tota 10,000
FIEUR, SEPA_INSTANTNordea Bank ngp-ndeafi 15,000, Aktia ob-aktia 10,000
EEEUR, SEPA_INSTANTSwedbank ngp-habaee 15,000, SEB Pank ngp-eeuh 15,000
LVEUR, SEPA_INSTANTSwedbank ngp-habalv 15,000, SEB Banka ngp-unla 15,000
LTEUR, SEPA_INSTANTSwedbank ngp-habalt 15,000, SEB Bankas ngp-cbvi 15,000
LUEUR, SEPA_INSTANTSpuerkeess / Banque et Caisse d'epargne de l'etat ngp-bcee 15,000, BGL BNP PARIBAS stet-bgll 15,000

Yaspa (ex-Citizen)

Yaspa's EU API on its own paths, under /yaspa: a Yaspa client swaps testapi.yaspa.com for this host's /yaspa, and the hosted journey (banks.yaspa.com) is /yaspa/hosted. Credentials are ignored: any AuthorizationCitizen key is taken and names the merchant (its pay-ins, payouts, saved accounts and GBP and EUR virtual accounts with 1 000 000.00 each); only a missing key is a 403, as Yaspa answers. Payouts need Signature and Expires-at (401 without them), which are not checked. The API is real: built from Yaspa's public ReadMe reference (docs.yaspa.com, its per-operation OpenAPI 3.0 definitions) and guides, with paths and error bodies probed on testapi.yaspa.com. The banks' ids (beyond the Netherlands') and limits, the lab's amount rules and the timings are the lab's. The US Product Suite (api.us.yaspa.com: ACH, hosted payouts) is not simulated.

Webhooks (PAYIN_CREATED, PAYIN_REDIRECT, PAYIN_CONSENT_GRANTED, PAYIN_DECISION, PAYIN_COMPLETE, PAYIN_EXPIRED, PAYIN_ERROR; PAYOUT_QUEUED, PAYOUT_ACCEPTED, PAYOUT_ERROR, PAYOUT_REJECTED) carry Webhook-Signature: the Base64 SHA256withRSA signature of the body by the lab's published key. The bank decides 1.5 s after the payer approves, the money settles 2 s later; a pay-in nobody approves expires after 30 minutes.

Lab rules (any bank)

Deposit amountEffect
…13, from 10.00PENDING_ASPSP_ACCEPTANCE for two minutes, then ACCEPTED
…21, from 10.00ACCEPTED, and never COMPLETE (the 0.1% that do not settle)
…33, from 10.00FAILED, then COMPLETE 10 s later: the bank said no but the money arrived
…05, from 10.00REJECTED_BY_ASPSP: the payer's bank refuses it
…06, from 10.00FAILED: the bank does not authorise it
…07, from 10.00ERROR at Yaspa (AUTHORISATION_ERROR)
Payout or refund amountEffect
…17, from 10.00FAILED: the bank does not authorise the payout
…18, from 10.00ERROR: the payout fails to be submitted
…41, from 10.00CREATED for two minutes, then ACCEPTED

Markets, banks and the payer's limit per payment

CountryCurrencyBanks
GBGBPCitizen Test Bank, Barclays 10,000, HSBC UK 25,000, Lloyds 25,000, NatWest 10,000, Santander UK 10,000, Nationwide 10,000, Monzo 25,000, Starling Bank 25,000, Revolut 10,000
NLEURCitizen Test Bank, ING 10,000, ABN AMRO 10,000, Rabobank 10,000, SNS Bank 5,000, ASN Bank 5,000, Revolut 10,000
DEEURCitizen Test Bank, Deutsche Bank 10,000, Commerzbank 10,000, Sparkasse 5,000, ING Deutschland 10,000, N26 10,000
FREURCitizen Test Bank, BNP Paribas 10,000, Crédit Agricole 5,000, Société Générale 10,000, Boursorama 10,000
IEEURCitizen Test Bank, AIB 10,000, Bank of Ireland 10,000, PTSB 5,000
ESEURCitizen Test Bank, Santander 10,000, BBVA 10,000, CaixaBank 10,000
BEEURCitizen Test Bank, KBC 10,000, Belfius 10,000, BNP Paribas Fortis 10,000
ATEURCitizen Test Bank, Erste Bank 10,000, Raiffeisen 10,000
FIEURCitizen Test Bank, Nordea 10,000, OP 10,000
ITEURCitizen Test Bank, Intesa Sanpaolo 10,000, UniCredit 10,000
PTEURCitizen Test Bank, Millennium bcp 10,000, Caixa Geral de Depósitos 10,000

Inpay (DK; bank transfers, open banking and cross-border payouts)

Inpay's Collections API (pay-ins: instant bank transfer by open banking, and bank transfer to Inpay's account with a reference) and Payouts API (JSON payment requests from the merchant's virtual account) on their own paths, under /inpay: an Inpay client swaps test-api.inpay.com for this host's /inpay, and the hosted pages (payment.inpay.com) are /inpay/payment/. Credentials are ignored: the request JWT's kid (or an X-Auth-Uuid) names the merchant and its signature is never checked; only a request with neither is refused (412 Missing X-Auth-Uuid on a POST, 401 on a GET), and a POST needs a fresh X-Request-ID. The API is real: built from Inpay's public OpenAPI files (app.inpay.com/docs/swagger/shared/*.json: collection, payouts, authentication, sandbox_customer_api), its guides and webhook examples, with the paths and the gateway's errors probed on test-api.inpay.com. The banks, the payers' accounts, the limits, the lab's amount rules, the timings and the payout products are the lab's.

Webhooks are the order (or the payment request) as the API answers it, on every status change, with Authorization: Bearer <JWT>: RS256 by the lab's key over {"iat", "checksum"} (the SHA-256 of the body). The bank decides 1.5 s after the payer approves (authorised), the money arrives 2 s later (processing) and the order completes 2 s after that; a sent transfer arrives after 4 s. Payment requests are validated after 1 s, then processing and completed a second apart. Each merchant's virtual account holds 1 000 000.00 in every currency to start. Bank limits per payment: EUR 15,000, GBP 25,000, DKK 100,000, SEK 150,000, NOK 150,000, PLN 50,000.

Lab rules

Deposit amountEffect
…13, from 10.00the bank takes 2 minutes (bank_processing), then the order completes
…21, from 10.00the money never arrives: the order stays authorised (instant) or pending (transfer) until it expires
…05, from 10.00the payer's bank rejects the transfer: payment bank_rejected, order cancelled (Payment failed)
…06, from 10.00Inpay's screening holds the order: action_required for 2 minutes, then completed
…07, from 10.00Inpay's screening rejects it: processing_refund, then refunded (Rejected by Inpay due to compliance)
Payout or refund amountEffect
…17, from 10.00a payout is rejected (invalid_data_incorrect_account_number); a refund stops at action_required_for_refund (not enough funds)
…18, from 10.00completed, then returned by the beneficiary's bank 10 s later (a refund: returned)
…41, from 10.00processing for 2 minutes, then completed

Markets and banks

CountryCurrencyBanks
NLEURING, Rabobank, ABN AMRO, SNS, bunq, Knab
DEEURDeutsche Bank, Commerzbank, Sparkasse, Volksbank, Postbank, N26
ATEURErste Bank, Raiffeisen, Bank Austria, BAWAG
BEEURKBC, BNP Paribas Fortis, ING Belgium, Belfius
FIEURNordea, OP, Danske Bank, S-Pankki
ESEURSantander, BBVA, CaixaBank, Sabadell
ITEURIntesa Sanpaolo, UniCredit, BPER Banca, Fineco
FREURBNP Paribas, Crédit Agricole, Société Générale, LCL
IEEURAIB, Bank of Ireland, PTSB
PTEURMillennium bcp, Caixa Geral de Depósitos, Novo Banco
EEEURSwedbank, SEB, LHV
LVEURSwedbank, SEB, Citadele
LTEURSwedbank, SEB, Luminor
DKDKKDanske Bank, Nordea, Jyske Bank, Sydbank
SESEKSwedbank, SEB, Handelsbanken, Nordea
NONOKDNB, Nordea, SpareBank 1, Handelsbanken
PLPLNPKO Bank Polski, mBank, Bank Pekao, Santander Bank Polska
GBGBPBarclays, HSBC, Lloyds, NatWest, Monzo

Noda (pay by bank) — Noda's payment API; refunds and payouts modeled

Noda, open banking for iGaming and e-commerce (the euro area and the UK): the payer picks their bank on Noda's hosted page and approves in it. A Noda client swaps https://api.stage.noda.live (or https://api.noda.live) for <lab>/noda. Real (docs.noda.live answers 403 to automated fetches, so from what Noda publishes openly: its create-payment sample, its npm SDKs @noda-ui/sdk and @noda-ui/pay-sdk, and public integrations): the hosts, x-api-key, POST /api/payments (amount as a decimal number, currency, paymentId (the merchant's order id), returnUrl, webhookUrl, customerId, email, ipAddress, description, shopId, providerId, iin, additionalData) and its answer (id, url, qrCode, status), GET /api/payments/{id} (id, status, amount, currency, description), GET /api/banks?country=, the statuses (New, Processing, Awaiting confirmation, Failed, Done, Settled, Incomplete Settlement), the webhook's PaymentId, MerchantPaymentId, Status and Signature, the return URL's id, status and signature, the signature (lowercase hex sha256(id + status + signatureKey)), the 60-minute link, the sandbox's mock bank, the payer's remitter.iban, and the hosted page's words. Asked without a key, Noda's stage host answers 401 with no body; the lab does the same, and takes any key. Modeled: refunds and payouts (paths, bodies, statuses), the payment's other fields (paymentId, customerId, shopId, bankId, remitter with the payer's IBAN and name once paid, refundedAmount, createdDate, updatedDate), the webhook's Amount, Currency, Type and OriginalPaymentId, the error bodies (ASP.NET Core problem details), the banks' ids and limits, the rules and the clocks.

Webhooks go to the webhookUrl on every status change after New: {"PaymentId", "MerchantPaymentId", "Status", "Signature", "Amount", "Currency", "Type"} (Type Payment, Refund or Payout; a refund's or payout's PaymentId is its own id and MerchantPaymentId our refundId or payoutId), Signature = sha256(PaymentId + Status + key) under the published key bistromathic-lab-noda-signature-key; HTTP 200 expected. A payment is Processing when the payer approves, Done 2 s later and Settled 60 s after that; a refund or a payout is Processing, then Done 2 s later. A payment nobody finishes is Failed after 60 minutes.

Lab rules (any bank)

Deposit amountEffect
…13, from 10.00Processing for two minutes, then Done
…21, from 10.00Awaiting confirmation for two minutes, then Done
…33, from 10.00Done, then Incomplete Settlement in place of Settled
…05, from 10.00Failed: the payer's bank refuses the payment
over the bank's limitFailed at the bank
more than the account's balance (Savings: 40.00)Failed: insufficient funds
Refund amountEffect
…77, from 10.00The refund is Failed (the payer's bank returns it)
Payout amountEffect
…17, from 10.00The payout is Failed (the payee's bank rejects it)
…41, from 10.00The payout stays Processing for two minutes, then Done

Markets, banks (providerId) and the payer's limit per payment

CountryCurrencyBanks
GBGBPBarclays barclays_gb 25,000, HSBC UK hsbc_uk_gb 25,000, Lloyds Bank lloyds_bank_gb 25,000, NatWest natwest_gb 50,000, Santander UK santander_uk_gb 25,000, Nationwide nationwide_gb 10,000, Monzo monzo_gb 25,000, Revolut revolut_gb 250,000, Mock Bank
DEEURSparkasse sparkasse_de 5,000 (asks for the IBAN), Deutsche Bank deutsche_bank_de 10,000, Commerzbank commerzbank_de 10,000, ING ing_de 10,000, DKB dkb_de 10,000, N26 n26_de 50,000, Mock Bank
ATEURErste Bank und Sparkassen erste_bank_und_sparkassen_at 10,000 (asks for the IBAN), Raiffeisen raiffeisen_at 10,000, Bank Austria bank_austria_at 10,000, Mock Bank
NLEURING ing_nl 10,000, ABN AMRO abn_amro_nl 50,000, Rabobank rabobank_nl 10,000, bunq bunq_nl 25,000, Mock Bank
FREURBNP Paribas bnp_paribas_fr 15,000, Crédit Agricole credit_agricole_fr 15,000, Société Générale societe_generale_fr 15,000, BoursoBank boursobank_fr 30,000, Mock Bank
ESEURBanco Santander banco_santander_es 15,000, BBVA bbva_es 15,000, CaixaBank caixabank_es 15,000, Mock Bank
ITEURIntesa Sanpaolo intesa_sanpaolo_it 15,000, UniCredit unicredit_it 15,000, Fineco fineco_it 30,000, Mock Bank
IEEURAIB aib_ie 15,000, Bank of Ireland bank_of_ireland_ie 15,000, PTSB ptsb_ie 10,000, Mock Bank
BEEURKBC kbc_be 10,000, BNP Paribas Fortis bnp_paribas_fortis_be 10,000, Belfius belfius_be 10,000, Mock Bank
FIEUROP op_fi 15,000, Nordea nordea_fi 10,000, Mock Bank
PTEURMillennium bcp millennium_bcp_pt 10,000, Caixa Geral de Depósitos caixa_geral_de_depositos_pt 10,000, Mock Bank
LTEURSwedbank swedbank_lt 15,000, SEB seb_lt 15,000, Luminor luminor_lt 10,000, Mock Bank
LVEURSwedbank swedbank_lv 15,000, Citadele citadele_lv 10,000, Mock Bank
EEEURSwedbank swedbank_ee 15,000, LHV lhv_ee 15,000, SEB seb_ee 15,000, Mock Bank
SKEURSlovenská sporiteľňa slovenska_sporitelna_sk 10,000, Tatra banka tatra_banka_sk 10,000, Mock Bank
SIEURNLB nlb_si 10,000, OTP banka otp_banka_si 10,000, Mock Bank
LUEURSpuerkeess spuerkeess_lu 10,000, BGL BNP Paribas bgl_bnp_paribas_lu 10,000, Mock Bank

Euteller (FI: online bank payments)

Euteller Oy (Turku, a FIN-FSA payment institution since 2007): the Finnish banks' online payment buttons that casinos serving Finland offer under Euteller's name, under /euteller: a client of https://payment.euteller.com swaps the host for this host's /euteller. Credentials are ignored: customer and security must be there, and customer names the merchant, but neither is checked.

The API is modeled (plan D9): Euteller publishes no API documentation, only a merchant back office. Euteller's own, from its public pages: the endpoint merchantapi/v1/index.php (GET or form POST) with customer, security and action; the actions help, balanceCheck and paymentCheck; the envelope {status, status_code, action, customer, response_date_time} on HTTP 200, with status 15 "Invalid parameters" for a call without credentials; help's fields (apiURL, actions, mandatoryParameters, examples, statusCodes); a payment's paymentid and merchantreference; the payment page under /v2/ with its terms box (maturityCheck), bank buttons and demo-mode line; links carrying a 64-hex h; the Finnish bank reference per payment; the ten banks; EUR, 1.00 to 10000.00 (Worldpay's figures); no refunds. Modeled: createPayment and its parameters, every status code but 15, the payment's statuses (CREATED, PENDING, PAID, CANCELLED, FAILED, EXPIRED) and reasons, the notification and its checksum, the 20-minute expiry, the banks' screens and the lab's rules.

The payer: Euteller's page in demo mode (the terms box, then one of the banks: Nordea, Danske Bank, OP, Ålandsbanken, Säästöpankki, POP Pankki, Aktia, Oma Säästöpankki, S-Pankki, Handelsbanken), the bank's login and the pre-filled payment confirmed with a security code, the result, and back to the shop. On a computer the payer's phone is drawn beside the page; ?device=mobile|desktop forces either flow.

Test values

Any user ID and password at the bank; security code 0000 refused (FAILED), any other 4 to 8 digits paid. A link unused for 20 minutes expires.

Deposit amountEffect
…05, from 10.00The bank refuses the payment after it is confirmed (insufficient funds): FAILED
…07, from 10.00PENDING at the bank when the payer is back; PAID a minute later, with a notification

NOWPayments

NOWPayments' API on its own paths, under /nowpayments: a client swaps https://api.nowpayments.io (or https://api-sandbox.nowpayments.io) for this host's /nowpayments. The API is real, built from NOWPayments' public Postman documentation (API, sandbox) and the live host's own error answers. Credentials are ignored: any x-api-key is taken and names the merchant; a Bearer JWT must be there where NOWPayments asks for one (payouts, the payment list), but is not checked; /v1/auth answers any email and password. IPNs carry x-nowpayments-sig, the hex HMAC-SHA512 of the body with its keys sorted, under the published IPN secret bistromathic-lab-nowpayments-ipn-secret.

Coins (the lab's rates in EUR)

TickerCoinConfirmationsMin depositMin payoutEUR
btcBTC on Bitcoin20.00010.000285000
ethETH on Ethereum30.0020.0033000
usdttrc20USDT on Tron (TRC-20)1120.86
usdterc20USDT on Ethereum (ERC-20)310100.86
usdtbscUSDT on BNB Smart Chain (BEP-20)3120.86
usdtsolUSDT on Solana1120.86
usdcUSDC on Ethereum (ERC-20)310100.86
usdcsolUSDC on Solana1120.86
usdcmaticUSDC on Polygon3120.86
usdcbaseUSDC on Base3120.86
ltcLTC on Litecoin30.010.0280
solSOL on Solana10.010.02140
trxTRX on Tron15100.25
xrpXRP on XRP Ledger (tag)1122.1
dogeDOGE on Dogecoin310200.17
bnbbscBNB on BNB Smart Chain30.0050.01800
xlmXLM on Stellar (memo)1250.3

Prices in: EUR, USD, CAD, GBP, AUD, ILS, RON, KRW, JPY, NOK, KZT, HUF, KES, CHF, RUB, SGD, ZAR, UAH, SEK, INR, COP, AZN, BRL, NZD, TND, DKK, PLN, VND, AED, THB, PHP, PEN, CLP, TRY, MYR, MXN, IDR, ARS, NGN. Each merchant starts with 2 btc, 30 eth, 100000 usdttrc20, 50000 usdterc20, 50000 usdtbsc, 50000 usdtsol, 100000 usdc, 50000 usdcsol, 50000 usdcmatic, 50000 usdcbase, 500 ltc, 500 sol, 200000 trx, 50000 xrp, 300000 doge, 50 bnbbsc, 100000 xlm.

Lab rules for payouts (the last two decimals)

AmountEffect
…02Rejected by NOWPayments after verification (REJECTED): declined
…03FAILED on the network, then retried by NOWPayments and FINISHED
…09Stays SENDING: never confirmed

CoinGate

CoinGate's API v2 on its own paths, under /coingate: a client swaps https://api-sandbox.coingate.com for this host's /coingate (both /api/v2 and /v2, as CoinGate serves both). The API is real, built from CoinGate's public docs (developer.coingate.com) and its OpenAPI 3.1 file (github.com/coingate/openapi, reference/v2.json), with the sandbox's currency and platform ids. Credentials are ignored: any Authorization: Token … is taken and names the merchant; none is CoinGate's 401 BadAuthToken. CoinGate signs nothing: callbacks are the object, posted as JSON to its own callback_url, and an order's carries the token set on it.

A payment is seen 2 s after the wallet sends it (confirming) and paid after 1.5 s per confirmation the platform needs. Less than the amount leaves the invoice pending until it expires. A payout to 0x000000000000000000000000000000000000dEaD fails. Each merchant starts with 100000 EUR, 50000 USD, 20000 GBP, 2 BTC, 30 ETH, 100000 USDC.

Coins (sandbox ids, the lab's rates in EUR)

Currency idCoinPlatformsEUR
1BTCBitcoin60000
5ETHEthereum, Base3000
6LTCLitecoin80
8XRPRipple2
10TRXTron0.25
32SOLSolana150
33USDCEthereum, Base, Solana, Tron0.87
36POLPolygon0.4

Lab rules (the amount's last two decimals)

AmountEffect
Payout …02Rejected by the network: failed
Payout …03Canceled for compliance reasons: canceled
Payout …09Never leaves processing
Refund …05Collected, then the payout fails: failed
Refund …09Collected, never completes: processing

CryptoPay

CryptoPay's API on its own paths, under /cryptopay: a client swaps https://business.cryptopay.me (or https://business-sandbox.cryptopay.me) for this host's /cryptopay. The API is real, built from CryptoPay's public docs (developer guides, with llms.txt) and its OpenAPI reference (reference.cryptopay.me, openapi.yml), the official Ruby SDK's recorded answers and the sandbox host's own error answers. Credentials are ignored: any Authorization: HMAC <key>:<signature> is taken and its key names the merchant; without one, the host's 401 unauthenticated. Callbacks go to the account's one callback URL (Integration → API; the lab's stand-in is GET|PUT /cryptopay-lab/integration/callback, {"url"}, with the same Authorization header) and carry X-Cryptopay-Signature, the hex HMAC-SHA256 of the body under the published callback secret bistromathic-lab-cryptopay-callback-secret.

Coins (the lab's rates in EUR)

CodeNetworkPrecisionConfirmationsMin withdrawalEUR
BTCbitcoin810.0000585000
ETHethereum820.00013000
USDTtron6150.86
USDTethereum6350.86
USDTbnb_smart_chain61550.86
USDTsolana6150.86
USDCethereum61250.86
USDCsolana6150.86
USDCbnb_smart_chain61550.86
LTClitecoin810.000180
SOLsolana910.01140
TRXtron6110.25
XRPripple (?dt=)610.000012.1
DOGEdogecoin8110.17
BCHbitcoin_cash810.0001400
XLMstellar (?memoId=)71300.3

Lab rules for withdrawals (the last two decimals)

AmountEffect
…02cancelled after processing (the debited amount back on the balance): declined
…03failed on the network, then completed (failed is not final)
…04on_hold: over the account's maximum transaction amount; it stays held
…09sent and never confirmed: stays sent

Binance Pay (crypto wallet) — Binance Pay's merchant API (real)

Binance Pay, Binance's merchant API: the payer pays from their Binance account (the Funding wallet), on Binance's hosted checkout with a QR code on a computer and the Binance app on a phone. Global, except where Binance does not serve. Real (developers.binance.com, Binance Pay Merchant, read 2026-11-14): the paths, the four BinancePay-* headers (HMAC-SHA512 of timestamp\nnonce\nbody\n, upper-case hex), the envelope {"status", "code", "data", "errorMessage"} and the result codes, Create Order v3 (crypto or fiat priced, the checkout URL, QR code, deeplink and universal URL, one parameter per return URL), Query Order v2 and its statuses, Close Order, Refund Order and Query Refund, Batch Payout and Payout Query, the wallet balance, the certificate, and the webhooks (bizType PAY, PAY_REFUND, PAYOUT; data a JSON string; RSA SHA256 over the same payload; answered 200 {"returnCode":"SUCCESS","returnMessage":null}). The 400100 for a missing header is the real host's answer to a request without credentials. The lab's: the screens, the HTTP status of a business refusal (400), the crypto prices, the limits besides the payout's 80,000 dollars, the clocks and the test accounts. Binance Pay has no sandbox: a client swaps https://bpay.binanceapi.com for <lab>/binancepay.

Credentials are ignored: the four headers must be there (a 32-character nonce, a timestamp within five minutes), but BinancePay-Certificate-SN (the API key) only names the merchant and BinancePay-Signature is never checked. Webhooks go to the order's, refund's or payout's webhookUrl (the lab has no Merchant Management Platform), signed with the lab's published key (certificate serial 8a5d63495f9e60c3b8a924f12d7c7154, served at /binancepay/binancepay/openapi/certificates).

Binance accounts (the drawer's "Pay as"; payouts by Binance ID or email)

AccountBinance IDEmailEffect
Alex Example100100100alex@binance-lab.exampleVerified, 5,000 USDT (and USDC, BNB, BTC, ETH) in the Funding wallet: pays. Payouts to it complete
Lee Lowbalance100100200low@binance-lab.example5 USDT only: the app says the balance is too low, and the payer can only cancel
Sam Slow100100300slow@binance-lab.examplePays, but the order stays PENDING for 10 seconds before PAID: the webhook brings the outcome
Kim Unverified100100400nokyc@binance-lab.exampleIdentity not verified: the app refuses to pay; a payout to it is refused (400710)
Fran Frozen100100500frozen@binance-lab.examplePays; a payout to it is refused (400705 payee account is frozen)

Any other Binance ID is "Payee not found" (400703); any other email a new user, AWAITING_RECEIPT. A refund or payout of x.66 is rejected after it is accepted. Orders up to 50,000 dollars' worth (the lab's limit).

Restrictions to note: Binance bars illegal or unlicensed casinos, betting and gambling; its Merchant B2C programme has a restricted-industry list and does not onboard merchants in some countries; compliance teams should know of Binance's 2023 settlement with the US DOJ and OFAC.

Monnet Payments (LatAm: cards, bank transfers, cash, Yape)

Monnet Payments (Lima): Latin America's local methods for one merchant account, used by gambling merchants (Rojabet, Betcris), under /monnet: a client of https://cert.monnetpayments.com, https://apiin.monnetpayments.com or https://cert.apipayout.monnetpayments.com swaps the host for this host's /monnet. Credentials are ignored: no payinVerification, authorization or verification hash is checked.

The API is Monnet's own, from its public docs (payinmonnetpayments.readme.io and payoutmonnetpayments.readme.io): the paths, every field and its rule, the hashes, the answers, the states, the error codes, the methods and documents per country, the payout account and id types and Peru's payout limits. Modeled (Monnet publishes no test values): the HTTP status of a refused creation (200 with the error in the body, as its "Denied" samples), its payment page, the payment codes, which states are notified (Autorizado, Denegado), the payroll's intermediate states, the test cards and amount rules.

CountryCurrenciespayinMethodDocuments
PEPEN, USDTCTD, TC, TD, BankTransfer, Cash, WalletDNI, CE, RUC, PAS
CLCLPTCTD, TC, TD, BankTransferRUT, PP
COCOPTCTD, TC, TD, BankTransfer, CashCC, NIT
ECUSDTCTD, TC, TD, BankTransfer, Cash, WalletCI, RUC, PP, PAS
ARARSTCTD, TC, TD, BankTransfer, Cash, WalletDNI, CUIT, CUIL
MXMXNTCTD, TC, TD, BankTransferCURP, RFC
BRBRLBankTransferCPF, CNPJ

The payer: Monnet's page. A card is typed there (4111111111111111 Autorizado, 5555555555554444 Autorizado, 4000000000000002 Denegado: 9005 Do not honor, 4000000000009995 Denegado: 9051 Not sufficient funds, 4000000000000069 Denegado: 9054 Expired card); a payment code (bank transfer, cash, Yape's "Yapear servicios") is paid in the drawn bank or Yape app beside the page on a computer, in the app on a phone, or at the agent with the drawer's "Pay at the agent". ?device=mobile|desktop forces either flow.

Test values

Deposit amountEffect
…05Denegado (6): 9051 Not sufficient funds, notified
…06Denegado (6): 9005 Do not honor, notified
…07Pendiente de pago (2), then Autorizado (5) a minute later, notified
…08Autorizado (5) with no notification: only the operations lookup (or reconciliation) tells
Payout amountEffect
…05BANCO_RECHAZO: the bank refuses the account (CUENTA NO EXISTE)
…06BANCO_EXITO, then BANCO_RECHAZO a minute later: the bank returned it (DEVOLUCION)
…08ENVIADO_BANCO for 5 minutes, then BANCO_EXITO

Transact365 (T365)

Transact365's (T365 UK Ltd, T365 Asia Ltd) merchant API on its own paths, under /transact365: a T365 client swaps https://api.t365.io for this host's /transact365. The API is real, from T365's public docs (docs.t365.io, and the per-region sample payloads the docs load from /data/…json): the paths, the fields (the map of a deposit, the data of a payout), the statuses (PENDING; SUCCESS; REJECTED, FAIL), the status and balance APIs, the error messages, the sandbox's payout emails and the postback's SHA-256 hash. Modeled (T365 publishes none of it): the hosted page's screens, the limits, the MIDs a merchant gets, an abandoned payment's expiry (FAIL after 20 minutes), the bank-codes API's answer, and the status API's answer to an unknown id (Invalid Deposit ID, the answer Corefy's connector checks for). Credentials are ignored: no apikey header or OAuth2 token is checked.

Markets, methods and published MIDs (deposit / payout)

MarketCurrencySolutionmethodMIDsLimits
BrasilBRLPIXPIX, QR_CODE252 / 131R$ 10,00 – R$ 50.000,00
IndiaINRUPI (QR, intent)UPI999 / 1111₹100 – ₹1,00,000
KenyaKESM-PesaMOBILE_MONEY121 / 121KES 10.00 – KES 250,000.00
AustraliaAUDPayIDBANK_TRANSFER3418 / 3418A$10.00 – A$10,000.00
CanadaCADInteracBANK_TRANSFER520 / 4968CA$10.00 – CA$10,000.00
EuropeEUROpen BankingOPEN_BANKING3573 / —€10.00 – €20,000.00
United KingdomGBPOpen BankingOPEN_BANKING533 / —£10.00 – £20,000.00
CryptoUSDTUSDTTRC20, ERC20, BEP205050 / —10.00 USDT – 100,000.00 USDT

Lab rules (from the market's minimum, the amount's last two digits)

AmountEffect
deposit …13PENDING for two minutes after the payer pays, then SUCCESS
deposit …33SUCCESS with no postback: only the status API (or reconciliation) tells
deposit …02REJECTED (Transaction rejected by processor) once the payer pays
deposit …03FAIL (Technical error in bank's system) once the payer pays
deposit …07SUCCESS, with an actualAmount of half the amount (the amount mismatch case)
payout …13PENDING for two minutes, then SUCCESS
payout …02REJECTED (Beneficiary account is invalid)

T365 has no refund API: a deposit is paid back by a payout. GCash and Maya (PH) and bKash and Nagad (BD) are one "WALLETS" page each at T365, with no field to pick the wallet: the lab does not serve them.

OPay (Nigeria, Egypt) — OPay's cashier and transfer APIs (real)

OPay, the Opera-backed, CBN-licensed mobile-money wallet and merchant checkout: in Nigeria the OPay wallet, bank USSD codes, bank transfers to a virtual account and cards; in Egypt cards and ValU (Egypt's mobile wallets, MWALLET, are not drawn: they need an option of their own). Real (documentation.opaycheckout.com for Nigeria and doc.opaycheckout.com for Egypt, read 2026-11-14; the v3 transfers from OPay's own SDKs, github.com/opay-services; the real hosts' answers to a request without credentials): the paths on every host, the envelope {"code", "message", "data"} at HTTP 200 (a refusal too: {"code":"02001","message":"country no is empty"}), the codes, Cashier Create (the Bearer public key, payMethod, expireAt in minutes, the cashierUrl), Cashier Status, Cancel Payment, Refund (Nigeria's refundWay) and Refund Status (HMAC-SHA512 of the key-sorted JSON body as Authorization: Bearer), the statuses, the callback with its HMAC-SHA3-512 sha512, the v3 Transfer to OPay Wallet and to Bank with their status queries, and OPay's test cards, wallet, OTPs and amounts. The lab's: the screens, the limits, the clocks (two-second steps, transfers settled in three seconds), the USSD banks' codes and the virtual accounts, the refund and transfer amount rules, and the codes OPay documents none for. A client swaps https://testapi.opaycheckout.com (or any OPay host) for <lab>/opay.

Credentials are ignored: MerchantId names the merchant and Authorization: Bearer … must be there, but neither the public key nor the signature is checked. Callbacks go to the order's callbackUrl (and a refund's), signed with the lab's published secret key OPAYPRV17000000000000.bistromathic-lab-simulation; OPay acknowledges any 2xx and retries for 72 hours otherwise.

The payer

The OPay wallet: a QR code on a computer with the OPay app drawn beside it (a real phone's camera opens the app here), "Open OPay" on a phone; the app takes phone 1259257649, PIN 123456 and the OTP (315632 pays, 315633 declines). USSD: pick the bank, dial the code, the bank's PIN. Bank transfer: the virtual account, paid from the drawn bank app. Cards: OPay's card form, PIN, OTP and the shared 3-D Secure page. Egypt: cards, and ValU's plan and OTP. Every value is in the drawer's "How to test".

Note: Nigerian licensed bookmakers take OPay deposits and withdrawals; betting is unlawful for Egyptians.

Flutterwave (Africa: cards, mobile money, M-Pesa, USSD, bank transfers) — Flutterwave's v3 API (real)

Flutterwave, the Lagos- and San Francisco-based payments company: cards, M-Pesa, MTN MoMo, Airtel Money and the other mobile-money wallets of Ghana, Uganda, Rwanda, Zambia, Tanzania, Malawi and francophone Africa, Nigeria's bank USSD codes and bank transfers, on its hosted Checkout; refunds; transfers to bank accounts and mobile-money wallets. Real (developer.flutterwave.com, the v3 API its docs open on, with its llms.txt, llms-full.txt and v3 OpenAPI file, read 2026-11-14; the real host's answers to requests without credentials): the paths on api.flutterwave.com, the envelope {"status", "message", "data"} and its errors (401 {"status":"error","message":"Authorization required","data":null} without a Bearer, on every path), Checkout's fields (payment_options, configurations.session_duration and max_retry_attempt, bank_transfer_options.expires) and its redirect (status, tx_ref, transaction_id), verify by id and by tx_ref, refunds and their statuses, transfers to bank and mobile-money codes (MPS, MTN, AIRTEL…) and their statuses, the webhooks with verif-hash, and Flutterwave's test cards, OTPs, mobile numbers, bank accounts and transfer references. The lab's: the screens, the clocks (two-second steps, transfers settled in four seconds unless their reference asks otherwise), the fees, the USSD dial codes and transfer accounts, the x.66 amount rules, and the messages Flutterwave documents none for. A client swaps https://api.flutterwave.com for <lab>/flutterwave. Flutterwave's v4 API (OAuth2, developersandbox-api.flutterwave.com) is not served.

Credentials are ignored: every call needs Authorization: Bearer …, but the secret key is not checked. Webhooks (charge.completed, transfer.completed, the refund's) go to the URL set on the lab's stand-in for the dashboard (PUT /flutterwave/lab/webhooks {"url"}, kept per origin) or to a transfer's callback_url and a refund's callbackurl, with the lab's published secret hash verif-hash: bistromathic-lab-flutterwave-secret-hash; any 200 acknowledges.

The payer

Checkout lists the methods the link allows. Cards: number, expiry and CVV, then the card's PIN and OTP, address, or the shared 3-D Secure page. Mobile money: the number and network, the OTP 123456, then the operator's prompt on the phone drawn beside the page; M-Pesa's STK push. USSD: pick the bank, dial the code, the bank's PIN. Bank Transfer: the account to pay into, paid from the drawn bank app. Every value is in the drawer's "How to test".

Note: Flutterwave takes betting merchants only with its pre-approval and a gambling licence, and once suspended a betting merchant's accounts.

Kushki (MX, CO, PE, CL, EC: cards, PSE, SPEI, cash, transfer-out)

Kushki, the regional acquirer and gateway of Mexico, Colombia, Peru, Chile and Ecuador, under /kushki: a client of https://api-uat.kushkipagos.com swaps the host for this host's /kushki. Credentials are ignored: Private-Merchant-Id (else Public-Merchant-Id) only names the merchant. Gambling: Kushki onboards only operators with a valid local licence in Mexico, Colombia or Peru (no offshore licences), and was named in La Polla Chilena's 2026 complaint against processors of illegal betting in Chile.

Kushki's own, from its public SDKs (@kushki/js, @kushki/js-sdk, Android), its backend examples, its PrestaShop, WooCommerce and Magento plugins and ActiveMerchant's Kushki gateway (docs.kushki.com and api-docs.kushkipagos.com are password-protected): the paths and the two headers, the amount object, the token bodies per country, the status words, the cash PIN and pdfUrl, the transfer's redirectUrl, the webhook headers and its simple signature, the UAT test cards and the codes K000, K001, K010, K012, K220, 205. Modeled: the charge's decline envelope, SPEI's CLABE page, the cash status, the payout answers, the full X-Kushki-Signature, limits, timers and every payer screen.

CountryCurrencyDocumentsCash networks
MXMXNRFC, CURP, PPOXXO, 7-Eleven, Farmacias del Ahorro, Walmart
COCOPCC, NIT, CE, TI, PP, RUTEfecty, Su Red, Gana, Pagatodo
PEPENDNI, CE, PAS, RUCPagoEfectivo: agentes BCP, BBVA, Interbank, Kasnet, Tambo+
CLCLPRUT, PPServipag, Caja Vecina
ECUSDCI, RUC, PASPago Ágil, Western Union, Banco del Barrio

Test values

Cards: 4000100011112224 Approved (Kushki's UAT card, CVV 777); 5223450000000007 3-D Secure challenge, then approved (Kushki's UAT 3DS card); 4000300011112220 Declined: K006, processor 05 Do not honor (Kushki's UAT declined card); 4000100011110517 Declined: K006, processor 51 Insufficient funds (lab); 4000100011110541 Declined: K006, processor 54 Expired card (lab); 4000100011110145 Declined: K006, processor 14 Invalid card (lab); 4000100011110624 Declined: K006, processor 62 Restricted card (lab); 4000100011110657 Declined: K006, processor 65 Activity limit exceeded (lab); 5223450000000056 3-D Secure challenge; failing it refuses the token (lab).

Deposit amountEffect
…05Declined at the payer's step (PSE: the bank refuses it; SPEI: the transfer is returned; cash: the network refuses the PIN); a card: K006, processor 51
…07Paid, but the webhook comes a minute late
…08Paid, with no webhook: only the status read tells
Refund amountEffect
…13Refund refused: K023 (amount not refundable)
Payout amountEffect
…05Declined by the bank (cuenta inválida)
…06Approved, then returned by the bank a minute later (DECLINED)
…08Five minutes with the bank before it is approved

DIMOCO (carrier billing, "Pay by mobile") — modeled in part

DIMOCO (Austria), the carrier-billing aggregator and payment institution: the payer's mobile operator charges the payment to their phone bill or prepaid credit. Its iGaming page names licensed sports-betting, casino and lottery operators in Europe, and GGL-approved carrier billing in Germany with OASIS checks. The API is modeled in part: DIMOCO gives its API documentation to merchants under contract. What is DIMOCO's own comes from public sources: the one URL https://services.dimoco.at/smart/payment with form parameters, the start and identify actions, the digest (hex HMAC-SHA256 of every parameter's value in the order of their names, under the merchant's secret), the <result version="2"> XML with action_result/status 0 success, 1 failure, 3 end-user redirect, 4 validation failed, 5 pending, the end-user redirect to /smart/user?sph-reference=, and the callback (form fields data, the XML, and digest, its HMAC-SHA256; with customer, payment_parameters and transactions, billed at transaction status 4 or 5): the open-source GeeksCoreLibrary DIMOCO module and node-dimoco. The countries and DCB or premium SMS per country, and SMS-Pay's debit and refund: IXOPAY's DIMOCO adapter. The TAN flow on the web and the click flow on a phone, and the limits: DIMOCO's carrier billing page. Modeled: the result codes, the refund and status actions, the page's steps and clocks, and the test subscribers. A client swaps https://services.dimoco.at for <lab>/dimoco.

Credentials are ignored: any merchant, order and digest are taken. An order bills in one currency: the lab's order ids say it (lab-PLN; any order not ending in a currency bills in euros), and a number of another country is refused (COUNTRY_NOT_SUPPORTED). Callbacks are signed with the published simulation secret; DIMOCO wants HTTP 200.

Markets

Austria (+43, EUR), Germany (+49, EUR), Poland (+48, PLN), United Kingdom (+44, GBP), Netherlands (+31, EUR), Belgium (+32, EUR), Switzerland (+41, CHF, DCB and premium SMS), Czechia (+420, CZK, DCB and premium SMS), Slovakia (+421, EUR, premium SMS), Hungary (+36, HUF), Slovenia (+386, EUR, DCB and premium SMS), Croatia (+385, EUR), Romania (+40, RON, premium SMS), Bulgaria (+359, EUR, premium SMS), Greece (+30, EUR), Spain (+34, EUR), France (+33, EUR), Finland (+358, EUR, DCB and premium SMS), Sweden (+46, SEK), Norway (+47, NOK), Denmark (+45, DKK), Türkiye (+90, TRY).

Test subscribers (any other well-formed number of a DIMOCO country is a contract line that pays)

msisdnEffect
436601000001 (+43 660 1000001)A contract line (A1, AT): you confirm with the TAN from the SMS, the amount goes on the phone bill
436601000002 (+43 660 1000002)Third-party billing is barred on the line: the operator refuses after the TAN (OPERATOR_BARRED)
436601000003 (+43 660 1000003)Prepaid with 3.00 credit: more is refused after the TAN (INSUFFICIENT_CREDIT)
436601000004 (+43 660 1000004)290.00 spent this month: a payment taking it over 300.00 is refused (MONTHLY_LIMIT_EXCEEDED)
436601000005 (+43 660 1000005)Never confirms: the session expires 10 seconds after the SMS (SESSION_EXPIRED)
436601000006 (+43 660 1000006)Pays as usual; the operator takes no refunds (REFUND_NOT_SUPPORTED)
436601000007 (+43 660 1000007)On DIMOCO's blocklist: refused as soon as the number is entered (MSISDN_BLOCKED)
4915100000008 (+49 151 00000008)Germany (Telekom), the OASIS check passes: pays
4915100000009 (+49 151 00000009)Germany: the player is in OASIS, the gambling block file: refused (OASIS_BLOCKED)
48600100010 (+48 600 100010)Poland (Plus): pays, in PLN (an order billing in PLN)
447700900111 (+44 7700 900111)United Kingdom (EE): pays, in GBP (an order billing in GBP)

Limits and lab rules

Siru Mobile (FI, SE, NO, GB, AT, DE: carrier billing)

Siru Mobile Oy (Helsinki): payments charged to the payer's phone bill or prepaid credit ("Pay by mobile"), under /siru: a client of https://payment.sirumobile.com (or the sandbox, https://staging.sirumobile.com) swaps the host for this host's /siru. The API is Siru's own, from its published OpenAPI 3.1 file (openapi.yaml), its PHP SDK and the sandbox's answers: the paths, the fields, the HMAC-SHA512 signatures, the statuses (new, unconfirmed, call_started, confirmed, canceled, failed), the validation messages, the notifications and the redirect's siru_* parameters. Signatures are never checked: a create's must be 128 characters, as the sandbox checks first; merchantId names the merchant. Modeled: the payment page's screens, Siru's fee (1.7 %, at least 0.20), the 15-minute expiry, the caps where Siru's depend on the contract, the lab's rules. No refunds and no payouts: Siru has neither.

CountryCurrencyVariantsMost a payment (lab)Per number, 30 days
FIEURvariant1, variant2, variant3variant1 ≤ 50.00, variant2 ≤ 50.00, variant3 ≤ 500.00300.00
SESEKvariant1, variant3variant1 ≤ 500.00, variant3 ≤ 500.003000.00 (1000.00 a day)
NONOKvariant3variant3 ≤ 500.003000.00
GBGBPvariant4variant4 ≤ 50.00500.00
ATEURvariant4variant4 ≤ 50.00300.00
DEEURvariant4variant4 ≤ 50.00300.00

The payer: the number verified with an SMS code (the drawn phone shows it on a computer), the price with Siru's fee, then a call to the premium-rate number (variant1), one tap (variant2, variant4) or Siru Wallet (variant3, after logging in with the number), the result, and back to the shop. ?device=mobile|desktop forces either flow.

Test values

Any 6-digit SMS code; 000000 is wrong (three wrong fail the purchase). A number ending in 0000 bars charges to the phone bill. variant2: base prices 30.50 and 30.60 fail (Siru's sandbox values). A lab Siru Wallet holds 100.00 EUR or 1,000.00 SEK or NOK. A page left for 15 minutes is cancelled.

Base priceEffect
…05, from 10.00The operator refuses the charge when the payer pays: failed (siru_event failure)
…07, from 10.00call_started when the payer is back; confirmed a minute later, with the success notification

Boku (carrier billing, "Pay by mobile"; Alipay, TWINT, UPI) — real API, modeled in part

Boku (AIM: BOKU), the carrier-billing network and local payment methods aggregator: 57 carriers for direct carrier billing, 200+ local methods. The API is real: Boku's Direct Payments API, from its public OpenAPI 3.0 export (developer.boku.com/json/static/exports/boku-direct-payments-api-openapi3json.json): the per-country hosts https://{cc}-api4-stage.boku.com and https://{cc}-api4.boku.com, the paths, the JSON bodies with their result element, the charge and refund statuses, the notifications. The signature (Authorization: 2/HMAC_SHA256(H+SHA256(E)) partner-id, key-id, signed-headers, timestamp, signature; X-SignedResponse on answers) is Boku's own library's (github.com/boku-inc/boku-http-auth). Its 401, 404 and 405 answers were probed on its test host. Modeled: the wallets' payment-method values (Boku hands them out "on demand"), the networks, the test subscribers, the caps, the cancel code 104 and a hosted page's 15 minutes. A client swaps https://{cc}-api4-stage.boku.com for <lab>/boku/{cc}.

Credentials are ignored: any well-formed Authorization header is taken (none is Boku's own 401 Unauthorized: No Authorization header provided). Answers and notifications are signed with the published simulation key (bistromathic-lab/src/boku/boku-simulation-keys.ts); a notification wants HTTP 200 and a notification-response ({"result":{"status":"OK",…}}).

Markets

United Kingdom (Pay by mobile by SMS code; GBP), Germany (Pay by mobile by SMS code; EUR), Czechia (Pay by mobile by SMS code; CZK), Slovakia (Pay by mobile by SMS code; EUR), Japan (Pay by mobile on the carrier's page; JPY), China (Alipay; CNY), Hong Kong (Alipay; HKD), Switzerland (TWINT; CHF), India (UPI; INR).

Test subscribers (the end of the national number; any other well-formed number pays)

NumberEffect
…0120Not on a network Boku bills (120 Network not found): no code is sent
…0086Carrier billing is barred on the line (86 Feature not supported on network): no code is sent
…0003Prepaid without enough credit: the charge fails after the code (3 Insufficient funds)
…0107The operator refuses to bill the line: the charge fails after the code (107 Billing error)
…0900The operator errs: the charge fails after the code (900 Internal operator Error)
…0139A slow operator: in progress after the code, billed 20 seconds later (the notification says so)

Limits and lab rules

Fonix (UK carrier billing, "Pay by mobile")

Fonix Mobile (London, LSE: FNX): payments charged to the payer's phone bill or taken from their prepaid credit on the UK networks (O2, Vodafone, EE, Three, Virgin Media O2, Sky Mobile), in pounds, under /fonix: a client of https://fpay.fonix.io swaps the host for this host's /fonix. The API is Fonix's own, from its public fPay documentation (fPay Carrier Billing API) and the real host's answers to plain unauthenticated requests: the paths, the parameters, the session and status JSON, the refund, the error envelope ({code: -1, status: "error", message}: 500 for a missing sid, 404 for an unknown service or transaction), the status codes, the form-encoded transaction notification and the return to successUrl / failureUrl. The sandbox numbers are those of Fonix's Carrier Billing API. X-API-KEY is never checked; sid names the service. Fonix signs nothing (its notifications come from published IP addresses), and neither does the lab. Modeled: the payment page's screens, the PIN's 4 digits and clocks, the 15-minute session, the limits, the HTTP statuses of an amount's or URL's refusal and of a refused refund, the lab's rules. No payouts: Fonix has none.

Test numbers

Any UK mobile (07…, or 447…) is charged; the operator is the lab's lookup by the digit after 07 (070-071 O2, 072-073 Vodafone, 074-075 EE, 076 Three, 077 Virgin Media O2, 078 Sky Mobile, 079 O2). Fonix's sandbox numbers: the first four digits the operator (4400 O2, 4401 Vodafone, 4402 EE (T-Mobile), 4403 EE (Orange), 4404 Virgin, 4405 Three), the last eight the outcome: …17 CHARGED, …18 INVALID_MSISDN, …19 OPERATOR_REJECTED, …20 INVALID_REQUEST, …21 INSUFFICIENT_FUNDS, …22 UNKNOWN_MSISDN, …23 OPERATOR_ERROR, …24 UNREACHABLE_MSISDN, …25 D2B_BARRED, …27 TEMPORARY_BARRED, …28 PERMANENTLY_BARRED, …29 UNKNOWN_ERROR, …30 MAX_SPEND_MSISDN, …31 OPERATOR_TIMEOUT, …32 UNROUTABLE, …33 TEMPORARY_FAILURE, …35 SECTOR_NOT_ALLOWED, …37 OPERATOR_SRV_DAILY_MAX_SPEND, …39 OPERATOR_SRV_WEEKLY_MAX_SPEND, …41 OPERATOR_SRV_MONTHLY_MAX_SPEND, …43 OPERATOR_SRV_TYPE_DAILY_MAX_SPEND, …45 OPERATOR_SRV_TYPE_WEEKLY_MAX_SPEND, …47 OPERATOR_SRV_TYPE_MONTHLY_MAX_SPEND, …34 SECTOR_NOT_ALLOWED, …36 OPERATOR_SRV_DAILY_MAX_SPEND, …38 OPERATOR_SRV_WEEKLY_MAX_SPEND, …40 OPERATOR_SRV_MONTHLY_MAX_SPEND, …42 OPERATOR_SRV_TYPE_DAILY_MAX_SPEND, …44 OPERATOR_SRV_TYPE_WEEKLY_MAX_SPEND, …46 OPERATOR_SRV_TYPE_MONTHLY_MAX_SPEND.

Limits and lab rules

AmountEffect
…05, from £1.00INSUFFICIENT_FUNDS: not enough prepaid credit
…07, from £1.00PENDING when the payer is done; CHARGED a minute later, with its notification
…09, from £1.00OPERATOR_REJECTED: the operator refuses the charge

Apaylo (Interac e-Transfer, Request Money, EFT; Canada)

Apaylo (Apaylo Finance Technology, Vaughan, Ontario), Interac e-Transfer and EFT for Canadian merchants, under /apaylo: an Apaylo client swaps https://sandboxapi.apaylo.com for this host's /apaylo/sandboxapi.apaylo.com/api (env2's path, kept), and Interac's request page https://gateway-web.fit.interac.ca for /apaylo/interac. The API is real: its paths, form fields, answers, the {StatusCode, IsError, Result} envelope, the Key and Signature headers, the APL reference rule, the status words and the EFT return codes are Apaylo's public API reference (docs.apaylo.com). The refusal messages beyond "API key should not be empty", the payer's and payee's screens, the 48-hour expiry of a request, the bank's limit, the timers and the amount rules are the lab's. Credentials are ignored: the Key only tells merchants apart, and the Signature (base64 SHA-512 of the key, the shared secret and the UTC date; a simulated connection's secret is bistromathic-lab-apaylo-simulation-shared-secret) is never checked. Apaylo sends no webhooks: a client polls the searches.

Refusals are HTTP 400 {"StatusCode":400,"IsError":true,"Result":{"Message":"…"}}. Limits: 0.01 to 25000.00 CAD per e-Transfer and up to 2000000.00 per EFT at Apaylo; the payer's bank takes at most 3000.00 per request (Rejected). A request nobody answers is Cancelled after 48 hours.

Lab rules

Deposit amountEffect
…13, from 10.00Fulfilled for a minute after the payer confirms, then Completed
…02, from 10.00Rejected once the payer confirms: their bank refused the payment
e-Transfer out amountEffect
…01, from 10.00The payee has Autodeposit: Completed two seconds after the send
…02, from 10.00Rejected two seconds after the send: the payee's bank refused it
…04, from 10.00Cancelled two seconds after the send (as if it expired)
…09, from 10.00Refused at once: 400 Insufficient balance in the wallet
any otherSent until the payee deposits it (inbox) or declines it
EFT amountEffect
…14, from 10.00Rejected with return code 914 (Incorrect Payor/Payee Name) once sent
…02, from 10.00Rejected with return code 900 (Edit Reject) once sent
…05, from 10.00Rejected with return code 905 (Account Closed) once sent
…09, from 10.00Refused at once: 400 Insufficient balance in the wallet
any otherSettled five seconds after it was created

Fiserv Commerce Hub

Fiserv Commerce Hub (US and global; Fiserv's merchant acquiring gateway, the enterprise Carat platform) on its REST API, on the real hosts' own paths under /fiserv: a client of https://connect.fiservapis.com/ch (production) or https://connect-cert.fiservapis.com/ch (certification) is pointed at <lab>/fiserv/ch instead. Cards server to server with 3-D Secure 2, sales or authorizations and captures, cancels, refunds, unmatched refunds to a card (payouts) and the transaction inquiry. Every merchant id is a merchant of its own.

Credentials are ignored: every request carries Api-Key, Client-Request-Id, Timestamp, Auth-Token-Type: HMAC and Authorization, the base64 HMAC-SHA256 of the key, the client request id, the timestamp and the body under the API secret; the lab requires the client request id and the timestamp, and never checks the key or the signature. Synchronous: a charge answers its outcome at once (201 CAPTURED or AUTHORIZED; 400 DECLINED with the host's code; 400 with a GATEWAY error). No webhooks are played: Fiserv's notification docs are not public.

Answers carry gatewayResponse (transactionType CHARGE, CAPTURE, REFUND or CANCEL; transactionState; transactionProcessingDetails with the 32-hex transactionId and the "CHG01…" orderId), source.card (bin, last4, scheme), paymentReceipt.processorResponseDetails (approvalStatus, responseCode "000", hostResponseCode, the ISO 8583 code), transactionDetails and merchantDetails. Charges and credits above 50,000 (modeled) are declined 61. The …97 rule holds a charge PROCESSING for 30 seconds.

Test cards

CardBrandOutcome
4005550000000019VisaApproved (Fiserv's certification test card)
5454545454545454MastercardApproved (Fiserv's certification test card)
4000300011112220VisaRefused by Commerce Hub before the issuer: GATEWAY 104 "Unable to assign card to brand: Invalid"
4242424242424242VisaApproved, 3-D Secure frictionless
4000000000003220VisaThe issuer's 3-D Secure challenge, then approved
5200828282828210MastercardThe issuer's 3-D Secure challenge, then approved
4000000000000341VisaThe issuer's 3-D Secure challenge, which fails: declined
4000000000000002VisaDeclined: 05 Do not honor
4000000000009995VisaDeclined: 51 Insufficient funds
4000000000000069VisaDeclined: 54 Expired card
4000000000000127VisaDeclined: N7 CVV2 mismatch
4100000000000019VisaDeclined: 59 Suspected fraud

Lab rules

Amount (last two digits in minor units)OnEffect
…52, from 10.00creditThe card credit (payout) is declined by the host (05)
…77, from 10.00refundThe refund is declined by the host (05)
…97, from 10.00chargeStays PROCESSING for 30 seconds, then the card's outcome (read it with transaction-inquiry)

Real or modeled

Rapyd

Rapyd's Merchant API (docs.rapyd.net; Collect and Disburse), on the real hosts' own paths under /rapyd: a client of sandboxapi.rapyd.net or api.rapyd.net is pointed at <lab>/rapyd instead. Cards server to server with Rapyd's 3DS, captures, cancellations and refunds; SPEI, cash at Mexico's stores, Efecty and Przelewy24 on Rapyd's hosted checkout page; card payouts. Every access_key is a merchant of its own.

Credentials are ignored: every request carries Rapyd's access_key, salt, timestamp and signature headers (signature = BASE64 of the hex HMAC-SHA256 of method, path, salt, timestamp, access key, secret key and body). The lab answers MISSING_AUTHENTICATION_HEADERS or UNAUTHORIZED_API_CALL without them, as Rapyd's sandbox does, but never checks their values. Webhooks go to the URL set with PUT /rapyd-lab/webhooks (the Client Portal's stand-in), signed as Rapyd signs them over that URL with your access key and the lab's published secret key bistromathic-lab-simulated-flow.

Test cards (Rapyd's own)

Any future expiry and any CVV. On the 3DS page any code confirms (Rapyd's simulator takes 123456). A card not listed is approved. A card arriving as vault ciphertext is recognised by BabelPay's BIN and last-four headers.

CardBrandOutcome
4111111111111111VISASuccess: payments, refunds and payouts
4462030000000000VISASuccess: payments, refunds and payouts
4111111111111105VISADeclined: Do Not Honor (ERROR_PROCESSING_CARD - [05])
4111111111111143VISADeclined: Stolen Card, pick up (ERROR_PROCESSING_CARD - [43])
4111111111111151VISADeclined: Insufficient Funds (ERROR_PROCESSING_CARD - [51])
5320575303040441MASTERCARDA payout to it is refused: ERROR_PAYOUT_BENEFICIARY_FIELDS_NOT_VALID[CARD_NUMBER]
5484389609326310MASTERCARDA payout to it is refused: ERROR_CARD_EXPIRED

Test amounts (Rapyd's "Error Simulation")

AmountPaymentsError
4000–4009allERROR_CREATE_PAYMENT_GATEWAY_NOT_RESPONDING
2000–2009onlineERROR_PROCESS_PAYMENT_SETTLEMENT_DECLINED
2020–2029onlineERROR_PROCESS_PAYMENT_SETTLEMENT_PENDING_ON_GATEWAY
2080–2089onlineERROR_PROCESS_PAYMENT_PROCESSOR_UNAVAILABLE
2120–2129redirectERROR_PROCESS_PAYMENT_INSUFFICIENT_FUNDS
2180–2189redirectERROR_PROCESS_PAYMENT_EXPIRED

Lab rules

Amount (last two decimals)OnEffect
…57, from 10.00payoutThe payout is refused: ERROR_CREATE_PAYOUT_TO_CARD_CONTACT_ISSUER
…77, from 10.00refundThe refund is Rejected (REFUND_REJECTED)
…91, from 10.00paymentIts webhooks arrive 30 s late
…92, from 10.00paymentNo webhook is sent (the status read answers)
…93, from 10.00payoutThe payout stays Created for 60 s, then completes (PAYOUT_COMPLETED)

Real or modeled

Airwallex

Airwallex (global: AU, HK, SG, UK, EU, US and more), on its public API (airwallex.com/docs/api), on the real hosts' own paths under /airwallex: a client of https://api.sandbox.airwallex.com/api/v1 (or https://api.airwallex.com) is pointed at <lab>/airwallex/api/v1 instead. Cards on Payment Acceptance's Native API (a PaymentIntent created, then confirmed with the card) with Airwallex's 3-D Secure (next_action redirect_iframe: device data collection and the challenge on one page), captures, cancels, refunds, payouts as transfers to bank accounts, and signed webhooks. Every client id is a merchant of its own.

Credentials are ignored: POST /api/v1/authentication/login takes any x-client-id and x-api-key and answers a token (30 minutes) that names the merchant; the lab never refuses one. Webhooks are signed as Airwallex signs them: x-timestamp (Unix milliseconds) and x-signature, the hex HMAC-SHA256 of the timestamp and the raw body, under the lab's published secret bistromathic-lab-simulated-flow. Airwallex registers webhook URLs in its web app only, so a connection registers its URL with the lab's stand-in, POST /airwallex/lab/webhooks {url, events}.

Test cards

Airwallex's sandbox cards, with declines by an amount from 80.00 to 89.99. A card arriving as vault ciphertext is recognised by BabelPay's BIN and last-four headers. Any other card follows the lab's standard set (the card simulator's table above).

CardBrandOutcome
4035501000000008VisaAlways succeeds, without 3-D Secure
2223000048410010MastercardAlways succeeds, without 3-D Secure
4012000300000062Visa3-D Secure challenge, then succeeds
4012000300000088VisaDevice data collection, then the 3-D Secure challenge, then succeeds
4012000300000021VisaDevice data collection, then frictionless 3-D Secure: succeeds
4012000300000005VisaFrictionless 3-D Secure, no page: succeeds at once
4012000300000070Visa3-D Secure challenge, then authentication_declined whatever you answer
4012000300000013VisaDeclined at once: authentication_declined (not enrolled)
4012000300000047VisaDeclined at once: no_3ds_liability_shift
5582464537874128MastercardDeclined at once: 3ds_not_supported (an anonymous card)
2223000010181375MastercardSucceeds, except at 80.05 (issuer code 05), 80.14 (14) and 80.51 (51 insufficient funds)
4012000300001003VisaSucceeds, except at 80.59 (issuer code 59 suspected fraud) and 80.07 (07 pick up card)
4646464646464644VisaDeclined: risk_declined (Airwallex's fraud engine)
4000000000009995VisaAny amount: insufficient funds (the lab's standard set)
FieldValueEffect
Amount, card 2223 0000 1018 137580.05 / 80.14 / 80.51issuer_declined with the issuer's code 05 (do not honour), 14 (invalid card number), 51 (insufficient funds)
Amount, card 4012 0003 0000 003988.88authentication_declined at once (any other amount: frictionless, then succeeds)
Amount, card 4012 0003 0000 010488.88The challenge, then no_3ds_liability_shift (any other amount: succeeds)
3-D Secure challengeAny code (Airwallex's sandbox asks for 1234)Authenticated: the payment goes on
3-D Secure challengeCancel payment, or Fail authentication (lab drawer)authentication_declined: back to the shop, the payment failed
3-D Secure challengeLeave it 20 minutes (modeled)The attempt EXPIRED: the payment failed
Refund amount (lab rule, from 10.00)…55Stays RECEIVED for 20 s, then ACCEPTED; the webhook tells
Refund amount (lab rule, from 10.00)…54FAILED: the balance cannot cover it
Payout amount (lab rule, from 10.00)…51Refused: balance_insufficient
Payout amount (lab rule, from 10.00)…13FAILED at the payee's bank (invalid account), then CANCELLED
Payout amount (lab rule, from 10.00)…55Stays PROCESSING for 20 s, then PAID; the webhook tells
Payout IBANOne that fails its check digitsRefused: validation_failed (beneficiary.bank_details.iban)

Lab rules

Amount (last two digits in minor units)OnEffect
…13, from 10.00TransferFAILED at the beneficiary's bank (INVALID_ACCOUNT_NAME_OR_NUMBER), then CANCELLED
…51, from 10.00TransferRefused at create: 400 balance_insufficient
…54, from 10.00RefundFAILED: the account's balance cannot cover it (failure_details insufficient_balance)
…55, from 10.00Refund or transferStays RECEIVED (a refund) or PROCESSING (a transfer) for 20 s, then goes on; the webhook tells

Real or modeled

Braintree (PayPal's gateway: cards, PayPal, Venmo)

Braintree's GraphQL API on its own path under /braintree: a client of https://payments.sandbox.braintree-api.com/graphql (or https://payments.braintree-api.com/graphql) posts to <lab>/braintree/graphql instead. Cards tokenized server to server and charged or authorized, captures, voids, refunds and reversals, PayPal one-time payments (approved on the lab's PayPal checkout), Venmo payment contexts (the Venmo app on a phone, Venmo's web login on a computer), Braintree's own 3-D Secure 2 through braintree-web's verifyCard (the lab serves stand-ins of braintree-web 3.147.0's client.min.js and three-d-secure.min.js, and the client API they call), the reads and searches, and signed webhooks. Every API public key is a merchant of its own, with a merchant account per currency (USD the default).

Credentials are ignored: Braintree authenticates with Authorization: Basic base64(public key:private key) and Braintree-Version; the lab only reads the public key, to tell merchants apart. A request with no key gets Braintree's AUTHENTICATION error. Webhooks are form posts of bt_signature (<public key>|<HMAC-SHA1 hex>, keyed with SHA-1 of the private key) and bt_payload (the notification's XML in base64); the lab signs with its published private key bistromathic-lab-simulated-flow. A destination is added with the lab's stand-in for the Control Panel, PUT /braintree/control-panel/webhooks {"url": …}, which sends a check notification as "Check URL" does.

Test cards

Braintree's sandbox test cards and its 3-D Secure 2 test cards. Through BabelPay the card reaches the lab encrypted (vault ciphertext) and is recognised by BabelPay's BIN and last-four headers. A card the lab cannot name passes as a valid one.

CardBrandOutcome
4111111111111111VisaValid: the amount decides. With 3-D Secure on, the issuer's challenge first
5555555555554444MastercardValid: the amount decides. With 3-D Secure on, the issuer's challenge first
378282246310005AmexValid: the amount decides
4000111111111115VisaProcessor declined: 2000 Do Not Honor
5105105105105100MastercardProcessor declined: 2000 Do Not Honor
3566002020360505JCBFailed: 3000 Processor Network Unavailable
4000111111111511VisaGateway rejected: fraud
4000000000002701Visa3-D Secure: successful, no challenge
4000000000002503Visa3-D Secure: successful challenge
4000000000002370Visa3-D Secure: failed challenge, whatever you answer: gateway rejected (three_d_secure)
4000000000002925Visa3-D Secure: failed, no challenge: gateway rejected (three_d_secure)
4000000000002990Visa3-D Secure: not available on lookup: paid without liability shift
4000000000002644Visa3-D Secure: error on authentication: the payment fails (3DS error)
5200000000002235Mastercard3-D Secure: successful, no challenge
5200000000002151Mastercard3-D Secure: successful challenge
FieldValueEffect
Amount0.01–1999.99Authorized, then settled
Amount2000.00–2999.99Processor declined, the processor response equal to the amount (2001.00: 2001 Insufficient Funds, 2099.00: 2099 Cardholder Authentication Required)
Amount3000.00–3000.99Failed: 3000 Processor Network Unavailable – Try Again
Amount5001.00Gateway rejected: application incomplete
Amount (PayPal)5001.01Processor declined: 2038 Processor Declined
Amount (PayPal, Venmo)4001.00–4001.99Authorized, then settlement declined (the transaction_settlement_declined webhook)
Amount (PayPal)4002.00–4002.99Authorized, settlement pending for a minute, then settled (transaction_settled)
3-D Secure challengeAny codeAuthenticated: the payment goes on
3-D Secure challengeFail authentication (lab drawer)Authentication failed: gateway rejected (three_d_secure)
3-D Secure challengeCancel paymentThe payer cancelled: nothing is charged
PayPalThe lab's PayPal checkout (any buyer, Agree & Pay)Approved, then charged through Braintree; Cancel and return ends it cancelled
VenmoPay (or Cancel) on the Venmo paysheetApproved and charged (or cancelled); left 10 minutes, the payment context expires
Refundwithin 10 s of the paymentNot settled yet: a full refund is a void instead, a partial one is refused (91506)

Real or modeled

Klarna (Pay now)

Klarna Bank AB: the Klarna Payments API, the Hosted Payment Page API and the Order Management API, under /klarna: a client of https://api.klarna.com (or api-na, api-oc and the .playground. hosts) swaps the host for this host's /klarna and keeps the path. Credentials are ignored: the Basic auth username, when there is one, only names the merchant on what it creates. Klarna signs nothing it sends (status callbacks and pending-order notifications are verified by reading the session or order back), so neither does the lab.

The API is Klarna's own, from its public docs (docs.klarna.com) and their OpenAPI files (Klarna Payments 1.0.0, Hosted Payment Page 1.1, Order Management 1.0): the paths, the request and answer shapes, the statuses, the error envelope {error_code, error_messages, correlation_id} (and the gateway's own 404), the lifetimes (a KP session 48 hours, its HPP session until an hour before, an authorization token 60 minutes), the markets and their currencies and locales, and the playground's sample customers. Modeled: the hosted page's screens (Klarna's page renders in its own app), the capture of a pending order once it is accepted, the 28-day order expiry, the cancellation of a rejected order.

The payer, on Klarna's page (/klarna/eu/hpp/payments/{id}, pay.klarna.com's path): the email (or phone), the six-digit code Klarna texts (the drawn phone shows it on a computer), then Pay now by card, bank transfer (Demo Bank) or direct debit, the 3-D Secure check for its card, and back to the shop. ?device=mobile|desktop forces either flow.

Test values (Klarna's playground)

Mollie

Mollie's Payments API (docs.mollie.com; its OpenAPI at github.com/mollie/openapi), on its own paths under /mollie: a Mollie client swaps https://api.mollie.com for this host's /mollie. Credentials are ignored: any Authorization: Bearer … is taken, and each key is a merchant of its own; without the header the lab answers Mollie's own 400 Invalid Authorization header, and an unknown path its 404 No matching route registered (both as api.mollie.com answers them unauthenticated). Idempotency-Key replays the first answer for an hour (Idempotent-Replayed: true), and refuses another request under the same key with 400. Mollie signs nothing: its webhook is a form post of id=tr_… to the payment's webhookUrl, and the merchant reads the payment back.

MethodNameConsumersCurrenciesSessionRefundsManual capture
creditcardCardglobalEUR, GBP, USD, CHF, DKK, NOK, SEK, PLN, CZK, HUF, RON, BGN, ISK, AUD, CAD, NZD, JPY, HKD15 minyesyes
idealiDEALNLEUR15 minyesno
bancontactBancontactBEEUR60 minyesno
epsepsATEUR60 minyesno
przelewy24Przelewy24PLPLN, EUR60 minyesno
blikBLIKPLPLN1 minyesno
twintTWINTCHCHF15 minyesno
paypalPayPalglobalany360 minyesyes
klarnaKlarnaAT, BE, DK, FI, FR, DE, IT, IE, NL, NO, PT, ES, SE, CH, GB, GR, PL, SK, CZ, RO, HUEUR, DKK, SEK, NOK, CHF, GBP, PLN, CZK, RON, HUF2880 minyesyes
bizumBizumES, ADEUR4 minyesno
mbwayMB WAYPTEUR4 minyesno
multibancoMultibancoPTEUR10080 minyesno
mobilepayMobilePayDK, FIDKK, EUR10 minyesyes
vippsVippsNONOK10 minyesyes
swishSwishSESEK3 minyesno
paysafecardpaysafecardAT, AU, BE, BG, CA, CH, CY, CZ, DE, DK, ES, FI, FR, GB, GE, GI, GR, HR, HU, IE, IT, LI, LT, LU, MT, MX, NL, NZ, NO, PE, PL, PT, RO, SE, SI, SK, UYEUR, CHF, GBP, NOK, PLN, RON, SEK120 minnono
paybybankPay by BankAT, BE, CY, DE, EE, ES, FI, FR, GR, IE, IT, LT, LU, LV, MT, NL, PT, SI, SK, GBEUR, GBP60 minyesno
weroWeroDE, BEEUR10 minyesno
mybankMyBankITEUR30 minyesno

Test values

Test cards (Mollie's own): 378282246310005 American Express, 2223000010479399 Mastercard, 4543474002249996 Visa; any future expiry, any CVC. The test-mode screen decides the outcome; with Failed a card payment of these amounts reports Mollie's failureReason:

AmountfailureReason
EUR 1001.00invalid_card_number
EUR 1002.00invalid_cvv
EUR 1003.00invalid_card_holder_name
EUR 1004.00card_expired
EUR 1005.00invalid_card_type
EUR 1006.00refused_by_issuer
EUR 1007.00insufficient_funds
EUR 1008.00inactive_card
EUR 1009.00possible_fraud
EUR 1010.00authentication_failed
EUR 1011.00card_declined

Lab rules

Amount (last two decimals)OnEffect
…13, from 10.00paymentPaid on the test page: pending first, then paid 20 seconds later (a bank that confirms late)
…14, from 10.00paymentPaid on the test page: pending first, then failed 20 seconds later
…53, from 10.00createThe create answers 503: the payment method supplier is unavailable, nothing is created
…77, from 10.00refundThe refund goes pending, then failed (the payer's account was closed)

Real or modeled

HiPay

HiPay Enterprise (EU: FR, PT, ES, IT, BE, NL), on its public Gateway API (github.com/hipay/openapi-hipay, developer.hipay.com), on the real hosts' own paths under /hipay: HiPay spreads its API over four hosts whose paths never collide, so a client of https://stage-secure-gateway.hipay-tpp.com/rest, https://stage-secure2-vault.hipay-tpp.com/rest/v2/token, https://stage-api.hipay.com and https://stage-api-gateway.hipay.com is pointed at <lab>/hipay for all four. Cards tokenized in the Secure Vault and paid with the token (3-D Secure by authentication_indicator), captures, cancels and refunds by maintenance, iDEAL, Bancontact, Przelewy24 and TWINT through the Order API's forwardUrl, MB WAY, Bizum and Multibanco on the Hosted Page, and API Gateway v3's reads. Every API username is a merchant of its own.

Credentials are ignored: any HTTP Basic username and password (the username names the merchant). Notifications are signed as HiPay signs them: X-ALLOPASS-SIGNATURE = SHA-256 of the raw form body followed by the secret passphrase, here the lab's published bistromathic-lab-simulated-flow; redirections carry hash over the sorted feedback parameters. Each order names its own notify_url.

ProductMethodCurrenciesCountriesServed by
idealiDEALEURNLOrder API (forwardUrl)
bancontactBancontactEURBEOrder API (forwardUrl)
przelewy24Przelewy24PLN, EURPLOrder API (forwardUrl)
twintTWINTCHFCHOrder API (forwardUrl)
mbwayMB WAYEURPTHosted Page
bizumBizumEURESHosted Page
multibancoMultibancoEURPTHosted Page

Test cards and values

HiPay's stage test cards (support.hipay.com "Test Cards"). A card arriving as vault ciphertext is recognised by BabelPay's BIN and last-four headers on the tokenization. Any other card follows the lab's standard set (the card simulator's table above).

CardBrandOutcome
4111111111111111Visa3-D Secure frictionless, then authorized
4330264936344675Visa3-D Secure frictionless, then authorized
5399999999999999Mastercard3-D Secure frictionless, then authorized
4242424242424242Visa3-D Secure challenge (any answer on the issuer's page authenticates)
4000000000000002Visa3-D Secure challenge
5300000000000006Mastercard3-D Secure challenge
5144144373781246MastercardAuthentication fails: declined (109, 4000001 Declined)
5454545454545454MastercardAuthentication fails when 3-D Secure is mandatory (109); authorized otherwise
4150551403657424VisaError 1010201 (Invalid Parameter)
371449635311004AmexSafeKey 2.1 frictionless, then authorized
6703000000000000003Maestro3-D Secure frictionless, then authorized
FieldValueEffect
3-D Secure pageConfirm / Fail authentication / CancelAuthorized / declined 109 (4000011) / cancelled 115 (4000008)
iDEAL (HiPay's stage simulator)Success / Failure / Cancelled / ExceptionCaptured 118 / refused 113 / cancelled 115 / error (4000004)
Przelewy24 bank loginsandbox / sandboxLogs in; Pay captures (118)
Bancontact, TWINT (the app)Confirm / CancelCaptured 118 / cancelled 115
MB WAY number912345678 (nine digits starting with 9)The request goes to the drawn app: Accept captures (118), Reject refuses (113); unanswered for 4 minutes, it expires (114)
Bizum number612345678 (nine digits starting with 6 or 7)As MB WAY; unanswered for 5 minutes, it expires (114)
MultibancoPay at the ATM (in the lab drawer)The reference is paid: captured (118). Unpaid, it expires at its expiration limit (114); above 2,500 EUR it is refused
Amount (lab rule, from 10.00, last two digits in minor units)…05 / …51 / …54 / …57 / …62Card refused 113: 4010101 / 4010103 insufficient funds / 4010204 expired / 4010201 not permitted / 4010304 restricted
Amount (lab rule)…59Blocked by HiPay's fraud screening (110, 3030001)
Amount (lab rule)…93Pending (200) for 2 minutes, then captured
Amount (lab rule)…91 / …92The notification arrives 30 seconds late / never
Refund amount (lab rule)…76The refund is refused (165)
Capture amount (lab rule)…77The capture is refused (173)

Lab rules

Amount (last two digits in minor units)OnEffect
…51, from 10.00Card paymentsRefused (113): 4010103 Insufficient Funds
…54, from 10.00Card paymentsRefused (113): 4010204 Card Expired
…57, from 10.00Card paymentsRefused (113): 4010201 Transaction Not Permitted
…59, from 10.00Every paymentBlocked (110) by HiPay's fraud screening: 3030001 Fraud Suspicion
…62, from 10.00Card paymentsRefused (113): 4010304 Restricted Card
…76, from 10.00RefundsThe refund is refused (165)
…77, from 10.00CapturesThe capture is refused (173)
…91, from 10.00Every paymentThe notification arrives 30 seconds late
…92, from 10.00Every paymentNo notification is sent (only a status read tells)
…93, from 10.00Every paymentPending (200) for 2 minutes, then authorized and captured
…05, from 10.00Card paymentsRefused (113): 4010101 Refusal (No Explicit Reason)

Real or modeled

Clearhaus

Clearhaus (DK; the Nordic and EEA card acquirer) on its Transaction API, on the real hosts' own paths under /clearhaus: a client of https://gateway.test.clearhaus.com (test accounts) or https://gateway.clearhaus.com (live accounts) is pointed at <lab>/clearhaus instead. Visa and Mastercard server to server: authorizations with the merchant's own 3-D Secure result, captures (several, partial or full), refunds of what was captured, voids, and credits (payouts to a card, such as winnings). Every API key is a merchant account of its own. Clearhaus takes raw card data only from technical partners who are PCI DSS Level 1.

Credentials are ignored: requests carry the API key as the HTTP Basic user name (blank password) and, from a partner, Signature: <signing-api-key> RS256-hex <signature>, an RSA signature of the body; the lab checks neither. Synchronous, no webhooks, no payer pages: every request answers its outcome at once (status.code 20000 is the only approval), and Clearhaus has no hosted page and no 3-D Secure of its own: the merchant's 3-D Secure server authenticates the cardholder and the result travels with the authorization.

Answers are HAL JSON (application/vnd.clearhaus-gateway.hal+json; version=0.10.0): id, status (code, sometimes message), processed_at, amount, currency, csc (present, matches), 3dsecure (version, status), sca (provided, necessary), liable_for_fraud_disputes and _links. A request refused before any transaction exists is a 400 with status 40000 and its message. Authorizations and credits above 100,000.00 (modeled) are 40415.

Test cards

CardBrandOutcome
4111111111111111VisaApproved (Clearhaus' special test PAN)
2221000000000009MastercardApproved (Clearhaus' special test PAN)
5000000000000004MaestroApproved (Clearhaus' special test PAN)
4200000000000000VisaThe status code the amount names, in minor units: 404.13 EUR is 40413 Insufficient funds, 200.00 EUR approves; any other amount is 40110 Invalid card number (Clearhaus' test rule for PANs starting 420000 and ending 0000)
5555555555554444MastercardThe status code the amount names, as above (PANs starting 555555 and ending 4444)
4242424242424242VisaApproved
4000000000003220VisaEnrolled for 3-D Secure: 40416 Additional authentication required without your 3-D Secure result, approved with an authenticated one (Y or A)
4000000000000341VisaEnrolled for 3-D Secure, and the authentication fails: 40310 3-D Secure authentication failure (40416 without a 3-D Secure result)
4000000000000002VisaDeclined: 40410 Declined by issuer or card scheme
4000000000009995VisaDeclined: 40413 Insufficient funds
4000000000000069VisaDeclined: 40135 Card expired
4000000000000127VisaDeclined: 40120 Invalid CSC
4100000000000019VisaDeclined: 40414 Suspected fraud
4000000000000119Visa50000 Clearhaus error (an unknown outcome: read back later)

Lab rules

Amount (last two digits in minor units)OnEffect
…52, from 10.00creditThe credit (payout) is declined: 40410
…77, from 10.00refundThe refund is declined: 40410

Real or modeled

Cybersource (and Barclaycard Smartpay Fuse)

Cybersource (Visa Acceptance Solutions; global) on its REST API, on the real hosts' own paths under /cybersource: a client of https://api.cybersource.com or the sandbox https://apitest.cybersource.com is pointed at <lab>/cybersource instead. Barclaycard Smartpay Fuse is the same API on https://api.smartpayfuse.barclaycard and https://api.smartpayfuse-test.barclaycard; the lab plays both. Cards server to server with Payer Authentication (3-D Secure 2, Cardinal's step-up), sales or authorizations with captures, reversals, voids and refunds, payouts (Original Credit Transactions), Transaction Details and Search, and signed webhooks. Every merchant id is a merchant of its own.

Credentials are ignored: every request carries v-c-merchant-id, date, host, signature (keyid, algorithm="HmacSHA256", headers="host date request-target digest v-c-merchant-id", as Cybersource's REST SDKs sign) and, with a body, digest: SHA-256=…; the lab requires the merchant id and checks the digest against the body, and never checks the key or the signature. Synchronous: a payment answers its outcome at once (201 AUTHORIZED, DECLINED with errorInformation.reason, PENDING_AUTHENTICATION; 400 INVALID_REQUEST; 502 SERVER_ERROR).

Test cards

CardBrandOutcome
4111111111111111VisaApproved (Cybersource's sandbox card)
5555555555554444MastercardApproved (Cybersource's sandbox card)
4000000000002701Visa3-D Secure: frictionless, then approved
4000000000002503Visa3-D Secure: the issuer's challenge, then approved
5200000000002151Mastercard3-D Secure: the issuer's challenge, then approved
4000000000002370Visa3-D Secure: the challenge fails, declined
4000000000002925Visa3-D Secure: frictionless authentication fails, declined
4000000000002719Visa3-D Secure: attempted (stand-in), then approved
4000000000002313Visa3-D Secure unavailable, approved without liability shift
4000000000000002VisaDeclined: GENERAL_DECLINE
4000000000009995VisaDeclined: INSUFFICIENT_FUND
4000000000000069VisaDeclined: EXPIRED_CARD
4000000000000127VisaDeclined: INVALID_CVN
4100000000000019VisaDeclined: STOLEN_LOST_CARD

Lab rules

Amount (last two digits in minor units)OnEffect
…52, from 10.00payoutThe payout is declined: 201 DECLINED PROCESSOR_DECLINED
…76, from 10.00captureThe capture is refused: 400 INVALID_REQUEST EXCEEDS_AUTH_AMOUNT
…77, from 10.00refundThe refund is refused: 400 INVALID_REQUEST ACCOUNT_NOT_ALLOWED_CREDIT

Real or modeled

NMI (Network Merchants: cards, ACH, Payer Authentication, credits)

NMI's Payment API (the Classic "Direct Post" transact.php), its Query API, Collect.js and Gateway.js, on the real hosts' own paths under /nmi: a client of https://secure.nmi.com, https://sandbox.nmi.com or any white-label gateway on NMI (Durango Direct, Payline Data, PlanetAuthorize, …) is pointed at <lab>/nmi instead. Every security key is a merchant of its own.

Credentials are ignored: the private security_key in the form only names the merchant; Collect.js's tokenization key and Gateway.js's checkout key name nothing. Answers are HTTP 200 whatever happened, text/plain name=value&… (response 1 approved, 2 declined, 3 error, with response_code), and XML for the Query API, as the real hosts answer.

A batch settles 2 minutes after a sale, a capture, a credit or a refund (NMI settles once a day). Errors are response=3 with the text and a REFID (Invalid Credit Card Number, Invalid ABA number, Only transactions pending settlement can be voided, Refund amount may not exceed the transaction balance, …), as the real hosts answer them.

Test values

CardBrandOutcome
4111111111111111VisaApproved. 3-D Secure: not enrolled (attempted, ECI 07)
5431111111111111MastercardApproved. 3-D Secure: not enrolled
6011000991300009DiscoverApproved
341111111111111American ExpressApproved. 3-D Secure: not enrolled
30205252489926Diners ClubApproved
3541963594572595JCBApproved
4100000000000100Visa3-D Secure: frictionless, verified (ECI 05), then approved
5100000000000107Mastercard3-D Secure: frictionless, verified, then approved
4100000000005000Visa3-D Secure: the issuer's challenge (Authenticate passes, as NMI's code 12345), then approved
5100000000005007Mastercard3-D Secure: the issuer's challenge, then approved
4000000000002925Visa3-D Secure: failed frictionless (TRANSACTION_STATUS_N): declined
4000000000002313Visa3-D Secure: authentication unavailable (TRANSACTION_STATUS_U): declined
4000000000009995VisaDeclined: 202 Insufficient funds (the lab's standard set)
FieldValueEffect
Amountunder 1.00Declined: response 2, 200 DECLINE (NMI's rule)
Card numberfails the Luhn checkError: response 3, Invalid Credit Card Number (NMI's rule)
Billing address / ZIP888 / 77777AVS match (Y); any other address N
CVV999CVV match (M); any other N (a CVV the lab gets encrypted: P)
Bank account (ACH)routing 490000018, account 24413815NMI's test account: approved, settles
Bank account (ACH, lab rule)account 1000000002 / 1000000003 / 1000000004Approved and settled, then returned R01 Insufficient Funds / R02 Account Closed / R03 No Account (a minute after it settles)
Amount (lab rule)1.01 / 1.02 / 1.03 / 1.04Declined: 201 Do not honor / 202 Insufficient funds / 203 Over limit / 204 Not allowed
Amount (lab rule)1.20 / 1.23 / 1.25Declined: 220 Incorrect payment information / 223 Expired card / 225 Invalid CVV
Amount (lab rule)1.50 / 1.52 / 1.53 / 1.64Declined: 250 Pick up card / 252 Stolen card / 253 Fraudulent card / 264 Retry in a few days
Amount (lab rule)1.30 / 1.61Error: response 3, 300 Rejected by gateway / 461 Unsupported card type
Amount (lab rule)1.42Error: response 3, 420 Communication error (condition unknown: the outcome is looked up)
3-D Secure challengeFail authentication, or CancelPayer Authentication fails: the payment is declined (3-D Secure failed)
Payout amount (lab rule)over 10,000.00Declined: 203 Over limit
Refund (lab rule)within 2 minutes of the saleThe batch has not settled: a full refund is a void, a partial one is refused

Real or modeled

Authorize.net (API: cards, eCheck, Accept.js, unlinked credits, webhooks)

Authorize.net, the US payment gateway (Visa's, beside Cybersource), on its own API, on the real hosts' own paths under /authorizenet: a client of https://apitest.authorize.net (or https://api.authorize.net) and of Accept.js at https://jstest.authorize.net is pointed at <lab>/authorizenet instead. Every API login id is a merchant of its own.

Credentials are ignored: merchantAuthentication (the API login id and transaction key) and the REST API's Basic authorization only name the merchant. Answers are HTTP 200 whatever happened, JSON with a UTF-8 byte-order mark before it, as the real host answers; keys out of the XSD's order are refused with E00003 in the XSD's words, before anything else, as the real sandbox does.

Test cards and values

The sandbox's test cards, with any future expiry and any CVV; the billing ZIP code picks the outcome. A card arriving as ciphertext is recognised by BabelPay's BIN and last-four headers. The card code triggers (900 M, 901 N declined 44, 902 S, 903 U, 904 P) work only where the code reaches the lab readable: through BabelPay it is ciphertext.

CardBrandOutcome
4111111111111111VisaApproved (the billing ZIP code decides; see below)
4007000000027VisaApproved (the ZIP code decides)
4012888818888VisaApproved (the ZIP code decides)
5424000000000015MastercardApproved (the ZIP code decides)
2223000010309703MastercardApproved (the ZIP code decides)
370000000000002American ExpressApproved (the ZIP code decides)
6011000000000012DiscoverApproved (the ZIP code decides)
3088000000000017JCBApproved (the ZIP code decides)
38000000000006Diners ClubApproved (the ZIP code decides)
4000000000009995VisaDeclined, reason 2 (the lab's standard set: insufficient funds is Authorize.net's general decline)
FieldValueEffect
Billing ZIP code46282Declined: response code 2, reason 2 (general bank decline)
Billing ZIP code46205Declined: reason 27, AVS N (address and ZIP do not match)
Billing ZIP code46201 / 46217 / 46211 / 46214Approved, AVS A / Z / W / X
Billing ZIP code46203 / 46207 / 46204 / 46209 / 46208Approved, AVS E / R / G / U / S
Amount (deprecated triggers)70.02 / 70.03Declined: reason 2 / reason 3 (referral)
Amount (deprecated trigger)70.05Error: reason 35 (call the merchant service provider)
Amount (lab rule)4.44Held for review (reason 252, Amount Filter), approved by review a minute later
Amount (lab rule)4.45Held for review, then declined by review
eCheck amountover 100.00Declined: response code 2 (the sandbox's eCheck limit; $5,000 a month in all)
eCheck amount ending in (lab rule).91 / .92 / .93Accepted, then returned after the batch settles: R01 / R02 / R03
Payout amount (lab rule)54.54Refused: reason 54 (the account has no Expanded Credit Capabilities)
Refundbefore the batch settles (2 minutes)Refused: reason 54; a full refund is then made as a void

Real or modeled

Elavon

Elavon (U.S. Bank's acquirer; US, Canada, Europe) on the Elavon Payment Gateway (EPG) REST API, on the real hosts' own paths under /elavon: a client of https://api.sandbox.elavonpayments.com (sandbox), https://api.eu.elavonpayments.com (EU) or https://api.na.elavonpayments.com (North America) is pointed at <lab>/elavon instead. Cards server to server (EPG's direct API): sales, authorizations and their captures, voids, refunds of settled sales, and payouts to a card as original credits (OCT) typed onlineGamblingPayout, gamblingPayout or governmentOwnedLotteryPayout. Every merchant alias is a merchant of its own (a gaming merchant, MCC 7995). Elavon's other API, Converge (ssl_transaction_type), is not played.

Credentials are ignored: requests carry HTTP Basic with the merchant alias as user and the secret API key (sk_…) as password; the lab reads the alias and checks nothing. No payer pages: EPG's direct API answers every request at once and runs no 3-D Secure of its own; the merchant's 3-D Secure server authenticates the cardholder and the result travels with the sale as threeDSecure.

A declined transaction is still made: 201, isAuthorized: false, state: declined, and failures whose first names the stage (declinedByGateway, declinedByProcessor, declinedByIssuer) and the next the reason (insufficientFunds, cardExpired, 3dsEnforcedOnEcommerceSales, …). A request refused before a transaction exists is a 400 {"status":400,"failures":[{"code":"badRequest",…},{"code":"fieldValidationFailure"|"refundAmountOverflow"|"parentNotRefundable"|…}]}. The lab's batch captures an authorized sale, refund or payout two minutes after it is made and settles it a minute later; only a settled sale can be refunded, an unsettled one only voided. Sales and payouts above 50,000.00 (modeled) are maxAmountExceeded.

Test cards

CardBrandOutcome
4546341111111119VisaApproved with a whole amount (Elavon's test card, Visa Credit); a fractional amount goes to the amount rules below
4539785000002517VisaApproved with a whole amount (Elavon's test card, Visa Debit)
5432673003275469MastercardApproved with a whole amount (Elavon's test card, MasterCard Credit)
5108406713369360MastercardApproved with a whole amount (Elavon's test card, MasterCard Debit)
6772555678901238MaestroApproved with your 3-D Secure result; declined maestro3dsRequired without one (EPG requires 3-D Secure on Maestro e-commerce)
341382706525920AmexApproved with a whole amount (Elavon's test card)
4380564306105898VisaDeclined by the issuer (declinedByIssuer, Elavon's test card)
4539357499250369VisaDeclined by the processor (declinedByProcessor, Elavon's test card)
4242424242424242VisaApproved
4000000000003220VisaNeeds 3-D Secure: declined 3dsEnforcedOnEcommerceSales without your 3-D Secure result, approved with an authenticated one (transStatus Y or A)
4000000000000341VisaNeeds 3-D Secure, and the authentication fails: declined 3dsEnforcedOnEcommerceSales
4000000000000002VisaDeclined: declinedByIssuer, doNotHonor
4000000000009995VisaDeclined: declinedByIssuer, insufficientFunds
4000000000000069VisaDeclined: declinedByProcessor, cardExpired
4000000000000127VisaDeclined: declinedByIssuer, cvvMismatch
4100000000000019VisaDeclined: declinedByGateway, highRiskPan (suspected fraud)

Lab rules

Amount (last two digits in minor units)OnEffect
…52, from 10.00payoutthe payout (OCT) is declined (declinedByIssuer, transactionNotPermittedToIssuerCardholder)
…77, from 10.00refundthe refund is declined (declinedByGateway, notSuccessful)
…97, from 10.00saleheld for review (heldForReview, isHeldForReview) for 30 seconds, then released: authorized, and saleAuthorized is notified

Real or modeled

Ecommpay (Gate API: cards and local methods)

Ecommpay's Gate API (developers.ecommpay.com; its OpenAPI, Gate API 3.38.2) on the real host's paths, under /ecommpay: a client of https://api.ecommpay.com (one host for test and live projects) reaches the lab at https://<lab>/ecommpay and changes nothing else. Every request is JSON with a general object; general.project_id names the project (each a merchant of its own). Credentials are ignored: any project id is a project, and general.signature must be present (3262 when empty) but is never checked. Orchid's Gate (/orchid) is the same platform, white-labelled.

Callbacks go to general.merchant_callback_url, signed the Gate way (every parameter flattened, natural sort, HMAC-SHA512, Base64, top-level signature) with the published simulation secret bistromathic-lab-simulated-flow, which a connection in simulated flow uses as its project secret key. The same signs status answers. A deposit's callback names the payer's wallet: Skrill and Neteller in account.number, AstroPay in provider_extra_fields.account_id.

Local methods

MethodSaleRefundPayoutWhere, in whatThreshold
Skrill (skrill)/v2/payment/wallet/skrill/sale/v2/payment/skrill/refund/v2/payment/skrill/payoutworldwide; AUD, CAD, CHF, DKK, EUR, GBP, HUF, NOK, PLN, RON, SEK, USD1 d
Neteller (neteller)/v2/payment/wallet/neteller/sale—/v2/payment/wallet/neteller/payoutworldwide; per project1 d
AstroPay (astropay)/v2/payment/wallet/astropay/sale—/v2/payment/wallet/astropay/payoutAR, BR, CL, CO, MX, PE; ARS, BRL, CLP, COP, MXN, PEN, USD1.0416666666666667 d
Pix (pix)/v2/payment/pix/sale——BR; BRL; up to R$50,000.001 d
iDEAL | Wero (ideal)/v2/payment/online-banking/ideal/sale/v2/payment/online-banking/ideal/refund—NL; EUR; from €0.011 d
BLIK (blik)/v2/payment/blik/sale/v2/payment/blik/refund—PL; PLN; from PLN 0.01, up to PLN 10,000.001 d
Przelewy24 (przelewy24)/v2/payment/online-banking/przelewy24/sale/v2/payment/refund—PL; PLN, EUR; from PLN 1.00, up to PLN 55,000.001 d
Bancontact (bancontact)/v2/payment/bancontact/sale/v2/payment/bancontact/refund—BE; EUR; from €1.0030 d
eps (eps)/v2/payment/bank-transfer/eps/sale——AT; EUR; from €1.00, up to €10,000.002 d
MB WAY (mb-way)/v2/payment/wallet/mbway/sale/v2/payment/refund—PT; EUR; from €0.01, up to €5,000.004 min
Swish (swish)/v2/payment/banks/swish/sale/v2/payment/refund—SE; SEK; from SEK 0.01, up to SEK 500,000.003 min

On the method's page Success concludes the payment, Decline declines it (20000), Back to the shop declines it 20301. Ecommpay's emulator amounts decide too: a purchase or payout of 400.00 or 404.00 is declined whatever is pressed, a refund of 500.00 or 505.00 is declined. A currency the method does not take is declined 3119, an amount under or over its limits 3358 or 2642. Unpaid by the threshold time (or best_before): declined 20602.

The clock

Ecommpay's test cards

Decided by the card number alone (any holder, CVV, future expiry). Encrypted cards are recognised by the BIN and last four BabelPay sends beside them.

CardBrandPurchase
4000 0000 0000 0077VISAsuccess, no 3-D Secure
4111 1111 1111 1111VISAdecline, no 3-D Secure (10000 General decline)
4000 0000 0000 0119VISAsuccess, no 3-D Secure (Ecommpay's COF registration card; COF debits are not simulated)
4000 0000 0000 0135VISAsuccess, no 3-D Secure (Ecommpay's COF registration card; COF debits are not simulated)
4539 1214 1116 8251VISAdecline after an issuer timeout: answers after 10 s with 10602 Time-out
4314 2200 0000 0056VISAsuccess after the challenge (the ACS page asks for the code)
4477 0000 0000 0006VISAsuccess, 3-D Secure frictionless (device fingerprint, no challenge)
5413 3300 0000 0019MASTERCARDsuccess after the challenge (the ACS page asks for the code)
5544 3300 0000 0045MASTERCARDdecline after the challenge, whatever is answered (10114 Declined by 3DS Check)
5252 0000 0000 0004MASTERCARDsuccess, 3-D Secure frictionless (device fingerprint, no challenge)
CardBrandPayout
4242 4242 4242 4242VISApayout success
4314 2200 0000 0072VISApayout decline (10000 General decline)
5413 3300 0000 0019MASTERCARDpayout success
5413 3300 0000 0035MASTERCARDpayout decline (10000 General decline)

Lab rules (other cards: last two digits of the amount in minor units)

AmountEffect
…14decline: 101021 Incorrect PAN
…34refused by RCS at creation: 1434 Duplicate operation
…41refused by RCS at creation: 1401 PAN is Blacklisted
…54decline: 10106 Card expired
…59decline: 10402 Suspicious operation
…79decline: 10103 Incorrect PIN or CVV
…883-D Secure frictionless (device fingerprint), then success
…91decline: 10202 Issuer inoperative
…96payment status error: 10505 PSP system is inoperative
…97decline after 10 s: 10602 Time-out
…98challenge, then authentication fails whatever is answered: 104
…99challenge, then success
…02decline: 10000 General decline
…05decline: 10105 Insufficient funds on card

A card refund amount ending in …28 is declined 3028 (merchant balance). At the issuer's page, Confirm authenticates, "Fail authentication" declines 104, Cancel declines 301.

Real vs modeled. Real (developers.ecommpay.com, its llms-full.txt and the Gate API OpenAPI 3.38.2 in it; api.ecommpay.com's own error answers): the paths, the general object, the ack, the error envelopes and info codes, the payment and operation statuses, the callback and status bodies, the signature, the 3-D Secure callbacks and the 30-minute ACS window and 108, the local methods' paths, redirect_data, provider_extra_fields, required fields, currencies, limits and threshold times, the test cards, the emulator amounts (Skrill Wallet, Neteller), the refund rules, card and wallet payouts. Modeled: the timings, which code a test card declines with where Ecommpay names none, 104 / 301 at the ACS, the emulator amounts applied to every method (Ecommpay emulates only some), the lab rules, the ACS and method pages, a 24-hour threshold where Ecommpay states none. Not simulated: Payment Page, credential-on-file, tokens, Apple Pay and Google Pay, AVS, clarification, cascading, Multibanco, Bizum and other methods BabelPay does not route here.

Nomupay

Nomupay (EU and APAC; Cardinity and Total Processing are part of it) on its Payments - Ecommerce API, on the real hosts' own paths under /nomupay: a client of https://api.sandbox.nomupay.com (sandbox) or https://api.nomupay.com (live) is pointed at <lab>/nomupay instead. Visa, Mastercard and Maestro server to server: payments with automatic or manual capture and the merchant's own 3-D Secure result (threedsPassThrough), captures (partial, several, the last one final), cancels (one partial at most), refunds of what was captured, and credits (payouts to a Visa or Mastercard card), each with its webhook.

Credentials are ignored: every request carries X-Signature, an ES256 JWS of the body with the payload detached ({header}..{signature}; the header names alg, aud "{METHOD} {path?query}", exp and kid); the lab never verifies it, and the header's kid only names the merchant. Every answer and webhook is signed as Nomupay signs them: X-Signature, an HS256 JWS of the body, detached, under the lab's published shared key bistromathic-lab-simulated-flow (kid 2LabNomupayResponseKey00001 for answers, 2LabNomupayWebhookKey000001 for webhooks, whose header also names aud, the URL). No payer pages: Nomupay has no hosted card page and no 3-D Secure of its own in its regions (the pass-through model): the merchant's 3-D Secure server authenticates the cardholder and the result travels with the payment.

Test cards

CardBrandOutcome
4000000000000002VisaApproved (Nomupay's Visa test card; unlike the lab's other card connectors, where it declines)
5555555555554444MastercardApproved (Nomupay's Mastercard test card)
6703444444444449MaestroApproved (Nomupay's Maestro test card)
4242424242424242VisaApproved
4000000000003220VisaEnrolled for 3-D Secure: declined required_authentication without your 3-D Secure result, approved with an authenticated one (ECI 05 or 06)
4000000000000341VisaEnrolled for 3-D Secure, and the authentication fails: declined required_authentication
4000000000009995VisaDeclined: insufficient_funds
4000000000000069VisaDeclined: expired_card
4000000000000127VisaDeclined: failed_security_code
4100000000000019VisaDeclined: suspected_fraud
4000000000000119VisaFailed: processing_error
4000000000000051VisaPending (unknown_status), then succeeded 10 s later with a payment webhook

Test values

FieldValueEffect
Amount9000.00Declined: rejected_by_issuer (Nomupay's sandbox)
Amount9100.00Failed: processing_error (Nomupay's sandbox)
CVV (sent in clear only)900 / 901 / 902 / 903 / 904CVV result M / N / P / U / S (Nomupay's sandbox; BabelPay's checkout sends the CVV encrypted, which the lab reads as M)
Billing street900 … 917AVS result A, B, C, D, E, F, G, I, M, N, P, R, S, U, W, X, Y, Z in turn (Nomupay's sandbox; BabelPay sends no billing address: AVS is not supported in Nomupay's regions)
Amount, any other card (last 2 digits in minor units)…02 / …05 / …51 / …54 / …59 / …79 / …91 / …96rejected_by_issuer / insufficient_funds / insufficient_funds / expired_card / suspected_fraud / failed_security_code / processing_error / processing_error (the lab's amount rules)
Amount, any other card…99 / …98Enrolled for 3-D Secure: approved / declined with an authenticated 3-D Secure result; required_authentication without one
Amount (lab rule, from 10.00)…97Pending (unknown_status), then succeeded 10 s later with a payment webhook
Refund amount (lab rule, from 10.00)…77The refund is declined: rejected_by_issuer
Payout amount (lab rule, from 10.00)…52The credit is declined: rejected_by_issuer

Lab rules

Amount (last two digits in minor units)OnEffect
…52, from 10.00creditThe credit is declined: rejected_by_issuer
…77, from 10.00refundThe refund is declined: rejected_by_issuer
…97, from 10.00paymentPending (unknown_status), then succeeded 10 s later, with a payment webhook

Real or modeled

EBANX

EBANX's Direct API, Payment Page and Payout API on their own paths, under /ebanx: an EBANX client swaps https://sandbox.ebanxpay.com (or the local tenant's https://sandbox-local-latam.ebanxpay.com) for this host's /ebanx. The API is real (docs.ebanx.com and its OpenAPI files, public): the paths, bodies, statuses, error codes, the notification and its RSA/SHA1 signature, EBANX's mock cards and customers. Modeled: the per-method limits and default expiries (the merchant account's, unpublished), the lab's amount rules, and the payer's screens. Credentials are ignored: the body's integration_key, or the kid of an X-JWS-Signature, names the merchant; nothing is verified.

Methods

CodeMethod (option)CountriesLimits (local, modeled)Default expiry (modeled)
pixPix (pix)BR1–50,0005 h
boletoBoleto Bancário (boleto)BR5–50,0003 days
speiSPEI (spei)MX10–500,0003 days
oxxopayOXXO Pay (oxxo)MX10–10,0003 days
efectyEfecty (efecty)CO5,000–5,000,0003 days
eftPSE (pse)CO5,000–20,000,00020 min
yapeYape (yape)PE1–2,00010 min
creditcardCredit card (card)BR, MX, CO, CL, PEserver to server15 min
debitcardDebit card (card)BR, MX, CO, CL, PEserver to server15 min

EBANX's mock cards

CardBrandScenario
4111111111111111VisaApproved
4111115666052208VisaApproved
5555555555554444MastercardApproved
5555556355564617MastercardApproved
378282246310005American ExpressApproved
6362970000457013EloApproved
6062825624254001HipercardApproved
30569309025904Diners ClubApproved
5062224607440872CARNETApproved (Mexico)
4242424242424242VisaApproved (Mexico debit)
4716909774636285VisaDeclined: insufficient funds
5102026827345142MastercardDeclined: invalid data
6011088896715918DiscoverDeclined: card expired
378568775709157American ExpressDeclined: not approved
4000000000001000VisaBrazil 3DS: approved without a challenge
4000000000001091VisaBrazil 3DS: insufficient funds after the challenge
4000000000001042VisaBrazil 3DS: invalid card after the challenge
5200000000001096MastercardBrazil 3DS: approved after the challenge
5200000000001005MastercardBrazil 3DS: insufficient funds after the challenge

Lab rules (from 10.00, the amount's last two decimals)

AmountEffect
payment …05The payer's bank declines after the payer pays: CA, DO_NOT_HONOUR
payment …08Paid (CO), but EBANX sends no notification: only the query (or reconciliation) tells
refund …77The refund is cancelled by EBANX (CA) instead of confirmed
payout …57The payout is cancelled by the receiving bank (CA, INCORRECT_CUSTOMER_DATA)
payout …93The payout stays pending (PE) for a minute, then is paid (PA)

EBANX's gaming page targets video games; no betting policy was found. Brazil's betting ban (MP 1.394/2026) stops regulated gambling payments there; the lab still takes BRL.

Mercado Pago

Mercado Pago's Orders API (Checkout API / Checkout Transparente, and Checkout Pro), card tokens and Payouts, on api.mercadopago.com's own paths under /mercadopago (github.com/mercadopago/openapi; www.mercadopago.com.br/developers, whose every page is also served as .md). A client swaps https://api.mercadopago.com for <lab>/mercadopago. Credentials are ignored: any Authorization: Bearer … is taken and is a merchant of its own; a token naming a site (APP_USR-lab-MLM-…) is on that site, any other on Brazil's. Without the header an Orders call gets the 403 PA_UNAUTHORIZED_RESULT_FROM_POLICIES, a payout the 400 Invalid site, and a card token without public_key the 401 E212, as api.mercadopago.com answers them unauthenticated. X-Idempotency-Key is required where Mercado Pago requires it, and replays the first answer for a day.

Order webhooks go to the URL set with PUT /mercadopago-lab/webhooks (the Webhooks configuration's stand-in), with ?data.id=<order>&type=order appended, signed x-signature: ts=…,v1=… (the HMAC-SHA256 of id:<data.id lower-cased>;request-id:<x-request-id>;ts:<ts>;) under the lab's published secret signature bistromathic-lab-simulated-flow.

Test cards (Mercado Pago's own)

5480832801033311 Mastercard (CVV 123, 11/30), 4235647728025682 Visa (CVV 123, 11/30), 375365153556885 American Express (CVV 1234, 11/30), 5067766783888311 Elo (CVV 123, 11/30). The cardholder's name decides:

NameTransactionMercado Pago's scenario
APROprocessed / accreditedApproved payment
OTHEfailed / rejected_by_issuerDeclined for general error
CONTprocessing / in_processPending payment (approved 20 seconds later in the lab)
CALLfailed / required_call_for_authorizeDeclined with validation to authorize
FUNDfailed / insufficient_amountDeclined for insufficient amount
SECUfailed / bad_filled_card_dataDeclined for invalid security code
EXPIfailed / bad_filled_card_dataDeclined due to due date issue
FORMfailed / bad_filled_card_dataDeclined due to form error
CARDfailed / invalid_card_tokenRejected for missing card_number
INSTfailed / invalid_installmentsRejected for invalid installments
DUPLfailed / max_attempts_exceededRejected for duplicate payment
LOCKfailed / card_disabledRejected for disabled card
CTNAfailed / rejected_by_issuerRejected for non-permitted card type
ATTEfailed / max_attempts_exceededRejected due to exceeded PIN attempts
BLACfailed / high_riskRejected for being on the blacklist
UNSUfailed / processing_errorNot supported

With 3-D Secure (validation other than never):

NameChallenge3DS statusTransaction
APRO-AUTHnoauthenticatedprocessed / accredited
APRO-ATMTnoattemptedprocessed / accredited
OTHE-NAUTnonot_authenticatedfailed
APRO-CHOKyesauthenticatedprocessed / accredited
OTHE-CHNOyesnot_authenticatedfailed

Methods

payment_method.idNameTypeSiteDefault validity
pixPixbank_transferMLBP1D
clabeSPEIbank_transferMLMP1D
oxxoOXXOticketMLMP3D
psePSEbank_transferMCOPT20M
bolbradescoBoletoticketMLBP3D
rapipagoRapipagoticketMLAP3D
pagofacilPago FácilticketMLAP3D

Pix with payer.first_name: APRO is paid by itself (Mercado Pago's Pix test); any other is paid from the bank app on the ticket page, or the drawer.

Lab rules

Amount (last two decimals)OnEffect
…13, from 10.00PayoutThe transaction is rejected by the destination bank (rejected / by_bank)
…14, from 10.00PayoutThe transaction fails (error / failed)
…15, from 10.00PayoutRejected: the origin account lacks the funds (rejected / insufficient_funds)
…53, from 10.00Create order500 internal_error: nothing is created (Mercado Pago's own failure)

Real or modeled

Viva (ex Viva Wallet)

Viva's Smart Checkout and its APIs, on Viva's own paths under /viva: a Viva client swaps each of its three hosts (demo-accounts.vivapayments.com, demo-api.vivapayments.com, demo.vivapayments.com) for this host's /viva. Credentials are ignored: POST /viva/connect/token issues a Bearer token for any client (its merchant is the client id's leading UUID, else the whole id), and any Basic user (a Merchant ID) is a merchant of its own. Without the header the lab answers Viva's own 401 (empty, with WWW-Authenticate: Bearer; or {"Message":"Authorization has been denied for this request."} on the classic API), as the demo hosts answer unauthenticated. Currencies are Viva's numeric currencyCodes: EUR 978, GBP 826, PLN 985, RON 946, BGN 975, CZK 203, HUF 348, DKK 208, SEK 752, NOK 578, CHF 756. Viva signs no webhook: the merchant's URL first answers a GET with its verification key (GET /viva/api/messages/config/token), then gets each event as JSON (EventTypeId 1796 payment created, 1797 reversal created, 1798 failed, 768/769 bank transfer created/executed), and reads the transaction back.

MethodpaymentMethodCharge / refund typeCurrencies
Card05 / 4every Viva currency
iDEAL1023 / 24EUR
Przelewy241125 / 26PLN, EUR
BLIK1227 / 28PLN
eps1738 / 39EUR
PayPal2348 / 49EUR, GBP, PLN, CZK, HUF, DKK, SEK, NOK, CHF
Trustly2450 / 51EUR, SEK, DKK, NOK, PLN, GBP
Bancontact2758 / 59EUR

Test values

CardBrandOutcome
4147463011110133VisaViva's test Visa: successful
4147463011110141VisaViva's test Visa: failed (EventId 10005)
5239290700000101MastercardViva's test Mastercard: successful
5239290700000119MastercardViva's test Mastercard: failed (EventId 10005)
5188340000000060MastercardViva's demo-mode Mastercard (its WooCommerce guide): successful
4000000000003220VisaThe lab's 3-D Secure challenge card
5200828282828210MastercardThe lab's 3-D Secure challenge card (Mastercard)

Any future expiry, any three-digit CVV. A card order of these amounts declines (Viva's demo amounts):

AmountEventIdMeaning
99.0510005Do not honour
99.0610006General error
99.1410014Invalid card number
99.4110041Lost card
99.5110051Insufficient funds
99.5410054Expired card
99.5710057Function not permitted to cardholder

Lab rules

Amount (last two decimals)OnEffect
…13, from 10.00Deposit by iDEAL, Przelewy24, BLIK, eps, PayPal, Trustly or BancontactPending (A), then successful (F) 20 seconds later; the webhook tells
…77, from 10.00RefundRefused (400): the refund cannot be made
…51, from 10.00Bank transfer (payout)Refused (400): the wallet's balance is insufficient
…55, from 10.00Bank transfer (payout)Executed 20 seconds later instead of 3; the webhook tells

Real or modeled

Paymentwall

Paymentwall's Checkout API and its tools (docs.paymentwall.com, the API Explorer at docs.paymentwall.com/apis, the SDKs at github.com/paymentwall), on api.paymentwall.com's own paths under /paymentwall: a Paymentwall client swaps https://api.paymentwall.com for this host's /paymentwall. Credentials are ignored: any project key is taken and each key is a project of its own, and no sign is checked; a widget call without key or uid gets Paymentwall's own page Parameter key or uid is missing (error code 05), and the Payment Status API without a key its {"type":"Error","error":"API key is not provided","code":4006} (both as api.paymentwall.com answers them unauthenticated). Pingbacks are a GET to the pingback URL with uid, goodsid, slength, speriod, type, ref, is_test=1 and sig, signed with version 3 (SHA-256 of the sorted name=value pairs and the secret) under the published simulation secret, and answered OK.

psNameCountriesCurrenciesPageRefunds
ccCredit Cardsglobalanycardyes
bancontactbeBancontactBEEURredirectyes
paypalPayPalglobalanyredirectfull only
alipayAliPayglobalUSD, CNYredirectyes
idealpaymentsiDealNLEURredirectyes
epspaymentsEPSATEURredirectyes
przelewy24Przelewy24PLPLNredirectyes
blikBlikPLPLNappyes
mbwayptMBWayPTEURappyes
multibancoptMultibancoPTEURvoucheryes
pixbrPixBRBRLqryes
psePSECOCOPredirectno
oxxoOxxoMXMXNvoucheryes
efectyEfectyCOCOPvoucheryes
upiinUPIININRredirectyes
payidausPayIDAUAUDredirectno
neosurfNeoSurfAD, AT, BE, CM, CA, CZ, FR, DE, IT, JP, MQ, MA, NL, PL, PT, RO, ZA, ES, CH, GB, USUSD, EUR, AUD, CAD, TRYpinno
safetypaySafetypayBR, CL, CO, CR, MX, EC, ES, PT, PEUSDredirectyes
mobilegatewayMobiamoglobalanysmsno

Test values

Test cards (Brick's sandbox): 4242424242424242 Visa, 4000000000000002 Visa; any future expiry. CVV codes:

CVVEffect
111Please ensure the CVV/CSC number is correct.
222Please contact your credit card issuing bank to check your balance.
333Please contact your credit card issuing bank to approve your payment.
555Your payment is under risk review and will be accepted automatically after 2 minutes.
556Your payment is under risk review and will be declined automatically after 2 minutes.

Lab rules

Amount (last two decimals)OnEffect
…13, from 10.00a voucher or referencepaid 20 seconds after it is issued (the payer pays at once)
…77, from 10.00a refund ticketPaymentwall's team declines the ticket: no refund, no pingback

Real or modeled

2C2P

2C2P (now 2C2P by Antom; SEA and Hong Kong): its PGW Payment API 4.3, Payment Maintenance API and Payout API 1.2 (developer.2c2p.com and its llms.txt), on their own paths under /2c2p: a 2C2P client swaps https://sandbox-pgw.2c2p.com and https://demo2.2c2p.com for this host's /2c2p. Credentials are ignored: any merchant ID is a merchant of its own, and no JWT or JWS signature is checked. What 2C2P signs, the lab signs with its published simulation keys: JWTs (HS256) with the secret bistromathic-lab-simulated-flow, the maintenance answers with its RSA keys (JWE RSA-OAEP + A256GCM inside a JWS PS256).

ChannelNameCurrencies
123Internet banking (123)THB, MYR, SGD, VND, IDR
CCCredit / debit cardSGD, MYR, THB, PHP, IDR, VND, HKD, USD, MMK
ALIPAYAlipaySGD, MYR, THB, PHP, HKD, USD
ALIPAYHKAlipay HongkongHKD
PAYPALPayPalSGD, MYR, THB, PHP, HKD, USD

Test cards (2C2P's own)

CardBrandScenario
4111111111111111VISAVisa, OTP 123456: the ACS challenge, then approved
5555555555554444MASTERCARDMastercard, OTP 123456: the ACS challenge, then approved
3562808775869340JCBJCB, OTP 123456: the ACS challenge, then approved
6250947000000014UNIONPAYUnionPay, verification code: the ACS challenge, then approved
6011000000001002DISCOVERDiscover, OTP 123456: the ACS challenge, then approved
36998900139315DINERSDiners, OTP 123456: the ACS challenge, then approved
378282246310005AMEXAmerican Express (CVV 4 digits): approved without a challenge
374340095639074AMEXAmerican Express (CVV 4 digits): approved without a challenge
3566111111111113JCBJCB (Thailand): approved without a challenge
4444333322221111VISAThe rejected card: declined, do not honor (4005)

Lab rules

Amount (last two decimals)Effect
…51, from 10.00Declined: insufficient funds (4051)
…54, from 10.00Declined: expired card (4054)
…59, from 10.00Declined: suspected fraud (4059)
…62, from 10.00Declined: restricted card (4062)
…05, from 10.00Declined: do not honor (4005)

A refund ending in .77 is rejected (44, RR). A payout ending in .02 is rejected by the bank (8102); one ending in .16 is refused (8116).

Real or modeled

Triple-A

Triple-A's Stablecoin Payment and Payout APIs on their own paths, under /triplea: a client swaps https://api.triple-a.io for this host's /triplea. The API is real, built from Triple-A's public docs (developers.triple-a.io, Stoplight) and their OpenAPI files (Crypto-Payments.yaml, Crypto-Payouts.yaml). Credentials are ignored: POST /triplea/api/v2/oauth/token gives any client id and secret a token (an hour), and any Authorization: Bearer is taken; without one, 401 unauthorized. Webhooks go to each request's notify_url and carry Triplea-Signature: t=<unix>,v1=<hex HMAC-SHA256 of t.body> under the request's notify_secret (or the one made for it and returned), as Triple-A signs them; there is no simulation key.

Digital currencies (the lab's rates in EUR)

CodeAssetNetworkDecimalsPayoutsEUR
USDT_TRC20USDTTron (TRC-20)6yes0.86
USDTUSDTEthereum (ERC-20)6yes0.86
USDT_POLYUSDTPolygon6yes0.86
USDT_SOLUSDTSolana6yes0.86
USDT_ARBUSDTArbitrum One6yes0.86
USDCUSDCEthereum (ERC-20)6yes0.86
USDC_POLYUSDCPolygon6yes0.86
USDC_SOLUSDCSolana6yes0.86
USDC_ARBUSDCArbitrum One6yes0.86
PYUSDPayPal USDEthereum (ERC-20)6yes0.86
PYUSD_SOLPayPal USDSolana6yes0.86
BTCBitcoinBitcoin8yes85000
LNBCBitcoinLightning8no85000
ETHEtherEthereum8yes3000

Lab rules for payments (the order amount's last two decimals)

AmountEffect
…02seen, then rejected by compliance: invalid (any funds go back to the payer)
…04held and never confirmed: stays hold
…05refused at create: 400 payer_is_blocked

Lab rules for refunds and payouts (the amount's last two decimals)

AmountEffect
…02refused at create: 400 rejected_due_to_compliance_reason (the address is blocked)
…03confirmed, then blocked for compliance: invalid
…04stays pending_approval (manual AML review)
…07a refund's recipient never confirms their wallet address: stays new
…09broadcast and never confirmed: stays pending_confirmation

EveryPay (LHV)

EveryPay (Estonia; LHV Group since 2022), the gateway behind LHV, SEB, Swedbank and other Baltic acquirers, on its Payment Integration API v4 (its public OpenAPI), on the real hosts' own paths under /everypay: a client of https://igw-demo.every-pay.com/api/v4 (or https://pay.every-pay.eu/api/v4) is pointed at <lab>/everypay/api/v4 instead. Cards server to server (a one-off payment, then the card to /payments/charge, EveryPay's route for PCI DSS merchants) with EveryPay's 3-D Secure, its payment page with the card form and the Baltic banks of its open banking, captures, voids, refunds, credit transactions (OCT) to a card token, and the callback notifications. Not the Greek Everypay (everypay.gr), a separate company.

Credentials are ignored: EveryPay authenticates with HTTP Basic (api_username, api_secret), and every body repeats api_username; the lab never refuses one, and each user name is a merchant of its own. EveryPay signs nothing: its callback is a GET of the e-shop's callback URL (set in the merchant portal; here PUT /everypay/lab/eshop {"callback_url"}) with payment_reference, order_reference and event_name, and the merchant reads the payment back.

Banks (pay with your bank): LHV (EE), Swedbank (EE), SEB (EE), Luminor (EE), Coop Pank (EE), Citadele (EE), Swedbank (LV), SEB (LV), Luminor (LV), Citadele (LV), Swedbank (LT), SEB (LT), Luminor (LT), Artea Bankas (LT), Citadele (LT), Revolut (LT). The payer logs in at the bank with Smart-ID (SK's demo personal codes) and confirms with PIN2; 33.00 EUR stays "sent_for_processing" for 30 seconds, as on EveryPay's demo.

Test cards

CardBrandOutcome
5168159911323096MastercardEveryPay's test card that pays: settled (authorised on a pre-authorisation account). A payout to it is paid
5413330089010020MastercardEveryPay's test card for negative scenarios: failed, 3001 Do not honor. A payout to it fails the same way
4000000000009995VisaAny amount: failed, 3008 Not sufficient funds (the lab's standard set)
4242424242424242VisaPaid (the lab's standard set); the lab rules …28, …30 and …44 apply
FieldValueEffect
3-D Secure pageAuthenticateYes: 3DS, then the issuer's answer (settled for the paying card)
3-D Secure pageFail authentication, or Cancel (lab drawer)No / Rejected: failed, 4018 3D secure cancelled by issuing bank
3-D Secure pageLeave it 15 minutesAbandoned (6000), as EveryPay's 3DS window ends
Card amount ending in (cents, from 10.00)…283-D Secure unavailable: failed, 4028
Card amount ending in (cents, from 10.00)…303-D Secure attempted: settled without a challenge
Card amount ending in (cents, from 10.00)…44Settled; its refunds are refused: 4033 Can not be refunded
Card amount ending in (cents), a card not listed here…02 / …05 / …33 / …79Failed: 3001 / 3008 / 3015 / 3200 (the lab's standard amount rules)
Processing accounta name with 3D (EUR3D1)Every card payment goes through EveryPay's 3-D Secure page
Processing accounta name without 3D (EUR1)No 3-D Secure: the card is answered at once (payouts' check-up and credits)
Processing accounta name with PRE (EUR3D1PRE)Pre-authorisation: the payment stops at authorised until captured or voided
Bank: Smart-ID personal code (EE / LT)40404040009Logs in and confirms: settled, the IBAN reported
Bank: Smart-ID personal code (LV)040404-10003Logs in and confirms: settled
Bank: Smart-ID personal code (EE / LT)30403039917Refuses at login: failed, 3598 Authentication failed/cancelled
Bank: Smart-ID personal code (EE / LT)30403039946Logs in, refuses the payment (PIN2): failed, 3596 Payment cancelled by user
Bank payment amount33.00 EURSent for processing for 30 seconds, then settled (EveryPay's demo rule)
Payout amountover 5,000.00Failed: 4001 Transaction over allowed maximum transaction amount (the lab's ceiling)

Lab rules

Amount (last two digits in cents)OnEffect
…28, from 10.00card payment3-D Secure unavailable: failed, 4028 3DS failure due to technical errors
…30, from 10.00card payment3-D Secure attempted (the issuer does not enforce it): settled without a challenge
…44, from 10.00card paymentSettled; its refunds are refused: 4033 Can not be refunded

Real or modeled

GoPay

GoPay's Payments API v4.0 on its own paths, under /gopay: a GoPay client swaps https://gw.sandbox.gopay.com for this host's /gopay (the API is /gopay/gp-gw/api/4.0), and the payment's gw_url is GoPay's payment gateway here. Credentials are ignored: any client_id:client_secret gets a token (client_credentials, the scopes it asks for), whose sub names the merchant. The API is real, from GoPay's public OpenAPI 3.1 (api-docs.gopay.com, payments.yaml and webhooks.yaml); the error details' wording, the gateway's screens, the bank's pages and the amount rules are the lab's. The lab plays the gateway's bank payments in CZK (Czech banks) and EUR (Slovak banks): the bank buttons, and the bank transfer with its QR code; GoPay's cards, wallets, BNPL, recurrences, payment links and saved cards are not simulated.

Every state change is a notification: a GET of the payment's notification_url with its id, empty-bodied. PAID, CANCELED, TIMEOUTED and refunds' outcomes are also events in the log, and webhooks (a POST of the event, X-GoPay-Signature: a detached JWS, RS256, under the published key at /gopay/gp-gw/api/4.0/webhooks/public-keys) once the eshop has a notification endpoint: PUT /gopay/lab/eshops/{goid} {"name": …, "notification_endpoint": {"url": …, "types": […]}} stands in for asking integration@gopay.com. A payment nobody finishes is TIMEOUTED after an hour; a refund settles two seconds after it is requested. GoPay's sandbox refunds online bank payments of Raiffeisenbank and Česká spořitelna only, and bank transfers.

Deposit amountEffect
…92The bank keeps it PAYMENT_METHOD_CHOSEN, then PAID two minutes later
…93The bank never confirms: PAYMENT_METHOD_CHOSEN, then TIMEOUTED two minutes later
…04The payer's bank refuses the payment: CANCELED (as GoPay's sandbox declines card amounts ending 04)
Refund amountEffect
…52The refund FAILED (GoPay could not send the money back)

Banks

CountryBanks (SWIFT)
CZČeská spořitelna GIBACZPX, Komerční banka KOMBCZPP, ČSOB CEKOCZPP, Raiffeisenbank RZBCCZPP, Fio banka FIOBCZPP, mBank BREXCZPP, Air Bank AIRACZPP, MONETA Money Bank AGBACZPP, UniCredit Bank BACXCZPP
SKSlovenská sporiteľňa GIBASKBX, Tatra banka TATRSKBX, VÚB banka SUBASKBX, ČSOB CEKOSKBX, Poštová banka POBNSKBA, mBank BREXSKBX, UniCredit Bank UNCRSKBX, Prima banka KOMASK2X, Fio banka FIOZSKBA

SimplePay (qvik)

SimplePay's online payment API v2 (OTP Mobil / SimplePay Zrt., Hungary), from its public developer documentation and PHP SDK 2.1.5 (simplepay.hu/fejlesztoknek, simplepartner.hu), on sandbox.simplepay.hu's own paths under /simplepay: a SimplePay client swaps https://sandbox.simplepay.hu for this host's /simplepay. Cards on SimplePay's payment page, and qvik, Hungary's instant-payment (AFR) brand: a QR code on a computer, the qvik link that opens the banking app on a phone. Credentials are ignored: any merchant is an account of its own and no Signature is checked. Every answer and every IPN is signed as SimplePay signs it (Signature: Base64 of the HMAC-SHA384 of the body) under the published simulation secret; errors are HTTP 200 {"errorCodes":[…],"salt":…}, unsigned without a merchant (as sandbox.simplepay.hu answers unauthenticated).

Test values

The sandbox payment page lists test cards in a drop-down instead of a card number field:

Test cardOutcome
Test card: successful paymentFINISHED
Test card: not enough funds (2013)NOTAUTHORIZED (2013)
Test card: refused by the issuer (2078)NOTAUTHORIZED (2078)
Test card: 3DS challenge3-D Secure: 1234 FINISHED, 1111 NOTAUTHORIZED (3002)

qvik: the banking app (OTP Bank, K&H Bank, MBH Bank, Erste Bank, Raiffeisen Bank, UniCredit Bank, CIB Bank, Gránit Bank, MagNet Bank, plain monograms) approves or rejects the pre-filled transfer to SimplePay Zrt. (the transaction id as its message); approved, the transaction is FINISHED three seconds later. qvik is HUF only, up to 20,000,000 HUF, and a qvik-only transaction takes a timeout of at most 20 minutes (the online-purchase payment situation).

Lab rules

Amount (last two whole units)OnEffect
…77refundSimplePay refuses the refund: errorCodes [5230]
…01qvikThe payer's bank refuses the transfer (not enough funds): NOTAUTHORIZED, back FAIL with 2013

Error codes the lab answers with

CodeMeaning
5201The merchant account ID (merchant) is missing
5213The merchant transaction ID (orderRef) is missing
5219The e-mail address (customerEmail) is missing or not an e-mail
5223The currency of the transaction (currency) is not valid or is missing
5217Invalid method
5324The list of items (items) or the transaction total (total) is required
5020The check of the value in the request or of the original total failed
5601Transaction limit exceeded
5094Invalid timeout
5013The transaction already exists (and is not flagged as restartable)
5011The transaction cannot be found
5022The transaction is not in the state the request expects
5110Invalid refund amount
5230Refund not allowed
5111Either orderRef or transactionId must be sent
5321Format error / invalid JSON string

Real or modeled

NETOPIA Payments (RO): RoPay and cards

NETOPIA Payments' (mobilPay's) merchant API v2 on its own paths, under /netopia: a NETOPIA client swaps https://secure.sandbox.netopia-payments.com (or the live https://secure.mobilpay.ro/pay) for this host's /netopia. Credentials are ignored: the API key is the bare Authorization header, any value is taken and tells merchants apart. The API is real, from NETOPIA's public OpenAPI 3.0 (secure.sandbox.netopia-payments.com/spec) and its SDKs' IPN classes; the error wording, the RoPay banking app and the amount rules are the lab's, and so are three things the spec does not say: the length of a RoPay intent (10 minutes here), the responses of the operations (capture, void, credit), and how the phone's bank picker reaches the bank's app (here the RoPay link opens the chosen bank's app).

Every change of status is an IPN: a POST of {payment, order} (or {disbursement, order}) to the order's notifyUrl, its Verification-token a JWT, RS512, iss "NETOPIA Payments", aud the POS signature, sub the Base64 SHA-512 of the body, under the published key (netopia-simulation-keys.ts). NETOPIA wants {"errorType":0,"errorCode":null,"errorMessage":""} back.

CardEffect
9900004810225098Paid at once, without 3-D Secure (the spec's "no 3-D Secure payment")
99000091842147683-D Secure: the sandbox's authentication page, then paid (the spec's "3-D Secure payment")
99000029227424713-D Secure, then paid (the spec's payment request example)
RoPay amountEffect
…12The payer's bank refuses the payment when it is approved: status 12 (rejected)
…23The intent expires a minute after it is created, whatever the payer does: status 23 (expired)
…31The bank confirms 30 seconds after the payer approves (status 15 until then), then status 3 (paid)
Card amountEffect
…19Error 19 (expired card): status 12
…20Error 20 (insufficient funds): status 12
…21Error 21 (CVV): status 12
…34Error 34 (transaction not permitted): status 12
Refund amountEffect
…52The refund is refused (error 2)
Payout amountEffect
…51The POS's balance cannot cover the payout: error 20, status 12
…57The card's issuer refuses the payout: error 34, status 12

KEKS Pay

Erste Bank Croatia's wallet app, on its webshop specification ("KEKS – SELL request specification", draft 0.6, and Erste's WooCommerce plugin 3.0.1): the API is real where KEKS has one. KEKS has no payment API: the webshop shows the SELL request ({qr_type, cid, tid, bill_id, amount, currency}) as a QR code on a computer, or opens the app by its link on a phone (kekspay.hr/galebpay in UAT, kekspay.hr/pay live), here /keks/galebpay and /keks/pay: the app's payment screen, Face ID, the wait for the webshop, the result, then the shop's success_url or fail_url on a phone.

Modeled (KEKS publishes none): the status codes of a declined payment's Advice, the refund errors other than −13, the app's screens, and what KEKS does with an unanswered Advice. KEKS has no status read and no expiry: BabelPay closes a payment nobody paid after 20 minutes and refuses later Advices. UAT: TID P00372, CID C00371, DES key FC011AEDA9632ED96446F8CF. EUR only. No payouts.

Test values

ValueEffect
The app: PlatiPaid, once the webshop answers status 0
The app: OdustaniNothing paid, no Advice; on a phone the app opens fail_url
Deposit …51, from 1.00 EURDeclined by the payer's bank: insufficient funds (an Advice with status 51, for information)
Deposit …57, from 1.00 EURPaid, but the Advice reports 1.00 EUR more than the bill: the webshop must refuse it, and KEKS reverses the payment
Deposit …61, from 1.00 EURDeclined: over the payer's own limit (an Advice with status 61, for information)
Deposit …05, from 1.00 EURDeclined by the payer's bank (an Advice with status 5, for information)
Refund amount ending in 52 centsRefused (status_code −20)

Yapily

Yapily's open banking API on its own paths, under /yapily: a Yapily client swaps https://api.yapily.com for this host's /yapily. Credentials are ignored: the HTTP Basic user name (the Application ID) names the application (its hosted payment requests, consents, payments and webhooks); the secret is never checked. A request without any Authorization gets what api.yapily.com answers then: its load balancer's 404 page, or a 401 WWW-Authenticate: Bearer on /webhook/*. The API is real: built from Yapily's public OpenAPI (openapi.yapily.com/openapi.json, v13.0.0) and docs (docs.yapily.com). The sandbox banks, their ids and their logins are Yapily's documented sandboxes; the amount rules, the timings, Modelo Sandbox in FR, BE, PT, IE and FI, and the Nordic and Polish banks (Swedbank: SE in SEK, EE, LV and LT in EUR; Danske Bank: DK in DKK; DNB: NO in NOK; PKO Bank Polski: PL in PLN; each country's own currency by its national scheme) are the lab's.

A payment is accepted by the bank 1.5 s after it is submitted and settled 2 s later; a consent nobody authorises expires after thirty minutes. Yapily Connect's limit, 15 000.00 per payment, is applied in every currency. Yapily has no payouts and no refund call.

Sandbox banks and their logins

InstitutionCountriesLoginNotes
Modelo Sandbox modelo-sandboxGB, IT, FR, BE, PT, IE, FImits · mitsSEPA Instant
NatWest Sandbox natwest-sandboxGB123456789012
Lloyds Bank Sandbox lloyds-sandboxGBllr001 · Password123reports the refund account
Deutsche Bank Sandbox deutschebank-sandboxDEno credentials (Give permission)asks for the payer's IBAN; psu-id 6154033403 (OK) / 6154033411 (SCA fails); payments over 50.00 fail
Commerzbank Sandbox commerzbank-sandboxDEno credentials (Give permission)asks for the payer's IBAN; SEPA Instant
BAWAG PSK Sandbox bawag-sandboxATdemo · 1111, then SMS-OTP 1111asks for the payer's IBAN; SEPA Instant
SNS Bank Sandbox snsbank-sandboxNLno credentials (Give permission)asks for the payer's IBAN; SEPA Instant
Unicaja Banco Sandbox unicajabanco-sandboxESuser1 · 1234, then Security key 123456
Fineco Sandbox fineco-sandboxIT00000000 · 11111111, then SMS PIN 222222asks for the payer's IBAN; SEPA Instant
Luminor Sandbox luminor-sandboxLT, LV, EE111111 / 222222 / 333333asks for the payer's IBAN; SEPA Instant
Swedbank Sandbox swedbank-sandboxSE, EE, LV, LT198112189876asks for the payer's IBAN; SEPA Instant
Danske Bank Sandbox danskebank-sandboxDKmitid-lab-01asks for the payer's IBAN
DNB Sandbox dnb-sandboxNO01019012345asks for the payer's IBAN
PKO Bank Polski Sandbox pkobp-sandboxPL11111111 · 1234, then SMS code 123456asks for the payer's IBAN

Lab amount rules

AmountEffect
…02, from 10.00The bank rejects the payment: FAILED (RJCT)
…03, from 10.00Insufficient funds: FAILED (RJCT, AM04)
…04, from 10.00The bank fails the authorisation: AUTHORISATION_FAILED / consent FAILED
…05, from 10.00PENDING (ACSP) for two minutes, then COMPLETED (ACSC)
…06, from 10.00PENDING (ACSP) for two minutes, then FAILED (RJCT)
…07, from 10.00PENDING, and it stays there (the lab drawer can settle or fail it)

Satispay

Satispay's GBusiness API on its own paths, under /satispay: a Satispay client swaps https://staging.authservices.satispay.com for this host's /satispay (the API is /satispay/g_business/v1), and a payment's redirect_url is Satispay's web page here. The API is real, from Satispay's public API reference (developers.satispay.com, its OpenAPI definitions and llms.txt) and its official PHP SDK and WooCommerce plugin; the error messages' wording past Satispay's documented codes, the page's and the app's screens and the amount rules are the lab's. Credentials are ignored: a call is signed (HTTP Signatures, rsa-sha256 over (request-target) host date digest), its keyId names the shop, and the signature is verified against the key the shop registered at POST …/authentication_keys (any activation code of six or more letters and digits, once) or else the published simulation key, then logged and reported by /satispay/wally-services/protocol/tests/signature (role ONLINE_SHOP or PUBLIC), never enforced. An unsigned call is Satispay's 403 (code 45).

Every status change (ACCEPTED, or CANCELED: declined in the app, cancelled by the shop, expired) is a GET of the payment's callback_url with {uuid} replaced by its id, empty-bodied, with a Digest: it carries no status, so the shop reads the payment back. A payment nobody accepts is CANCELED with expired: true at its expire_date. Satispay pays nothing out to consumers; the lab plays no other flow (MATCH_USER, PRE_AUTHORIZED, FUND_LOCK, HOTP_AUTH: 400 code 36).

Deposit amountEffect
…21The payer confirms in the app, which refuses: the payer's Satispay availability does not cover it, and the payment is CANCELED
…27The create is refused: 400 code 27 (Payment not allowed)
Refund amountEffect
…21400 code 21 (Insufficient availability): the shop's balance does not cover the refund
…27400 code 27 (Payment not allowed)

Payneteasy (GumballPay and other gateways on the platform)

Payneteasy's gateway API, on a gateway host's own paths under /payneteasy. Payneteasy is a white-label payment gateway: PSPs run it under their own name and domain, so it is played once for every gateway on the platform, and a client of any of these hosts is pointed at <lab>/payneteasy instead.

Card sales with 3-D Secure, card preauths (DMS) with their captures (whole or in part) and cancels, sales on the hosted payment form of an APM or e-wallet endpoint (Apple Pay, Google Pay, open banking, Interac, PIX, SPEI, iDEAL, BLIK, paysafecard, Skrill, Neteller), returns (reversals) whole or in part, card references, payouts to a bank account, a card or an e-wallet (ewallet_type, ewallet_wallet) and payouts by card reference, the status command (also by a request's serial number), the final redirect and the callbacks.

Credentials are ignored: v2 requests carry control, the SHA-1 of their fields and the merchant's control key, which never refuses a request here (the lab only logs whether it matches the simulation key below); v4 requests (payouts) carry OAuth 1.0a RSA-SHA256 in Authorization, whose signature it never checks (without the header the sandbox answers 403, and so does the lab). Callbacks and final redirects are signed, as Payneteasy signs them: control = SHA-1 of status + orderid + client order id + control key, with the published simulation control key B17F59B4-A7DC-41B4-8FF9-BISTROMATHIC. Merchants are told apart by the endpoint: a simulated connection numbers its endpoints <merchant>NN, NN naming the method the endpoint is configured for (…10 Card, …21 Apple Pay, …22 Google Pay, …31 Open banking, …32 Interac e-Transfer, …33 PIX, …34 SPEI, …35 iDEAL, …36 BLIK, …37 paysafecard, …38 Skrill, …39 Neteller, …40 Payouts).

Answers are Payneteasy's: form-encoded with a line feed after each value (JSON with Accept: application/vnd.pay+json); type async-response, async-form-response, status-response, validation-error, error; statuses approved, declined, filtered, error, processing, unknown; error codes from Payneteasy's list (1 malformed, 101 ORDER_NOT_FOUND, 107 WRONG_REVERSAL_AMOUNT, 501 PAYMENT_FORM_CANCELED, 1008 SECURE_3D_FAILED, 10000 declined, 10001 duplicate…). Payments above 50,000.00 and payouts above 25,000.00 are declined (modeled).

Real or modeled

Genome (LT: SEPA payouts from a business account)

Genome's SEPA Payout API, on the paths of https://api.genome.eu under /genome: payouts by SEPA credit transfer to a receiver's IBAN, their CHECK, the Query on Demand and the signed callback. It serves the real genome connector's withdrawals on pay-by-bank.

Credentials are ignored: merchant_account only names the lab's merchant; the password is never checked, and no IP address is refused (Genome's host answers 2008 to one it has not allowed). Callbacks are signed as Genome signs them: a form post with checkSum = SHA-256 of the fields sorted by name (key=value joined by |), then | and the private key, here the published simulation key bistromathic-lab-genome-callback-key.

Test values (amounts from 10.00, last two digits): …51 refused 3101 Insufficient funds; …52 DECLINED 3300; …77 FRAUDED 3200; …41 pending a minute; …11 answered 11 Internal timeout though the payout goes through; over 50,000.00 refused 2007; an IBAN ending 9901 DECLINED 3170 Invalid or closed account; an invalid IBAN 1004.

Real or modeled

Bitpace

Bitpace's merchant REST API on its own paths, under /bitpace: a client swaps https://api-sandbox.bitpace.com for this host's /bitpace. The API is real: built from Bitpace's API reference and docs (dev.bitpace.com, behind a merchant login; exported by the account holder on 2026-11-20 and kept with the connector as bitpace-openapi.json and bitpace-api-docs.md). Credentials are ignored: POST /auth/token mints a token for any merchant code and password, and the token names the merchant; without a bearer token every path answers 401 code 300, as the sandbox does. Callbacks are signed as Bitpace signs them: Signature = the hex SHA-256 of the JSON body followed by the callback secret, here the published simulation secret bistromathic-lab-bitpace-callback-secret.

Order currencies: EUR, USD, GBP, CHF, SEK, NOK, DKK, PLN, CZK, HUF, TRY, CAD, AUD, USDT, USDC. A payout to 0x000000000000000000000000000000000000dEaD is refused (code 352). Each merchant starts with 100,000 EUR, 50,000 USD and 20,000 GBP.

Coins (the lab's rates in EUR)

CodeNameNetworksEUR
BTCBitcoinBTC60000
ETHEthereumERC203000
USDTTetherERC20, TRC20, BEP200.87
USDCUSD CoinERC20, SOL0.87
LTCLitecoinLTC80
XRPRippleXRP2
TRXTRONTRX0.25

Lab rules (the amount's last two decimals)

AmountEffect
Payout …02The payment cannot be made: FAILED (the balance comes back)
Payout …09Never leaves PENDING

ISX Financial EU: Sofort Uber (open banking) and flykk (e-wallet), EUR and GBP

ISX's Sofort Uber Redirect integration and its flykk e-wallet on the paths of its gateway, under /isx: a client swaps https://pdy-gw-stage.xryma.com (or production's https://api.isxpay.com/gateway/service) for this host's /isx. It serves the real isx connector's deposits on pay-by-bank and flykk.

Credentials are ignored: From names the lab's merchant, the bearer token is never checked; a request without From or Authorization: Bearer … gets ISX's 401. Notifications are signed as ISX signs them: JSON to transaction_webhook_url with X-ISX-Checksum, the base64 HMAC-SHA256 of the raw body under the Notification Token, here the published bistromathic-lab-isx-notification-token. Final events: transaction_accepted, transaction_declined, transaction_cancelled, transaction_expired; a webhook URL with ?version= gets the sender's IBAN, name and address.

Accounts at the sandbox bank: DE84100110012612443333, DE85100110012612447777, DE97100110012612446785, GB33BUKB20201555555555. A wrong confirmation code is DECLINED (IS1301); an account other than the request's IBAN is FAILED (IS1310); Cancel is CANCELLED (IS0601); a transaction nobody finishes is EXPIRED (IS0501) after 30 minutes.

Lab amount rules

AmountEffect
…23, from 10.00REJECTED, RISK_AUTO_REJECTED (IS0623) when the payer consents: risk_auto_rejected, then transaction_declined
…33, from 10.00PENDING, AWAITING_PAYMENT_STATUS for two minutes after the code (a payment_success notification), then SUCCESS
…51, from 10.00REJECTED, INSUFFICIENT_FUNDS (51) after the confirmation code
…05, from 10.00DECLINED, BANK_FAILURE (IS1303) after the confirmation code: the bank has a technical issue

flykk

The same POST /isx/v1/authorization/ under a workflow whose name says flykk (ISX names one per product; a simulated connection sends babelpay-simulated-flykk) is a flykk payment. The flykk page's required client fields are required here: dob, mobile, billing_address_street (24 characters, no number), billing_address_city, billing_address_postal_code and billing_address_country; account_holder is ignored. Its redirect_url opens flykk's screens: the wallet's login (any email and password), then the payment from the balance (250.00 in the payment's currency), approved in the flykk app (drawn beside the page on a computer), or a top-up through Paidby's bank flow above. Notifications follow flykk's events: transaction_start's state on creation, payment_success (PENDING.RECONCILIATION_REVIEW, IS0903) when a top-up is confirmed at the bank, transaction_accepted (SUCCESS.COMPLETE) when its funds arrive 60 seconds later (or from the lab drawer), transaction_declined for REJECTED and for CANCELLED.CANCELLED (the payer declines in the app or cancels). No sender details. Amount rules: …41: REJECTED, INVALID_REFER (01) when the payment is made (approved in the app, or the top-up's confirmation code): transaction_declined; …04: A top-up's funds never arrive: payment_success (PENDING.RECONCILIATION_REVIEW), then REJECTED, RECONCILIATION_REJECTED (IS0904), transaction_declined; a top-up also takes the …05, …23 and …51 rules.

Real or modeled

Masspay v.2 (payouts to an IBAN)

ISX's payout service under /isx/masspay: a client swaps both https://auth-stage.isxtech.com (the token) and https://masspay-api-stage.isxtech.com (the API), or production's auth.isxtech.com and masspay-api.isxtech.com, for this host's /isx/masspay. It serves the real isx connector's payouts on pay-by-bank.

Every batch is approved as it arrives (ISX's auto-approval): PENDING, then PROCESSING a second later, each record PROCESSING and SUCCEEDED four seconds after that, the batch COMPLETE. Each change of the batch's state is POSTed to callback_url (the batch, its state and every record's status), without X-Content-Signature (the lab's merchant gave ISX no HMAC). Verification of Payee, the Payouts page's test values: to CY26904000030000010250100015, the name Test User matches and is paid, Tesst User (close match) or any other name (no match) waits in VOP_PENDING_APPROVAL for the approve or reject call (CANCELED).

AmountEffect
…13, from 10.00REJECTED (by an external system: compliance)
…14, from 10.00FAILED (a fatal error at ISX)
…15, from 10.00The batch waits for manual approval (PENDING_APPROVAL), nobody approves it, and it is FAILED two minutes later
…17, from 10.00PROCESSING for two minutes, then SUCCEEDED

Real (ISX's "Payouts", Sending Funds › Masspay v.2): the paths, the token request and answer, the batch's fields and limits, the answer and the Error Object, the batch and transaction statuses, VoP's calls and test values, the callback's body; the 401 envelopes (probed unauthenticated). Modeled: the approval (automatic), the timing, the amount rules, the 404 body, the repeated-reference refusal's wording, the balances.

Facilero

Facilero, a payment gateway for high-risk merchants (cards host to host, APMs and payouts behind one API), on its Card API, on the real hosts' own paths under /facilero: a client of https://sandbox.facilero.com (or https://live.facilero.com) is pointed at <lab>/facilero. Card payments with 3-D Secure, refunds partial or full, card payouts, and the checksummed callbacks. Every merchant key is a merchant of its own.

Credentials are ignored: POST /facilero/api/v1/auth {merchantKey, merchantSecret} answers {merchantKey, token: "Bearer …"} (a JWT-shaped token good for 30 days) whatever the secret; the token only names the merchant, and a call without one is refused (401). Callbacks are signed as Facilero signs them: X-Checksum, the standard Base64 of HMAC-SHA256 over transactionId|requestId|transactionStatus (a refund's with the original payment's id) under the merchant secret, the lab's being the published bistromathic-lab-simulated-flow. Each goes to its request's callbackUrl with paymentMethod=card added.

Errors are Facilero's ApiError: {httpStatus, internalCode, errorMessage, traceId, subErrors: [{objectName, fieldName, rejectedValue, message}]}.

Test values (Facilero's sandbox)

With requestThreeDSecure: true, the card number decides the authentication (Sandbox Testing): a challenge with ACCEPT and DECLINE (the shared ACS page: Confirm, or Cancel payment / Fail authentication), a frictionless pass, or (any other card) a failed one after a moment. Without it, the Tokenization page's cards decide the charge. A refund whose reason contains "reject" fails; a payout above 10,000 fails.

CardBrandOutcome
4263982640269299Visa3-D Secure challenge: Confirm (Facilero's ACCEPT) succeeds; Cancel payment or Fail authentication (its DECLINE) fails
4580271111111234VisaFrictionless 3-D Secure: after a moment the payer is back and the payment succeeds. It is not Luhn-valid: a card form may refuse it, and with "Simulated flow" use 4580271111111230
4580271111111230VisaThe lab's Luhn-valid stand-in for 4580271111111234 (frictionless): the vault reads no BIN or last four from Facilero's own card
4111111111111111VisaAny other card with 3-D Secure: after a moment the authentication fails (decline 3). Without 3-D Secure: approved
4000000000000002VisaWithout 3-D Secure: declined (decline 2, rejected by the issuer). With it: the authentication fails
5500000000000004MastercardWithout 3-D Secure: approved. With it: the authentication fails
4000000000003220VisaA 3-D Secure challenge even on an account that does not request 3-D Secure

Real or modeled

La Mecanica (api.lamecanica.io)

La Mecanica's payment API ("Seamless IQ PSPS"), on api.lamecanica.io's own paths under /lamecanica. One API key and secret per website and mode, in HTTP Basic auth; test and live are told apart by the key (test_… / live_…), not the host. Eziflo runs on it: an Eziflo account is a La Mecanica website, played here the same way.

Cards server to server (Purchase, or Authorize then Capture or Void) with 3-D Secure as nextAction RedirectToUrl (the shared issuer page) and the Authorization next action (AVS, PIN); the hosted payment page (PaymentPage) with the methods the request lists (VISA Card, APPLEPAY Apple Pay, GOOGLEPAY Google Pay, OPENBANKING Open banking, CRYPTO Crypto, INTERAC Interac e-Transfer (CAD), UPI UPI (INR), PAYTM Paytm (UPI) (INR), GPAY Google Pay (UPI) (INR), PHONEPE PhonePe (UPI) (INR), IMPS IMPS bank transfer (INR), USSD USSD (NGN)); refunds whole or in part; payouts by a transaction's reference and to a stored source, with the approval step (PendingVerification, then approve or void); the transaction reads (by id, by reference, the paginated list); the CAD balance; and webhooks.

Credentials are ignored: any API key and secret are taken, and the key names the merchant website. Without an Authorization header the API answers 401, as api.lamecanica.io does. Webhooks are signed as La Mecanica signs them: the signature header is SHA-512 hex of the raw JSON body followed by the API key the website calls with. They go to the website's webhook URL, which on La Mecanica is set in the merchant portal (Developer settings > Website settings > Webhook default URLs); here a simulated connection sets it with PUT /lamecanica-lab/portal/website-settings {"webhookUrl"}.

Cards follow the lab card core (its test cards, then the amount's cents); a card amount ending .44 asks for AVS and .45 for the card's PIN. On the hosted page an amount ending .02 declines, Apple Pay and Google Pay are Captured at once, and open banking, crypto, Interac, UPI, IMPS and USSD stay Pending 4 seconds before Captured. Refunds ending .77 decline and .05 stay Pending a few seconds. Payouts are Pending 5 seconds (an e-Transfer then Sent), ending .52 declined; .07 are held PendingVerification and approved by "Auto-approve delayed" after 10 seconds, .08 wait for /approve or /void. Payments above 50,000 and payouts above 25,000 decline maxVolumeExceeded.

Real or modeled

pay.tech

pay.tech (paytech Ltd, Limassol), the payment orchestration platform: cards and a few hundred payment methods behind one Gateway API, on the real hosts' own paths under /paytech: a client of https://engine-sandbox.pay.tech (or https://engine.pay.tech) is pointed at <lab>/paytech. Deposits on pay.tech's checkout page (cards sent server to server with 3-D Secure, open banking, e-wallets, vouchers and app payments), pre-authorizations captured or voided, refunds, card withdrawals with the merchant's approval when the shop asks for it, and the signed webhooks. Every Shop API Key is a merchant of its own.

Credentials are ignored: every call needs an Authorization: Bearer <Shop API Key> (without one: 401 "Invalid token"), and the key only names the merchant. Webhooks are signed as pay.tech signs them: the Signature header, HMAC-SHA256 of the JSON body under the Shop Signing Key, the lab's being the published bistromathic-lab-simulated-flow, written as lowercase hex. Each goes to its request's webhookUrl when the payment reaches COMPLETED, DECLINED, CANCELLED or AUTHORIZED.

Errors are pay.tech's: BadRequestError {timestamp, status: 400, error, message, errors: [{field, defaultMessage, …}], path}, UnauthorizedError and NotFoundError.

Test values (pay.tech's sandbox)

The card number decides a card's 3-D Secure and its authorization (the shared ACS page: Confirm, or Cancel payment / Fail authentication; the autosubmit cards pass on their own). Any other method is answered on the checkout page: Pay, Cancel, or Decline in the lab's drawer. A deposit of 10,000,000 or more is declined, as is a refund or withdrawal over 10,000.

CardBrandOutcome
4000000000000002Visa3-D Secure challenge: Confirm and the authorization succeeds; Cancel payment cancels it (2.00), Fail authentication declines it (5.00). Payadmit's own sandbox asks for the one-time password 12345
4242424242424242Visa3-D Secure challenge, then the authorization is declined (4.02 Do Not Honor; on a Payadmit account 4.00 Declined by Issuer)
4000000000001000Visa3-D Secure that passes on its own (autosubmit), then approved. pay.tech only: Payadmit's sandbox does not list it (approved without 3-D Secure there)
4000000000001109Visa3-D Secure that passes on its own (autosubmit), then declined. pay.tech only: approved without 3-D Secure on a Payadmit account
4000000000000408VisaNot enrolled for 3-D Secure: approved
4000000000000416VisaNot enrolled for 3-D Secure: declined
4111111111111111VisaA Payadmit account only: PARTIAL_COMPLETE (the payment stays in progress), then COMPLETED a moment later. On a pay.tech account an unlisted card: approved without 3-D Secure
5555000000000008Mastercard3-D Secure challenge, then approved (pay.tech's Mastercard cards are unlisted at Payadmit: approved without 3-D Secure there)
5555000000000115Mastercard3-D Secure challenge, then declined (pay.tech only)
5555000000001006Mastercard3-D Secure that passes on its own (autosubmit), then approved (pay.tech only)
5555000000001105Mastercard3-D Secure that passes on its own (autosubmit), then declined (pay.tech only)
5555000000007409MastercardNot enrolled for 3-D Secure: approved
5555000000000438MastercardNot enrolled for 3-D Secure: declined (pay.tech only)

Real or modeled

Payadmit (the same engine, as a Payadmit processing endpoint)

Payadmit (payadmit.com), a white-label payment gateway, runs the same protocol on a processing endpoint of each merchant's own (https://{processing-endpoint}, which its account manager gives). The lab plays one under /paytech/payadmit: a client of a Payadmit processing endpoint is pointed at <lab>/paytech/payadmit. It is the paytech connector's Payadmit tenant in the Simulated flow. Credentials are ignored and callbacks signed the same way: the Signature header, lowercase hex of HMAC-SHA256 of the exact raw body, as Payadmit documents it.

Payadmit's sandbox values: the cards 4000 0000 0000 0002 (3-D Secure, approved), 4242 4242 4242 4242 (3-D Secure, declined: 4.00 Declined by Issuer), 4000 0000 0000 0408 (no 3-D Secure, approved), 4000 0000 0000 0416 (no 3-D Secure, declined) and 4111 1111 1111 1111 (PARTIAL_COMPLETE, then COMPLETED); a refund or withdrawal over 10,000 is declined (3.05 Acquirer Limits Reached); one with cents .13 or .14 ends in ERROR (the lab's own values); MB WAY, Multibanco and open banking are approved up to 100 and declined above.

Impaya (LV): the payment window (cards, Apple Pay, Google Pay)

Impaya's payment window (its integration manual v1.4, "Payment window", and its PHP class) on the paths of its gateway, under /impaya: a client swaps https://www.impaya.online for this host's /impaya (/impaya/new/gateway/ for production, /impaya/sandbox/gateway/ for testing). It serves the real impaya connector's deposits on card, apple-pay and google-pay.

Credentials are not checked: merchant_id names the lab's merchant; a hash made with another secret is noted, never refused. Notifications are hashed as Impaya hashes them: form posts to URL_STATUS, one per status (0 when the window opens, then 2, 1, 3, 4, -1; a refund's 5 with is_reference_of), hash = md5(transaction_id . amount . currency . merchant_id . status_id . secret) with the published secret word bistromathic-lab-impaya-secret-word. With a domain registered, a payment form whose HTTP Referer is not on it is refused Invalid hash, as Impaya's production gateway does (the lab does it on both gateways).

Lab test cards

CardEffect
4111 1111 1111 1111Approved (Visa)
5555 5555 5555 4444Approved (Mastercard)
4000 0000 0000 32203-D Secure challenge, then approved
4000 0000 0000 0002Rejected: do not honor
4000 0000 0000 9995Rejected: insufficient funds
4000 0000 0000 0069Rejected: expired card
4000 0000 0000 03413-D Secure challenge, then rejected (authentication failed)

Lab amount rules (any payment system)

AmountEffect
…33Pending (2) for a minute, then successful (1)
…34Pending (2) for a minute, then rejected (3)
…44Pending (2), then expired (4) after the lab's stand-in for 36 hours (two minutes)
…51Rejected (3): insufficient funds
…02Rejected (3) by the payment system

A pending payment settles after 60 seconds; rule …44 expires (4) after 2 minutes, the lab's stand-in for Impaya's 36 hours; an opened window nobody pays from expires untried (-1) after 30 minutes. The window's lab drawer expires a payment now, or refunds a successful one as Impaya's operator (status 5).

Real or modeled

Shift4 ePower

Shift4's Payments Platform API (ePower, ex-Credorax / Finaro "Source"; spec v1.11 at epower.shift4.com), on the real hosts' own paths under /shift4-epower: a client of xts-int.credorax.net or xts.gate.credorax.net is pointed at <lab>/shift4-epower instead. Cards server to server with Shift4's own 3-D Secure, sales, authorisations with capture and void, refunds, Credit Fund Transfers (payouts) and retrievals. Every gateway merchant ID (M) is a merchant of its own. This is not Shift4's Gateway API, which the lab plays under /shift4.

Credentials are ignored: every request is form-encoded and signed with K: the SHA-256 of the parameters' values sorted by name (in each value < > " ' ( ) \ are spaces, and it is trimmed), then the merchant's signature key. The lab refuses a missing or malformed K (z2 -8), as the gateway does, but never checks its value, nor the source IP address, which the real gateway authenticates. A successful transaction's answer is signed the same way with the lab's published key bistromathic-lab-simulated-flow.

Test cards (the lab's own)

Shift4 publishes no test cards for this API: it sends them with the integration credentials. Any CVC and any future expiry; on the challenge any code confirms. A card not listed is approved after a frictionless 3-D Secure. A card arriving as vault ciphertext is recognised by BabelPay's BIN and last-four headers.

CardBrandOutcome
4111111111111111VisaApproved: 3-D Secure frictionless (Y)
4000000000003220Visa3-D Secure in full: the device fingerprint, then the issuer's challenge, then approved
4000002500003155Visa3-D Secure challenge without a device fingerprint, then approved
5200828282828210Mastercard3-D Secure device fingerprint, then frictionless and approved (a challenge when the fingerprint did not run)
4000000000000341Visa3-D Secure authentication failed: z2 -38
4000000000000002VisaDeclined: z2 05, z6 05 (do not honour)
4000000000009995VisaDeclined: z2 05, z6 51 (insufficient funds)
4000000000000069VisaDeclined: z2 05, z6 54 (expired card)
4000000000000127VisaDeclined: z2 05, z6 N7 (CVV2 failure)
4100000000000019VisaDeclined: z2 05, z6 59 (suspected fraud), Merchant Advice Code 03

Lab rules

Amount (last two digits in minor units)OnEffect
…51, from 10.00paymentdeclined: z2 05, z6 51 (insufficient funds)
…54, from 10.00paymentdeclined: z2 05, z6 54 (expired card)
…57, from 10.00payoutthe payout is declined: z2 05, z6 57 (not allowed for cardholder)
…59, from 10.00paymentdeclined: z2 05, z6 59 (suspected fraud)
…61, from 10.00payoutthe payout is declined: z2 05, z6 61 (exceeds limit)
…76, from 10.00refundthe refund is declined: z2 05, z6 12 (invalid transaction)
…97, from 10.00paymentthe answer is z2 -10 (internal server error), yet the payment went through: a retrieval shows it approved
…98, from 10.00paymentthe issuer's challenge, then authentication fails whatever is pressed (z2 -38)
…99, from 10.00paymentthe issuer's challenge, then approved
…05, from 10.00paymentdeclined: z2 05, z6 05 (do not honour)
…02, from 10.00paymentz2 2: denied by the gateway for its high fraud risk
…04, from 10.00paymentz2 04: denied by the gateway, interchange timeout

Real or modeled

Skrill (its own merchant API: Quick Checkout, send money, the Merchant Query Interface)

Skrill's own merchant API, the one a merchant with a Skrill merchant account integrates (not Paysafe's Payments API, which is /paysafe): the real Quick Checkout, Automated Payments Interface (API) and Merchant Query Interface (MQI), from Skrill's public guides (Quick Checkout 10.5 and API/MQI 3.5, May 2024) and one unauthenticated request to each of its four endpoints. A client swaps https://pay.skrill.com and https://www.skrill.com for <lab>/skrill. Modeled: Skrill's pages, the test accounts and amount rules, the limits other than send money's EUR 10,000, the exchange rates, SESSION_EXPIRED, and which MQI error an unknown transaction gets.

Credentials are ignored: any email is a merchant, and no API/MQI password, secret word or source address is checked. Status reports are signed the Skrill way with the published secret word bistromathic-lab-simulated-flow.

Skrill accounts (any password but wrong; any other email is an account with 5,000.00)

EmailEffect
player@skrill.test5,000.00 in the balance: you approve the sign-in in the Skrill app (or type its code) and pay. Processed (status 2)
lowfunds@skrill.test20.00 in the balance: a bigger payment fails after Pay now (status -2, failed_reason_code 05)
blocked@skrill.testA restricted account: the payment fails after Pay now (status -2, failed_reason_code 35); a payout to it is refused (DISALLOWED_RECIPIENT)
pending@skrill.testPays by an offline bank transfer: pending (status 0), then processed (status 2) half a minute later
newcomer@skrill.testNo Skrill account: signing in is refused; a payout to it is scheduled (status 1) until the account is opened

Other methods and lab rules

Pay.com

Pay.com (PAYCOMCY Ltd, Cyprus, and Pay.com US) on its REST API (docs.pay.com), on the real hosts' own paths under /paycom: a client of https://api.sandbox.pay.com/v1 (or https://api.pay.com/v1) is pointed at <lab>/paycom/v1 instead. Cards server to server as charges (a sale) or holds (an authorisation, captured in full or in parts, or cancelled), 3-D Secure in a linked authentication session, decrypted Apple Pay and Google Pay as network tokens, refunds, payouts to cards and to EU and UK bank accounts, webhook endpoints and signed events. Every API key is a merchant of its own.

Credentials are ignored: HTTP Basic with the API key as the password; the lab never checks a key, and never asks whether it is PCI compliant. A request with no Authorization header gets the real hosts' 401 ({"error":{"type":"invalid_request_error","message":"API Key header is not found"}}). Idempotency: a POST's idempotency-key answers its first answer for 24 hours, and a 400 idempotency_error on another endpoint or body. Webhooks are signed as Pay.com signs them: Pay-Signature: t=<Unix ms>,v1=<hex>, the HMAC-SHA256 of <t>.<raw body> under the endpoint's signing secret, which is the lab's published bistromathic-lab-simulated-flow for every endpoint.

Test cards

Pay.com's sandbox cards. A card arriving as vault ciphertext is recognised by BabelPay's BIN and last-four headers. Any other card follows the lab's standard set (the card simulator's table above). Pay.com's CVV values (777, 999) work where the CVV arrives in the clear, which through BabelPay it never does.

CardBrandOutcome
4242424242424242VisaApproved, without 3-D Secure
5555555555554444MastercardApproved, without 3-D Secure
378282246310005American ExpressApproved, without 3-D Secure
4000000000001000Visa3-D Secure without a challenge (frictionless): approved at once
5200000000001096Mastercard3-D Secure challenge, then approved
4000000000001091Visa3-D Secure challenge, then declined: insufficient funds
4000000000001109Visa3-D Secure challenge that fails whatever you answer
4000007818415900VisaDeclined: do not honour
4000005357086322VisaDeclined: insufficient funds
4000004452879855VisaDeclined: stolen card
4001888587298851VisaDeclined: expired card
5333303384453218MastercardDeclined: policy
4050453601459870VisaA partial-approval card: declined for insufficient funds here, since BabelPay asks for the whole amount
FieldValueEffect
3-D Secure challenge1234 (or any other code)Authenticated: the payment goes on
3-D Secure challenge3333Authentication denied: the payment failed (authentication_failure)
3-D Secure challengeCancel payment, or Fail authentication (lab drawer)The payment failed
3-D Secure challengeLeave it 20 minutesThe authentication session ends and the payment failed (modeled)
Payout amount5.05Fails at once
Payout amount2.02Pending, then succeeds 20 s later; the webhook tells
Payout amount3.03Pending, then fails 20 s later; the webhook tells
Payout to a bank account (IBAN)Any other amountPending, then succeeds a few seconds later
Payout IBANOne that fails its check digitsRefused: not a valid IBAN
Refund amount (lab rule, from 10.00)…54Declined
Refund amount (lab rule, from 10.00)…55Pending, then succeeds 20 s later; the webhook tells
Billing address, country USLine 1 "714 E Cocoa St", or postal code 90221Declined: do not honour (Pay.com's address check)

Lab rules

Amount (last two digits in minor units)OnEffect
…54, from 10.00RefundDeclined: 400 payment_method_error, the refund failed (do_not_honour)
…55, from 10.00Refundpending, then succeeded after 20 s (refund.succeeded tells)

Real or modeled

Latpay (LPS)

Lateral Payment Solutions' Enterprise Payment Gateway, as its Latpay-Ecomm spec documents it: card payments host to host with 3-D Secure (PAReq / PARes), the status check, and the recredit system's cancellations, refunds and OCT payouts. Every request is a form POST, every answer a query string. LPS issues its URLs per account and the spec names none, so the paths are modeled (the connector's defaults); a client points its gateway host at <lab>/latpay.

Credentials are not checked, only that they are there (9001 otherwise). Every card answer carries the published response pair Lpsid=lab, Lpspwd=bistromathic-lab-simulated-flow, every recredit answer LPSReply_pwd = the same secret. Nothing is called back: LPS's card API has no notifications.

Test values (the lab's own: LPS publishes none)

CardBrandOutcome
4111111111111111VisaEnrolled in 3-D Secure: the issuer's page. Confirm: approved (Bank_status 00); Fail authentication or Cancel payment: 5001, 3-D Secure authentication failed
5555555555554444MastercardEnrolled in 3-D Secure: the issuer's page, as above
4242424242424242VisaNot enrolled: approved at once (Bank_status 00)
5105105105105100MastercardNot enrolled: approved at once
4000000000000002VisaNot enrolled: rejected by the bank (Bank_status 05, bank_code 05 Do not honour)
4000000000009995VisaNot enrolled: rejected by the bank (bank_code 51 Insufficient funds)
4000000000000119VisaNot enrolled: a communication failure with the bank (Bank_status 90, status unknown); the status check answers approved
378282246310005American ExpressRefused before the bank: 9005, Amex card transactions not allowed

Real or modeled

Aeteredge

Aeteredge, a payment platform for cards and local methods (Europe, Latin America, wallets), which runs Corefy's Commerce API under its own name, on the real hosts' own paths: a client of https://api.aeteredge.com is pointed at <lab>/aeteredge, of its Card Gate https://checkout.aeteredge.com at <lab>/aeteredge/cardgate. Payment invoices in JSON:API, the card host to host with the issuer's 3-D Secure, every other method on the hosted page, refunds, card payout invoices, and the signed callbacks. Every account id is a merchant of its own.

Credentials are ignored: the Private API takes HTTP Basic (the account id and the API key); the account id only names the merchant, and a call without Basic credentials is refused (401, "Authentication credentials could not be found."). The Card Gate takes the invoice's flow_data.metadata.token as a Bearer token. Callbacks are signed as Aeteredge signs them: X-Signature, the Base64 of the raw SHA-1 of the API key, the body and the API key again, the lab's key being the published bistromathic-lab-simulated-flow. Each is the invoice itself, POSTed to its callback_url.

Errors are Aeteredge's: {errors: [{status, code}]}, and a validation error's {errors: {field: message}} (422).

Test values (Aeteredge's test mode)

The card number decides 3-D Secure and the outcome; a "fail" card's expiry date (MMYY) chooses the resolution from Aeteredge's table of 32, general_fatal_error for any other; a success card with 07/77 stays pending. Any other card is processed without 3-D Secure (modeled). On the hosted page, Pay or Decline.

CardBrandOutcome
5123817234060000Mastercard3-D Secure challenge: Confirm succeeds (processed); Cancel payment or Fail authentication fails it. With expiry 07/77 it stays pending (auth_3ds_required)
5519283812030000MastercardNo 3-D Secure: processed at once. With expiry 07/77 it stays pending
4412397212080000Visa3-D Secure challenge, then process_failed with the resolution its expiry date chooses (the triggers below); general_fatal_error for any other expiry
4302912837020000VisaNo 3-D Secure: process_failed at once, with the resolution its expiry date chooses

Real or modeled

Fiserv IPG (AIBMS Authipay)

Fiserv's Internet Payment Gateway on its REST API (the "Payments API Reference", ipp/payments-gateway/v2), the gateway behind AIB Merchant Services' Authipay and Fiserv's other European acquiring brands, on the real paths under /fiserv-ipg: a client of https://prod.emea.api.fiservapps.com/ipp/payments-gateway/v2 (production) or https://prod.emea.api.fiservapps.com/sandbox/ipp/payments-gateway/v2 (sandbox) is pointed at <lab>/fiserv-ipg/ipp/payments-gateway/v2 instead. Cards server to server with Fiserv's own 3-D Secure (the 3DS Method and the issuer's challenge), sales, pre-authorisations with PostAuth and void, returns, credits (payouts), decrypted Apple Pay and Google Pay, and the reads. Not Fiserv Commerce Hub, which the lab plays under /fiserv.

Credentials are ignored: every request carries Api-Key, Client-Request-Id, Timestamp and Message-Signature, the base64 HMAC-SHA256 of the key, the client request id, the timestamp and the body under the API secret. The lab answers 401 when one is missing, and never checks the key or the signature: each API key is a merchant of its own. Synchronous: a payment answers its outcome at once (200 APPROVED; 422 DECLINED with the endpoint's code; 409 FAILED, the gateway's own refusal; 400 for the request) or WAITING for 3-D Secure. No webhooks: the REST API documents none for payments; the merchant reads a payment with GET /payments/{id}.

Answers are IPG's TransactionResponse: ipgTransactionId (12 digits), orderId, transactionType, transactionStatus and transactionResult, transactionState, approvalCode (Y:…, N:<code>:…, N:-<IPG error>:…, ?:waiting 3dsecure), processor (the endpoint's responseCode), secure3dResponse.responseCode3dSecure (1 authenticated, 4 attempted, 3 failed, 6 unable), paymentMethodDetails (BIN and last four). Payments and credits above 50,000.00 (modeled) are declined 61. The …97 rule holds a payment WAITING for 30 seconds.

Test cards

CardBrandOutcome
4147463011110083Visa3-D Secure frictionless, fully authenticated (Y), then approved
5239290700000028Mastercard3-D Secure frictionless, fully authenticated (Y), then approved
4147463011110117Visa3-D Secure frictionless, attempted (A), then approved
4147463011110091Visa3-D Secure frictionless, not authenticated (N): declined by the gateway
4147463011110042Visa3-D Secure frictionless, rejected (R): declined by the gateway
4147463011110067Visa3-D Secure frictionless, unable to authenticate (U): declined by the gateway
4265880000000007VisaThe 3DS Method, then frictionless, fully authenticated (Y), then approved
5204740000002711MastercardThe 3DS Method, then frictionless, fully authenticated (Y), then approved
4265880000000015VisaThe 3DS Method, then frictionless, not authenticated (N): declined
4147463011110059VisaThe issuer's challenge: your answer decides
5239290700000002MastercardThe issuer's challenge: your answer decides
4147463011110034VisaThe issuer's challenge, rejected (R) whatever you answer: declined
4265880000000064VisaThe 3DS Method, then the issuer's challenge: your answer decides
5204740000002745MastercardThe 3DS Method, then the issuer's challenge: your answer decides
4005520000000129VisaApproved (Fiserv's general test card)
5413330089010640MastercardApproved (Fiserv's general test card)
4000000000003220VisaThe issuer's 3-D Secure challenge, then approved (the lab's card)
4000000000000002VisaDeclined: 05 Do not honour
4000000000009995VisaDeclined: 51 Insufficient funds
4000000000000069VisaDeclined: 54 Expired card
4100000000000019VisaDeclined: 59 Suspected fraud

Lab rules

Amount (last two digits in minor units)OnEffect
…52, from 10.00creditThe credit (payout) is declined by the endpoint (05)
…77, from 10.00returnThe return (refund) is declined by the endpoint (05)
…97, from 10.00paymentStays WAITING at the endpoint for 30 seconds, then the card's outcome (read it with GET /payments/{id})

Real or modeled

PayRetailers (LatAm: cards, Pix, SPEI, OXXO, cash, bank transfers, payouts)

PayRetailers: Latin America's local methods for one shop, with payouts to local bank accounts, Pix keys and Bre-B keys, under /payretailers: a client of https://api-sandbox.payretailers.com or https://api.payretailers.com swaps the host for this host's /payretailers. Credentials are ignored: the Basic auth's user name (the shop id) only names the shop.

The API is PayRetailers' own, from its public docs (https://www.payretailers.dev, with an llms.txt): the paths, the fields, the amount in hundredths, the statuses, the error envelope and codes, the 401 and 404 bodies, the notification bodies, Get Landing Info's buckets, the payout quote, the payout document types and account rules per country, the personal id patterns and the generic tags (ONLINE, CREDIT_CARD, CASH, PIX, BOLETO; SPEI, PSE, MERCADO_PAGO). Modeled: the single methods' tags (a shop learns its own from Get Payment Methods), their lifetimes, the checkout pages, the payout error envelope (the transactions' one), the payout's pace, the shop's USD settlement, the test cards and the amount rules.

CountryCurrenciesTags
ARARS, USDCREDIT_CARD ONLINE CASH MERCADO_PAGO PAGO_FACIL RAPIPAGO ALIAS KHIPU
BRBRL, USDONLINE PIX BOLETO
CLCLP, USDCREDIT_CARD ONLINE CASH SERVIPAG KHIPU
COCOP, USDCREDIT_CARD ONLINE CASH PSE EFECTY
CRCRC, USDCREDIT_CARD ONLINE CASH
ECUSDCREDIT_CARD ONLINE CASH
MXMXN, USDCREDIT_CARD ONLINE CASH SPEI OXXO SEVEN_ELEVEN
PEPEN, USDCREDIT_CARD ONLINE CASH YAPE

The payer: the method's checkout. A card is typed there (4111111111111111 APPROVED, 5555555555554444 APPROVED, 4000000000000002 REJECTED, NOT_ALLOWED, 4000000000009995 REJECTED, INSUFFICIENT_FUNDS, 4000000000000069 REJECTED, INVALID_CARD_DATA); a voucher is paid at the store (the drawer's "Pay at the store"); SPEI, the alias, Pix and Yape are paid in the app drawn beside the page on a computer (in the app itself on a phone); a bank approves on its page. ?device=mobile|desktop forces either flow.

Test values

Deposit amountEffect
…11CANCELLED once paid: THIRD_PARTY_PAYMENT_NOT_ALLOWED (refunded to the payer)
…05REJECTED once paid: INSUFFICIENT_FUNDS
…06FAILED once paid: DECLINED_BY_RISK_VALIDATOR
…07Still PENDING when paid, APPROVED a minute later
…08APPROVED with no notification: only a status read tells
…09APPROVED, then REVERSED a minute later (the bank did not transfer the funds)
…12Payable for 2 minutes only, then EXPIRED
…13FAILED at creation (the provider refused a value): a uid, and no checkout
Payout amountEffect
…05ERROR after PROCESSED: BANK_REJECTION
…06Refused at creation (HTTP 400): 0_PAYOUT_INVALID_ACCOUNT
…07Refused at creation (HTTP 400): PAYOUT_BALANCE_INSUFFICIENT
…08ACCEPTED for 5 minutes, then FINISHED

Worldline Connect (GlobalCollect)

Worldline Connect, the Server API of Worldline's GlobalCollect platform (ex Ingenico Connect, a separate API from Worldline Direct), on the real host's own paths under /worldline-connect: a client of https://api.preprod.connect.worldline-solutions.com (or https://api.connect.worldline-solutions.com) is pointed at <lab>/worldline-connect. Cards server to server with 3-D Secure 2, approvals, captures, cancellations, refunds, card payouts, the payment product lookup (Get IIN details), the searches by merchant reference, and the signed webhooks. Every merchant id (the {merchantId} in the path) is a merchant of its own.

Credentials are ignored, their shape is not: a request without an Authorization is refused before the API (403, an HTML page), one that is not GCS v1HMAC:<apiKeyId>:<signature> with a Date within 5 minutes is 403 9002 MISSING_OR_INVALID_AUTHORIZATION, as the pre-production host answers; the key and the HMAC itself are never checked. Webhooks are signed as Worldline signs them: X-GCS-Signature is the Base64 HMAC-SHA256 of the body under the webhooks secret key, X-GCS-KeyId names the key; the lab's secret is the published bistromathic-lab-simulated-flow, its key bistromathic-lab. They go to the endpoints the merchant added: the lab's stand-in for the Configuration Center is POST /worldline-connect/lab/{merchantId}/webhooks {url}, which GETs the URL with X-GCS-Webhooks-Endpoint-Verification first and keeps it active only when the answer echoes the value.

Errors are Connect's {errorId, errors: [{code, id, category, message, httpStatusCode, propertyName, requestId}]}: 20000000 PARAMETER_NOT_FOUND_IN_REQUEST and 21000220 FIELD_LENGTH_INVALID (400), 300240 (404, no such payment), 410110 (402, not pending approval), 400210 (402, not cancellable), 300450 (400, nothing refundable yet). X-GCS-Idempotence-Key on Create payment, refund and payout replays the first answer for 24 hours, with X-GCS-Idempotence-Request-Timestamp. What the platform answers as requested settles 20 seconds later; an abandoned challenge stays REDIRECTED.

Test cards (Worldline Connect's pre-production)

Any valid expiry and any CVV. Every 3-D Secure 2 test card of Visa, Mastercard and American Express works; any other card follows the lab's card table and amount rules above.

CardBrandOutcome
4012000033330026VisaFrictionless 3-D Secure: authorised (the GlobalCollect negative amounts decline it, see below)
4567350000427977VisaFrictionless 3-D Secure with the issuer's method URL: authorised
4012007153923001Visa3-D Secure challenge: confirm it and the payment is authorised
4012007161850527Visa3-D Secure challenge that fails: rejected (401010)
4012001775445550VisaFrictionless authentication fails: rejected at once (401010)
5200000091444270MastercardFrictionless 3-D Secure: authorised
5200003143732874Mastercard3-D Secure challenge: authorised
5200006177946005Mastercard3-D Secure challenge that fails: rejected (401010)
371449635398431American ExpressFrictionless 3-D Secure: authorised
5424180279791732MastercardNo 3-D Secure: authorised (the GlobalCollect negative amounts decline it)
4457010000000009VisaDeclined: unable to authorise (430424)
5424180279791740MastercardDeclined: not authorised (430285)
FieldValueEffect
Amount, card 401200003333002652.00 USDDeclined: not authorised (430285)
Amount, card 401200003333002641.00 USDDeclined: invalid card number (430330)
Amount, card 401200003333002661.00 CADDeclined: card expired (430306)
Amount, card 401200003333002621.00 USDDeclined: referred (430409)
Amount, card 542418027979173229.97 USDDeclined: not authorised (430285)
Billing cityCalaisThe fraud screening challenges the payment: PENDING_FRAUD_APPROVAL, until someone reviews it in the Payment Console
Billing cityDenverThe fraud screening denies the payment: REJECTED (430450)
Refund amount (EUR)13.03The refund is requested, then rejected
3-D Secure challengeFail authentication or CancelRejected: authentication failed (401010) or cancelled at the bank (400700), whatever the card
Any other cardthe lab's standard test cardsThe lab's card table decides (BIN and last four), then the amount's last two digits, as the lab's landing page lists; a payout to a declining card is refused

Real or modeled

Praxis (the Cashier, the agent API, refunds and card payouts)

Praxis Tech's API 1.3 on its own paths, under /praxis: a client swaps https://pci-gw-test.praxispay.com (or https://gw.praxisgate.com) for this host's /praxis. Praxis is an orchestrator: the merchant's PSPs sit behind it as gateways. The API is real, from Praxis's public docs (docs.praxis.tech, the OpenAPI of each method) and one unauthenticated request to each path on its sandbox: the fields, the {status, description} answers (status 0 is success; 400 a request Praxis refuses, 401 an unknown merchant), the statuses, the 60-second timestamp rule and the test values. Modeled: the Cashier's screens, the application's gateways, the tokens, the answer of find-order for a session with no transaction yet, where a refund is notified, and the status codes beyond the docs' examples. Credentials are ignored: no gt-authentication is checked beyond its presence.

Test Card Processor: the CVV decides (an AMEX card adds 1 as the fourth digit)

CVVEffect
3003-D Secure: the issuer's page, then approved (or declined)
3333-D Secure: the issuer's page, then approved (or declined)
353Approved (partial approval: the lab approves the whole amount)
444Error (server error)
555Authorized (standard authorization; a sale is approved)
568Approved (an authorization: authorized)
588With amount 713.00: pending, then declined, Transaction timed out
801Declined: insufficient funds (with amount 20.20 approved; with amount 30.00 pending, then approved)
900Declined: card has been lost
901Declined: card has been stolen
902Declined due to fraud
903Declined: do not honor
904Declined (general decline)
905Declined (non-3D decline)
000Declined (standard decline)
any otherDeclined

Amounts

AmountEffect
Test E-Wallet sale 487.00Declined: insufficient funds
Test E-Wallet sale 999.00Declined (standard decline)
Payout 47.00Declined
Payout 48.00Error
Payout 332.00Pending, then rejected on a status check
Payout 333.00Pending, then approved on a status check
Refund 47.00Declined
Refund 48.00Error
Refund 332.00Pending (the lab rejects it later)
Refund 333.00Pending (the lab approves it later)
Capture 47.00Declined
Capture 48.00Error

Worldpay US (cnpAPI)

Worldpay's eCommerce platform in the US (ex Vantiv, ex Litle) on its cnpAPI XML, Online (schema 12.51), on the real path under /worldpay-cnp: a client of https://payments.vantivprelive.com/vap/communicator/online (prelive), payments.vantivpostlive.com, payments.vantivcnp.com or Worldpay's public sandbox (https://www.testvantivcnp.com/sandbox/communicator/online) is pointed at <lab>/worldpay-cnp/vap/communicator/online instead. Card sales and authorizations, captures, authorization reversals, credits (refunds), voids, FastAccess Funding pushes to a debit card (payouts) and status queries. Not Worldpay WPG, which the lab plays under /worldpay.

Credentials are ignored: every message is one cnpOnlineRequest (namespace http://www.vantivcnp.com/schema) with the merchantId attribute and authentication (user, password). The lab refuses a message without them as Worldpay does ("Invalid credentials", response 1), and never checks their values: each merchant id is a merchant of its own. Synchronous: every answer is HTTP 200 with a cnpOnlineResponse; its response attribute is 0 (Valid Format) with the transaction's answer inside, or 1 (the schema's words: an element missing or out of order, a value the schema refuses), 2 (not XML) or 5 (over 20,000 characters), and nothing is processed. No notifications and no payer pages: the cnpAPI runs no 3-D Secure of its own; the merchant's result rides on the payment.

Answers carry cnpTxnId (18 digits), orderId, the three-digit response and its message, responseTime, postDate, authCode, fraudResult (avsResult, cardValidationResult, authenticationResult: 2 for a CAVV sent with 3dsAuthenticated, 3 with 3dsAttempted, 0 without one) and networkTransactionId. Payments and payouts above 50,000.00 (modeled) are declined 127.

Test cards

CardBrandOutcome
4457010000000009VisaApproved (Worldpay's order 1), AVS 01, CVV M
5112010000000003MastercardApproved (order 2)
6011010000000003DiscoverApproved (order 3)
375001000000005American ExpressApproved (order 4)
4100200300011001VisaApproved (order 5)
4457010100000008VisaDeclined: 110 Insufficient Funds (order 6)
5112010100000002MastercardDeclined: 301 Invalid Account Number (order 7)
6011010100000002DiscoverDeclined: 123 Call Discover (order 8)
375001010000003American ExpressDeclined: 303 Pick Up Card (order 9)
4100200300000004Visa3-D Secure result 0: CAVV not verified (3DS1)
4100200300000012Visa3-D Secure result 1: CAVV failed verification (3DS2)
4100200300000103Visa3-D Secure result 2: CAVV passed verification (3DS3)
5112010200000001Mastercard3-D Secure result 0, Mastercard (3DS15)
4005554444444403VisaPayout: FastAccess Funding: approved
4100202812244724VisaPayout: FastAccess Funding: approved
5413330089020011MastercardPayout: FastAccess Funding: approved (Mastercard: the expDate is required)
4111111111111111VisaApproved (the lab's card)
4000000000000002VisaDeclined: 349 Do Not Honor
4000000000009995VisaDeclined: 110 Insufficient Funds
4000000000000069VisaDeclined: 305 Expired Card
4100000000000019VisaDeclined: 555 Suspected Fraud

Lab rules

Amount (last two digits in minor units)OnEffect
…52, from 10.00payoutThe FastAccess Funding is declined 301 Invalid Account Number (nothing pushed)
…53, from 10.00payoutThe FastAccess Funding is declined 349 Do Not Honor (a decline BabelPay leaves undecided)
…77, from 10.00refundThe refund is rejected by the processing network (273)
…78, from 10.00captureThe capture is refused: 361 Authorization no longer available
3.00 exactlypayout990 Funding instruction held (Worldpay's own FastAccess test value)

Real or modeled

Paysecure

Paysecure (Paysecure Technology Ltd), the payment orchestration platform: one Merchant API for cards and some 250 providers' local methods, on the real host's own paths under /paysecure: a client of https://api.paysecure.net/api/v1 is pointed at <lab>/paysecure/api/v1. Purchases on Paysecure's cashier for UPI, bank transfers, PIX, SPEI, PayID, Interac, open banking, PayPal, Skrill, Apple Pay, Google Pay, Neosurf and crypto; cards server to server with the issuer's 3-D Secure behind the callback URL; holds captured or cancelled; refunds partial or full; card payouts; the transaction report; and the signed webhooks. Every API key is a merchant of its own.

Credentials are ignored: every call needs an Authorization: Bearer <API key> (without one: 400 "Authorization header missing"), and the key only names the merchant; any brand_id is taken. Webhooks are signed as Paysecure signs them: paysecure-sign, the Base64 SHA256withRSA signature of {purchaseId}|{STATUS}|{brand_id} (a payout's: {payoutId}|{status}) with the lab's published key pair (its public half in src/paysecure/paysecure-public-key.ts), to each purchase's success_callback (a failure's to failure_callback).

Errors are Paysecure's envelope, {message, code}, with its verbatim messages ("some Mandatory Parameter are missing", "PurchaseId Not found.", "Only Purchases with `status == (paid)` can be refunded.", "Refund amount exceeds refundable amount", …).

Test values (Paysecure's sandbox)

The card number alone decides a card's outcome; a 3D card's challenge OTP is 123456. Any other method's cashier is answered Pay, Cancel, or Decline in the lab's drawer.

CardBrandOutcome
4878397953290146Visa3-D Secure challenge (OTP 123456), then paid
4079722589318630Visa2D (no authentication), paid
4195258724913240Visa3-D Secure challenge, authentication failed: error
4984823599573265Visa3-D Secure, then declined: Insufficient fund
4618889598319798Visa3-D Secure, then declined by the issuer (Issuing bank - do not honer)
4401279985739470Visa2D, declined by the issuer
4710793097358785Visa2D, pending execution: stays payment_in_process (BabelPay keeps it open)
4945208335596614Visa2D, transaction expired
4405935956954713Visa2D, paid, but a refund of it fails
5141922635866282Mastercard3-D Secure challenge (OTP 123456), then paid
5116213113429327Mastercard2D (no authentication), paid
5198134892284199Mastercard2D, declined by the issuer
5143312606271514Mastercard2D, declined: Insufficient fund
5151735930865446Mastercard3-D Secure, then declined: Cvv_error

Real or modeled

ePay (DK): payment sessions, the payment window, captures, refunds, voids, payouts

ePay's Payments API (docs.epay.eu, OpenAPI 3.0.3; the new platform, not the classic docs.epay.dk) under /epay-dk: a client swaps https://payments.epay.eu for this host's /epay-dk. It serves the real epay-dk connector: cards (Dankort, Visa, Mastercard), MobilePay / Vipps, Swish, Apple Pay and Google Pay in the payment window.

ePay's test cards (expiry 01/35, CVC 123)

CardBrandScenario
5019 0005 0000 0003DankortApproved
4454 0000 0000 0003VisaApproved
4571 7102 0000 0003Visa3DS step-up
4450 0000 0000 0072Visa3DS manual challenge
4452 0000 0000 0013Visa3DS frictionless rejection
4452 1000 0000 0003VisaFailed: CIT authorization
4571 7201 0000 0003VisaFailed: insufficient funds
4450 2000 0000 0003VisaFailed: capture
4458 3000 0000 0003VisaFailed: MIT authorization
4456 4000 0000 0003VisaFailed: authorization void
4453 5000 0000 0003VisaFailed: refund
4451 6000 0000 0003VisaFailed: payout
5451 0000 0000 0003MastercardApproved
5170 1602 0000 0003Mastercard3DS step-up
5457 0000 0000 0072Mastercard3DS manual challenge
5459 0000 0000 0013Mastercard3DS frictionless rejection
5459 1000 0000 0003MastercardFailed: CIT authorization
5170 1701 0000 0003MastercardFailed: insufficient funds
5457 2000 0000 0003MastercardFailed: capture
5455 3000 0000 0003MastercardFailed: MIT authorization
5453 4000 0000 0003MastercardFailed: authorization void
5450 5000 0000 0003MastercardFailed: refund
5458 6000 0000 0003MastercardFailed: payout

Lab amount rules (apps, wallets, other cards)

AmountEffect
…12The session expires 2 minutes after creation (EXPIRED, notified)
…05FAILED: INSUFFICIENT_FUNDS
…06FAILED: DECLINED_BY_ISSUER_OR_SCHEME
…08SUCCESS without a notification: only a read tells

Real or modeled

Adumo Online

The South African card gateway (ex MyGate / Wirecard South Africa, Lesaka since 2024) on its Enterprise API, as developers.adumoonline.com and its Postman collection document it: OAuth client credentials, then initiate, 3-D Secure on Adumo's own page, authorise, settle, reverse and refund. A client points https://staging-apiv3.adumoonline.com (or apiv3) at <lab>/adumo. The API is real: its paths, bodies, answers and error words are the ones Adumo's QA host gave on 2026-12-02.

Credentials are not checked: any client id and secret get a token, and any Bearer token is accepted (a call without one is refused 401). Webhooks (Adumo's JSON with a JWT signed HS256, here with the published secret bistromathic-lab-simulated-flow) go to the URL a simulated connection names in X-Bistromathic-Webhook-Url on its initiate call: on Adumo, support sets the endpoint per application.

Test values (Adumo's test cards)

CardBrandOutcome
4000000000001091Visa3-D Secure challenge: Confirm authenticates, then approved; Fail does not (3-D Secure failed)
5200000000001096Mastercard3-D Secure challenge, as above
4000000000001109Visa3-D Secure challenge that fails (TDS_AUTH_FAILED)
4000000000001000VisaFrictionless 3-D Secure: authenticated without a page, then approved
4000000000001018VisaFrictionless 3-D Secure that fails
4111111111111111VisaNo 3-D Secure: approved
5100080000000000MastercardNo 3-D Secure: approved
4242424242424242VisaNo 3-D Secure: declined, 43 Stolen card, pick-up
5404000000000001MastercardNo 3-D Secure: declined, 05 Do not honour

Real or modeled

PayU Latam

PayU Latam (owned by Rapyd since 2025; not PayU Poland, which is /payu): its Payments API, Queries API and WebCheckout under /payu-latam. A client swaps https://sandbox.api.payulatam.com (and https://sandbox.checkout.payulatam.com) for this host's /payu-latam. The API is real (developers.payulatam.com, public): one endpoint per API taking JSON commands, the request and response fields, the states and response codes, the order signature, the confirmation and response URL parameters and their signatures, the sandbox's test cards, holder names, 3-D Secure cards, Yape cases and PSE banks. Modeled: the payer's pages, the order and receipt URLs, the error messages beyond the documented ones, query answers for an unknown order (payload: null), refund review times, and the lab's holder names FUNDS, FRAUD and PENDING. Credentials are ignored: merchant.apiLogin names the merchant; nothing is verified. Sandbox accounts: AR 512322 (ARS), BR 512327 (BRL), CL 512325 (CLP), CO 512321 (COP), MX 512324 (MXN), PA 512326 (USD), PE 512323 (PEN).

Methods

paymentMethodNameKindCountries
VISAVISAcardAR, BR, CL, CO, MX, PA, PE
VISA_DEBITVISA DébitocardAR, CL, CO, PE
MASTERCARDMastercardcardAR, BR, CL, CO, MX, PA, PE
MASTERCARD_DEBITMastercard DébitocardCL, PE
AMEXAmerican ExpresscardAR, BR, CL, CO, MX, PE
DINERSDinerscardAR, BR, CO, PE
ELOElocardBR
HIPERCARDHipercardcardBR
NARANJANaranjacardAR
CABALCabalcardAR
ARGENCARDArgencardcardAR
CENCOSUDCencosudcardAR
SHOPPINGShoppingcardAR
CODENSACodensacardCO
OXXOOXXOcashMX
SEVEN_ELEVEN7-ElevencashMX
OTHERS_CASH_MXFarmacias Benavides / del AhorrocashMX
BANK_REFERENCEDReferencia bancariacashMX, CO
SPEISPEIspeiMX
BOLETO_BANCARIOBoleto BancáriocashBR
PIXPixpixBR
EFECTYEfectycashCO
PSEPSEpseCO
PAGOFACILPago FácilcashAR
RAPIPAGORapipagocashAR
COBRO_EXPRESSCobro ExpresscashAR
PAGOEFECTIVOPagoEfectivocashPE
YAPEYapeyapePE

PayU's sandbox cards

The holder name decides: APPROVED or REJECTED (lab: FUNDS, FRAUD, PENDING); else a clear CVV 777 / 666; else the expiry month (under 6 approved, over 6 declined).

CardBrandScenario
4268070000000002VISAVISA credit (Mexico)
4415490000000004VISAVISA debit (Mexico)
5579070000000003MASTERCARDMastercard credit (Mexico)
5256780000000007MASTERCARDMastercard debit (Mexico)
376675000000005AMEXAmerican Express (Mexico)
4097440000000004VISAVISA credit (Colombia)
4111111111111111VISAVISA credit (Colombia)
4509420000000008VISA_DEBITVISA debit (Colombia)
5471300000000003MASTERCARDMastercard credit (Colombia)
377813000000001AMEXAmerican Express (Colombia)
36032400000007DINERSDiners (Colombia)
5907120000000009CODENSACodensa (Colombia)
4422120000000008VISAVISA credit (Brazil)
5123740000000002MASTERCARDMastercard credit (Brazil)
5067310000000002ELOElo (Brazil)
6062825624254001HIPERCARDHipercard (Brazil)
376611000000000AMEXAmerican Express (Brazil)
4850110000000000VISAVISA credit (Argentina)
4517730000000000VISA_DEBITVISA debit (Argentina)
5399090000000009MASTERCARDMastercard credit (Argentina)
5895620000000002NARANJANaranja (Argentina)
5896570000000008CABALCabal (Argentina)
4761340000000035VISAVISA credit (Chile): VISA_GLOBAL_3, CVV 846, 12/27
5457210001000019MASTERCARDMastercard credit (Chile): BKN_DMC_001, CVV 300, 12/25
4723030000000005VISAVISA credit (Panama)
5455040000000005MASTERCARDMastercard credit (Panama)
4907840000000005VISAVISA credit (Peru)
4557880000000004VISA_DEBITVISA debit (Peru)
5491610000000001MASTERCARDMastercard credit (Peru)
5236930000000003MASTERCARD_DEBITMastercard debit (Peru)
5436062405627681MASTERCARD3DS challenge required
4012001037141120VISA3DS challenge required
4245757666349685VISA3DS challenge required
5150030090350186MASTERCARD3DS successful without friction
5521455186577727MASTERCARDCard not registered for 3DS

Yape's sandbox cases

PhoneOTPResult
969929157557454APPROVED APPROVED
969929157000000DECLINED INVALID_TRANSACTION
999999999284563DECLINED NOT_ACCEPTED_TRANSACTION
993355231784592DECLINED PAYMENT_NETWORK_REJECTED
969929157285743DECLINED EXCEEDED_AMOUNT
991055199378458DECLINED INVALID_TRANSACTION
995555126678452DECLINED INVALID_TRANSACTION
969929158528475DECLINED REPEAT_TRANSACTION

Klix by Citadele (the hosted payment page, holds and refunds)

Klix's public REST API on its own paths, under /klix: a client swaps https://portal.klix.app for this host's /klix. The API is real: from Klix's OpenAPI (portal.klix.app/api/schema/v1/) and a small run against the test account Klix publishes on developers.klix.app (the answers, refusals, statuses, attempts and the refund Payment as they came back). Modeled: the hosted page's screens, the amounts that decline or delay (Klix's test account pays everything) and the minute a pending operation takes. Credentials are ignored: any Bearer key is a merchant.

Cards and amounts

Klix's test cards 4505131234000029 (VISA, CVV 123, 06/28), 5191631234000024 (MASTERCARD, CVV 583, 06/28) go to 3-D Secure, then pay; any other card number is declined (do_not_honour). The amount's cents decide the rest:

AmountEffect
Payment …,51Declined: insufficient_funds
Payment …,52Declined: expired_card
Payment …,53Declined: suspected_fraud
Payment …,54pending_execute, then paid (or hold) a minute later
Payment …,55pending_execute, then failed a minute later (timeout_acquirer_status_check)
Refund …,61400 purchase_refund_error (exceeded_acquirer_refund_amount in the attempts)
Refund …,62pending_refund, then refunded a minute later (payment.refunded)
Capture …,71400 purchase_capture_error; the purchase stays on hold
Capture …,72pending_capture, then paid a minute later

Paylands (PaynoPain): payment orders, the payment page, Bizum, refunds, confirmations, payouts

Paylands' API (docs.paylands.com, the OpenAPI in its API reference) under /paylands: a client swaps https://api.paylands.com for this host's /paylands (sandbox /v1/sandbox, production /v1). It serves the real paylands connector: cards with 3-D Secure on the payment page, Bizum by redirection and by push, and MBWAY (MB WAY), MULTIBANCO (Multibanco), PAYPAL (PayPal), PIX (Pix), SPEI (SPEI), PSE (PSE), EFECTY (Efecty), BOLETO (Boleto) on the page.

Paylands' sandbox cards (CVV 123, expiry 12/34)

CardScenario
4761 7390 0009 10113DS payment OK (full flow)
5150 7960 2423 81643DS payment KO
5590 3375 3671 8399Non-3DS / frictionless payment OK
5223 7981 9365 9108Non-3DS payment + SCA (soft decline, then 3DS)
5485 0099 4920 1879Non-3DS payment KO
5584 5189 3301 0195Frictionless KO
5123 4500 0000 0008Frictionless KO, MAC: do not retry
5111 1111 1111 1118Frictionless KO, MAC: retry later
5503 4607 0860 1080Frictionless KO (MSP): authenticated, then refused
4548 8172 1249 3017Only Challenge OK
4916 3939 2861 5990Only Challenge KO (Challenge)
5404 1544 4485 9348Only Challenge KO (MSP)
4761 7390 0101 0010Fingerprinting OK
4414 0957 0703 0385Fingerprinting KO
4000 0584 0000 0071Partial Authorization OK
4242 4242 4242 4242Approved (lab); the payout OK card

Any other valid card is approved without a challenge (the lab's rule). A payout to 4242 4242 4242 4242 succeeds; to any other card it is refused. Bizum: 700000000 approves, 600000000 and 900000000 decline (0.51 € to 15.00 €); by push to +34 700000000, under 5 € approves, 5 € to 10 € declines, above 10 € falls back to the page. Other methods: approved on the page, an amount ending in .05 refused.

Real or modeled

Monri WebPay (HR, BA, RS): the payment form, captures, refunds, voids

Monri Payments' WebPay (docs.monri.com) under /monri: a client swaps https://ipgtest.monri.com for this host's /monri. It serves the real monri connector: cards typed on Monri's payment form, with 3-D Secure.

The lab's key for every digest is bistromathic-lab-simulated-flow.

Monri's test cards (any CVV, any future expiry)

CardBrandScenario
4341 7920 0000 0044Visa3-D Secure challenge, then approved
4058 4000 0000 0005VisaApproved, no 3-D Secure
5464 0000 0000 0008MastercardApproved, no 3-D Secure
6769 0642 1999 2611Maestro3-D Secure challenge, then approved
4111 1111 1111 1111VisaApproved, no 3-D Secure

Amount rules

Amount (minor units)Effect
…16Declined: 1016 Not sufficient funds
…54Declined: 1054 Transaction declined by issuer
…77Approved; its captures, refunds and voids are declined (1050)
10000Declined: general decline, 1050 (Monri's own test amount, 100.00)
…08Approved, but no callback: only the order read tells

Real or modeled

Paramount Commerce (INTERAC, Instant Bank Transfer; Canada)

Paramount Commerce's two APIs under /paramount, on the real paths of its public documentation (docs.paramountcommerce.com): a Paramount client swaps https://staging.paydirectnow.com, https://api-mint.paramountcommerce.com and https://auth-mint.paramountcommerce.com for this host's /paramount (the three hosts' paths do not overlap). The payer's screens (PayDirect's and Instant Bank Transfer's), the banks and the Instant Bank Transfer test values are the lab's. Credentials are ignored, except INTERAC's merchant key: the lab decrypts details with its published key A4BAC6612339E281423A005A8CC7A1DF95C31F320879B3AEA21F13D5002C0183 (merchant LABPAYD1, processing password bistromathic-lab, OAuth client bistromathic-lab-ibt).

Test values (INTERAC's are Paramount's Sandbox Testing page's; Instant Bank Transfer's are the lab's): see "How to test" on any payer page.

Bitolo (MX: SPEI, OXXO, SPEI payouts; AR: bank transfer)

Bitolo's API v3.0 under /bitolo: a client of https://staging-api.bitolo.io or https://api.bitolo.io swaps the host for this host's /bitolo. Credentials are ignored: the apikey header only names the merchant (the signature and timestamp headers must be there, as on the real hosts).

The API is Bitolo's own, from its public docs (https://bitolo.readme.io, with an llms.txt): the paths, the headers, the request and answer fields, the statuses, the event codes, the envelopes, the notification bodies and their hash (SHA-512 of the sorted values and the secret, upper-case hex), the PENDING callback at creation, the sample bank codes and the documented limits. Modeled: the hosted pages, the pay-ins' lifetimes, the payouts' pace, the rest of the bank code list, the account ids and balances, the CLABE check and the amount rules. The lab hashes its callbacks with the published simulation secret.

MethodCurrencyAmountRequired
SPEIMXN10 to 10,000order_id amount first_name last_name email notification_url redirect_url rfc curp
OXXOMXN10 to 10,000order_id amount first_name last_name notification_url redirect_url
Transferencia bancariaARS1,000 to 5,000,000order_id amount tax_id first_name last_name email notification_url redirect_url

The payer: the hosted page. SPEI's CLABE and the ARS CVU are paid in the bank app drawn beside the page on a computer (in the app itself on a phone); an OXXO voucher is paid at the store (the drawer's "Pay at the store"). ?device=mobile|desktop forces either flow.

Test values

Pay-in amountEffect
…11BLOCKED once paid: BT1013 the user is blocked by the bank
…12Payable for 2 minutes only, then TIMEDOUT (BD1003)
…13Refused at creation: 500 BT1005 Deposit Initiation Failed, Bank Error (nothing created)
…05FAILED once paid: BT1004 Error processing payment
…06SUCCESS with BD1002 (amount mismatch): the payer sent 90 %, amount_net says so
…07Still PENDING when paid, SUCCESS a minute later
…08SUCCESS with no callback: only the status read tells
…09REFUND once paid: BD1009 refunded due to payer identity mismatch
Payout amountEffect
…05FAILED after PROCESSING: BT1024 Account does not exist
…06FAILED while PENDING: BW1001 Insufficient account wallet balance
…07Refused at creation: 500 BT1005 Withdraw Initiation Failed, Bank Error (nothing created)
…08PROCESSING for 5 minutes, then SUCCESS
…09Created, but the answer is lost (504 with no body): only the status read finds it

CentroBill

CentroBill's Payment API (readme.centrobill.com, its OpenAPI 1.8.1), on the real hosts' own paths under /centrobill: a client of https://api-stage.centrobill.com (or https://api.centrobill.com) is pointed at <lab>/centrobill instead. Server-to-server payments by card (CentroBill's 3-D Secure behind a redirect), Apple Pay in decoded mode and Pix on CentroBill's page, credits (refunds), payouts to cards and by SEPA, consumers, and the IPNs with their delivery log. Every API key is a merchant of its own.

Credentials are ignored: the key in Authorization (no Bearer); the lab never checks it. A request with no Authorization header gets the real hosts' 401 ({"message":"Authorization header is missing."}). X-Request-ID: a POST's id answers its first answer for five minutes. IPNs are signed as CentroBill signs them: x-signature, the hex SHA-256 of the s code, the transaction id and the status, with the lab's published s code bistromathic-lab-simulated-flow.

Test cards

CentroBill's own test cards are made by each merchant on its staging host; the lab plays its standard ones. A card arriving as vault ciphertext is recognised by BabelPay's BIN and last-four headers; any card not listed follows the lab's amount rules (the card simulator's table above). paymentSource.emulateCode, CentroBill's own trigger, declines with the code it names.

CardBrandOutcome
4242424242424242VisaApproved, without 3-D Secure
5555555555554444MastercardApproved, without 3-D Secure
4000000000003220Visa3-D Secure challenge, then approved
5200828282828210Mastercard3-D Secure challenge, then approved
4000000000000341Visa3-D Secure challenge that fails (5220)
4000000000000002VisaDeclined: 5005 Do not honor
4000000000009995VisaDeclined: 5051 Insufficient funds
4000000000000069VisaDeclined: 5054 Expired card
4100000000000019VisaDeclined: 5059 Suspected fraud
4000000000000119VisaCentroBill fails the request: HTTP 500
FieldValueEffect
3-D Secure challengeAny code, or AuthenticateAuthenticated: the payment is approved (unless the card says otherwise)
3-D Secure challengeFail authentication (lab drawer)Declined: 5220 Authentication failed by card issuer
3-D Secure challengeCancel paymentDeclined: 5222 Payment attempt failed or canceled
3-D Secure challengeLeave it 15 minutesDeclined: 5228 Verification not completed, timeout (modeled)
Card amount (any card not listed)…02 / …05 / …51 (last two digits)Declined: 5005 / 5051 / 5051
Card amount (any card not listed)…993-D Secure challenge, then approved
Connection's 3-D Secure offA 3-D Secure cardDeclined: 5227 3D Secure SCA required
Pix pagePay with the bank appApproved; the payer is sent back to the shop
Pix pageCancel, or leave it 20 minutesDeclined: 5222, or 5099 Expired payment (modeled)
Refund amount (lab rule, from 10.00)…54Declined: 5005
Refund amount (lab rule, from 10.00)…55Pending, then succeeds 20 s later (IPN)
Payout amount (lab rule, from 10.00)…61Declined: 5061 Withdrawal amount limit exceeded
Payout amount (lab rule, from 10.00)…62 / …63Pending, then paid / failed 20 s later (IPN)
SEPA payout IBANOne that fails its check digitsRefused: HTTP 400

Lab rules

Amount (last two digits in minor units)OnEffect
…54, from 10.00a refunddeclined (5005 Do not honor)
…55, from 10.00a refundpending, then succeeds 20 s later (IPN)
…61, from 10.00a payoutdeclined (5061 Withdrawal amount limit exceeded)
…62, from 10.00a payoutpending, then succeeds 20 s later (IPN)
…63, from 10.00a payoutpending, then fails 20 s later (5051, IPN)

Real or modeled