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.
POST /v1/auth — reserve funds (no settlement)POST /v1/debit — auth + capture in one stepPOST /v1/capture — capture an existing authPOST /v1/refund — refund a captured tx (full or partial)POST /v1/void — void an unsettled authPOST /v1/cancel — cancel a captured txPOST /v1/status — look up a tx by id or merchantRefAll API requests must include the shared secret header X-Sim-Key.
ev:…) matches by the card.bin and card.last4 sent beside it.approved.| PAN | Status | 3DS | Description |
|---|---|---|---|
4242424242424242 | approved | Approved (Visa, no 3DS) | |
4111111111111111 | approved | Approved (Visa, no 3DS) | |
5555555555554444 | approved | Approved (Mastercard, no 3DS) | |
378282246310005 | approved | Approved (Amex, no 3DS) | |
4000000000003220 | approved | yes | Approved after 3DS challenge |
4000002500003155 | approved | yes | Approved after 3DS challenge (Visa) |
5200828282828210 | approved | yes | Approved after 3DS challenge (Mastercard) |
4000000000000002 | do_not_honor | Do not honor | |
4000000000009995 | insufficient_funds | Insufficient funds | |
4000000000000069 | expired_card | Expired card | |
4000000000000127 | invalid_cvv | Invalid CVV | |
4000000000000119 | psp_malfunction | Acquirer system malfunction | |
4100000000000019 | suspected_fraud | Suspected fraud | |
4000000000000259 | issuer_err | Issuer or switch is inoperative | |
4000000000000341 | 3ds_auth_failure | yes | 3DS authentication failure |
4000000000000051 | psp_timeout | Acquirer timeout |
| Amount ends in | Status | 3DS | Description |
|---|---|---|---|
| …12 | invalid_amt | Invalid amount | |
| …13 | invalid_amt | Invalid amount | |
| …14 | invalid_account | Invalid card number | |
| …33 | expired_card | Expired card | |
| …51 | insufficient_funds | Insufficient funds | |
| …54 | expired_card | Expired card | |
| …59 | suspected_fraud | Suspected fraud | |
| …65 | do_not_honor | Exceeds withdrawal frequency | |
| …79 | invalid_cvv | Invalid CVV | |
| …91 | issuer_err | Issuer unavailable | |
| …96 | psp_malfunction | Acquirer system malfunction | |
| …98 | 3ds_auth_failure | yes | 3DS challenge, then authentication failure (amount-rule: ends in 98) |
| …99 | approved | yes | Approved after 3DS challenge (amount-rule: ends in 99) |
| …00 | approved | Approved (amount-rule: ends in 00) | |
| …01 | do_not_honor | Refer to card issuer | |
| …02 | do_not_honor | Do not honor | |
| …05 | insufficient_funds | Insufficient funds |
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).
PUT /swish-cpcapi/api/v2/paymentrequests/{instructionUUID}, POST /swish-cpcapi/api/v1/paymentrequests — 201 with Location, plus PaymentRequestToken when there is no payerAlias (m-commerce)GET and PATCH (cancel, application/json-patch+json) /swish-cpcapi/api/v1/paymentrequests/{id}PUT /swish-cpcapi/api/v2/refunds/{instructionUUID}, POST /swish-cpcapi/api/v1/refunds, GET /swish-cpcapi/api/v1/refunds/{id} — VALIDATED, DEBITED after 2 s, PAID after 4 sPOST /qrg-swish/api/v1/commerce — the QR code for a token (format: "svg" only)/swish/checkout/{token}?callbackurl=… — the payer: on a computer the merchant's QR page with the phone beside it (scan, Swish, BankID, confirmation); on a phone the Swish app and BankID. &device=mobile|desktop forces either/swish/app/{payerAlias} — e-commerce: the payer opening the app to the request waiting for their numberCallbacks 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.
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:
FF08 RP03 BE18 RP01 PA02 AM06 AM02 AM03 RP02 RP06 ACMT03 ACMT01 ACMT07 PA01 (403); for e-commerce also VR01 VR02RF07 BANKIDCL FF10 TM01 DS24 (and VR01 VR02 for m-commerce)FF08 RP03 PA02 AM06 RF08 AM03 RP01 RP02 ACMT07 ACMT01 RF02 RF03 RF04 RF06 BE18 PA01 (403)RF07 BANKIDCL; after it: FF10 DS24Otherwise the amount decides (a payment request only):
| Amount ends in | Code | When | errorMessage |
|---|---|---|---|
| …10 öre | FF10 | ERROR once the payer signs | Bank system processing error |
| …24 öre | DS24 | ERROR once the payer signs | Swish timed out waiting for an answer from the banks after payment was started |
| …01 öre | TM01 | ERROR once the payer signs | Swish timed out before the payment was started |
| …02 öre | AM02 | 422 at create | Amount value is too large |
| …03 öre | ACMT03 | ERROR once the payer signs | Payer not Enrolled |
| …06 öre | AM06 | 422 at create | Specified transaction amount is less than agreed minimum |
| …07 öre | RF07 | ERROR once the payer signs | Transaction declined |
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).
POST /vipps/accesstoken/get — a Bearer token for an hour, whatever client_id, client_secret and Ocp-Apim-Subscription-Key are sent (Merchant-Serial-Number names the sales unit). The paths below are under /vipps as well.POST /epayment/v1/payments (WEB_REDIRECT or NATIVE_REDIRECT, Idempotency-Key required) — 201 with the landing page as redirectUrlGET /epayment/v1/payments/{reference} and …/eventsPOST /epayment/v1/payments/{reference}/capture, …/refund (modificationAmount) and …/cancelPOST /epayment/v1/test/payments/{reference}/approve — the test environment's force approvePOST, GET /webhooks/v1/webhooks, DELETE /webhooks/v1/webhooks/{id}/vipps/landing?token=… — the payer: phone number on a computer (the app at once on a phone), then the Vipps app: pay, cancel, or let it expireStates 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.
| Payment amount | In 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 amount | Refused 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 |
| Amount | Effect |
|---|---|
| …28 øre, from 10 kr | The first capture fails: 6280 Capture failed, please try again later; a retry captures |
| …05 øre, from 10 kr | Every capture is refused: 6260 Funds unavailable |
| …06 øre, from 10 kr | Create refused: 422, 5070 Payment cannot be created |
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.
| MSN | Market | Currency | Minimum | The payer | Test user |
|---|---|---|---|---|---|
45…, e.g. 451234 | MobilePay Denmark | DKK | 1 øre | /mobilepay/landing, Danish; picks the card first | +45 12 34 56 78 |
358…, e.g. 358123 | MobilePay Finland | EUR | 1 cent | /mobilepay/landing, Finnish | +358 40 123 4567 |
any other, e.g. 123456 | Vipps Norway | NOK | 100 ø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.
+45 or +358), with the phone drawn beside it; the MobilePay app at once on a phone. The app is MobilePay-blue and in Danish or Finnish; Face ID takes two seconds; "Stryg for at betale" / "Pyyhkäise maksaaksesi" pays. ?device=mobile|desktop forces either flow, and the test banner is in Danish or Finnish.197 and 202 are 3-D Secure, which Vipps documents as Norway only: in Denmark and Finland they are ordinary amounts. The lab rules from 10 kr. / € 10 apply as for Vipps.| Market | Limit | In the lab |
|---|---|---|
| Finland | Payments 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). |
| Denmark | None of MobilePay's own on payments to businesses: they follow the card's | Visa/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. |
| Cashier | Market | MobilePay deposits | Withdrawals |
|---|---|---|---|
| Danske Spil | DK | Card, MobilePay, Apple Pay and Google Pay; no bank transfer | To NemKonto, at most one payout a day, within 32 h |
| bet365 DK | DK | Enter the mobile number, choose the card in the app, instant; 100–50 000 kr. (unverified) | By bank transfer |
| Veikkaus | FI | Since 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 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.
POST /ideal2/merchanttoken — the acquirer: client_credentials with a JWT client assertion (iss = sub = the merchant id, aud = this host); an access token for an hourPOST /v2/merchant-cpsp/transactions — Request-ID, Authorization: Bearer and a detached-JWS Signature with every https://idealapi.nl/* claim; 201 with iDEAL | Wero's payment page as links.redirectUrl (the bank's own page when issuerId is sent)GET /v2/merchant-cpsp/transactions/{transactionId} — the status, and on SUCCESS the debtor and guaranteedAmountRequest-ID and X-Sender: iDEAL; iDEAL wants a 204/ideal/pay/{token} — the payer: on a computer the QR code (a real phone's camera can scan it) with the payer's phone drawn beside it, or "Kies je bank" for internet banking; on a phone the bank list, then a banking app. ?device=mobile|desktop forces eitherStatuses 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.
| Amount | Effect |
|---|---|
€ 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 |
| Amount | Effect |
|---|---|
| …24 cents, from € 10 | the transaction-callback arrives 20 seconds late |
| …29 cents, from € 10 | the first create is refused 429 TOO_MANY_REQUESTS; iDEAL's one retry goes through |
| …41 cents, from € 10 | no transaction-callback at all: only a GET tells the outcome |
| …53 cents, from € 10 | the create is refused: 503 SERVICE_UNAVAILABLE |
| …05 cents, from € 10 | the bank refuses the payment, insufficient balance (FAILURE) |
| …07 cents, from € 10 | the create is refused: 500 TECHNICAL_ERROR |
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.
POST /payu/pl/standard/user/oauth/authorize — client_credentials (and trusted_merchant), form-encoded; a bearer token for 43199 sPOST /payu/api/v2_1/orders — payMethods.payMethod {type:"PBL", value:"blik"}: 302 with redirectUri (PayU's BLIK page) in the body and Location; {type:"BLIK_AUTHORIZATION_CODE", value:"<6 digits>"}: 201, the order PENDING while the payer confirms (a refused code: 400 ERROR_AUTHORIZATION_CODE with the order's id); {type:"BLIK_TOKEN"} for a One Click tokenGET / DELETE /payu/api/v2_1/orders/{orderId}, GET …/transactions (each BLIK attempt and its resultCode)PUT …/status (orderStatus: COMPLETED) and POST …/captures — receive an order WAITING_FOR_CONFIRMATIONPOST / GET …/refunds, GET …/refunds/{refundId} — PENDING, FINALIZED three seconds later (or CANCELED); PayU's 9101–9115 refusalsGET /payu/api/v2_1/paymethods — with a trusted_merchant token, the buyer's One Click tokensnotifyUrl on PENDING, WAITING_FOR_CONFIRMATION, COMPLETED and CANCELED, and on a refund's FINALIZED / CANCELED; PayU wants an HTTP 200/payu/pay?orderId=…&token=… — the payer: PayU's BLIK page; on a computer with the payer's phone beside it (the BLIK tile, the code with its two-minute countdown, the push with Zatwierdź / Odrzuć, the PIN for two seconds); on a phone the page alone and the banking app at /payu/bank. &device=mobile|desktop forces either/payu/bank?pos=300746 — the payer's banking app on its own: its codes work for a merchant that sends BLIK_AUTHORIZATION_CODE, and the push appears thereStatuses 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.
| Code | Effect |
|---|---|
777xxx | authorised (no token registered): COMPLETED three seconds later |
200201 | authorised, and a One Click (UID) token is registered |
500500 | refused by the bank (negative authorization): CANCELED |
700701 | code expired: ERROR_AUTHORIZATION_CODE / AUTH_CODE_EXPIRED |
700702 | code cancelled: ERROR_AUTHORIZATION_CODE / AUTH_CODE_CANCEL |
700703 | code 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.
| Amount | Effect |
|---|---|
| 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) |
| Amount | Effect |
|---|---|
| …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 grosze | accepted (PENDING), then CANCELED: statusError BANK_DECLINED |
| refund amount …02 grosze | refused at create: 9102 NO_BALANCE (the shop's balance is short) |
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:
| Bank | Daily BLIK limit online |
|---|---|
| PKO Bank Polski | 3 000,00 zł |
| mBank | 3 000,00 zł |
| ING Bank Śląski | 2 000,00 zł |
| Bank Pekao | 1 000,00 zł |
| Bank Millennium | 1 000,00 zł |
| VeloBank | 1 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.
| HTTP | statusCode | Meaning |
|---|---|---|
| 200 | SUCCESS | Request processed |
| 201 | SUCCESS | Order created with a BLIK code or token in payMethods |
| 302 | SUCCESS | Order created: redirectUri in the body and the Location header |
| 302 | WARNING_CONTINUE_REDIRECT | Transparent pay-by-link: redirect the buyer (not BLIK) |
| 400 | ERROR_SYNTAX | The body is not JSON |
| 400 | ERROR_VALUE_INVALID | A value is wrong (a BLIK code that is not six digits, an amount BLIK does not take…) |
| 400 | ERROR_VALUE_MISSING | A required value is missing |
| 400 | ERROR_ORDER_NOT_UNIQUE | extOrderId already used at this POS |
| 400 | ERROR_INCONSISTENT_CURRENCIES | The order's currency is not the POS's (PLN) |
| 400 | ERROR_AUTHORIZATION_CODE | The BLIK code was refused (expired, cancelled, used, unknown, over the payer's limit) |
| 401 | UNAUTHORIZED | No or a wrong access token |
| 403 | ERROR_VALUE_INVALID | The token's POS is not merchantPosId (INVALID_AUTH_FOR_THIS_ORDER) |
| 404 | DATA_NOT_FOUND | No such order or refund at this POS |
| 500 | ERROR_INTERNAL | PayU unavailable |
| 503 | SERVICE_NOT_AVAILABLE | PayU 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' 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.
POST /redsys/sis/realizarPago — the redirection: the payer's browser posts Ds_SignatureVersion, Ds_MerchantParameters (Base64 JSON: DS_MERCHANT_AMOUNT, _ORDER, _MERCHANTCODE, _TERMINAL, _CURRENCY 978, _TRANSACTIONTYPE 0, _PAYMETHODS z, _MERCHANTURL, _URLOK, _URLKO, _MERCHANTDATA…) and Ds_Signature; Redsys' Bizum page opens. Refusals show Redsys' error page with the SIS0xxx code in its source (SIS0051 for an order used before; the same form posted again resumes it)POST /redsys/sis/rest/trataPeticionREST — the triplet as JSON; refunds (DS_MERCHANT_TRANSACTIONTYPE 3, the payment's own order) answer the signed triplet with Ds_Response 0900, or {"errorCode":"SIS0xxx"}POST /redsys/apl02/services/SerClsWSConsulta — the SOAP query service (SOAPAction: consultaOperaciones): Transaction, Monitor and Detail by order, answered with Ds_State and Ds_Response per operation, signed; XML0024 for an order Redsys never saw/redsys/bizum/{token} — the payer (lab paths): Redsys' page with the phone number (+34), then Request to Pay (the bank app's push and a 4-minute countdown) or the legacy Clave Bizum and SMS code; on a computer the payer's phone is drawn beside it. ?device=mobile|desktop forces either; POST /redsys/sis/realizarPago?device=… tooThe 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).
| Phone | Bank | Effect |
|---|---|---|
600000000 | Banco de pruebas | Paylands' KO number: denied once the payer confirms (9966) |
611111111 | BBVA | BBVA: €3,000 per operation, €3,000 a day, €5,000 a month (9966 beyond) |
622222222 | CaixaBank | CaixaBank: €500 per operation, €2,000 a day, €5,000 a month (9966 beyond) |
633333333 | Caja Rural | Caja Rural, still on Clave Bizum: the legacy flow (Clave, then the SMS code) |
644444444 | Unicaja | Unicaja, €50 in the account: more than that is denied (9677) |
699999999 | Banco de pruebas | Not registered in Bizum: Redsys asks for another number |
700000000 | Banco de pruebas | Paylands' 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/7xx | by the last digit | A 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 | Per operation | Per day | Per month |
|---|---|---|---|
| BBVA | 3.000,00 € | 3.000,00 € | 5.000,00 € |
| CaixaBank | 500,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.
| Amount | Effect |
|---|---|
| …91 cents, from €10 | The online notification arrives 30 seconds after the payer is back |
| …92 cents, from €10 | No online notification at all: the merchant has to ask the query service |
| …93 cents, from €10 | The payer's bank does not answer: denied with 9912 (Emisor no disponible) |
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.
| Code | Meaning |
|---|---|
9485 | BIZUM ha devuelto un KO en la devolución |
9677 | Saldo disponible insuficiente |
9912 | Emisor no disponible |
9915 | A petición del usuario se ha cancelado el pago |
9966 | BIZUM ha devuelto un KO en la autorización |
9998 | Operación en proceso de solicitud de datos de tarjeta |
0000 | Transacción autorizada para pagos y preautorizaciones |
0900 | Transacción autorizada para devoluciones y confirmaciones |
0184 | Error en la autenticación del titular |
0190 | Denegación del emisor sin especificar motivo |
Ds_ProcessedPayMethod 68, DS_MERCHANT_BIZUM_MOBILENUMBER prefilling the phone, a notification for a refund, the SOAP envelope's exact namespaces, the 10 % refund allowance and the lab rules. Bizum's REST push (R2P without redirection) is not simulated (SIS0112).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.
POST /brite/api/merchant.authorize (public_key, secret) — access_token, expires (six hours), refresh_token; merchant.token renews them. Every other call wants Authorization: Bearer … (401 without one); a token the lab did not issue is taken, for one shared merchantPOST /brite/api/bank_account.create (country_id, iban, holder_firstname, holder_lastname, holder_dob, holder_address) — {id}; the same IBAN again updates the holder and keeps the id. bank_account.get shows it maskedPOST /brite/api/transaction.create_withdrawal (amount, bank_account_id, currency_id, merchant_reference, statement_reference, brand_name, callbacks) — {id, eta}. The same merchant_reference with the same amount answers the first payout again; with another amount it is refusedPOST /brite/api/transaction.get, transaction.get_by_merchant_reference, transaction.statePOST /brite/api/country.list, currency.listPOST /brite/api/lab.set_returned_funds_url (url) — lab only: Brite keeps the returned-funds notification URL in its Back Office; here a merchant sets it with this callA 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.
| Amount | Brite's case | Effect |
|---|---|---|
11.01 | PO-03 | Aborted payout: STATE_ABORTED (2) after a second, error_code bank_rejected_transaction |
11.02 | PO-03 | Aborted payout: STATE_ABORTED (2) after a second, error_code risk_engine_rejection |
12.01 | PO-04 | Failed payout: STATE_FAILED (3) after a second, no error_code (Brite: the reason is unknown) |
13.01 | PO-05 | Delayed payout: STATE_COMPLETED (4) for five minutes, then CREDIT (5) and SETTLED (6) |
14.01 | PO-07 | Returned funds: SETTLED (6), then a minute later the money comes back (RETURNED_TRANSACTION) |
| Value | Effect |
|---|---|
15.01 | Refused at create: the merchant's Brite balance is too low (400 BadRequest) |
16.01 | Stays STATE_PENDING (1) for two minutes, as Swedish payouts sometimes do, then COMPLETED, CREDIT and SETTLED |
IBAN ending 9901 | The payee's bank refuses the payout: STATE_ABORTED (2), error_code bank_rejected_transaction |
IBAN ending 9902 | The account is closed: the payout SETTLES, then the money comes back a minute later (RETURNED_TRANSACTION) |
holder_dob under 18 years | Brite's risk engine refuses the payee: STATE_ABORTED (2), error_code risk_engine_rejection |
| Country | Settles | Refused by the bank (…9901) | Returned (…9902) |
|---|---|---|---|
| DE | DE89370400440532013000 | DE02370400440532019901 | DE72370400440532019902 |
| NL | NL91ABNA0417164300 | NL87ABNA0417169901 | NL60ABNA0417169902 |
| FI | FI9821421000005678 | FI5221421000009901 | FI2521421000009902 |
| SE | SE4550000000058398257466 | SE6650000000058398259901 | SE3950000000058398259902 |
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.
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).
POST /paysafe/paymenthub/v1/paymenthandles — transactionType PAYMENT (INITIATED, action: REDIRECT, a redirect_payment link valid 15 minutes), STANDALONE_CREDIT or VERIFICATION (PAYABLE at once, action: NONE); GET …/paymenthandles/{id}, GET …/paymenthandles?merchantRefNum=POST /paysafe/paymenthub/v1/payments with a PAYABLE handle's paymentHandleToken — COMPLETED; GET …/payments/{id}, ?merchantRefNum=; POST …/payments/{id}/settlements (paysafecard with settleWithAuth: false)POST /paysafe/paymenthub/v1/settlements/{id}/refunds — PENDING, then COMPLETED after 3 s (a payment settled with auth is its own settlement); GET …/refunds/{id}POST /paysafe/paymenthub/v1/standalonecredits — a withdrawal with a STANDALONE_CREDIT handle's token; GET …/standalonecredits/{id}POST /paysafe/paymenthub/v1/verifications — Neteller/Skrill account check: MATCH / NO_MATCH per field and verificationLevel 00/01/10/11GET /paysafe/paymenthub/v1/balances?paymentType=¤cyCode=/paysafe-lab/pay/{token} — the payer: paysafecard's panel (a PIN tab, 4×4 boxes, up to 10 PINs, and a my paysafecard tab), Skrill's and Neteller's login, 2-step verification and review; on a computer the phone with the brand's app beside the page, on a phone full-screen. ?device=mobile|desktop forces either/paysafe-lab/portal?merchant={username} — the stand-in for the Business Portal, where Paysafe merchants subscribe webhooks (Paysafe has no API for it): a page, and JSON at GET|PUT|PATCH /paysafe-lab/portal/settings ({mcc, businessName, webhooks:[{url, events?}]}; PATCH takes addWebhook / removeWebhook). The merchant is the Basic username or ?merchant=. MCC 7995 (the default) is a gambling merchantWebhooks, 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.
7740228278243675 holds 1,000.00. Lab PINs: six zeros, then the value in cents (0000 0000 0000 2500 holds 25.00; all zeros is used up). 9999 9999 9999 9999 is blocked. Any other PIN is invalid. Up to 10 PINs combine; balances are not used up.profile gives):
| Brand | Holder | What it shows | |
|---|---|---|---|
| PAYSAFECARD | psc.at@example.com | Anna Huber, 1990-04-12, AT | Austria, fully verified |
| PAYSAFECARD | psc.de@example.com | Lukas Schmidt, 1985-09-30, DE | Germany, fully verified, confirms in the my paysafecard app; payouts €30,000 a year |
| PAYSAFECARD | psc.uk@example.com | Oliver Smith, 1992-02-17, GB | UK Standard: payouts £250 a month |
| PAYSAFECARD | psc.simple@example.com | Mia Weber, 1995-07-01, AT | simple KYC only: refused where the merchant asks for FULL |
| PAYSAFECARD | psc.minor@example.com | Jonas Bauer, 2010-05-05, AT | 16 years old, unverified: refused by an age or KYC restriction |
| SKRILL | skrill.player@example.com | Maria Rossi, 1988-03-22, IT | verified |
| SKRILL | skrill.uk@example.com | James Brown, 1979-11-08, GB | verified, UK |
| SKRILL | skrill.unverified@example.com | Sofia Garcia, 1999-12-01, ES | unverified: pays at most €250 |
| SKRILL | skrill.blocked@example.com | Tomas Novak, 1983-06-14, CZ | gambling block on: no payments to gambling merchants (payouts still arrive) |
| NETELLER | neteller.player@example.com | Erik Larsen, 1986-01-30, NO | verified, with a verified card (level 11) |
| NETELLER | neteller.uk@example.com | Emily Clarke, 1991-08-19, GB | verified, no verified instrument (level 10) |
| NETELLER | neteller.unverified@example.com | Piotr Kowalski, 1997-04-03, PL | unverified (level 00): pays at most €250 |
| NETELLER | neteller.negative@example.com | Victor Lazlo, 1975-10-10, DE | in Paysafe's negative database: payments and payouts refused (4001) |
1001 with 4003 in details.kycLevelRestriction or minAgeRestriction, or a payer in Germany at a gambling merchant, takes accounts only (Germany since October 2020; Entain everywhere since September 2021).3195; no account 3162), only in Paysafe's 29 payout countries; Germany €30,000 a year, UK Standard £250 a month (Unlimited £24,000 a year), as running totals.3419): pay the player with a standalone credit. paysafecard refunds are full only (3418); a PIN payment's refund needs customerAccountId.| Amount (minor units) | Effect |
|---|---|
| …15, from 10.00 | a withdrawal is PENDING, then COMPLETED ten seconds later |
| …16, from 10.00 | a withdrawal is PENDING, then FAILED ten seconds later |
| …17, from 10.00 | a refund is PENDING, then FAILED |
| …24, from 10.00 | every webhook arrives 20 seconds late |
| …41, from 10.00 | no webhooks at all: only a GET tells the outcome |
| …53, from 10.00 | the handle create is refused: 500, 1000 internal error |
| …05, from 10.00 | the wallet's balance is short: Pay fails, the handle FAILED (3022 insufficient funds) |
| …06, from 10.00 | Paysafe's risk checks decline it: the handle FAILED (4002) |
| …07, from 10.00 | the handle create is refused: 502, 1001 External Gateway Error |
| …08, from 10.00 | the payer confirms too late: the handle EXPIRED |
| …09, from 10.00 | the 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.
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.
sightline: {consumerId}, the merchant's Loyalty Membership Number for the player (and optionally ssn, served back as last4ssn). The payer signs in to Play+ (any password), types the code Play+ texts to the phone drawn beside the page, and confirms. A Play+ account is enrolled under the consumerId by its first deposit; a payout to a consumerId never seen answers 1001 IM (Invalid Member Number). Refunds work as for the wallets.vippreferred: {consumerId} is the player's Social Security number (nine digits, served back as its last four only); profile (firstName, lastName, email, phone) and billingDetails (country, zip) are required. The payer confirms their date of birth and the SSN's last four, picks a registered bank account or links one (sign in to online banking with any username and password, then the code the bank texts), and authorises the eCheck. The payment echoes the bank account with its bank token (vippreferred.achBankAccounts[].paymentHandleToken); a payout names it as vippreferred.paymentHandleToken. POST …/verifications with a VERIFICATION handle lists a player's accounts. No refunds (3419): pay back with a standalone credit.playplus.player@example.com (New Jersey, $2,500 on the account, a linked bank tops up a short balance); playplus.low@example.com (Pennsylvania, $25 on the account and no linked bank: more is refused on the confirm page); playplus.suspended@example.com (account suspended: the payment fails (4001)); any other email is a fresh account holding $1,000.00.| VIP Preferred SSN | Player | Registered accounts (bank token) | What it shows |
|---|---|---|---|
111223333 | Morgan Lee, born 1984-06-15, NJ | JPMorgan Chase Bank, N.A. ••21 (BA9e4dnkCP3S3ZKQ)Wells Fargo Bank, N.A. ••07 ( BARQyFfooxlO5zGC) | registered, two bank accounts |
111224444 | Riley Grant, born 1990-12-03, PA | PNC Bank, N.A. ••55 (BA0WdHWAXlK4wxPk) | registered; the bank's balance check fails (3022, R01 insufficient funds) |
111225555 | Avery Quinn, born 1976-03-28, MI | Citibank, 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.
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).
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).
ITAU (BRL up to 57,000), SANTANDER (BRL up to 57,000), BANCO_DO_BRASIL (BRL up to 57,000), BRADESCO (BRL up to 57,000)BANCO_ESTADO (CLP up to 8,500,000), BANCO_BCI (CLP up to 500,000), SCOTIABANK_CHILE (CLP up to 8,500,000)ONLINE_BANK_PAYMENT_BANCOLOMBIA_COLOMBIA (COP 1–40,000,000), BBVA_COLOMBIA (COP 1–40,000,000), BANCO_DE_BOGOTA (COP 1–40,000,000), BANCO_DAVIVIENDA (COP 1–40,000,000), NEQUI_COLOMBIA (COP 1–40,000,000), BANCO_CAJA_SOCIAL (COP 10,000–40,000,000)BANCO_NACIONAL_DE_COSTA_RICA (CRC up to 6,200,000)BANCO_DE_CREDITO (PEN up to 43,000), BBVA_CONTINENTAL (PEN up to 43,000), INTERBANK (PEN up to 43,000), SCOTIABANK (PEN up to 43,000), BCP_CUOTEALO (PEN up to 7,000)LOTERICAS (BRL up to 57,000), BRADESCO (BRL up to 5,000)BANCO_ESTADO (CLP up to 8,500,000), CAJA_VECINA (CLP up to 8,500,000), WALMART_CHILE (CLP up to 3,000,000), LIDER (CLP up to 3,000,000)EFECTY (COP up to 6,000,000), SURED (COP up to 4,000,000), GANA (COP up to 4,000,000), PUNTO_RED (COP up to 800,000)BANCO_NACIONAL_DE_COSTA_RICA (CRC 637–6,200,000)BANCO_DE_CREDITO (PEN up to 1,000), BBVA_CONTINENTAL (PEN up to 1,900), INTERBANK (PEN up to 700), WESTERN_UNION (PEN up to 43,000), TAMBO (PEN 1–500), KASNET (PEN 1–1,000)/paysafe-lab/pay/{token}/cashdesk (the lab's cash desk), linked from the code page and the drawer.details: 5010 21519 no country, 5068 21505 unknown country, 5001 21513 currency not of the country, 5068 21526 bank not in the country, 5003 10105 amount outside every offered bank's limits, 5068 21653 invalid profile.email.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.
1000 500 An internal error occurred.1001 502 External Gateway Error1007 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'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.
POST /trustly/api/1: Deposit (Pay N Play with RequestKYC: "1"), Refund, AccountPayout,
Withdraw, ApproveWithdrawal, DenyWithdrawal, GetWithdrawals (payouts, withdrawals, and a deposit's refunds),
Balance, AccountLedger/trustly/checkout?OrderID=…&SessionID=… — the payer: country and bank, the bank's login (SE Mobile BankID with a real QR code;
EE/LV/LT Smart-ID; DE login and pushTAN; elsewhere the bank's app), the account with its balance, confirm, sign, and back to
SuccessURL / FailURL. On a computer the payer's phone is drawn beside the page; ?device=mobile|desktop forces either flow.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.
Trustly's test checkout names these cases; what each does here is the lab's reading of it.
| Case | Name | Effect |
|---|---|---|
D1 | Credit, then debit | credit as usual, then 30 s later a debit notification: the bank took the deposit back |
D2 | Deprecated | deprecated by Trustly; the lab treats it as a normal deposit |
D3 | Pending, then cancel | pending once the payer signs, then the bank rejects the transfer: cancel after 10 s, no credit |
D4 | Delayed credit | pending once the payer signs; the credit arrives 60 s later (a bank without instant payments) |
D5 | Declined by Trustly | Trustly's risk check declines the order when the payer confirms: cancel, the payer goes to FailURL |
W1 | Payout returned | the withdrawal is confirmed, then returned by the receiving bank 20 s later: a credit notification gives the money back |
G1 | Late notifications | every notification arrives 20 s late |
G2 | Duplicate notifications | every notification is sent twice, with the same notificationid |
G3 | Hold notifications | nothing is sent until the lab drawer's notification tool releases the held notifications |
| Deposit amount | Effect |
|---|---|
| …13, from 10.00 | Trustly's risk engine suggests a lower amount (half) at confirm; the payer accepts it or cancels |
| …24, from 10.00 | every notification arrives 20 s late |
| …41, from 10.00 | pending once the payer signs, then the bank never confirms: cancel after 2 minutes |
| …53, from 10.00 | Deposit refused: HTTP 503, no JSON-RPC answer (Trustly unavailable) |
| …05, from 10.00 | the payer's bank refuses at signing, insufficient funds: cancel |
| …07, from 10.00 | Deposit refused: 620 ERROR_UNKNOWN |
| AccountPayout / Refund amount | Effect |
|---|---|
| …13, from 10.00 | payoutconfirmation, then 20 s later the receiving bank returns it: a credit notification |
| …17, from 10.00 | the payout fails before it is confirmed (FAILED): a credit notification gives the money back |
| …41, from 10.00 | EXECUTED for 2 minutes before the payoutconfirmation |
| …05, from 10.00 | AccountPayout (and Refund) answered result "0": not accepted |
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).
| Country | Currency | Login | Banks (limit per payment) |
|---|---|---|---|
| SE | SEK | Mobile BankID | Swedbank 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 |
| FI | EUR | the bank's app | OP 15,000, Nordea 10,000, Danske Bank 10,000, S-Pankki 5,000, Aktia 5,000 |
| EE | EUR | Smart-ID | Swedbank 15,000, SEB 15,000, LHV 10,000, Luminor 10,000, Citadele 5,000 |
| LV | EUR | Smart-ID | Swedbank 15,000, SEB 15,000, LHV 10,000, Luminor 10,000, Citadele 5,000 |
| LT | EUR | Smart-ID | Swedbank 15,000, SEB 15,000, LHV 10,000, Luminor 10,000, Citadele 5,000 |
| DE | EUR | login + pushTAN | Sparkasse 5,000, Deutsche Bank 10,000, Commerzbank 10,000, ING 10,000 |
| NL | EUR | the bank's app | ING 10,000, ABN AMRO 50,000, Rabobank 10,000 |
| DK | DKK | the bank's app | Danske Bank 50,000, Nordea 50,000, Jyske Bank 50,000 |
| PL | PLN | the bank's app | PKO BP 20,000, mBank 50,000, Pekao 20,000 |
| NO | NOK | the bank's app | DNB 100,000, SpareBank 1 100,000, Nordea 100,000 |
| GB | GBP | the bank's app | Barclays 25,000, HSBC 25,000, Lloyds 25,000, NatWest 50,000, Monzo 25,000 |
| CZ | CZK | the bank's app | Česká spořitelna 200,000, ČSOB 200,000, Komerční banka 200,000, Air Bank 200,000 |
| Code | Name | When | Source |
|---|---|---|---|
616 | ERROR_INVALID_CREDENTIALS | Username unknown or Password wrong | Trustly's |
620 | ERROR_UNKNOWN | Something went wrong at Trustly | Trustly's |
623 | ERROR_INVALID_PARAMETERS | A parameter is missing or malformed | Trustly's |
636 | ERROR_UNABLE_TO_VERIFY_RSA_SIGNATURE | The request's Signature does not verify | modeled |
637 | ERROR_INVALID_FUNCTION | The method is not one the lab serves | modeled |
638 | ERROR_MALFORMED_NOTIFICATIONURL | NotificationURL is not https, or carries a '?' | modeled |
639 | ERROR_DUPLICATE_MESSAGE_ID | An AccountPayout with this MessageID exists already: a payout is never made twice | modeled |
640 | ERROR_INVALID_AMOUNT | Amount is not digits with two decimals, or not above zero | modeled |
641 | ERROR_CURRENCY_NOT_SUPPORTED | Not one of SEK, EUR, DKK, NOK, PLN, GBP, CZK | modeled |
642 | ERROR_INVALID_ORDER_ID | No such order for this merchant | modeled |
643 | ERROR_ACCOUNT_NOT_FOUND | AccountID never came from this merchant's account notifications | modeled |
644 | ERROR_NOT_ALLOWED | The order is not in a state that allows this | modeled |
645 | ERROR_INSUFFICIENT_FUNDS | The merchant's Trustly balance cannot cover the payout | modeled |
646 | ERROR_REFUND_AMOUNT_TOO_HIGH | The refund exceeds what is left of the deposit | modeled |
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.
POST /nuvei/ppp/api/v1/getSessionToken.do, openOrder.do — a session token (sessions live 30 minutes, modeled)POST /nuvei/ppp/api/v1/initPayment.do — InitAuth3D: threeD.v2supported says whether the card is enrolledPOST /nuvei/ppp/api/v1/payment.do — a card payment: non-3DS, 3DS (threeD and relatedTransactionId = the InitAuth3D: frictionless Sale, or an Auth3D REDIRECT with threeD.acsUrl and cReq), the liability shift after a challenge (relatedTransactionId = the Auth3D, no threeD), or an APM (paymentOption.alternativePaymentMethod: REDIRECT to paymentOption.redirectUrl). transactionType Auth authorises onlyPOST /nuvei/ppp/api/v1/refundTransaction.do, voidTransaction.do, settleTransaction.do — on relatedTransactionId; refunds partial or full up to the paymentPOST /nuvei/ppp/api/v1/payout.do — an OCT to userPaymentOption.userPaymentOptionId (a UPO an approved payment made for the userTokenId) or to cardData (the cardholder name required, filter 1210); up to 10000.00 (filter 1126 above, modeled)POST /nuvei/ppp/api/v1/createUser.do — registers a userTokenId (one already registered answers its userId again, modeled); POST /nuvei/ppp/api/v1/addUPOAPM.do — a Pay4Fun account (apmData: pay4fun_account_email, pay4funId = the holder's CPF) stored as a UPO for a registered user (1010 otherwise); payout.do to that UPO pays the Pay4Fun accountPOST /nuvei/ppp/api/v1/getPaymentStatus.do (the session's last payment), getTransactionDetails.do (by transactionId or the latest with a clientUniqueId), getPayoutStatus.do (by the payout's clientRequestId)POST /nuvei/ThreeDSACSEmulatorChallenge/api/ThreeDSACSChallengeController/ChallengePage?<token> — the issuer's challenge (the shared ACS page); the CRes is posted to threeD.notificationURL as cres. Unanswered for 10 minutes, the authentication expires (filter 1278)/nuvei/apm/Home?PaymentToken=… — the iDEAL page: the bank list (on a computer, the QR code and the payer's phone beside it); Nuvei's sandbox bank TESTNL2A offers the outcome to pick. 15 minutes to pay (modeled), then a DECLINED DMN. ?device=mobile|desktop forces either flow@testp4F!), then the wallet: its balance (5000.00 in the payment's currency, modeled: a payment over it is Insufficient Funds), Confirmar pagamento or Cancelar. The payment needs alternativePaymentMethod.pay4fun_account_email and pay4funId, a CPF with the right check digits (Nuvei's sandbox CPF 77413829266, account test_customer@p4f.com); 1019 otherwise. BRL, EUR, GBP, USD; payers in BR. The lab keeps the CPF masked onlyDMNs 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).
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.
| Card | Brand | 3DS | Issuer's answer |
|---|---|---|---|
4761344136141390 | VISA debit (SG) | not enrolled in 3DS | Approved |
4244951901005043 | VISA debit (GB) | not enrolled in 3DS | Approved |
4159129252458086 | VISA credit (SV) | not enrolled in 3DS | Approved |
4001888687412469 | VISA credit (DE) | not enrolled in 3DS | Approved |
4444493318246892 | VISA credit (MX) | not enrolled in 3DS | Approved |
4000287447386587 | VISA debit (US) | not enrolled in 3DS | Approved |
4263704637473241 | VISA debit (CA) | not enrolled in 3DS | Approved |
4815163523263534 | VISA debit (MX) | not enrolled in 3DS | Approved |
5221744250525131 | MASTERCARD credit (MX) | not enrolled in 3DS | Approved |
5550343875851690 | MASTERCARD credit (ZA) | not enrolled in 3DS | Approved |
5333395610225642 | MASTERCARD credit (HN) | not enrolled in 3DS | Approved |
5203821142568313 | MASTERCARD credit (CN) | not enrolled in 3DS | Approved |
5256787172322309 | MASTERCARD debit (MX) | not enrolled in 3DS | Approved |
5413037340736315 | MASTERCARD credit (DK) | not enrolled in 3DS | Approved |
375510513169537 | AMEX credit (IL) | not enrolled in 3DS | Approved |
374245171846495 | AMEX credit (GB) | not enrolled in 3DS | Approved |
6011405433455453 | DISCOVER credit (EC) | not enrolled in 3DS | Approved |
3612569856088370 | DINERS credit (DE) | not enrolled in 3DS | Approved |
6233052703225398 | UNIONPAY credit (JP) | not enrolled in 3DS | Approved |
4107652651950141 | VISA debit (CZ) | not enrolled in 3DS | Decline |
4083595312691240 | VISA debit (CZ) | not enrolled in 3DS | Soft Decline - Authentication is Advised |
4916562347530945 | VISA credit (BR) | not enrolled in 3DS | External Error in Processing |
5333438937354537 | MASTERCARD debit (US) | not enrolled in 3DS | Acquirer Validation |
4485076191294772 | VISA credit (US) | not enrolled in 3DS | Lost/Stolen |
4344141510671174 | VISA debit (IN) | not enrolled in 3DS | Do Not Honor |
5525873084077200 | MASTERCARD credit (CN) | not enrolled in 3DS | Do Not Honor |
4000173946194872 | VISA debit (IN) | not enrolled in 3DS | Insufficient Funds |
5221422486574534 | MASTERCARD credit (ZA) | not enrolled in 3DS | Insufficient Funds |
4000187443195604 | VISA debit (IN) | not enrolled in 3DS | Exceeds Withdrawal Limit |
4000195795445766 | VISA debit (IN) | not enrolled in 3DS | Exceeds Withdrawal Frequency |
5168723718989159 | MASTERCARD debit (CZ) | not enrolled in 3DS | Invalid Transaction |
4107647509690329 | VISA debit (CZ) | not enrolled in 3DS | Format Error |
5588341543306531 | MASTERCARD credit (VE) | not enrolled in 3DS | Issuer or Switch Inoperative |
4000237713987816 | VISA debit (US) | not enrolled in 3DS | Timeout/Retry |
4000248973221309 | VISA credit (US) | not enrolled in 3DS | Expired Card |
4603171563067000 | VISA debit (CZ) | not enrolled in 3DS | Transaction Not Permitted To Cardholder |
4917013255931104 | VISA debit (CZ) | not enrolled in 3DS | Transaction Not Permitted on Terminal |
4645798619106711 | VISA debit (AU) | not enrolled in 3DS | Restricted Card |
5333582039422930 | MASTERCARD debit (US) | not enrolled in 3DS | Invalid CVV |
4521107938796906 | VISA credit (TT) | not enrolled in 3DS | Invalid CVV2 |
4105876029788196 | VISA debit (ZA) | not enrolled in 3DS | Closed Account |
6011206953470801 | DISCOVER credit (US) | not enrolled in 3DS | Do not honor |
4000023164892261 | VISA credit (GB) | 3DS (the cardholder name picks the flow) | Approved |
4005241818985068 | VISA credit (IN) | 3DS (the cardholder name picks the flow) | Approved |
4037073766091520 | VISA credit (MX) | 3DS (the cardholder name picks the flow) | Approved |
4021937195658109 | VISA credit (GB) | 3DS (the cardholder name picks the flow) | Soft Decline - Authentication is Advised |
4742101426751112 | VISA debit (PL) | 3DS (the cardholder name picks the flow) | Approved |
4008370896662369 | VISA debit (GB) | 3DS (the cardholder name picks the flow) | Decline |
4000164166749263 | VISA debit (IN) | 3DS (the cardholder name picks the flow) | Do not honor |
4871040116543210 | VISA debit (BE) | 3DS (the cardholder name picks the flow) | Stolen card |
5408458947067358 | MASTERCARD credit (MX) | 3DS (the cardholder name picks the flow) | Approved |
5333418445863914 | MASTERCARD credit (MX) | 3DS (the cardholder name picks the flow) | Decline |
5359438180895896 | MASTERCARD credit (MX) | 3DS (the cardholder name picks the flow) | Declined by the bank |
5353029602254618 | MASTERCARD debit (DE) | 3DS (the cardholder name picks the flow) | Approved |
5127880173456783 | MASTERCARD debit (BE) | 3DS (the cardholder name picks the flow) | Approved |
5109486948867999 | MASTERCARD debit (US) | 3DS (the cardholder name picks the flow) | Soft Decline - Authentication is Advised |
5333463046218753 | MASTERCARD debit (US) | 3DS (the cardholder name picks the flow) | Do not honor |
4000027891380961 | VISA credit (GB) | 3DS (the cardholder name picks the flow) | Approved |
4000020951595032 | VISA credit (GB) | 3DS (the cardholder name picks the flow) | Approved |
2221008123677736 | MASTERCARD credit (US) | 3DS (the cardholder name picks the flow) | Approved |
5333302221254276 | MASTERCARD credit (US) | 3DS (the cardholder name picks the flow) | Approved |
5545060700001113 | MASTERCARD credit (US) | 3DS, frictionless at 83.10 | Approved |
4567491000001113 | VISA credit (US) | 3DS, frictionless at 83.10 | Approved |
5545060700002228 | MASTERCARD credit (US) | 3DS, challenge at 115.20 | Approved |
4567491000002228 | VISA credit (US) | 3DS, challenge at 115.20 | Approved |
| Amount (last two digits in minor units) | Effect |
|---|---|
| …55, from 10.00 | A payout stays PENDING for 10 s, then approves (a DMN tells) |
| …77, from 10.00 | A refund of this amount is declined by the acquirer (gwErrorReason Decline) |
| …91, from 10.00 | The DMN arrives 30 s late: the response, the payer's return or a status read tell the outcome first |
| …92, from 10.00 | No DMN at all: only the response and a status read tell the outcome |
| gwExtendedErrorCode | Meaning |
|---|---|
1001 | Invalid Expiration Date |
1002 | Expiration Date Too Old |
1106 | Credit Amount Exceed Total Charges |
1112 | Sale/Settle was already credited |
1126 | Credit amount exceeds ceiling |
1155 | 3D Related transaction is missing or incorrect |
1167 | Transaction already settled |
1168 | Transaction already voided |
1176 | Cannot void an auth transaction |
1177 | Cannot void a credit transaction |
1185 | Related transaction must be Auth3D, APPROVED, same 3DS version and same merchant |
1186 | Related transaction must be 3D authenticated |
1206 | Settle amount exceeds total charges |
1210 | NameOnCard is missing |
1272 | Card number must be equal for all transaction in a specific 3DS flow |
1273 | Card number, Currency and Amount must be equal in a specific 3DS flow |
1274 | Requested Auth3D 2.0 but card number is not supported with 3DS 2.0 |
1277 | DS responded with an error, please verify request and try again |
1278 | Authentication is expired, new InitAuth3d is required |
1279 | 3D related transaction was already used for Sale/Auth |
1281 | Authentication has not completed |
advanceResponseChecksum, the 3DS server-to-server flow (initPayment, payment, CReq/CRes, the liability shift), the test cards and cardholder names, the 83.10 / 115.20 amount cards, errCodes and gateway filter codes, the iDEAL BIC list and its sandbox bank TESTNL2A, Pay4Fun's fields, currencies, sandbox account and CPF, and its payout through /createUser, /addUPOAPM (checksum: apmData's values in order) and /payout to the UPO./createUser for a user already registered, Pay4Fun's DMN without apmPayerInfo, responsechecksum (deprecated), the lab rules, no 3DS fingerprinting (methodUrl is empty).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.
POST /mifinity/api/gateway/init-iframe/: the session, initializationToken and, with entry: "hosted",
iframeEntrypoint (/mifinity/iframe2#initToken=…). The token lasts 30 minutes. /mifinity/widgets/sgpg.js serves
showPaymentIframe for the embedded widget.GET /mifinity/api/gateway/payment-status/{validationKey}: NOT_COMPLETED, PENDING, SUCCESSFUL (with
paymentResponse) or FAILED (with detailedStatus).returnUrl (the payment response, customerDob as [y, m, d]), a failed one to
errorUrl (ABANDONED_BY_USER, REFUSED_BY_RISK, FAILED). MiFinity signs neither: the
validationKey the merchant made comes back in them. responseCode is an HMAC-SHA256 under the published secret
bistromathic-lab-mifinity-response-code-2026-11-12 over traceId|validationKey|transactionReference (the lab's; MiFinity's is undocumented).POST /mifinity/api/payments/acct2acct/: synchronous, to an email or account number; 200 with status: "OK" means paid.
POST /mifinity/api/payments/pab: PayAnyBank to an IBAN (IBAN, BIC, BANK_NAME,
CUSTOMER_NAME, _ADDRESS, _CITY, _ZIP), the ones GET /mifinity/api/payees/bank-details-fields?currency=&country=
says are required (modeled: a EUR payout to a SEPA country needs only IBAN and CUSTOMER_NAME, as MiFinity's AI PAB guide pays
Ireland; any other country or currency all seven, as its PayAnyBank reference lists them): Received, Submitted after 1 s, Processed by acquirer after 6 s
(MiFinity: the next day). Notification callbacks (statuses 3, 5, 6) go to the URL set with PUT /mifinity-lab/portal?apiKey=…
{"callbackUrl", "merchantName"} (lab only: MiFinity's integration team sets it up by email) and want 200 with no body.GET /mifinity/api/transactions/status/{traceId}, /api/transactions/{reference}/status (1, 2, 3, 5, 6, 7, 8; 404
ELEMENT_NOT_FOUND), GET /mifinity/api/currencies.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.
wrong fails)| Accounts | Effect | |
|---|---|---|
player@mifinity.test | 5001000001213949, 5001000001213950, 5001000001213951 | an existing, verified user: EUR 5,000, USD 2,500 and GBP 2,000 in the eWallet, a verified Visa •••• 1111 |
lowbalance@mifinity.test | 5001000001214001 | an existing user with EUR 5.00: the balance cannot pay, a card can |
unverified@mifinity.test | 5001000001214002 | an existing user whose card •••• 4242 is not verified: nothing can be paid until it is (code 1234) |
risk@mifinity.test | 5001000001214003 | an existing user whose deposits MiFinity's risk engine refuses (REFUSED_BY_RISK) |
| any other email | a new account | creates the account (accept the Terms), pays by card, then sets a password |
| Amount | Effect |
|---|---|
| deposit …13 | MiFinity fails the deposit (FAILED, TRANSACTION_FAILED) once the payer pays |
| deposit …14 | MiFinity's risk engine refuses the deposit (FAILED, REFUSED_BY_RISK) |
| deposit …15 | the processor takes 30 seconds: PENDING, then SUCCESSFUL (the callback comes after the payer is back) |
| deposit …16 | PENDING for 10 seconds, then FAILED |
| payout …13 | acct2acct: declined (400 TRANSACTION_FAILED); PayAnyBank: Rejected (6) after it is submitted |
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.
POST /truelayer/v3/payments (bank_transfer, user_selected or preselected provider, merchant_account or external_account beneficiary,
hosted_page), GET /v3/payments/{id}, POST /v3/payments/{id}/actions/cancel,
POST|GET /v3/payments/{id}/refunds, GET /v3/payments/{id}/refunds/{refund_id},
POST /v3/payouts (payment_source, external_account by IBAN or sort code and account number), GET /v3/payouts/{id},
GET /v3/merchant-accounts, /{id}, /{id}/payment-sources?user_id=/truelayer/checkout/payments#payment_id=…&resource_token=…&return_uri=… — the hosted payment page: the bank picker with
search, consent, on a computer a real QR code to continue in the banking app (the phone is drawn beside the page; a real phone's camera works too),
the bank's app or website, TrueLayer's mock bank, the result, and back to return_uri?payment_id=…
(&error=tl_hpp_abandoned when the payer cancelled). ?device=mobile|desktop forces either flow.PUT /truelayer-lab/console/settings {"webhook_uri": "…", "merchant_name": "…"} (lab only) — what TrueLayer Console
holds: the client's webhook URI. Without one, no webhooks are sent.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.
mock-payments-*-redirect)| Username | Effect |
|---|---|
test_executed | Execution: the payment executes (and settles) |
test_authorisation_failed | Auth failure: failed, authorization_failed |
test_execution_rejected | Execution rejection: failed after authorisation, provider_rejected |
| Deposit amount | Effect |
|---|---|
| …13, from 10.00 | executed, then settled two minutes later |
| …24, from 10.00 | authorised, executed a minute later |
| …05, from 10.00 | the bank refuses: failed, insufficient_funds (stage authorizing) |
| …06, from 10.00 | over the payer's limit at the bank: failed, payment_limit_exceeded |
| …07, from 10.00 | authorised, then rejected at execution: failed, provider_rejected (stage authorized) |
| Payout amount | Effect |
|---|---|
| …13, from 10.00 | executed, then returned by the beneficiary's bank 20 s later: failed, returned |
| …17, from 10.00 | failed, scheme_error |
| …41, from 10.00 | pending for two minutes, then executed |
| …05, from 10.00 | failed, blocked (sanctions screening) |
| Refund amount | Effect |
|---|---|
| …05, from 10.00 | failed, 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).
| Country | Currency | Banks |
|---|---|---|
| GB | GBP | Barclays 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 |
| IE | EUR | AIB 15,000, Bank of Ireland 15,000, PTSB 10,000, Revolut 100,000, mock-payments-ie-redirect |
| DE | EUR | Sparkasse 5,000, Deutsche Bank 10,000, Commerzbank 10,000, ING 10,000, N26 50,000, mock-payments-de-redirect |
| FR | EUR | BNP 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 |
| ES | EUR | Banco Santander 15,000, BBVA 15,000, CaixaBank 15,000, Banco Sabadell 10,000, mock-payments-es-redirect |
| IT | EUR | Intesa Sanpaolo 15,000, UniCredit 15,000, Fineco 30,000, mock-payments-it-redirect |
| NL | EUR | ING 10,000, ABN AMRO 50,000, Rabobank 10,000, mock-payments-nl-redirect |
| LT | EUR | Swedbank 15,000, SEB 15,000, Luminor 10,000, mock-payments-lt-redirect |
| PT | EUR | Millennium bcp 10,000, Caixa Geral de Depósitos 10,000, mock-payments-pt-redirect |
| FI | EUR | OP 15,000, Nordea 10,000, mock-payments-fi-redirect |
| AT | EUR | Erste Bank 10,000, Raiffeisen 10,000 |
| BE | EUR | KBC 10,000, BNP Paribas Fortis 10,000, Belfius 10,000 |
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.
POST /jeton/v2/payments (200, checkout.url; the checkout expires after 15 minutes),
GET /v2/payments, GET /v2/payments/{id}POST /jeton/v2/payouts (202; jeton_account by customer number, email or phone, completed inside the request;
bank_account on sepa_instant or swift; crypto_wallet in USDT on TRX or ETH),
GET /v2/payouts, GET /v2/payouts/{id}, POST /v2/payouts/requirementsGET /jeton/v2/accounts, /accounts/{id}, /accounts/{id}/transactions, /payment-methods,
/me, /events, /events/{id}POST /jeton/v2/simulator/payments/{id}/complete {"checkoutUrl"} (the test customer
4815162342 pays), POST /v2/simulator/accounts/{id}/deposits, GET /v2/simulator/counterparties
(customer 4815162342, business 4455667788)/jeton/checkout/{token}: the hosted checkout. Log in with the Jeton account's email or phone (any password), approve the
login in the Jeton app (drawn beside the page on a computer) or type its six-digit code, review, Pay; back to returnUrl.
?device=mobile|desktop forces either flow.GET|PUT /jeton-lab/portal/webhook?apiKey=… {"url", "enabled"} (lab only): the merchant portal's v2 webhook address.
Without one, events stay in GET /events. POST /jeton-lab/portal/payments/{id}/refund: a refund made in the portal
(Jeton's API has no refund; the payment reads refunded).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.
| Destination | Value | Outcome |
|---|---|---|
| bank_account IBAN | DE09000000000000000001 | completed |
| bank_account IBAN | DE79000000000000000002 | failed |
| crypto_wallet, an EVM network | 0x0000000000000000000000000000000000000001 | completed |
| crypto_wallet, an EVM network | 0x0000000000000000000000000000000000000002 | failed |
| crypto_wallet, TRON | T9yD14Nj9j7xAB4dbGeiX9h8unkKLxmGkn | completed |
| crypto_wallet, TRON | T9yD14Nj9j7xAB4dbGeiX9h8unkKT76qbH | failed |
| jeton_account customer number (lab) | ending 01 / 02 | completed / failed |
| Login | Customer number | Effect |
|---|---|---|
alex.morgan@example.com | 4815162342 | the sandbox's test customer (4815162342): 5,000.00 in any currency |
low.balance@example.com | 7340012905 | 20.00: paying more fails the attempt (insufficient balance) and the payment stays pending |
suspended@example.com | 7340012913 | the login is refused: the account is suspended |
payout.fails@example.com | 7340012902 | customer number ends 02: pays as usual, and a payout back to it fails |
| Deposit amount | Effect |
|---|---|
| …13, from 10.00 | Paid, 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'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.
POST /astropay/v1/partners/oauth/token (Basic client_id:client_secret, grant_type=client_credentials;
a 43199-second Bearer token)POST /astropay/v1/payments (method: CHECKOUT, requested_payment_method: ASTROPAY; PENDING with
redirect_url; expires after 20 minutes), GET /v1/payments/{id}?method=CHECKOUT,
POST /v1/payments/refund (full or partial; 412 PAYMENT_NOT_FOUND, INVALID_AUTHORIZATION_STATUS,
REFUND_AMOUNT_EXCEEDED, PAYMENT_PROCESSING_ERROR), GET /v1/certificates. Currencies:
USD, EUR, GBP, CAD, BRL, ARS, CLP, COP, MXN, PEN, UYU, INR.callback_notification, else the merchant's URL, signed with
Partner-Signature (SHA256withRSA over requestId:timestamp:body) by the lab's published key; its
certificate, serial 1A57C0DE20261111, is what /v1/certificates answers.POST /astropay/merchant/v1/cashout to a user id or a phone: APPROVED at once to an AstroPay user; PENDING to a phone
with no account, CANCELLED after 24 hours (a phone ending 0077 signs up 30 seconds later: APPROVED).
GET /merchant/v1/cashout/{id}/status, GET /merchant/v2/cashout/external/{merchant_cashout_id}/status.POST /astropay/merchant/v2/cashout/init (Direct Withdrawal; each country's required fields), GET
/merchant/v2/cashout/{cashout_external_id}/status, GET /merchant/v1/cashout/payout/banks/{country}.
CREATED, PENDING after a second, APPROVED (SPCD_1000-Txn successful) three seconds later. Brazil's staging CPFs:
12345678909 created, 22345678909 refused for its status.Signature, the hex HMAC-SHA256 of the body under the published secret
bistromathic-lab-astropay-simulation-secret-key./astropay/checkout/payment/{id}: AstroPay's checkout. The AstroPay account's phone number, the six-digit code sent by SMS
(on a computer it arrives on the phone drawn beside the page), the confirmation, Pay; back to redirect_success_url,
redirect_error_url or cancel_url. ?device=mobile|desktop forces either flow.GET|PUT /astropay-lab/merchant?app_id=… {"merchant_name", "callback_url"} (lab only): what AstroPay sets at
onboarding. POST /astropay-lab/users {"phone"}: the phone signs up, and its PENDING cashouts are paid.| Phone | User id | Effect |
|---|---|---|
+5511911223344 | Vx0H4pdAtPCz | 5,000.00 USD. Pays; cashouts back are APPROVED at once |
+5491123456789 | Lm7Qa2Zx9KpR | 5,000.00 USD (Argentina). Pays |
+525512345678 | Sh4Mx8Tq2LwN | 5,000.00 USD (Mexico). Pays |
+5511900000005 | Bl0Wb5Lc3VnE | 20.00 USD: paying more is refused for the balance; the payment stays PENDING |
+5511900000009 | Cd9Bk1Ld7XqS | The account is blocked: the login is refused |
| any other | made up from the phone | A fresh account holding 5,000.00 USD |
| Country | Currency | Methods |
|---|---|---|
| AR | ARS | TR Bank transfer (CBU / CVU) |
| BR | BRL | PIX PIX |
| CL | CLP | TR Bank transfer |
| CO | COP | TR Bank transfer, BREB Bre-B |
| EC | USD | TY Bank transfer |
| IN | INR | TR Bank transfer |
| MX | MXN | TR SPEI (CLABE) |
| PE | PEN | TR Bank transfer, YP Yape |
| Amount | Effect |
|---|---|
| deposit …13 | Paid, then PENDING for a minute before COMPLETED |
| deposit …33 | COMPLETED, but no callback is sent: only the status endpoint tells |
| deposit …05 | REJECTED once the payer confirms (AstroPay's risk check refuses it) |
| withdrawal …13 | PENDING for two minutes, then APPROVED |
| withdrawal …02 | CANCELLED, INVALID_BANK_ACCOUNT (Brazil: INVALID_PIX_KEY) |
| withdrawal …03 | CANCELLED, ACCOUNT_BLOCKED (Argentina: INVALID_ALIAS; elsewhere GENERIC_ERROR) |
| withdrawal …04 | CANCELLED, CPF_MISMATCH (Brazil; elsewhere TRX_COULD_NOT_BE_PROCESSED) |
| refund …07 | 412 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 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.
POST /coinspaid/api/v2/addresses/take (201): a deposit address for a user (foreign_id, end_user_reference,
sender_type and sender_data are required, as MiCA has them), optionally converting deposits (convert_to).
A new address each call; a merchant reuses one per user and currency.POST /coinspaid/api/v2/withdrawal/crypto (201, status: processing): to any address, with conversion from another
balance (convert_to, amount or amount_to); sender and receiver data required.GET /coinspaid/api/v2/transactions/info by id, foreign_id (withdrawals) or txid: a JSON body as
the docs send it, or the same as query parameters (a Worker cannot send a GET with a body).POST /coinspaid/api/payments/v1/requests (201): a payment request; its payment_link is the lab's hosted page
(pick a currency, Proceed to payment, pay the address); callbacks processing, paid, failed, expired.POST /v2/accounts/list, /v2/currencies/list, /v2/currencies/rates, GET /v2/ping.
Exchanges and instant withdrawals are not simulated.GET|PUT /coinspaid-lab/portal/callback?key=… {"url"} (lab only): the portal's callback URL for that key./coinspaid/deposit?m=<key>&a=<address id>&amount=&cy=&return=: the deposit page a merchant shows
(CryptoProcessing hosts none for addresses): the address, a real QR code (it opens the wallet on a phone), the network and the amount; the
player's wallet drawn beside it on a computer. ?device=mobile|desktop forces either flow.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.
| API code | Asset | Confirmations | Min deposit | Min withdrawal | EUR |
|---|---|---|---|---|---|
BTC | BTC on Bitcoin | 1 | 0.0001 | 0.0002 | 85000 |
ETH | ETH on Ethereum | 2 | 0.002 | 0.002 | 3000 |
ETHA | ETH on Arbitrum | 12 | 0.002 | 0.002 | 3000 |
ETHBASE | ETH on Base | 12 | 0.002 | 0.002 | 3000 |
USDC | USDC on Ethereum | 2 | 5 | 5 | 0.87 |
USDCA | USDC on Arbitrum | 12 | 5 | 5 | 0.87 |
USDCBASE | USDC on Base | 12 | 5 | 5 | 0.87 |
USDCB | USDC on BNB Smart Chain | 10 | 5 | 5 | 0.87 |
USDCP | USDC on Polygon | 10 | 5 | 5 | 0.87 |
USDCS | USDC on Solana | 1 | 5 | 5 | 0.87 |
EURCE | EURC on Ethereum | 2 | 5 | 5 | 1 |
EURCBASE | EURC on Base | 12 | 5 | 5 | 1 |
EURCS | EURC on Solana | 1 | 5 | 5 | 1 |
USDG | USDG on Ethereum | 2 | 5 | 5 | 0.87 |
USDGS | USDG on Solana | 1 | 5 | 5 | 0.87 |
LTC | LTC on Litecoin | 2 | 0.01 | 0.01 | 80 |
BCH | BCH on Bitcoin Cash | 2 | 0.001 | 0.001 | 400 |
DOGE | DOGE on Dogecoin | 3 | 1 | 0.01 | 0.15 |
TRX | TRX on Tron | 3 | 10 | 10 | 0.25 |
SOL | SOL on Solana | 1 | 0.05 | 0.05 | 140 |
XRP | XRP on XRP Ledger | 1 | 4 | 0.001 | 2 |
ADA | ADA on Cardano | 15 | 2 | 2 | 0.6 |
BNB-BSC | BNB on BNB Smart Chain | 10 | 0.01 | 0.01 | 600 |
POL | POL on Polygon | 10 | 10 | 10 | 0.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.
| Amount | Effect |
|---|---|
| …02 | cancelled: "Not enough money on balance" |
| …03 | pending (held for approval), then declined: "Declined by user ID:777" |
| …04 | pending (held for approval), then approved and confirmed |
| …09 | stays not_confirmed: never sent to the blockchain |
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.
POST /shift4/tokens, GET /shift4/tokens/{id} — a card token (one use, 24 hours)POST /shift4/3d-secure — { enrolled, version, redirectUrl, token }: the payer at redirectUrl (/shift4/3d-secure/start/…, the issuer's challenge on the shared ACS page), then back at returnUrl?token=…&liabilityShift=successful|failed; the charge names the token. Unanswered for 10 minutes (modeled), the liability shift fails (abandoned)POST /shift4/charges — with card a token or the card itself; captured=false authorizes only; threeDSecure.external carries a merchant's own 3DS result. A charge on an enrolled card without a successful liability shift fails (authentication_required), as requireSuccessfulLiabilityShiftForEnrolledCard (default true) saysPOST /shift4/charges/{id}/capture — within 5 days, partial or fullPOST /shift4/refunds — partial or full on a captured charge; an authorization is released in fullPOST /shift4/credits — funds to a card (the token or the card); up to 25,000.00 (modeled, limit_exceeded above)GET lists and objects: /charges, /refunds?chargeId=…, /credits, /events (newest first, limit, created[gte] …, startingAfterId)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.
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.
| Card | Brand | Outcome |
|---|---|---|
4012000100000007 | Visa | Successful charge |
4242424242424242 | Visa | Successful charge |
4012888888881881 | Visa | Successful charge |
4000056655665556 | Visa (debit card) | Successful charge (debit) |
4426034383518716 | Visa | Successful charge (GB) |
4909069612259316 | Visa | Successful charge (ES) |
5555555555554444 | MasterCard | Successful charge |
5200828282828210 | MasterCard (debit card) | Successful charge (debit) |
5105105105105100 | MasterCard | Successful charge |
2222000000000008 | MasterCard | Successful charge |
5294008684328401 | MasterCard | Successful charge (GB) |
5125646148694267 | MasterCard | Successful charge (ES) |
6759649826438453 | MasterCard (debit card) | Successful charge (Maestro) |
378282246310005 | American Express | Successful charge |
371449635398431 | American Express | Successful charge |
6011111111111117 | Discover | Successful charge |
6011000990139424 | Discover | Successful charge |
30569309025904 | Diners Club | Successful charge |
38520000023237 | Diners Club | Successful charge |
3530111333300000 | JCB | Successful charge |
3566002020360505 | JCB | Successful charge |
4024007102349866 | Visa | invalid_number |
4532873294814636 | Visa | invalid_expiry_month |
4532582477951947 | Visa | invalid_expiry_year |
4024007189368227 | Visa | invalid_cvc |
4916487051294548 | Visa | expired_card |
4024007134364842 | Visa | Declined: incorrect_cvc |
4929225021529113 | Visa | Declined: incorrect_zip |
4242000000000323 | Visa | Declined: incorrect_address |
4024007118468684 | Visa | Declined: insufficient_funds |
4024007114621187 | Visa | Declined: lost_or_stolen |
4024007155502486 | Visa | Declined: suspected_fraud |
4916018475814056 | Visa | Declined: card_declined |
4916449457024978 | Visa | Declined: authentication_required |
4024007114166316 | Visa | Declined: processing_error |
4242000000000083 | Visa | Successful only with CVC 123, else incorrect_cvc |
4242000000000018 | Visa | Successful; Shift4 disputes it (chargeback) |
4242000000000026 | Visa | Successful; Shift4 disputes it (retrieval request) |
4242000000000042 | Visa | Successful, fraud check safe |
4242000000000059 | Visa | Successful, fraud check suspicious |
4242000000000067 | Visa | Successful, fraud check fraudulent |
4242000000000208 | Visa | Successful, fraud check fraudulent (with a fraud warning) |
4242000000000075 | Visa | Successful, fraud check unknown |
4012001800000016 | Visa | Enrolled for 3D Secure 2 |
5428000221101226 | MasterCard | Enrolled for 3D Secure 2 |
370000000000002 | American Express | Enrolled for 3D Secure 2 |
36000000000008 | Diners Club | Enrolled for 3D Secure 2 |
6011000990191003 | Discover | Enrolled for 3D Secure 2 |
3528000111101116 | JCB | Enrolled for 3D Secure 2 |
4242000000000513 | Visa | ANI check: cardholder name "Ani check" full_match |
4242000000000315 | Visa | AVS check: zip 00000 full_match, 00001 no_match, 00002 partial_match, 00003 not_provided |
4111100000000006 | Visa | CVV check: 111 match, 222 no_match, 333 not_verified, 444 not_provided, 555 not_supported |
4242000000011114 | Visa | A credit to it is a fast credit |
4242000000011148 | Visa | AFT funding supported |
| Amount (last two digits in minor units) | On | Effect |
|---|---|---|
| …51, from 10.00 | credit | The credit fails: card_declined |
| …77, from 10.00 | refund | The refund fails (status failed) |
| …91, from 10.00 | charge | The charge's webhooks arrive 30 s late |
| …92, from 10.00 | charge | The charge sends no webhooks |
/3d-secure, redirectUrl, returnUrl with token and liabilityShift, the charge with the token), the test cards, idempotency, events and unsigned webhooks, the 24-hour token and 5-day capture windows.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.
POST /pxp/api/v1/transactions — transactionMethod.intent Authorisation, EstimatedAuthorisation, Purchase, Verification, Payout or Refund; the card itself or a gatewayTokenId; threeDSecureData.authenticationId (PXP's own 3DS) or a third party's CAVV and ECI; psd2Data.scaExemption. Answers state (Authorised, Captured, Refused, Error), stateData (CRD codes) and a gateway token. A repeated merchantTransactionId answers the original when it succeeded and is processed again when it failedPOST /pxp/api/v1/transactions/{systemTransactionId}/modifications — operation Capture, FinalCapture, Refund (partial or full, on a captured transaction) or Void (an uncaptured authorisation); each answers a new systemTransactionIdGET /pxp/api/v1/transactions/{merchant}/{site}?merchantTransactionId=…|systemTransactionId=…&fundingType=Card — an array of zero or one transactionPOST /pxp/api/v1/threedsecure/integrated/authentications, PUT …/{id}/browser-authentication, GET …/{id}/outcome, GET …/{id}/assessment — PXP's integrated 3-D Secure: frictionless, or PendingCustomerChallenge with acsUrl and challengeData; the payer posts creq to the ACS (the shared issuer page), which posts cres to the challengeCallbackUrl. Unanswered for 10 minutes, the challenge fails (U, reason 14)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).
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.
| Card | Scheme | Outcome |
|---|---|---|
4111111111111111 | Visa | Approved, no challenge |
5555555555554444 | MasterCard | Approved, no challenge |
378282246310005 | American Express | Approved, no challenge |
4000000000000002 | Visa | Challenge required, then approved |
4000000000000077 | Visa | Refused: not sufficient funds (CRD116) |
4000000000000051 | Visa | Refused: do not honour (CRD100) |
4000000000000069 | Visa | Refused: expired card (CRD101) |
4000000000000101 | Visa | Refused: CVC check failed (CRD100, CVC not matched) |
4570020000000851 | Visa | 3DS frictionless, authenticated (Y); SCA mandated; no fingerprinting |
4570020000000067 | Visa | 3DS frictionless, attempted (A) |
4570010000000076 | Visa | 3DS failed (N) |
4570020000000083 | Visa | 3DS failed, could not be performed (U) |
4570010000000092 | Visa | 3DS rejected (R) |
4570020000000018 | Visa | 3DS challenge (C) |
4570020000000109 | Visa | TRA exemption at 135.50 |
5266001055000588 | MasterCard | 3DS frictionless, authenticated (Y); device fingerprinting |
5266001055000075 | MasterCard | 3DS frictionless, attempted (A) |
5266001055000083 | MasterCard | 3DS failed (N) |
5266001055000091 | MasterCard | 3DS failed, could not be performed (U) |
5266001056000108 | MasterCard | 3DS rejected (R) |
5266001055000026 | MasterCard | 3DS challenge (C) |
5266001055000117 | MasterCard | LVP exemption at 13.50; TRA at 13.50 or 135.50 |
375987130000321 | American Express | 3DS frictionless, authenticated (Y) |
375987130000073 | American Express | 3DS frictionless, attempted (A) |
375987140000089 | American Express | 3DS failed (N) |
375987130000107 | American Express | 3DS failed, could not be performed (U) |
375987130000099 | American Express | 3DS rejected (R) |
375987140000022 | American Express | 3DS challenge (C) |
384444444400077 | Diners | 3DS frictionless, authenticated (Y) |
3833333333000075 | Diners | 3DS frictionless, attempted (A) |
3844444444000081 | Diners | 3DS failed (N) |
3833333333000091 | Diners | 3DS failed, could not be performed (U) |
3844444444000107 | Diners | 3DS rejected (R) |
3844444444000024 | Diners | 3DS challenge (C) |
3844444444000073 | Diners | SCA not mandated (PSD2) |
6011060000000560 | Discover | 3DS frictionless, authenticated (Y) |
6011030000000076 | Discover | 3DS frictionless, attempted (A) |
6011060000000081 | Discover | 3DS failed (N) |
6011030000000092 | Discover | 3DS failed, could not be performed (U) |
6011060000000107 | Discover | 3DS rejected (R) |
6011060000000024 | Discover | 3DS challenge (C) |
| Amount (last two digits in minor units) | On | Effect |
|---|---|---|
| …23, from 10.00 | payout | The payout is refused: exceeds withdrawal frequency limit (CRD123) |
| …51, from 10.00 | payout | The payout is refused: do not honour (CRD100) |
| …77, from 10.00 | refund | The refund is refused (CRD100) |
| …83, from 10.00 | payment | Error: timeout / malfunction at the issuer (CRD183) |
| …91, from 10.00 | payment | The webhooks arrive 30 s late |
| …92, from 10.00 | payment | No webhooks |
| …02, from 10.00 | payment | Error: suspected fraud, PXP's risk refusal (CRD102) |
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.
POST /volt/payments (X-Volt-Initiation-Channel: hosted; OPEN_BANKING_EU, OPEN_BANKING_UK,
NPP_PAY_TO_AU), GET /volt/payments/{id}, POST /volt/payments/{id}/cancel, GET /volt/institutions,
/institutions/{id}, /institutions/countriesGET /volt/accounts, /accounts/{id}, /accounts/{id}/beneficiaries (whoever paid in during the last 12 months),
POST /volt/accounts/{id}/transactions (PAYOUT, closed loop only; REFUND of an incoming transaction),
GET /volt/transactions (?gatewayPaymentId=, sourceTransactionId, type[], …), /transactions/{id},
/account-holder-verifications/{id}, …/approve, …/reject/volt/checkout/{paymentId}?auth=… — the hosted checkout: the bank picker with search, PayTo's PayID or BSB (Australia), the summary,
on a computer a real QR code to continue in the banking app (the phone is drawn beside the page; a real phone's camera works too), the bank's app or
website, the sandbox's Synthetic Redirect page and Synthetic Embedded login (one-time code 123456), the
status page, and back to the return URL. ?device=mobile|desktop forces either flow.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.
| Deposit amount | Effect |
|---|---|
| …13, from 10.00 | DELAYED_AT_BANK for two minutes, then COMPLETED |
| …41, from 10.00 | FAILED (a technical failure in the banking network) |
| …05, from 10.00 | REFUSED_BY_BANK (insufficient funds at the bank) |
| …06, from 10.00 | ERROR_AT_BANK |
| …07, from 10.00 | REFUSED_BY_RISK (Circuit Breaker, before the bank) |
| exactly 2050 | COMPLETED, then NOT_RECEIVED (Volt's sandbox value) |
| Payout amount | Effect |
|---|---|
| exactly 1570 | REJECTED, ACCOUNT_INSUFFICIENT_FUNDS (the legacy sandbox's PAYOUT_FAILED) |
| exactly 2570 | REJECTED, TRANSACTION_REJECTED_BY_BANKING_PROVIDER (the legacy sandbox's PAYOUT_REJECTED_BY_PROVIDER) |
| …17, from 10.00 | REJECTED, PROCESSING_ERROR |
| …41, from 10.00 | PROCESSING for two minutes, then COMPLETED |
| to an account that never paid in | REJECTED, TRANSACTION_BENEFICIARY_CHECK_REJECTED |
| under another name | account holder verification CLOSE_MATCH or NO_MATCH: waits for approve or reject (10 min, then TRANSACTION_APPROVAL_TIMEOUT) |
| Refund amount | Effect |
|---|---|
| exactly 1177 | REJECTED, TRANSACTION_REJECTED_BY_BANKING_PROVIDER (the legacy sandbox's REFUND_FAILED) |
| …05, from 10.00 | REJECTED, ACCOUNT_INSUFFICIENT_FUNDS |
X-Volt-Testing-Scenario | Effect |
|---|---|
PAYOUT_REJECTED | REJECTED, TRANSACTION_REJECTED_BY_BANKING_PROVIDER |
ACCOUNT_HOLDER_VERIFICATION_CLOSE_MATCH | account holder verification CLOSE_MATCH: waits for approve or reject |
ACCOUNT_HOLDER_VERIFICATION_NO_MATCH | account holder verification NO_MATCH: waits for approve or reject |
ACCOUNT_HOLDER_VERIFICATION_ERROR | account holder verification ERROR: waits for approve or reject |
| Country | Currency | Payment system | Banks |
|---|---|---|---|
| GB | GBP | OPEN_BANKING_UK | Barclays 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 |
| DE | EUR | OPEN_BANKING_EU | Sparkasse 5,000, Deutsche Bank 10,000, Commerzbank 10,000, ING 10,000, N26 50,000, Synthetic Redirect, Synthetic Embedded |
| AT | EUR | OPEN_BANKING_EU | Erste Bank und Sparkassen 10,000, Raiffeisen 10,000, Bank Austria 10,000, Synthetic Redirect, Synthetic Embedded |
| NL | EUR | OPEN_BANKING_EU | ING 10,000, ABN AMRO 50,000, Rabobank 10,000, bunq 25,000 |
| FR | EUR | OPEN_BANKING_EU | BNP Paribas 15,000, Crédit Agricole 15,000, Société Générale 15,000, BoursoBank 30,000 |
| ES | EUR | OPEN_BANKING_EU | Banco Santander 15,000, BBVA 15,000, CaixaBank 15,000 |
| IT | EUR | OPEN_BANKING_EU | Intesa Sanpaolo 15,000, UniCredit 15,000, Fineco 30,000 |
| IE | EUR | OPEN_BANKING_EU | AIB 15,000, Bank of Ireland 15,000, PTSB 10,000 |
| BE | EUR | OPEN_BANKING_EU | KBC 10,000, BNP Paribas Fortis 10,000, Belfius 10,000 |
| FI | EUR | OPEN_BANKING_EU | OP 15,000, Nordea 10,000 |
| PT | EUR | OPEN_BANKING_EU | Millennium bcp 10,000, Caixa Geral de Depósitos 10,000 |
| LT | EUR | OPEN_BANKING_EU | Swedbank 15,000, SEB 15,000, Luminor 10,000 |
| LV | EUR | OPEN_BANKING_EU | Swedbank 15,000, Citadele 10,000 |
| EE | EUR | OPEN_BANKING_EU | Swedbank 15,000, LHV 15,000, SEB 15,000 |
| SK | EUR | OPEN_BANKING_EU | Slovenská sporiteľňa 10,000, Tatra banka 10,000 |
| AU | AUD | NPP_PAY_TO_AU | CommBank 25,000, Westpac 25,000, ANZ 25,000, NAB 25,000 |
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.
POST /d24/v3/deposits (OneShot; X-Idempotency-Key honoured): ONE_SHOT with payment_info
and redirect_url, or HOSTED when the payer's document, email or name is missing. GET /v3/deposits/{deposit_id},
GET /v3/payment_methods?country=. Errors as D24's API Codes: 201 BEAN_VALIDATION_ERROR, 300 USER_BLACKLISTED, 400 INVALID_AMOUNT
(under USD 2), 401 PAYMENT_METHOD_NOT_FOUND (Boleto BL, retired 2024-12-23), 402 INVOICE_ALREADY_USED, 408 / 410 method limits.POST /d24/v3/refunds (a COMPLETED deposit; bank_account required: 804 MISSING_BANK_ACCOUNT), GET /v3/refunds/{refund_id}:
PENDING, DELIVERED, then COMPLETED or CANCELLED.{"deposit_id"} / {"refund_id"}, with X-Date, X-Login and
Authorization: D24 <hex HMAC-SHA256 of X-Date + X-Login + body> under the published deposits API Signature
d24-lab-deposits-signature-0a4c19e2b7.POST /d24/v3/cashout (each country's validations: Pix keys 10000–10003 and banks in Brazil, a CLABE in Mexico, Bre-B keys
20000–20003, Efecty 10003, Nequi, Daviplata and banks in Colombia), POST /v3/cashout/status, DELETE /v3/cashout/cancel,
GET /v3/banks?country=. PENDING (0), DELIVERED (4) a second later, then COMPLETED (1), REJECTED (3) or CANCELLED (2).
Notifications are form posts with control = upper-case HMAC-SHA256 of Be4<external_id>Bo7 under the
published cashouts API Signature d24-lab-cashouts-signature-5f81d03c6e./d24/v1/checkout/{token}: D24's checkout. Pix: a real BR Code as QR and "Copia e Cola", the bank app beside it. SPEI: the CLABE.
OXXO and Efecty: a cash voucher with a real Interleaved 2 of 5 barcode and the lab's counter. PSE: the bank picker, then online banking with
the bank app's dynamic key. ?device=mobile|desktop forces either flow.GET|PUT /d24-lab/merchant?x_login=… {"merchant_name", "notification_url"} (lab only): the Merchant Panel's settings.| Code | Method (option) | Country | Type | Limits (local, modeled) | Expiry (modeled) |
|---|---|---|---|---|---|
IX | Pix (pix) | BR | BANK_TRANSFER | 1–50,000 | 12 h |
SE | Spei (spei) | MX | BANK_TRANSFER | 10–500,000 | 3 days |
OX | OXXO (oxxo) | MX | VOUCHER | 10–10,000 | 6 days |
PC | PSE (pse) | CO | BANK_DEPOSIT | 5,000–20,000,000 | 1 h |
EY | Efecty (efecty) | CO | VOUCHER | 5,000–5,000,000 | 3 days |
| Amount | Effect |
|---|---|
deposit 1 | Paid: COMPLETED about 2 seconds after the payer pays |
deposit 2 | Paid: COMPLETED about 3 minutes after the payer pays |
deposit 3 | Paid: COMPLETED about 5 minutes after the payer pays, with no notification (poll the status) |
deposit 4 | Refused at once: INVALID_CARD_NUMBER, no deposit |
deposit 5 | CANCELLED about 3 minutes after the payer pays (MOCK_ERROR) |
deposit 6 | FOR_REVIEW about 1 minute after the payer pays (terminal), then refunded automatically |
deposit 41 | Refused at once: INSUFFICIENT_FUNDS, no deposit |
deposit 51 | CANCELLED about 8 minutes after the payer pays (PROCESSING_ERROR) |
| deposit, any other | Paid: COMPLETED about 1 minute after the payer pays |
refund 1 | COMPLETED about 2 seconds later |
refund 4 | Refused at once: DUPLICATE_TRANSACTION |
refund 5 | CANCELLED about 3 minutes later (MOCK_ERROR) |
refund 6 | COMPLETED about 2 seconds later (the under-review deposit's automatic refund) |
cashout 1 | COMPLETED about 2 seconds later |
cashout 2 | COMPLETED about 3 minutes later |
cashout 3 | COMPLETED about 5 minutes later, with no notification |
cashout 4 | Refused at once: INVALID_BENEFICIARY_ACCOUNT |
cashout 5 | CANCELLED about 3 minutes later (PROCESSING_FAILED) |
cashout 41 | Refused at once: MERCHANT_INSUFFICIENT_BALANCE |
cashout 51 | CANCELLED about 8 minutes later (MOCK_ERROR) |
| cashout document …0800 | REJECTED 800 ERROR_ACCOUNT_INCORRECT (lab rule) |
| cashout document …0812 | REJECTED 812 BLOCKED_FROZEN_ACCOUNT (lab rule) |
| cashout document …0813 | REJECTED 813 DOCUMENT_ACCOUNT_MISMATCH (lab rule) |
| Country | Codes |
|---|---|
| BR | 1 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 |
| MX | 2 BANAMEX, 12 BBVA MEXICO, 14 SANTANDER, 21 HSBC, 72 BANORTE, 127 AZTECA, 646 STP |
| CO | 1007 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'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.
POST /zota/api/v1/deposit/request/{EndpointID}/: an order, CREATED, and its depositUrl, Zota's payment form
(/zota/api/v1/deposit/init/{orderID}/), where the payer picks a local bank, the country's QR code, an e-wallet or mobile
money. An order nobody submits is DECLINED after 20 minutes.GET /zota/api/v1/query/order-status/?merchantID&merchantOrderID&orderID×tamp&signature (a timestamp
older than 15 minutes is refused); GET /zota/api/v1/query/current-balance/.POST /zota/api/v1/payout/request/{EndpointID}/ to a local bank account (customerBankCode,
customerBankAccountNumber, customerBankAccountName; a wallet's or mobile money's code and number):
AUTHORIZED, PROCESSING a second later, APPROVED three seconds after that. The Payout Form ("none") is not enabled.redirectUrl with status, orderID, merchantOrderID and
signature = SHA-256(status + orderID + merchantOrderID + secret); every final status is POSTed to callbackUrl
with signature = SHA-256(EndpointID + orderID + merchantOrderID + status + amount + customerEmail + secret). The lab's
published secret is BISTROMATHIC-LAB-ZOTA-SIMULATION-SECRET.?device=mobile|desktop forces
either flow.GET|PUT /zota-lab/endpoints/{EndpointID} {"merchant_name"} (lab only): the merchant's name on the form, as
Zota sets it at onboarding. Another EndpointID than the published ones takes the currency of its first order.| Country | Currency | Endpoints | Limits | Banks | QR | Wallets, mobile money |
|---|---|---|---|---|---|---|
| TH | THB | 1050 / 2050 | 100–200,000 | BBL Bangkok Bank, KBANK Kasikornbank, SCB Siam Commercial Bank, KTB Krungthai Bank, BAY Krungsri, TTB TMBThanachart | PROMPTPAY PromptPay QR | TRUEMONEY TrueMoney Wallet |
| VN | VND | 1051 / 2051 | 50,000–300,000,000 | VCB Vietcombank, TCB Techcombank, BIDV BIDV, CTG VietinBank, ACB ACB, MB MB Bank | VIETQR VietQR | MOMO MoMo, ZALOPAY ZaloPay |
| MY | MYR | 1052 / 2052 | 10–50,000 | MBB Maybank, CIMB CIMB Bank, PBB Public Bank, RHB RHB Bank, HLB Hong Leong Bank | DUITNOW DuitNow QR | TNG Touch 'n Go eWallet, BOOST Boost |
| ID | IDR | 1053 / 2053 | 10,000–100,000,000 | BCA Bank Central Asia (BCA), MANDIRI Bank Mandiri, BNI BNI, BRI BRI, CIMBN CIMB Niaga | QRIS QRIS | OVO OVO, DANA DANA, GOPAY GoPay |
| PH | PHP | 1054 / 2054 | 100–500,000 | BDO BDO Unibank, BPI BPI, MBTC Metrobank, UBP UnionBank, LBP Landbank | QRPH QR Ph | GCASH GCash, MAYA Maya |
| IN | INR | 1055 / 2055 | 100–200,000 | HDFC HDFC Bank, ICICI ICICI Bank, SBI State Bank of India, AXIS Axis Bank, KOTAK Kotak Mahindra Bank | UPI UPI QR | PAYTM Paytm, PHONEPE PhonePe |
| CN | CNY | 1056 / 2056 | 100–50,000 | ICBC ICBC, CCB China Construction Bank, ABC Agricultural Bank of China, BOC Bank of China, CMB China Merchants Bank | UNIONPAYQR UnionPay QR | ALIPAY Alipay, WECHAT WeChat Pay |
| NG | NGN | 1057 / 2057 | 1,000–5,000,000 | ACCESS Access Bank, GTB GTBank, ZENITH Zenith Bank, FBN First Bank, UBA UBA | — | OPAY OPay, PALMPAY PalmPay |
| KE | KES | 1058 / 2058 | 100–250,000 | EQUITY Equity Bank, KCB KCB Bank, COOP Co-operative Bank | — | MPESA M-PESA, AIRTEL Airtel Money |
| GH | GHS | 1059 / 2059 | 10–50,000 | GCB GCB Bank, ECOBANK Ecobank Ghana, STANBIC Stanbic Bank | — | MTN MTN MoMo, TELECEL Telecel Cash, ATMONEY AT Money |
| EG | EGP | 1060 / 2060 | 50–100,000 | NBE National Bank of Egypt, CIB CIB, BANQUEMISR Banque Misr | INSTAPAY InstaPay QR | VFCASH Vodafone Cash |
| MX | MXN | 1061 / 2061 | 50–100,000 | BBVA BBVA México, BANORTE Banorte, SANTANDER Santander, BANAMEX Banamex | CODI CoDi | MERCADOPAGO Mercado Pago |
| BR | BRL | 1062 / 2062 | 10–50,000 | ITAU Itaú, BRADESCO Bradesco, BB Banco do Brasil, NUBANK Nubank | PIX Pix | PICPAY PicPay |
| Amount | Effect |
|---|---|
| deposit …13 | PROCESSING for a minute after the payer approves, then APPROVED |
| deposit …21 | UNKNOWN for two minutes after the payer approves (not final), then APPROVED |
| deposit …33 | APPROVED with no callback: only the order status (or reconciliation) tells |
| deposit …02 | DECLINED once the payer approves: insufficient funds at the bank |
| deposit …03 | FILTERED once the payer approves: declined by Zota's fraud prevention |
| deposit …04 | ERROR once the payer approves: a processor error (final) |
| payout …13 | PROCESSING for two minutes, then APPROVED |
| payout …02 | DECLINED: invalid bank account |
| payout …03 | FILTERED: declined by fraud prevention |
| payout …04 | ERROR: 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'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).
POST /interkassa/sci/: the payment form (ik_co_id, ik_pm_no, ik_am, ik_cur, ik_desc, …).
With ik_int=json and ik_act=process and an ik_payment_method, the payment system's form; otherwise (or by GET) the payment page,
where the payer chooses. A payment number again is refused (1412) unless it is the same unpaid invoice; ik_ltm (seconds) or ik_exp end it.success, fail or canceled, the notification to ik_ia_u (POST unless
ik_ia_m=get), and "Return to the site" by ik_suc_u or ik_fal_u with the same signed fields.GET /interkassa/api/v1/co-invoice/{id}, ?paymentNo=; POST /v1/refund (id, amount,
merchantOrderId): process, then success 3 s later (Interkassa: 5–10 days), the invoice refunded or
partialRefund; an amount ending …13 is refused (1106).POST /interkassa/api/v1/withdraw (amount, purseId, method and currency with
useShortAlias=true or a paywayId, calcKey, action process or calc, paymentNo,
details[…]): new, process 1 s later, success 3 s after that, with a notification (modeled) to the checkout's
interaction URL; GET /v1/withdraw/{id}, ?paymentNo=; /v1/purse, /v1/checkout, /v1/account,
/v1/paysystem-input-payway, /v1/paysystem-output-payway, /v1/currency.method=card, details[card], the SDK's own example): the card in clear, or as vault ciphertext with its
BIN and last four in X-Bistromathic-Card-Bin and X-Bistromathic-Card-Last4 (BabelPay's simulated flow); the API shows it masked./interkassa/unityfinance/sci (for old-pay.unityfinance.com, real) and /interkassa/unityfinance/api/v1
(its API host is not public: modeled as API v1 on its own host), its pages under its name.| Alias | Method | Currencies | Limits |
|---|---|---|---|
card | Bank card | UAH, EUR, USD, GBP, PLN, CZK, TRY | UAH 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 |
applepay | Apple Pay | UAH, EUR, USD, GBP, PLN, CZK, TRY | UAH 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 |
googlepay | Google Pay | UAH, EUR, USD, GBP, PLN, CZK, TRY | UAH 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 |
bank | Internet banking | UAH | UAH 10.00–300000.00 |
crypto | Cryptocurrency | UAH, EUR, USD | UAH 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).
| Method | To | Currencies | Details |
|---|---|---|---|
card | Bank card | UAH, EUR, USD | details[card] |
bank | Bank account | UAH, EUR, USD | details[account_number], details[first_name], details[last_name] |
usdt | Tether USDT (TRC20) | USDT | details[address] |
btc | Bitcoin (Bitcoin) | BTC | details[address] |
eth | Ethereum (ERC20) | ETH | details[address] |
ltc | Litecoin (Litecoin) | LTC | details[address] |
| Amount | Effect |
|---|---|
| …02 | canceled by the payment system (1409, an error carrying out the withdrawal) |
| …09 | stays process: the payment system never answers |
| Card | Effect |
|---|---|
4111 1111 1111 1111 | Paid: success |
5555 5555 5555 4444 | Paid: success |
4000 0000 0000 0002 | Canceled: the card takes no payouts |
4000 0000 0000 0069 | Canceled: the card has expired |
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.
POST /ppro/v1/payment-charges (EPS, P24, BLIK, BANCONTACT, TWINT,
ALIPAY, WERO, MYBANK), GET /ppro/v1/payment-charges[/{id}], POST …/{id}/authorizations (BLIK's code),
…/refunds, …/captures and …/voids (none of these methods has separate captures: an approved charge is
CAPTURED at once), GET /ppro/v1/payment-instruments/{id} (eps reports the payer's IBAN and name; MyBank's BANK_ACCOUNT carries no details, as on
PPRO's MyBank page)/ppro/checkout/{token} — PPRO's hosted page (REDIRECT's requestUrl): eps' bank picker, the bank's login (PSA BANK GROUP:
1006044 / PPRO1234$$) and TAN; Przelewy24's bank picker and the dummy "My Bank"; BLIK's code entry and the push in the
banking app; Bancontact's, TWINT's and Alipay's real QR code with the app on the phone drawn beside it (a real phone's camera works too:
/ppro/q/{token}), the app at once on a phone, and Bancontact's card form; Wero's real QR code for the Wero app or a banking app, and
"Mit Wero-Code bezahlen" (the code under it, typed in the Wero app drawn beside the page), the app switch on a phone; MyBank's bank selection (choose or type the bank), the bank's online banking login (any user code and PIN), the pre-filled
transfer to authorise, and the push in the banking app (drawn beside the page on a computer, the app itself on a phone): Autorizza or Rifiuta.
?device=mobile|desktop forces either flow.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.
| Method | Name | Consumers | Currencies | Authentication | Timeout |
|---|---|---|---|---|---|
BANCONTACT | Bancontact | BE | EUR | REDIRECT SCAN_CODE APP_INTENT | 60 min |
BLIK | BLIK | PL | PLN | REDIRECT MULTI_FACTOR | 30 min |
EPS | eps Überweisung | AT | EUR | REDIRECT | 60 min |
P24 | Przelewy24 | PL | EUR, PLN | REDIRECT | 60 min |
TWINT | TWINT | CH | CHF | REDIRECT SCAN_CODE | 60 min |
ALIPAY | Alipay | CN | AUD, CAD, CHF, CNY, EUR, GBP, HKD, JPY, NZD, SGD, USD | REDIRECT | 720 min |
WERO | Wero | DE, FR, BE, LU, NL | EUR | REDIRECT | 60 min |
MYBANK | MyBank | BE, ES, FR, IT, PT | EUR | REDIRECT | 30 min |
| Value | Effect |
|---|---|
BLIK code 999009, 777123 (777xxx), or the code the lab's banking app shows | accepted; the payer confirms in the app |
BLIK code 999001 AUTHENTICATION_FAILED, 999002 INSUFFICIENT_FUNDS | FAILED |
Bancontact 60600599999899023 / 60600599999899080, 01/2035 | CAPTURED / FAILED, AUTHENTICATION_FAILED |
| 3000.00 – 3999.99 (the mock authenticator) | FAILED after the payer approves: …02 INSUFFICIENT_FUNDS, otherwise GENERIC_DECLINE |
| …13, from 10.00 | AUTHORIZATION_ASYNC, then CAPTURED when the provider confirms 20 seconds later |
| …14, from 10.00 | AUTHORIZATION_ASYNC, then FAILED 20 seconds later |
| …53, from 10.00 | 504 from the create: nothing is created |
| …05, from 10.00 | the bank declines after the payer approves (GENERIC_DECLINE) |
| …06, from 10.00 | the bank declines after the payer approves (INSUFFICIENT_FUNDS) |
| …07, from 10.00 | FAILED at once: PPRO's risk check (BLOCKED_ACCOUNT) |
| refund …77 | PENDING, 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.
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.
https://eu-test.oppwa.com (test), https://eu-prod.oppwa.com (live)https://sandbox-card.peachpayments.com (test), https://card.peachpayments.com (live)https://eu-test.oppwa.com (test), https://eu-prod.oppwa.com (live)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": …}.
POST /oppwa/v1/payments — PA, DB or CD with card.*; with shopperResultUrl, an enrolled card answers 000.200.000 pending with redirect (the issuer's challenge on the shared ACS page, after a 3DS Method in a hidden iframe), and the payer comes back to shopperResultUrl?id=…&resourcePath=/v1/payments/…. Unanswered for 30 minutes, the payment times out (100.396.103). createRegistration=true stores the card (registrationId)POST /oppwa/v1/payments/{id} — CP (capture a PA, partial or full), RF (refund a DB, CP or CD, partial or full), RV (reverse a PA, DB or CD with nothing captured or refunded)GET /oppwa/v1/payments/{id}?entityId=… — the payment; two reads a minute per payment, then 800.120.100 (HTTP 429), as OPPWA throttles itPOST /oppwa/v1/registrations, POST /oppwa/v1/registrations/{id}/payments, DELETE /oppwa/v1/registrations/{id} — tokensGET /oppwa/v3/query/{id} (100 a minute; includeLinkedTransactions, paymentTypes), GET /oppwa/v3/query?merchantTransactionId=… (30 a minute), and the v1 queries (2 a minute)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.
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.
| Card | Brand | Outcome |
|---|---|---|
4200000000000000 | VISA | Not enrolled (no 3-D): successful |
4711100000000000 | VISA | 3-D enrolled: the issuer's challenge |
4012888888881881 | VISA | 3-D enrolled: the issuer's challenge |
4111111111111111 | VISA | Simulates external mode (no 3-D here): successful |
4242424242424242 | VISA | 3-D disabled: successful |
5454545454545454 | MASTER | Not enrolled (no 3-D): successful |
5212345678901234 | MASTER | 3-D enrolled: the issuer's challenge |
5105105105105100 | MASTER | 3-D disabled: successful |
377777777777770 | AMEX | Not enrolled (no 3-D): successful |
375987000000005 | AMEX | 3-D enrolled: the issuer's challenge |
30082246403846 | DINERS | 3-D disabled: successful |
4200000000000091 | VISA | 3-D Secure 2 frictionless (Y): successful |
5200000000000007 | MASTER | 3-D Secure 2 frictionless (Y): successful |
6761301000993772 | MAESTRO | 3-D Secure 2 frictionless (Y): successful |
374500262001008 | AMEX | 3-D Secure 2 frictionless (Y): successful |
4200000000000109 | VISA | 3-D Secure 2 frictionless attempt (A): successful |
5200000000000023 | MASTER | 3-D Secure 2 frictionless attempt (A): successful |
6706981111111113 | MAESTRO | 3-D Secure 2 frictionless attempt (A): successful |
377277081382243 | AMEX | 3-D Secure 2 frictionless attempt (A): successful |
4200000000000026 | VISA | 3-D Secure 2 frictionless (Y): successful (no 3DS Method) |
5200000000000056 | MASTER | 3-D Secure 2 frictionless (Y): successful (no 3DS Method) |
6799851000000032 | MAESTRO | 3-D Secure 2 frictionless (Y): successful (no 3DS Method) |
375987000000062 | AMEX | 3-D Secure 2 frictionless (Y): successful (no 3DS Method) |
4200000000000059 | VISA | 3-D Secure 2 frictionless attempt (A): successful (no 3DS Method) |
5200000000000106 | MASTER | 3-D Secure 2 frictionless attempt (A): successful (no 3DS Method) |
6007930123456780 | MAESTRO | 3-D Secure 2 frictionless attempt (A): successful (no 3DS Method) |
373953192351004 | AMEX | 3-D Secure 2 frictionless attempt (A): successful (no 3DS Method) |
4012001037461114 | VISA | 3-D Secure 2 technical error (U): rejected |
5434580000000006 | MASTER | 3-D Secure 2 technical error (U): rejected |
6761301000941201 | MAESTRO | 3-D Secure 2 technical error (U): rejected |
375987000169875 | AMEX | 3-D Secure 2 technical error (U): rejected |
4012001037141112 | VISA | 3-D Secure 2 user not enrolled (N): rejected |
5457350076543210 | MASTER | 3-D Secure 2 user not enrolled (N): rejected |
6761301000946341 | MAESTRO | 3-D Secure 2 user not enrolled (N): rejected |
375987000169883 | AMEX | 3-D Secure 2 user not enrolled (N): rejected |
4532497088771651 | VISA | 3-D Secure 2 card not participating: rejected |
5497260847316287 | MASTER | 3-D Secure 2 card not participating: rejected |
6761257707836567 | MAESTRO | 3-D Secure 2 card not participating: rejected |
343923092050144 | AMEX | 3-D Secure 2 card not participating: rejected |
4200000000000042 | VISA | 3-D Secure 2 challenge: the cardholder decides |
5200000000000015 | MASTER | 3-D Secure 2 challenge: the cardholder decides |
6799998900000060018 | MAESTRO | 3-D Secure 2 challenge: the cardholder decides |
343434343434343 | AMEX | 3-D Secure 2 challenge: the cardholder decides |
4200000000000067 | VISA | 3-D Secure 2 challenge: the cardholder decides |
5200000000000049 | MASTER | 3-D Secure 2 challenge: the cardholder decides |
6773670009114879 | MAESTRO | 3-D Secure 2 challenge: the cardholder decides |
375987000000021 | AMEX | 3-D Secure 2 challenge: the cardholder decides |
4200000000000018 | VISA | 3-D Secure 2 challenge: the cardholder decides (no 3DS Method) |
5200000000000064 | MASTER | 3-D Secure 2 challenge: the cardholder decides (no 3DS Method) |
67034200554565015 | MAESTRO | 3-D Secure 2 challenge: the cardholder decides (no 3DS Method) |
375987000169867 | AMEX | 3-D Secure 2 challenge: the cardholder decides (no 3DS Method) |
4200000000000075 | VISA | 3-D Secure 2 challenge: the cardholder decides (no 3DS Method) |
5200000000000072 | MASTER | 3-D Secure 2 challenge: the cardholder decides (no 3DS Method) |
6759888888888888 | MAESTRO | 3-D Secure 2 challenge: the cardholder decides (no 3DS Method) |
371449635398431 | AMEX | 3-D Secure 2 challenge: the cardholder decides (no 3DS Method) |
| Amount (last two digits) | On | Effect |
|---|---|---|
| …14, from 10.00 | payment | 800.100.151 transaction declined (invalid card) |
| …51, from 10.00 | payment | 800.100.203 Insufficient Funds |
| …52, from 10.00 | credit | 800.100.180 transaction declined (not supported by issuer): the card takes no credits |
| …54, from 10.00 | payment | 800.100.157 transaction declined (wrong expiry date) |
| …57, from 10.00 | payment | 800.100.170 transaction declined (transaction not permitted) |
| …59, from 10.00 | payment | 800.100.159 transaction declined (stolen card) |
| …61, from 10.00 | payment | 800.100.162 transaction declined (limit exceeded) |
| …62, from 10.00 | payment | 800.100.168 transaction declined (restricted card) |
| …77, from 10.00 | refund | 700.400.200 cannot refund |
| …82, from 10.00 | payment | 800.100.153 transaction declined (invalid CVV) |
| …91, from 10.00 | payment | Successful; the payment's webhooks arrive 30 s late |
| …92, from 10.00 | payment | Successful; the payment's webhooks never arrive |
| …05, from 10.00 | payment | 800.100.183 transaction declined (Do not honor) |
redirect, preconditions, shopperResultUrl with resourcePath), the test cards and their 3DS outcomes, the 30-minute pending timeout, the status and query throttles, the webhook format and its AES-256-GCM encryption.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).
POST /paypal/v2/checkout/orders (CAPTURE or AUTHORIZE; with payment_source.paypal.experience_context
it is PAYER_ACTION_REQUIRED with a payer-action link, with application_context CREATED with an
approve link), GET /v2/checkout/orders/{id}, POST …/{id}/capture, POST …/{id}/authorizeGET /paypal/v2/payments/authorizations/{id}, POST …/capture, POST …/void;
GET /v2/payments/captures/{id}, POST …/refund; GET /v2/payments/refunds/{id}POST /paypal/v1/payments/payouts (201, batch PENDING; EMAIL, PAYPAL_ID or PHONE
receivers; a sender_batch_id is unique for 30 days), GET /v1/payments/payouts/{id},
GET /v1/payments/payouts-item/{id}, POST …/payouts-item/{id}/cancel (an UNCLAIMED item is RETURNED)POST|GET /paypal/v1/notifications/webhooks, GET|DELETE …/webhooks/{id},
POST /v1/notifications/verify-webhook-signature, GET /v1/notifications/certs/CERT-360caa42-fca2a594-b15720a6/paypal/checkoutnow?token={order id}&sid=…: PayPal's pages. On a computer the login (email, then any password or a
one-time code texted to the phone drawn beside it), the review with the funding source (PayPal balance or the card) and Agree & Pay,
then return_url?token=…&PayerID=…; Cancel goes to cancel_url?token=…. On a phone the PayPal app opens (an app
switch: Face ID, the review, Pay), or the payer logs in on the web. ?device=mobile|desktop forces either flow.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).
| Payer id | Effect | |
|---|---|---|
sb-buyer@personal.example.com | 4NC59AJ93HPM6 | The sandbox's personal account: a PayPal balance of 5,000.00 and a Visa. Pays; payouts back succeed |
declined@personal.example.com | 3SLEDCFBAVXHA | Only a Visa that declines: the capture fails with INSTRUMENT_DECLINED |
cannot.pay@personal.example.com | LWEWER3WEGHS7 | Approves, but the capture fails with PAYER_CANNOT_PAY |
review@personal.example.com | 9F4DWRQNQ8C4E | The capture is PENDING (PENDING_REVIEW) for a minute, then COMPLETED |
limited@personal.example.com | KUNDS7XP2A3YH | The login is refused: the account is limited |
otp@personal.example.com | NR66CYVKERVEG | Always asks for the one-time code texted to the phone |
payout.locked@personal.example.com | 32YVBPFSZ2HBE | Pays; a payout back to it fails (RECEIVER_ACCOUNT_LOCKED) |
payout.unclaimed@personal.example.com | DLKKG2RME4R24 | Pays; a payout back to it stays UNCLAIMED (RECEIVER_UNREGISTERED) until it is cancelled, or returned after 30 days |
| any other email | its own | A fresh, verified account with 5,000.00 in any currency |
| Deposit amount | Effect |
|---|---|
| …13, from 10.00 | The capture is PENDING (PENDING_REVIEW) for a minute, then COMPLETED |
| …05, from 10.00 | The capture fails with INSTRUMENT_DECLINED (422) |
| …09, from 10.00 | The 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, 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).
POST /gigadat/api/payment-token/{campaignId} (type CPI, ETI or RFM for a deposit, ETO for an e-Transfer out;
userId, transactionId, name, email, mobile, site, userIp,
currency CAD, amount, language, sandbox) → {token, data: {transactionId, type}};
refusals {err} (400, 404, 409 for a reused transactionId)GET /gigadat/webflow?transaction=…&token=… — the payer: Interac Request Money or e-Transfer (CPI), the bank picker
(16 Canadian banks on plain monograms), the bank's login (any), the request to accept (or the pre-filled e-Transfer) from Chequing
or Savings, the review, Confirm; then the success or failure URL with ?transaction=&status=. On a computer the bank's app runs on the
phone drawn beside the page; on a phone it fills the screen. ?device=mobile|desktop forces either.GET /gigadat/api/transactions/{id} → {id, transactionId, type, finalType, status, amount, currency, interac_bank_name,
data: {name, email, mobile}}POST /gigadat/refunds {amount, transaction_id, campaign_id} (Idempotency-Key) → {success, data: {transactionId},
amount, currency}; refusals {error: [{code, detail}], message} (404, 422 NOT_REFUNDABLE, AMOUNT_EXCEEDS)POST /gigadat/webflow?transaction=&token= (created), GET
/gigadat/webflow/deposit?transaction=&token= (sent: STATUS_PENDING) → {id, status, data: {transactionId, type}}. The payee
deposits it from /gigadat/inbox?to=<email>: the notification, Deposit your money, their bank, the
account. Not deposited in 30 days: STATUS_EXPIRED.GET/PUT /gigadat-lab/campaigns/{campaignId} {merchant_name, listener_url, success_url, failure_url} —
lab only: the campaign's settings in Gigadat's back office, used when a request names none.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).
| Deposit amount | Effect |
|---|---|
| …13, from 10.00 | STATUS_PENDING for a minute after the payer confirms, then STATUS_SUCCESS |
| …33, from 10.00 | STATUS_SUCCESS with no listener notification: only the transaction lookup (or reconciliation) tells |
| …02, from 10.00 | STATUS_REJECTED once the payer confirms: the bank declined (insufficient funds) |
| …03, from 10.00 | STATUS_REJECTED1 once the payer confirms: Gigadat's checks (the name Interac reports is not the player's) |
| …04, from 10.00 | STATUS_FAILED once the payer confirms: a technical failure |
| Payout amount | Effect |
|---|---|
| …01, from 10.00 | The payee has Autodeposit: deposited two seconds after it is sent (STATUS_SUCCESS) |
| …02, from 10.00 | STATUS_REJECTED: the payee's bank refused the e-Transfer |
| …04, from 10.00 | STATUS_FAILED: a technical failure |
| any other | STATUS_PENDING until the payee deposits it (inbox) or declines it |
| Refund amount | Effect |
|---|---|
| …05, from 10.00 | 422 REFUND_REJECTED: Gigadat refuses the refund |
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.
POST /aeropay/v2/user, /v2/confirmUser (any code sent, or 000000), GET /v2/userGET /aeropay/v2/aggregatorCredentials?aggregator=aerosync, POST /v2/linkAccountFromAggregator, GET /v2/bankAccounts,
PATCH /v2/userBankAccount/{id}POST /aeropay/v2/transaction (with exceptionScenario), GET /v2/transaction/{id}, GET /v2/transaction/{id}/refunds,
POST /v2/reverseTransaction, POST /v2/payoutTransaction (rtp to an RTP bank is processed at once); an
Idempotency-Key answers the first response again for 24 hoursPOST|GET|DELETE /aeropay/v2/webhook, POST /v2/createWebhookSigningKey/aeropay/checkout?merchant=…&location=…&uuid=…&total=12.34&redirect=…&payee=… — the checkout the Aeropay SDK opens:
the payer's mobile number or email (a new user signs up), the one-time code (on the drawn phone on a computer, a banner on a phone), their linked
accounts or the Aerosync widget (the bank picker with search, the bank's login, the account), and Pay; then back to redirect with
aeropay=success|error|cancelled|expired, uuid and, for an error, code and message.
?device=mobile|desktop forces either flow.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.
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.
exceptionScenario | Effect |
|---|---|
returnInsufficient | pending, then declined 3 s later: an R01 (Insufficient Funds) return, status nsf; the user is suspended |
returnAccount | pending, then declined 3 s later: an R02 (Account Closed) return; the user is suspended |
returnDispute | pending, then declined 3 s later: an R07 (Customer Revoked Authorization) return; the user is suspended |
delinquent | AP109: the user is rejected for delinquent activity |
riskEngine | AP307: Aeropay's risk engine declines the payment (reasonCodes ["exceptionScenario"]) |
balanceInsufficient | AP302: the user's balance does not cover the payment |
| Checkout amount | Effect |
|---|---|
| …07, from 10.00 | AP307, declined by the risk engine (reasonCodes A1): the checkout shows the decline |
| …02, from 10.00 | AP302 Insufficient funds: the checkout shows the decline |
| …09, from 10.00 | AP109 delinquent activity: the checkout shows the decline |
| …01, from 10.00 | Approved, then an ACH return R01 3 s later (transaction_declined, status nsf) |
| …03, from 10.00 | Approved, then an ACH return R02 3 s later (transaction_declined) |
| …05, from 10.00 | Approved, then an ACH return R07 3 s later (transaction_declined) |
| over 5 000.00 | AP304 |
| Payout amount | Effect |
|---|---|
| …15, from 10.00 | AP315 Payment rejected: threshold or suspended bank |
| …02, from 10.00 | AP302 Insufficient funds |
| …04, from 10.00 | AP304 Transaction amount exceeds limit |
| …09, from 10.00 | pending, then voided 3 s later (transaction_voided: the payout did not go out) |
| over 10 000.00 | AP304 |
| Refund amount | Effect |
|---|---|
| …10, from 10.00 | AP310 Credit transaction declined |
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).
POST /paynearme/oauth/token (client credentials, 24 h). POST /paynearme/json-api/create_order,
get_smart_token (flow_debit, flow_credit, flow_ACH, flow_trustly,
flow_retailer, flow_paypal, flow_venmo; payment_amount with payment_field_fixed;
flow_pay_url, flow_no_pay_url, …), find_orders, cancel_order, create_payment_method,
find_payment_methods, make_payment, find_payment, refund_payment (once per payment),
simulate_payment (cash, sandbox), create_push_order (with a card or bank account and send_payment=true,
or then make_payment with a token).PUT /paynearme-lab/site?site_identifier=… {"callback_url", "site_name"}, the
Business Portal's setting): Confirmation, Push Confirmation and Reverse, as JSON, signed in signature (the sorted parameters,
HMAC-SHA256) with the published secret pnm-lab-callback-secret-3e8b1d07c5. The acknowledgement must name the
order (payment_confirmation_response / payment_reverse_response)./paynearme/ssl/{token}: the MoneyLine page. The method picker when the link shows several; cash: the pay slip with a real
Interleaved 2 of 5 barcode, the stores (7-Eleven, CVS, Walgreens, Walmart, Family Dollar, Dollar General, Casey's, Kroger, Ace Cash Express) and the lab's store counter; bank: the bank
picker, the bank's login and account choice; card: the card form (the lab's card core); PayPal and Venmo: their login.
?device=mobile|desktop forces either flow.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.
| Amount | Code | Message |
|---|---|---|
213.89 | 05 | This card is not permitted to make this payment. |
213.83 | 12 | This payment with this card is invalid. |
213.79 | 14 | This card number is invalid. |
213.73 | 51 | There are insufficient funds on this card to complete this payment. |
213.71 | 54 | This card is expired. |
213.67 | 57 | This card is not permitted to make this kind of payment. |
213.61 | 61 | This payment exceeds this card’s withdrawal limit. (disbursements only) |
213.59 | 62 | This card is restricted and cannot make this payment. |
213.53 | NZ | This payment didn't complete because the security code was invalid. |
172.01 | P9 | Unable to process this payment. Please try a different payment method. |
172.02 | 10 | Unable to process this payment for the requested amount. Please try a different payment method. |
172.03 | 20 | Unable to process this payment right now. Please try again later or use a different payment method. |
172.04 | 60 | This payment could not be authorized. Please contact your card issuer or try a different payment method. |
172.05 | 68 | Unable to receive response from card issuer. Please try again in a few minutes. |
172.06 | 6P | The security information could not be verified. Please check your card information and try again. |
172.07 | SG | Account could not be found. Please check your card information or try a different payment method. |
44.02 | 9G | Your bank didn’t approve this transaction. Please review your account settings or contact your bank. |
44.01 | 5C | Your bank couldn’t approve this transaction. Please contact your bank for more information. |
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.
POST /bancontact/v3/payments (PENDING, with _links.self, deeplink, qrcode, cancel,
checkout), GET and DELETE /bancontact/v3/payments/{id}, POST …/search, …/acknowledge,
GET …/{id}/debtor/refundIban (the payer's IBAN once SUCCEEDED), POST …/{id}/refunds (Idempotency-Key) and
GET …/{id}/refunds/{refundId} (PENDING, then REFUNDED)./bancontact/checkout?paymentId=…&token=… — Bancontact's checkout page: on a computer a Bancontact Pay tab with a real QR code
(a real phone's camera opens /bancontact/pay/2/{id}, and the page follows) and a card tab (card reader or banking app), with the
payer's phone drawn beside it; on a phone a switch to the app, and Bancontact's fallback list of banking apps (Bancontact Pay, KBC Mobile, BNP Paribas Fortis Easy Banking, Belfius, ING Banking, Argenta, Crelan).
?device=mobile|desktop and ?lang=nl|fr|en force either./bancontact/qrcode?c=… — the QR code generator (SVG only), /bancontact/.well-known/jwks — the lab's signing key.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).
| Value | Effect |
|---|---|
5127 8829 9999 9715, 11/29 | Always authorised |
5127 8829 9999 9723, 11/29 | Insufficient funds |
5127 8829 9999 9731, 11/29 | Card refused by the issuer |
| Any other valid card, a future expiry | Authorised |
| …13, from 10.00 | AUTHORIZED after the payer confirms, then SUCCEEDED a minute later |
| …22, from 10.00 | The create answers 422 UNABLE_TO_PAY_CREDITOR: nothing is created |
| …53, from 10.00 | The create answers 503 TRY_AGAIN_LATER: nothing is created |
| …05, from 10.00 | AUTHORIZATION_FAILED after the payer confirms (insufficient funds) |
| …06, from 10.00 | FAILED after the payer confirms (a technical error) |
| refund …05 | PENDING, then FAILED |
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.
POST /circoflow/api/v1[/test]/payment/create — customer, billing address, amount, currency, merchant_transaction_id, card,
return_url, webhook_url, every one required. Answers {status, reason, merchant_transaction_id, transaction_id[, 3ds_url]}:
success, processing with a 3ds_url, pending, or a refusal (declined / blocked, nothing filed).
Validation failures are Circoflow's Laravel messages on a declined status ("The phone field is required."); a card number failing Luhn is HTTP 400 "Invalid card number."POST /circoflow/api/v1[/test]/payment/status {merchant_transaction_id} — {success: true, data: {transaction_id, merchant_transaction_id, status, amount, currency, message, customer_info, payment_info, created_at, processed_at}},
or 404 {success: false, error: "Transaction not found."} (also for a refused create-payment, and for __test_connection__)GET /circoflow/3ds/authenticate/{token} — the hosted 3-D Secure page: the card issuer's challenge. Confirmed, the payer goes back to return_url
(a GET, nothing in the URL) and the payment is pending ("Payment pending.") for 3 s, then success. Failed: declined "3ds_rejected"; cancelled: declined
"Payment attempt failed or cancelled"; opened and unanswered 10 minutes: declined "3ds_timeout". Never opened, it stays processing.webhook_url as {event: "payment.notify", data: {…}}, unsigned (Circoflow signs nothing; BabelPay reads the payment back).| Card | Brand | Effect |
|---|---|---|
4242 4242 4242 4242 | Visa | success "Payment completed." (frictionless) |
5555 5555 5555 4444 | Mastercard | success "Payment completed." (frictionless) |
4111 1111 1111 1111 | Visa | success "Payment completed." (frictionless) |
4000 0000 0000 3220 | Visa | processing "Payment authentication required." with a 3ds_url; authenticated: pending "Payment pending.", success 3 s later |
5200 8282 8282 8210 | Mastercard | processing with a 3ds_url; authenticated: pending, success 3 s later |
4000 0000 0000 0341 | Visa | processing with a 3ds_url; declined "3ds_rejected" however the challenge is answered |
4000 0000 0000 0077 | Visa | pending "Payment pending." with no 3ds_url; success 5 s later, by webhook |
4000 0000 0000 0002 | Visa | declined "Payment failed." |
4000 0000 0000 9995 | Visa | declined "Insufficient funds." |
4000 0000 0000 0069 | Visa | declined "Card expired." |
4000 0000 0000 0127 | Visa | declined "CVV verification failed." |
4100 0000 0000 0019 | Visa | declined "suspected_fraud" |
4000 0000 0000 0259 | Visa | declined "no appropriate payment routes found" |
4000 0000 0000 0051 | Visa | blocked "Max 2 declines reached for this card in 24 hrs. Please retry after 24 hours." (Circoflow's own velocity rule) |
4000 0000 0000 0119 | Visa | declined "Acquirer Side integration error, …" (a gateway fault) |
3782 8224 6310 005 | Amex | declined "Payment method not supported" |
An encrypted card (ev:…) is recognised by the BIN and last four BabelPay sends in X-Bistromathic-Card-Bin / -Last4.
| Amount | Effect |
|---|---|
| …21 | blocked "Max 2 declines reached for this card in 24 hrs. …" |
| …22 | declined "no appropriate payment routes found" |
| …23 | declined "mid_at_capacity" |
| …54 | declined "Card expired." |
| …59 | declined "suspected_fraud" |
| …77 | pending, then success 5 s later by webhook |
| …78 | pending, then declined "Declined by Issuer" 5 s later by webhook |
| …96 | HTTP 500 {"message":"Server Error"}; nothing is filed |
| …98 | 3DS challenge, then declined "3ds_rejected" however it is answered |
| …99 | 3DS challenge; authenticated: pending, success 3 s later |
| …02 | declined "Declined by Issuer" |
| …05 | declined "Insufficient funds." |
| …06 | declined in the acquirer's frame "P0002||Payment failed!|Insufficient funds||billaddress:…" |
| …07 | declined "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.
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.
POST /cc7995/api/v2/payments — create payment (§5.1.1): user_id, amount (major units, a JSON number), currency, success_url, fail_url, timeout (minutes, default 60), additional_data (≤ 100), beneficiary_url, … → {data:{payment_url, payment_id, user_id}}, the payment NEW; payment_url is the method web formPOST /cc7995/api/v2/payments/card — host-to-host bankcard payment (§5.1.2): payment_id, card_number, validity_month 1–12, validity_year 22–99, verification_code, cardholder_name (Latin, two words), payer_email, display_language → {data:{payment_url, …}}, the payment confirmation page. A second card on one payment: 203GET /cc7995/api/v2/payments?payment_ids=<id1>,<id2>… — status (§5.1.3), at most 20 ids, newest first; an unknown id is left out → {data:[…], total, response_date}/cc7995-lab/confirm/{token} — the payment confirmation page: Pay (two seconds), then the issuer's 3-D Secure challenge for a card that asks for one (the lab's shared issuer page), or Cancel payment; then back to success_url (COMPLETED) or fail_url (DECLINED). ?device=mobile|desktop forces either layout/cc7995-lab/pay/{token} — the method web form (a bank card form), which BabelPay never shows/cc7995-lab/admin?client_id={ClientId} — the stand-in for the platform administration, where a calling system's PaymentCallbackUrl is registered (CC7995 has no API for it): a page, and JSON at GET|PUT|PATCH /cc7995-lab/admin/settings ({paymentCallbackUrl, merchantName}; the ClientId is X-Api-ClientId or ?client_id=). A simulated BabelPay connection registers its ownPostbacks (§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).
Any future expiry, any CVV, a cardholder name of two Latin words.
| Card | Brand | What it does |
|---|---|---|
4242 4242 4242 4242 | VISA | COMPLETED, frictionless (the confirmation page only) |
5555 5555 5555 4444 | MASTERCARD | COMPLETED, frictionless |
4000 0000 0000 3220 | VISA | 3-D Secure challenge, then COMPLETED |
5200 8282 8282 8210 | MASTERCARD | 3-D Secure challenge, then COMPLETED |
4000 0000 0000 0341 | VISA | 3-D Secure challenge that fails however it is answered: DECLINED "User Authentication Failed" |
4000 0000 0000 0002 | VISA | DECLINED "Authorization declined 05 DECLINED" (do_not_honor) |
4000 0000 0000 9995 | VISA | DECLINED "Insufficient Funds" |
4000 0000 0000 0069 | VISA | DECLINED "transaction declined (wrong expiry date)" (expired_card) |
4000 0000 0000 0127 | VISA | DECLINED "invalid CVV/brand combination" |
4100 0000 0000 0019 | VISA | DECLINED "Blocked due to risk score" (risk_block) |
4000 0000 0000 0259 | VISA | DECLINED "Restricted card" |
4000 0000 0000 0119 | VISA | DECLINED "error response from connector/acquirer" (unable_to_authorize) |
4000 0000 0000 0051 | VISA | DECLINED "risk management transaction timeout" (unable_to_authorize) |
4000 0000 0000 6975 | VISA | DECLINED "transaction declined (maximum transaction frequency exceeded)" |
4000 0000 0000 4954 | VISA | DECLINED "transaction declined (suspecting manipulation)" (suspected_fraud) |
3782 8224 6310 005 | AMEX | Refused at the card payment: HTTP 400, error 209 Unsupported card (any card but Visa or Mastercard) |
| Amount (minor units) | Effect |
|---|---|
| …51 | DECLINED "Blocked due to risk score" |
| …98 | 3-D Secure challenge that fails: DECLINED "User Authentication Failed" |
| …99 | 3-D Secure challenge, then COMPLETED |
| …02 | DECLINED "Authorization declined 05 DECLINED" |
| …05 | DECLINED "Insufficient Funds" |
| anything else | COMPLETED, without a challenge |
212 at create payment. Any currency of three letters is taken (CC7995's sandbox channel is EUR only).204, expiry format or in the past 205, CVV 3–4 digits 206, cardholder name 207, email 208, any brand but Visa or Mastercard 209 (answered in the gateway's observed shape: the code as a string under code and error_code, the text under error, error_message and errors).timeout: "Transaction timed out" (the alarm; the drawer's Let it expire now does it at once).additional_data as one already COMPLETED: DECLINED "Duplicate transaction Duplicate transaction ID: <additional_data>".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.
1 Authentication failed or access denied5 X-Api-Signature verification failed6 Request header X-Api-RequestDate is out of date50 Beneficiary URL required51 Beneficiary URL is of incorrect format or invalid200 Creating payments not allowed for the specified ClientID201 Card payments not allowed for the specified ClientID202 Card payments not allowed for the recipient203 Payment with the specified payment_id already processed204 Card number (PAN) is of incorrect format or invalid205 Card expiration date is of incorrect format or invalid206 Card cvv/cvc2 is of incorrect format or invalid207 Cardholder name is of incorrect format or invalid208 Payer email is of incorrect format or invalid209 Unsupported card. Try another one210 URL not allowed211 Payer country not allowed212 Amount not allowed1000 General error
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.
POST /argent/tokenise/payment-instruments — {public_key, type: card, card_number, cvv, expiry_month, expiry_year}, JSON or form; 201 {id, type, bin, last_four}. A clear number must pass Luhn and the expiry must not be past, else 400 {"invalid-request": "The provided card details did not pass verification checks. This may be due to an invalid card number or expiry date."}. An ev: ciphertext is taken as it is and known by the X-Bistromathic-Card-Bin / -Last4 hint BabelPay sends beside it.POST /argent/payment-intents — immediate capture: 201 completed (with payment) or 201 failed (the processor's reason in latest_payment_attempt.error.technical_message), or 200 {requires_action: true, type, payment_intent_id, token, action_data} for 3-D Secure. GET /argent/payment-intents/{id}; GET /argent/payment-intents newest first, 20 a page, with an absolute next cursor URL on the lab's host.PATCH /argent/payment-intents/{id} — {public_key, token, action_data} with the one-time token: before the payer has finished, the same action again (no token); after the challenge, the payment is made and the intent comes back. A wrong or spent token: 400 {"token": ["Invalid token."]}.GET /argent/payments, /payments/{id} — balance, status paid / partially_refunded / refunded.POST /argent/refunds — {payment, amount?} (no amount: the whole balance), up to the balance; 201 RefundDetail and a refund_succeeded webhook. GET /argent/refunds, /refunds/{id}.GET|POST /argent/webhooks, GET|PATCH|DELETE /argent/webhooks/{id} — company must be the merchant's company id (the dashboard shows it). /balance-transactions, /disputes and /payouts list nothing./argent-lab/dashboard?key={secret key} (or ?merchant=) — the stand-in for Argent's dashboard, where its docs configure webhooks: the company and its name, the signing secret, webhook URLs, the latest intents; JSON at GET|PATCH /argent-lab/dashboard/settings ({company_name, add_webhook: {url}, remove_webhook}, merchant by Basic auth). A simulated BabelPay connection subscribes its callback URL there itself.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).
| Card | What it does | Processor | Source |
|---|---|---|---|
4242424242424242 | Payment succeeds | fake | Argent's Testing docs |
4000000000000002 | Payment fails: "Your card was declined." | stripe_standard | Argent's Testing docs |
4000000000003220 | 3-D Secure challenge: confirm to pay; fail or cancel it and the payment fails | lab_3ds | Argent's sandbox (observed) |
4000002500003155 | 3-D Secure challenge, as 4000000000003220 | lab_3ds | Argent's sandbox (observed) |
4000002760003184 | 3-D Secure challenge, as 4000000000003220 | lab_3ds | Argent's sandbox (observed) |
4000000000003055 | 3-D Secure frictionless: the issuer authenticates without a challenge and the payment succeeds | stripe_standard | Stripe's test number |
4000000000003253 | 3DS method (device data) step first, then the challenge | lab_3ds | the lab |
4000008400001629 | 3-D Secure challenge; once authenticated the payment fails: "Your card was declined." | lab_3ds | Stripe's test number |
4000008260003178 | 3-D Secure challenge; once authenticated the payment fails: "Your card has insufficient funds." | lab_3ds | Stripe's test number |
4000000000009995 | Payment fails: "Your card has insufficient funds." | stripe_standard | Stripe's test number |
4000000000000069 | Payment fails: "Your card has expired." | stripe_standard | Stripe's test number |
4000000000000127 | Payment fails: "Your card's security code is incorrect." | stripe_standard | Stripe's test number |
4000000000000119 | Payment fails: "An error occurred while processing your card. Try again in a little bit." | stripe_standard | Stripe's test number |
| any other valid number | Any other valid card number fails: "Your card was declined." | stripe_standard | Argent's Testing docs |
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.
{"currency_code": ["Unsupported currency: XXX"]} (Argent's own words; its sandbox company took USD only).reference up to 255 characters, descriptor up to 18 letters, digits and spaces, return_url up to 255. browser_info, when sent, needs all eight fields.merchant_initiated: true (Argent's retry calendar and MIT test cards), flow: hosted (the hosted payment page), Apple Pay and Google Pay instruments, and a PATCH replacing payment_instrument. Records are kept a week.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 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.
POST /happycoins/api/payment/url — {customer, order:{fiatAmount, fiatCurrency}, paymentRequestId, redirectUrl, paymentMethod} (fiat in MAJOR units) answers
{success:true, message:"OK", data:{paymentUrl, paymentReference, paymentRequestId}}; a refusal is 422 {"error":true,"message":"Reason: … (and N more errors)"}.
paymentRequestId (a string or a number) must be unique per merchant; merchant_id, merchant_channel_id and paymentMethodGrant are accepted and keptGET /happycoins/api/transaction/{paymentRequestId} — keyed by the merchant's id, not by paymentReference (that is a 404 {"success":false,"message":"Not Found"}):
{payment_reference, request_id, status, created_at, order_step, crypto_transactions:[{transaction_hash, crypto_currency, crypto_amount, crypto_conversion_rate, network_fee, transaction_type:"RECEIVE", status}], fiat_transaction:{fiat_amount, fiat_currency, fiat_conversion_rate, status, remarks}}/happycoins/api/… path: 404 {"uuid":…,"message":"RESOURCE_IN_REQUEST_NOT_FOUND"}. Outside /api (bare /happycoins/transaction/{id} too): a 200 HTML page, as HappyCoins' web root answers/happycoins-lab/checkout?p1=…&p2=… — the hosted checkout (the paymentUrl, single-use, opaque), drawn after HappyCoins' sandbox: for a buyer HappyCoins
does not know yet (by email, at this merchant), registration first, from HappyCoins' first-time purchase screens (country; BankID on this device or by its QR code, or an ID card
or passport; personal number and Are you a politically exposed person?; name, date of birth and phone; residential address; financial details), then Confirm payment (the ALGO quote with its
countdown, delivery to the buyer's HappyCoins custodial wallet, the total and fee breakdown), the card on BabelPay's own checkout where HappyCoins takes cards (saved cards
with their CVV, or a new card to save; 3-D Secure through the issuer's page), the purchase, and the success page with the buyer's choice: Send crypto to merchant or
Keep Crypto in Happycoins wallet; then straight back to redirectUrl with nothing on itStatus 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.
| Card | Outcome |
|---|---|
4242 4242 4242 4242 | approved, no 3-D Secure (any other valid card number too) |
5555 5555 5555 4444 | approved, no 3-D Secure |
4000 0000 0000 3220 | 3-D Secure challenge; Confirm approves, Fail authentication is FAILED |
5200 8282 8282 8210 | 3-D Secure challenge, then approved |
4000 0000 0000 0341 | 3-D Secure challenge that fails however it is answered: FAILED (do_not_honor) |
4000 0000 0000 0002 | declined, do not honor: DECLINED (do_not_honor) |
4000 0000 0000 9995 | declined, insufficient funds: DECLINED |
4000 0000 0000 0119 | acquirer malfunction: ERROR (psp_malfunction) |
example.com, .test, .invalid, …), a residence in
US or GB, a fiat currency outside EUR, USD, GBP, CHF, SEK, NOK, DKK, PLN, CZK, CAD, AUD (MODELED list), a paymentMethod other than CARD, a repeated paymentRequestId.birthDate; any Swedish personal number with a valid date and
check digit is accepted, and the date of birth must match it. A buyer under 18 is refused. The drawer's Forget this buyer drops their account and saved cards.| Amount | Effect |
|---|---|
| …03 | HappyCoins 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) |
| …04 | HappyCoins rejects the order on Continue to checkout, before the card: REJECTED (do_not_honor) |
| …06 | The card is charged, then buying the crypto fails: ERROR (psp_malfunction) |
| …07 | After 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 |
| …08 | Open 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'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.
POST /worldpay/jsp/merchant/xml/paymentService.jsp — submit/order with CARD-SSL, PAYWITHGOOGLE-SSL or
EMVCO_TOKEN-SSL (Apple Pay / Google Pay network tokens), additional3DSData for 3DS Flex, third-party MPI
info3DSecure, dynamic3DS, fundingTransfer (AFT, recorded); the 3DS second message
(completedAuthentication, or paResponse + echoData) with the machine cookie and the same session id;
modify/orderModification capture (partial), refund (partial, reference echoed in the journal), cancel, cancelOrRefund — each answered
<ok><…Received>; inquiry/orderInquiry — the payment and its journal (bookingDate, accountTx amounts).
Fast Access card payouts: submit/order with FF_DISBURSE-SSL (recipient/paymentInstrument/cardDetails, the recipient's
address, purposeOfPayment), answered VDFF_DISBURSE-SSL (Visa Direct) or MCS_DISBURSE-SSL (Mastercard Send) with
PUSH_APPROVED, PUSH_REFUSED, ERROR or PUSH_PENDING, schemeResponse (actionCode, responseCode, transactionIdentifier) and fastFunds.POST /worldpay/shopper/3ds/challenge.html — 3DS Flex step-up: JWT (HS256/HS512) + MD; on to the issuer's ACS, then back to
the JWT's ReturnUrl with TransactionId, Response (Cardinal's JWT) and MD. A JWT signed with neither published key, or
with a claim Cardinal does not permit, is an empty 400. POST /worldpay/shopper/3ds/ddc.html — device data collection (JWT, Bin):
posts profile.completed with a SessionId to the parent page./worldpay-lab/acs/{token} — the issuer (the shared ACS page) for 3DS Flex (creq) and legacy 3DS (PaReq, TermUrl, MD; back with PaRes)./worldpay-lab/mai?merchant={code} — the stand-in for the Merchant Admin Interface: where order notifications go, the name the issuer's page shows, the latest
orders with their journals and the modifications WPG acknowledged and ignored. JSON at GET|PUT|PATCH /worldpay-lab/mai/settings
({notificationUrl, merchantName}; merchant = Basic username or ?merchant=). A connection in simulated flow sets both itself.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.
AUTHORISED, REFUSED (ISO 5), REFUSED<n> (ISO n; REFUSEDR1/R3 = 973/975), ERROR.
ISO wording: 4 HOLD CARD · 5 REFUSED · 8 APPROVE AFTER IDENTIFICATION · 13 INVALID AMOUNT · 15 INVALID CARD ISSUER · 17 ANNULATION BY CLIENT · 28 ACCESS DENIED · 29 IMPOSSIBLE REFERENCE NUMBER · 33 CARD EXPIRED · 34 FRAUD SUSPICION · 38 SECURITY CODE EXPIRED · 41 LOST CARD · 43 STOLEN CARD, PICK UP · 51 LIMIT EXCEEDED · 55 INVALID SECURITY CODE · 56 UNKNOWN CARD · 57 ILLEGAL TRANSACTION · 62 RESTRICTED CARD · 63 SECURITY RULES VIOLATED · 75 SECURITY CODE INVALID · 76 CARD BLOCKED · 85 REJECTED BY CARD ISSUER · 973 Revocation of authorization order · 975 Revocation of all authorizations order. Any other name authorises.3D — legacy 3DS: request3DSecure (paRequest, issuerURL, echoData), the issuer's page, PaRes; 3D.REFUSED13 then refuses. NO3D (and NO3D.<value>) — "Authentication Offered but not Used" (Amex: "Ecommerce").additional3DSData; without it they authorise without 3DS):3DS_V2_FRICTIONLESS_IDENTIFIED | Frictionless, cardholder authenticated |
3DS_V2_FRICTIONLESS_NOT_IDENTIFIED | Frictionless attempted: offered but not used |
3DS_V2_FRICTIONLESS_REJECTED | Frictionless rejected: REFUSED, not sent for authorisation |
3DS_V2_FRICTIONLESS_VALID_ERROR | Frictionless, authentication unavailable |
3DS_V2_CHALLENGE_IDENTIFIED | Challenge, cardholder authenticated |
3DS_V2_CHALLENGE_VALID_ERROR | Challenge, then authentication unavailable |
3DS_V2_CHALLENGE_UNKNOWN_IDENTITY | Challenge, authentication attempted but failed: REFUSED |
3DS_BYPASSED | 3DS bypassed |
3DS_V2_BYPASSED_AFTER_CHALLENGE | Challenge, then bypassed |
3DS_V1_CHALLENGE_IDENTIFIED | 3DS1 challenge, cardholder authenticated |
3DS_V1_CHALLENGE_UNKNOWN_IDENTITY | 3DS1 challenge, authentication failed: REFUSED |
additional3DSData), the name then steering the authorisation:
| # | Case | Visa | Mastercard | Amex |
|---|---|---|---|---|
| 1 | Successful frictionless | 4000000000001000 | 5200000000001005 | 340000000001007 |
| 2 | Failed frictionless: REFUSED | 4000000000001018 | 5200000000001013 | 340000000001015 |
| 3 | Attempts stand-in | 4000000000001026 | 5200000000001021 | 340000000001023 |
| 4 | Issuer unavailable | 4000000000001034 | 5200000000001039 | 340000000001031 |
| 5 | Issuer rejected: REFUSED | 4000000000001042 | 5200000000001047 | 340000000001049 |
| 6 | Not available on lookup | 4000000000001059 | 5200000000001054 | 340000000001056 |
| 7 | Error on lookup | 4000000000001067 | 5200000000001062 | 340000000001064 |
| 8 | Lookup timeout | 4000000000001075 | 5200000000001070 | 340000000001072 |
| 9 | Bypassed authentication | 4000000000001083 | 5200000000001088 | 340000000001080 |
| 10 | Successful step-up (challenge) | 4000000000001091 | 5200000000001096 | 340000000001098 |
| 11 | Failed step-up (challenge): REFUSED | 4000000000001109 | 5200000000001104 | 340000000001106 |
| 12 | Step-up unavailable (challenge) | 4000000000001117 | 5200000000001112 | 340000000001114 |
| 13 | Error on authentication (challenge) | 4000000000001125 | 5200000000001120 | 340000000001122 |
4444333322221111 Visa (VISA-SSL), 4917610000000000 Visa Debit (VISA_DEBIT-SSL), 4462030000000000 Visa Debit (VISA_DEBIT-SSL), 5555555555554444 Mastercard (ECMC-SSL), 5454545454545454 Mastercard (ECMC-SSL), 2221000000000009 Mastercard (2-series) (ECMC-SSL), 5163613613613613 Mastercard Debit (ECMC_DEBIT-SSL), 6759649826438453 Maestro (MAESTRO-SSL), 343434343434343 American Express (AMEX-SSL), 4562686000117661 Cartes Bancaires (CB-SSL), 36700102000000 Diners (DINERS-SSL), 36148900647913 Diners (DINERS-SSL), 6011000400000000 Discover (DISCOVER-SSL), 3528000700000000 JCB (JCB-SSL), 6221260000000000 UnionPay (CHINAUNIONPAY-SSL), 122000000000003 Airplus (AIRPLUS-SSL). Any other clear card number must pass Luhn (error 7 otherwise); an expired card is error 7 Expiry date = MM/YYYY.CVCResultCode): 111/222/333 not sent / no response / not checked, 444 FAILED, 555 APPROVED (Amex 1111…6666), blank NOT SUPPLIED BY SHOPPER.
AVS from the postal code: AAAAA APPROVED … JJJJJ FAILED … MMMMM UNKNOWN.description (BabelPay sends Payment <merchant reference>; the lab reads its last word).
Network tokens: the token's cardHolderName or the description.cardHolderName: APPROVED | PUSH_APPROVED, action code 00 |
REFUSED | PUSH_REFUSED, action code 01 |
REFUSED14 | PUSH_REFUSED, action code 14 (invalid account number) |
REFUSED54 | PUSH_REFUSED, action code 54 (expired card) |
REFUSED57 | PUSH_REFUSED, action code 57 (not permitted to cardholder) |
REFUSED61 | PUSH_REFUSED, action code 61 (exceeds amount limit) |
REFUSED62 | PUSH_REFUSED, action code 62 (restricted card) |
PENDINGAPPROVED | PUSH_PENDING, then PUSH_APPROVED 15 s later, with an order notification |
PENDINGREFUSED | PUSH_PENDING, then PUSH_REFUSED (action code 05) 15 s later, with an order notification |
ERROR | ERROR |
REFUSED<nn> refuses with any other two-digit action code too (the lab's generalisation). Any other name is approved
(Worldpay's token-based test flow answers ERROR; the lab approves, so a payout to a real-looking name just works).4917300800000000 Visa credit, GB, GBP: no fast funds, 4462030000000000 Visa credit, NL, EUR: no fast funds, 4484070000000000 Visa credit, AU, AUD: no fast funds, 4485602020200027 Visa credit, HK, HKD: no fast funds, 4499232020200027 Visa credit, SG, SGD: no fast funds, 4000765339615288 Visa credit, US, USD: no fast funds, 4000765339615296 Visa credit, US, USD: no fast funds, 5551593000060026 Mastercard credit, GB, GBP: no fast funds, 5555555555554451 Mastercard credit, GB, GBP: no fast funds, 5555555555554477 Mastercard credit, NL, EUR: no fast funds, 5555555555554493 Mastercard credit, AU, AUD: no fast funds, 5454545454545751 Mastercard credit, issuer country unknown: no fast funds, 4895070000006687 "Invalid billing card currency code received from Visa.", 4895070000007685 "Invalid issuer country code received from Visa."; any other card has fast funds.dynamic3DS do3DS or challengePreference
challengeRequested/Mandated asks for a challenge; no3DS skips 3DS.| …51, from 10.00 | REFUSED, ISO 51 LIMIT EXCEEDED |
| …99, from 10.00 | Google Pay with 3DS data (a card saved in the Google account): a 3DS Flex challenge |
| …05, from 10.00 | REFUSED, ISO 5 REFUSED |
0 / DEFAULT: CAPTURED 10 s after AUTHORISED (WPG: minutes to an hour); 1–14: after that many days; OFF: never.
A refund is SENT_FOR_REFUND, then REFUNDED 10 s later.<ok> and ignored.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'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.
TransTypeID 0 Purchase — approved (0), declined (bank codes below 500), refused by the gateway (field codes 500–556, 568, 597; TransTypeID 0, TransactionID "0"), or 600 Redirect required with a RedirectURL3 Capture and 4 Cancel — an open authorisation, in full (560–562, 589 when MerchantRef is not the original's)5 Refund — a sale or a captured authorisation, by the purchase's or the capture's TransactionID; Amount optional (the rest); 563, 564, 629, 6307 Recurring — re-bills an approved purchase without the card; 621 on a 3D MID, 622 without an approved initial purchase8 Status — the latest purchase with that MerchantRef: TransTypeID 6 + 999 Transaction Pending during a redirect, 99 + 999 MerchantRef not found, or the purchase's own answer/citigate/redirect/processing.aspx?{token} — the RedirectURL: Citigate's "Transaction in progress", then the issuer's challenge (/citigate-lab/acs, the lab's shared 3-D Secure page) when the card asks for one, then "Your transaction is being finalized" (/citigate/redirect/complete.aspx), which POSTs the callback, waits for its answer, and returns the payer to SuccessURL (approved) or FailURL with the same fields as a form. &device=mobile|desktop forces either layoutCallback 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.
Dummy1 (non-3D MID, authorisations, the amount decides: USD/EUR up to 999.99 approves, 1000.00 or more declines with 5) and Dummy2 (3D MID, sales, every purchase redirects; the challenge decides: confirm → 0, fail → 103, cancel → 106). Password p@s5w0Rd123, not checked.simulated-<connection id>) is the lab's MID: authorisations, the same USD/EUR amount rule, then the cards below; any other Luhn-valid card approves with no redirect. Partial refunds are on.| Card | Brand | 3-D Secure | What happens (lab's MID) |
|---|---|---|---|
4111111111111111 | VISA | none | Approved, no redirect (Citigate's own example card; so is any other Luhn-valid card) |
5555555555554444 | MASTERCARD | none | Approved, no redirect |
378282246310005 | AMEX | none | Approved, no redirect |
4000000000003220 | VISA | challenge | 600 Redirect required; the issuer's 3-D Secure challenge, then approved |
5200828282828210 | MASTERCARD | challenge | 600 Redirect required; the issuer's challenge, then approved |
4000000000003253 | VISA | challenge | 600 Redirect required; the challenge, then the bank declines: 51 Not sufficient funds |
4000000000003063 | VISA | frictionless | 600 Redirect required; frictionless 3-D Secure (no challenge), then approved |
4000000000000341 | VISA | frictionless | 600 Redirect required; the issuer refuses without a challenge: 103 3D authentication failure |
4000000000000002 | VISA | none | Declined: 5 Do not honour |
4000000000009995 | VISA | none | Declined: 51 Not sufficient funds |
4000000000000069 | VISA | none | Declined: 54 Expired card |
4000000000000127 | VISA | none | Declined: 79 Invalid CVV2/CVC2 |
4100000000000019 | VISA | none | Declined: 59 Suspected fraud |
4000000000009235 | VISA | none | Declined: 102 General risk decline |
4000000000000259 | VISA | none | Declined: 91 Issuer or switch is inoperative |
4000000000000101 | VISA | none | Declined: 105 Timeout at acquirer |
4000000000000119 | VISA | none | Declined: 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.
Country=US StateProvince, Telephone and DateOfBirth (525/531/533).SuccessURL, FailURL, CallbackURL (584–586) whenever the purchase redirects.597: a successful purchase with the same card, MID, currency and amount in the last 30 seconds.700), 15 more to come back (800), each with the signed callback; open authorisations auto-captured after 48 hours.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).
0 Approved1 Refer to Card Issuer2 Refer to Card Issuer's Special Condition3 Invalid Merchant4 Pick-up5 Do not honour12 Invalid transaction13 Invalid amount14 Invalid card number15 No such issuer19 Re-enter transaction20 Invalid response21 No Transaction30 Format error31 Bank not supported33 Expired card, pick-up34 Issuer suspects fraud, pick-up35 Contact acquirer, pick-up36 Restricted card, pick-up39 No credit account41 Lost card, pick-up43 Stolen card, pickup50 Maintenance in progress51 Not sufficient funds54 Expired card56 No card record57 Transaction not permitted to cardholder58 Transaction not permitted to terminal59 Suspected fraud61 Exceeds withdrawal amount limit62 Restricted card63 Security violation65 Exceeds withdrawal frequency78 Invalid account specified79 Invalid CVV2/CVC291 Issuer or switch is inoperative92 Destination cannot be found for routing93 Transaction cannot be completed; violation of law94 Duplicate transaction96 Acquirer system malfunction101 Unable to authorize102 General risk decline103 3D authentication failure104 Acquirer limits reached105 Timeout at acquirer106 User aborted transaction107 Missing or invalid client information108 AVS Response109 Risk Decline - 3rd Party110 Risk Decline - 3rd Party500 TransTypeID not supplied or invalid501 MerchantReference not supplied502 MerchantReference invalid503 Currency not supplied504 Currency invalid505 Amount not supplied506 Amount invalid507 MerchantName not supplied508 MerchantName invalid509 MerchantPassword not supplied510 MerchantPassword invalid511 Brand not supplied512 Brand invalid513 Firstname not supplied514 Firstname invalid515 Surname not supplied516 Surname invalid517 StreetLine1 not supplied518 StreetLine1 invalid519 StreetLine2 not supplied520 StreetLine2 invalid521 City not supplied522 City invalid523 PostalCode not supplied524 PostalCode invalid525 StateProvince not supplied526 StateProvince invalid527 Country not supplied528 Country invalid529 Email not supplied530 Email invalid531 Telephone not supplied532 Telephone invalid533 DateOfBirth not supplied534 DateOfBirth invalid535 UserIP not supplied536 UserIP invalid537 CardholderName not supplied538 CardholderName invalid539 CardNo not supplied540 CardNo invalid541 ExpiryYear not supplied542 ExpiryYear invalid543 ExpiryMonth not supplied544 ExpiryMonth invalid545 CVV not supplied546 CVV invalid553 Failed Luhn check554 Card expired555 TransactionID not supplied556 TransactionID invalid557 Invalid MerchantName and MerchantPassword combination559 Error looking up original transaction info560 No corresponding successful authorisation561 Transaction has already been captured562 Transaction has already been cancelled563 Transaction has already been refunded564 No corresponding successful sale or capture567 Unknown Brand568 Unknown Currency573 TransTypeID not supported on current MID584 SuccessURL invalid585 FailURL invalid586 CallbackURL invalid589 Invalid reference combination590 Invalid payload received597 Duplicate transaction (successful purchase in last 30 secs with same card, MID, currency and amount)600 Redirect required621 Recurring transactions not possible with 3D MIDs622 No corresponding purchase or capture629 Partial refund not supported630 Partial refund amount exceeds available amount700 No user redirect (timeout)800 No user return (timeout)999 Transaction Pending
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.
POST /blueemi/payments — a card source: 201 Authorized or Declined (response_code, response_summary), or with
3ds.enabled and a card with a 3DS profile 202 Pending with _links.redirect. capture (default true) captures behind the authorization.
Amount 0 is a card verification. Authentication done elsewhere (3ds.eci + cryptogram) is authorized as sent. 422 {request_id, error_type: "request_invalid", error_codes}.GET /blueemi/payments/{pay_…|sid_…} — the payment; actions (latest first) only when looked up by the cko-session-id, which expires after 15 minutes.
GET /blueemi/payments?reference=, GET /blueemi/payments/{id}/actions. Unknown: 404, no body.POST /blueemi/payments/{id}/captures (partial; capture_type Final closes the rest) · /voids (before the capture) · /refunds (up to what was captured) —
202 {action_id, reference, _links}; 403 with no body when the action is not allowed; 422 capture_value_greater_than_authorized, void_amount_invalid, amount_exceeds_balance./blueemi-lab/3ds/{token} — the hosted 3DS page: two seconds of device data, then frictionless or the issuer's challenge (Confirm / Cancel; "Fail authentication" in the drawer),
then back to success_url or failure_url with ?cko-session-id=sid_… (303). The drawer also lets the session expire. ?device=mobile|desktop forces either.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.
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.
| Card number | Scheme | What it does |
|---|---|---|
4543474002249996 | Visa, US | Approved (the card in Checkout's token example) |
4000020000000000 | Visa, US | Approved |
4242424242424242 | Visa, GB | Approved; amount 101 (1.01) declines 20051 Insufficient funds |
4273149019799094 | Visa, TR | Card verifications only: approves, but captures and voids are declined |
4539467987109256 | Visa, ES | Declined 20005 Do not honour |
4024007181869214 | Visa, US | Declined 20005 Do not honour |
4916301720257093 | Visa, US | Declined 20020 Invalid response |
4485899805156040 | Visa, US | Declined 200R1 Stop payment for this authorization |
4659105569051157 | Visa, GB | Approved (debit) |
4095254802642505 | Visa, US | Declined 20068 Response received too late / timeout (debit) |
4000148147058142 | Visa | Declined 20020 Invalid response (prepaid) |
5436031030606378 | Mastercard, MU | Approved |
5585076576791786 | Mastercard, HU | Declined 20005 Do not honour |
5305484748800098 | Mastercard, DE | Approved (debit) |
341829238058580 | American Express, US | Declined 20005 Do not honour |
6011111111111117 | Discover, US | Approved |
6011111111111118 | Discover, US | Declined 20005 Do not honour |
6011201559638046790 | Discover, US | Declined 20005 Do not honour |
6445979375892355607 | Discover, US | Approved |
36160940933914 | Diners Club International, KR | Approved |
36160912071610 | Diners Club International, KR | Declined 20005 Do not honour |
3582069482684995 | JCB, JP | Approved |
3528257085901927 | JCB, JP | Declined 20005 Do not honour |
3566027046765007 | JCB, JP | Approved |
4276038578596818 | Visa, US | Declined 2005C Transaction not supported / blocked by issuer |
4152812521833588 | Visa, US | Declined 2009G Blocked by cardholder |
4734868958733862 | Visa, US | Declined 200N7 Decline for CVV2 failure |
4567361325981788 | Visa, GB | Declined 200R3 Stop payment for all authorizations |
4111111111111129 | Visa, US | Declined 20001 Refer to card issuer |
4024007103573027 | Visa, US | Declined 20012 Invalid transaction |
4158596042924182 | Visa, GB | Declined 20012 Invalid transaction |
4485381577182090 | Visa, US | Declined 20014 Invalid card number |
4544249167673670 | Visa, GB | Declined 20051 Insufficient funds |
4659465888705671 | Visa, GB | An account funding transaction declines 20057 Not permitted to cardholder; anything else approves |
4151512736305999 | Visa, GB | Declined 20057 Transaction not permitted to cardholder |
4897453568485113 | Visa, US | Declined 20059 Suspected fraud |
4000144348235050 | Visa | Declined 20059 Suspected fraud (prepaid) |
4556294593757189 | Visa, UY | Declined 20061 Activity amount limit exceeded |
4818924250131070 | Visa, GB | Declined 20062 Restricted card |
4556253752712245 | Visa, US | Declined 20063 Security violation |
4532819413487978 | Visa, US | Declined 20078 Blocked, first use |
4732789363145785 | Visa, PR | Declined 20082 No security model |
4000140542610783 | Visa | Declined 20082 No security model (prepaid) |
4500622868341387 | Visa, CA | Declined 20154 3DS authentication required |
4539257838438511 | Visa, IE | Declined 20154 3DS authentication required |
4941208378238219 | Visa, GB | Declined 20154 3DS authentication required |
4024007162185267 | Visa, US | Declined 30015 No such issuer |
4655710037275959 | Visa, GB | Declined 30015 No such issuer |
4941202060999329 | Visa, GB | Declined 30041 Lost card - pick up |
4658620059821613 | Visa, GB | Declined 30041 Lost card - pick up |
4539253655711767 | Visa, IE | Declined 30043 Stolen card - pick up |
4745820750643143 | Visa, GB | Declined 30043 Stolen card - pick up |
4000140543766022 | Visa | Declined 20109 Transaction already reversed |
5510696303117979 | Mastercard | Declined 20003 Invalid merchant |
5148447461737269 | Mastercard, US | Declined 20012 Invalid transaction |
5510696303117987 | Mastercard | Declined 20030 Format error |
5437821135399682 | Mastercard, TW | Declined 20051 Insufficient funds |
5355224542121849 | Mastercard, GB | An account funding transaction declines 20057 Not permitted to cardholder; anything else approves |
5355222710253469 | Mastercard, GB | Declined 20057 Transaction not permitted to cardholder |
5420951756276171 | Mastercard, TN | Declined 20061 Activity amount limit exceeded |
5279988405398834 | Mastercard, JP | Declined 20062 Restricted card |
5265162270587964 | Mastercard, US | Declined 20068 Response received too late / timeout |
5525192142230028 | Mastercard | Declined 20072 Account not yet activated |
5347965091482021 | Mastercard, BR | Declined 20182 Policy |
5357219827207436 | Mastercard, BG | Declined 20183 Security |
5363450180402239 | Mastercard, PH | Declined 30041 Lost card - pick up |
5355222710255852 | Mastercard, GB | Declined 30043 Stolen card - pick up |
5525192142230002 | Mastercard | Declined 30046 Closed account |
5355222710255878 | Mastercard, GB | Declined 30046 Closed account |
5333170000000008 | Mastercard, IT | Approved up to 100.00; more declines 20051 Insufficient funds |
5318773000000008 | Mastercard, US | Approved up to 100.00; more declines 20051 Insufficient funds |
4644968546281686 | Visa, GB | Verifies (amount 0); an authorization declines 20012 |
5355228287185489 | Mastercard, GB | Verifies (amount 0); an authorization declines 20012 |
4546381219393284 | Visa, GB | Verifies (amount 0); an authorization declines 20051 |
5355229757805879 | Mastercard, GB | Verifies (amount 0); an authorization declines 20051 |
4325350188287824 | Visa, GB | Verifies (amount 0); an authorization declines 20051 |
4543611423334994 | Visa, GB | Verifies (amount 0); an authorization declines 20061 |
5355222589678168 | Mastercard, GB | Verifies (amount 0); an authorization declines 20061 |
4394666298116207 | Visa, GB | Verifies (amount 0); an authorization declines 20061 |
4857662623668665 | Visa, GB | Verifies (amount 0); an authorization declines 20062 |
5355225201525238 | Mastercard, GB | Verifies (amount 0); an authorization declines 20062 |
4021277034700287 | Visa, GB | Verifies (amount 0); an authorization declines 20062 |
4407108123937239 | Visa, GB | Verifies (amount 0); an authorization declines 20063 |
5355226042898974 | Mastercard, GB | Verifies (amount 0); an authorization declines 20063 |
3530111333300000 | JCB, JP | Not 3DS-enabled: 20150 with 3DS; approves without (CVV 100) |
5352151570003404 | Mastercard, FR | Not 3DS-enabled: 20150 with 3DS; approves without (CVV 100) |
4532432452900131 | Visa, DE | Not 3DS-enabled: 20150 with 3DS; approves without (CVV 257) |
378282246310005 | American Express, US | 3DS: card not enrolled (attempt_n3d: authorized without 3DS) |
5132562600000045 | Cartes Bancaires, FR | 3DS: card not enrolled (attempt_n3d: authorized without 3DS) |
4022050100000182 | Cartes Bancaires, FR | 3DS: card not enrolled (attempt_n3d: authorized without 3DS) |
4484070000035519 | Visa, GB | 3DS: card not enrolled (attempt_n3d: authorized without 3DS) |
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.
| Card number | Scheme | What it does |
|---|---|---|
345678901234564 | American Express, ES | 3DS frictionless: authentication successful |
5137210000000018 | Cartes Bancaires, FR | 3DS frictionless: authentication successful |
4010056200000018 | Cartes Bancaires, FR | 3DS frictionless: authentication successful |
5588686116426417 | Mastercard, CN | 3DS frictionless: authentication successful |
6224120000000094 | UnionPay, CN | 3DS frictionless: authentication successful |
4485040371536584 | Visa, US | 3DS frictionless: authentication successful |
371064645462927 | American Express, US | 3DS frictionless: not authenticated |
5132562600000029 | Cartes Bancaires, FR | 3DS frictionless: not authenticated |
4022050100000000 | Cartes Bancaires, FR | 3DS frictionless: not authenticated |
5309961755464047 | Mastercard, BR | 3DS frictionless: not authenticated |
6224120000000086 | UnionPay, CN | 3DS frictionless: not authenticated |
4539628347117863 | Visa, AD | 3DS frictionless: not authenticated |
344282679519362 | American Express, US | 3DS frictionless: authentication could not be performed |
5132562600000011 | Cartes Bancaires, FR | 3DS frictionless: authentication could not be performed |
4022050100000018 | Cartes Bancaires, FR | 3DS frictionless: authentication could not be performed |
5234106378657904 | Mastercard, KR | 3DS frictionless: authentication could not be performed |
6224120000000078 | UnionPay, CN | 3DS frictionless: authentication could not be performed |
4024007186645015 | Visa, US | 3DS frictionless: authentication could not be performed |
4022050100000026 | Cartes Bancaires, FR | 3DS frictionless: attempted authentication |
5558468902774508 | Mastercard, KE | 3DS frictionless: attempted authentication |
6224120000000029 | UnionPay, CN | 3DS frictionless: attempted authentication |
4556574722325580 | Visa, PT | 3DS frictionless: attempted authentication |
343397288296672 | American Express, US | 3DS frictionless: authentication rejected |
5596061690670931 | Mastercard, IN | 3DS frictionless: authentication rejected |
6224120000000011 | UnionPay, CN | 3DS frictionless: authentication rejected |
4275765574319271 | Visa, JP | 3DS frictionless: authentication rejected |
378702153281139 | American Express, US | 3DS frictionless: error during scheme communication |
5132562600000060 | Cartes Bancaires, FR | 3DS frictionless: error during scheme communication |
4022050100000133 | Cartes Bancaires, FR | 3DS frictionless: error during scheme communication |
5291144083573579 | Mastercard, US | 3DS frictionless: error during scheme communication |
4452927588210665 | Visa, US | 3DS frictionless: error during scheme communication |
340282533032846 | American Express, US | 3DS frictionless: authentication successful (no 3DS method URL) |
36747880216043 | Diners Club International, US | 3DS frictionless: authentication successful (no 3DS method URL) |
3528982710432481 | JCB, JP | 3DS frictionless: authentication successful (no 3DS method URL) |
5121073611487018 | Mastercard, US | 3DS frictionless: authentication successful (no 3DS method URL) |
6224120000000110 | UnionPay, CN | 3DS frictionless: authentication successful (no 3DS method URL) |
4556085951507152 | Visa, ES | 3DS frictionless: authentication successful (no 3DS method URL) |
| Card number | Scheme | What it does |
|---|---|---|
372688581899681 | American Express, US | 3DS challenge: authentication successful |
5137210000000158 | Cartes Bancaires, FR | 3DS challenge: authentication successful |
4010061700000021 | Cartes Bancaires, FR | 3DS challenge: authentication successful |
5385308360135181 | Mastercard, US | 3DS challenge: authentication successful |
6224120000000003 | UnionPay, CN | 3DS challenge: authentication successful |
346126139326850 | American Express, US | 3DS challenge: attempted authentication |
5341034800000008 | Cartes Bancaires, FR | 3DS challenge: attempted authentication |
4150561000000001 | Cartes Bancaires, FR | 3DS challenge: attempted authentication |
5518832400606463 | Mastercard, US | 3DS challenge: attempted authentication |
6224120000000060 | UnionPay, CN | 3DS challenge: attempted authentication |
4152868552773614 | Visa, BH | 3DS challenge: attempted authentication |
375982239796002 | American Express, US | 3DS challenge: authentication rejected |
5341034800000016 | Cartes Bancaires, FR | 3DS challenge: authentication rejected |
6224120000000052 | UnionPay, CN | 3DS challenge: authentication rejected |
4150561000000019 | Cartes Bancaires, FR | 3DS challenge: authentication rejected |
347411540178242 | American Express, US | 3DS challenge: not authenticated |
5341034800000024 | Cartes Bancaires, FR | 3DS challenge: not authenticated |
4150561000000027 | Cartes Bancaires, FR | 3DS challenge: not authenticated |
5258901507741160 | Mastercard, CA | 3DS challenge: not authenticated |
6224120000000045 | UnionPay, CN | 3DS challenge: not authenticated |
4243754271700719 | Visa, US | 3DS challenge: not authenticated |
377990956548835 | American Express, US | 3DS challenge: authentication could not be performed |
5341034800000032 | Cartes Bancaires, FR | 3DS challenge: authentication could not be performed |
4150561000000035 | Cartes Bancaires, FR | 3DS challenge: authentication could not be performed |
5569757734785691 | Mastercard, US | 3DS challenge: authentication could not be performed |
6224120000000037 | UnionPay, CN | 3DS challenge: authentication could not be performed |
4447336775378848 | Visa, US | 3DS challenge: authentication could not be performed |
5341034800000040 | Cartes Bancaires, FR | 3DS challenge: error during scheme communication |
4150561000000043 | Cartes Bancaires, FR | 3DS challenge: error during scheme communication |
5572408422189334 | Mastercard, IE | 3DS challenge: error during scheme communication |
4539929207120660 | Visa, IN | 3DS challenge: error during scheme communication |
372310461284948 | American Express, US | 3DS challenge: authentication successful (no 3DS method URL) |
5341034800000057 | Cartes Bancaires, FR | 3DS challenge: authentication successful (no 3DS method URL) |
4150561000000183 | Cartes Bancaires, FR | 3DS challenge: authentication successful (no 3DS method URL) |
36138956596288 | Diners Club International, AT | 3DS challenge: authentication successful (no 3DS method URL) |
3528682570029332 | JCB, JP | 3DS challenge: authentication successful (no 3DS method URL) |
5259410220714099 | Mastercard, US | 3DS challenge: authentication successful (no 3DS method URL) |
6224120000000128 | UnionPay, CN | 3DS challenge: authentication successful (no 3DS method URL) |
4485597929486000 | Visa, US | 3DS challenge: authentication successful (no 3DS method URL) |
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 authorization2013 → 200R3 Issuer initiated a stop payment (revocation order) for all authorizations4001 → 40101 Risk Blocked Transaction4008 → 40108 Gateway Reject - Post code failed9998 → 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'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.
POST /paynl/v1/orders — Order:Create: status 20, links.redirect to the hosted checkout; serviceId (SL-####-####) and amount.value (minor units) are checked, with paymentMethod.id, currency per method, Klarna's addressGET /paynl/v1/orders/{id}/status — Order:Status, with payments[] naming the payer (customerType/customerId/customerName, an IBAN for iDEAL and Pay by Bank, the email for PayPal)PATCH /paynl/v1/orders/{id}/capture, …/capture/amount, …/void (−61), …/abort (−90), …/approve, …/decline (−64) — the order's answer, Order.OutputPATCH /paynl/v2/transactions/{orderId | EX code}/refund — Transaction:Refund with {amount: {value, currency}}; partial refunds up to what was captured; the legacy order id (52305407020X2325), never the order UUID/paynl-checkout/to/order/{token} — the payer: Pay.nl's checkout and the method's own screens (card form with the issuer's 3-D Secure, iDEAL's bank list and the bank, Pay by Bank in NL, BE, DE, AT, PayPal, Klarna, Bancontact with its app, Apple Pay, Google Pay, the sandbox of method 613). ?device=mobile|desktop forces eitherExchanges, 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.
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):
| Card | Outcome |
|---|---|
4111 1111 1111 1111 | Paid (100), no challenge; so is any other valid card number |
5555 5555 5555 4444 | Paid (100), no challenge |
4000 0000 0000 3220 | 3-D Secure challenge, then Paid (100) |
5200 8282 8282 8210 | 3-D Secure challenge, then Paid (100) |
4000 0000 0000 0341 | 3-D Secure challenge that fails: Denied (-63) |
4000 0000 0000 0002 | Declined by the issuer: Denied (-63) |
4000 0000 0000 9995 | Insufficient funds: Denied (-63) |
4000 0000 0000 0119 | Processor error: Failure (-60) |
| Amount (minor units) | Effect |
|---|---|
| …50, from 10.00 | the payment stays PENDING (50) for 15 seconds, then is PAID (100), with an exchange each time it ends |
| …53, from 10.00 | Order:Create is refused: 503 PAY-1503 |
| …60, from 10.00 | FAILURE (-60): an error at the payment method |
| …63, from 10.00 | DENIED (-63): the payment processor rejects it (for Klarna: the credit check fails) |
| …85, from 10.00 | VERIFY (85): held for review; Order:Approve or Order:Decline settles it |
| Refund …03, from 10.00 | 403 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-1400 Bad requestPAY-1404 The requested resource is not foundPAY-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'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.
POST /orchid/v2/payment/card/sale, /card/auth — acknowledged ({status: "success", request_id, project_id, payment_id}); the outcome follows in callbacksPOST /orchid/v2/payment/card/3ds_check_iframe, /card/3ds_result — the 3-D Secure continuationsPOST /orchid/v2/payment/card/capture, /card/cancel (a hold only), /card/refund; /v2/payment/applepay/sale and /applepay/refundPOST /orchid/v2/payment/card/payout — a payout to a card, never 3-D SecurePOST /orchid/v2/payment/status — authoritative, signed; an unknown payment is {payment:{status:"error"}, errors:[{code:"3061"}]}/orchid-lab/acs/{project}/… — the card issuer's ACS: the 3DS Method (in the merchant's hidden iframe; it notifies acs_return_url.3ds_notification_url), the challenge (CReq), the basic workflow's PaReq; the result goes back to acs_return_url.return_url as cres + threeDSSessionData (basic: PaRes + MD to the TermUrl)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.
processing (9999), the outcome after 1.5 s.acs_return_url): after 3 s awaiting 3ds result and the callback with threeds2.iframe;
1.5 s after 3ds_check_iframe (or 30 s without it, as the method had not completed) the frictionless outcome, or the callback with threeds2.redirect (creq, threeDSSessionData);
the outcome 1 s after 3ds_result. No 3ds_result within 30 min: declined 108.acs_return_url.return_url): the callback with acs {acs_url, pa_req, md}, then 3ds_result with pares.3ds_check_iframe on a payment already concluded drops it back to processing with 3060 and the acquirer's 11206, for good — as Orchid did to prod tx ae9c5ded.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.
| Card | Brand | Purchase |
|---|---|---|
4000 0000 0000 0077 | VISA | success, no 3-D Secure |
4111 1111 1111 1111 | VISA | decline, no 3-D Secure (10000 General decline) |
4000 0000 0000 0119 | VISA | success, no 3-D Secure (Orchid's COF registration card; COF debits are not simulated) |
4000 0000 0000 0135 | VISA | success, no 3-D Secure (Orchid's COF registration card; COF debits are not simulated) |
4539 1214 1116 8251 | VISA | decline after a delay at the issuer: answers after 10 s with 10602 Time-out |
4314 2200 0000 0056 | VISA | success after the challenge (the ACS page asks for the code) |
4477 0000 0000 0006 | VISA | success, 3-D Secure frictionless (device fingerprint, no challenge) |
5413 3300 0000 0019 | MASTERCARD | success after the challenge (the ACS page asks for the code) |
5544 3300 0000 0045 | MASTERCARD | decline after the challenge, whatever is answered (10114 Declined by 3DS Check) |
5252 0000 0000 0004 | MASTERCARD | success, 3-D Secure frictionless (device fingerprint, no challenge) |
| Card | Brand | Payout |
|---|---|---|
4242 4242 4242 4242 | VISA | payout success |
4314 2200 0000 0072 | VISA | payout decline (10000 General decline) |
5413 3300 0000 0019 | MASTERCARD | payout success |
5413 3300 0000 0035 | MASTERCARD | payout decline (10000 General decline) |
| Amount | Effect |
|---|---|
| …14 | decline: 101021 Incorrect PAN |
| …34 | refused by RCS at creation: 1434 Duplicate operation |
| …41 | refused by RCS at creation: 1401 PAN is Blacklisted |
| …54 | decline: 10106 Card expired |
| …59 | decline: 10402 Suspicious operation |
| …79 | decline: 10103 Incorrect PIN or CVV |
| …88 | 3-D Secure frictionless (device fingerprint), then success |
| …91 | decline: 10202 Issuer inoperative |
| …96 | payment status error: 10505 PSP system is inoperative |
| …97 | decline after 10 s: 10602 Time-out |
| …98 | challenge, then authentication fails whatever is answered: 104 |
| …99 | challenge, then success |
| …02 | decline: 10000 General decline |
| …05 | decline: 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 (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": …}.
POST /sibs/api/v2/payments — the checkout: merchant (terminalId, channel, merchantTransactionId), customer.customerInfo, transaction (transactionTimestamp, paymentType PURS, paymentMethod ["MBWAY"] or ["REFERENCE"], amount, and for a reference paymentReference: initialDatetime, finalDatetime, minAmount, maxAmount, entity). Answers transactionID, transactionSignature, formContext and expiry (30 minutes)POST /sibs/api/v2/payments/{transactionID}/mbway-id/purchase (also /mbway/purchase) — {"customerPhone": "351#912345678"}: the push to the payer's MB WAY app; paymentStatus Pending, four minutes to confirmPOST /sibs/api/v2/payments/{transactionID}/service-reference/generate — the Multibanco reference (an empty body, or expiration_date, amount, currency): paymentReference with entity (the checkout's, else 40200), nine-digit reference, expireDate and status UNPAIDGET /sibs/api/v2/payments/{transactionID}/status — paymentStatus Pending, Success, Declined, Timeout; a refund by its own idPOST /sibs/api/v2/payments/{transactionID}/refund — merchant, transaction.amount, transaction.originalTransaction: MB WAY only, Success at once/sibs/pay/{transactionID} — the merchant's page (lab paths): MB WAY's phone number (+351), then "Confirme o pagamento na app MB WAY" with a 4:00 countdown; Multibanco's voucher with copy buttons. On a computer the payer's phone is drawn beside it: the MB WAY push, the payment with a card or account to choose, the six-digit PIN; or a banking app's "Pagamento de serviços". ?return= is where the page goes when the payment ends (with it the phone number goes back there as sibsPhone, for the merchant's server to send the purchase; without it the page sends the purchase itself, as SPG's payment form does). ?device=mobile|desktop forces either flow/sibs/app/{id}, /sibs/bank/{id} — the MB WAY app and the banking app, full screen; /sibs/atm — a Multibanco ATM: Pagamentos, Pagamento de serviços, Entidade, Referência, Montante| customerPhone | Effect |
|---|---|
351#911111112 | Approved in the app about 30 seconds later |
351#911111113 | Not an MB WAY number: the purchase is refused (E0506, the alias does not exist) |
351#911111114 | SPG declines a few seconds later (10.106.0009) |
351#911111115 | Nobody answers: the request expires (Timeout) about 10 seconds later, the four minutes made short |
351#911111116 | The payer refuses in the app a few seconds later (01.106.0001) |
any other 351#9xxxxxxxx | The 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 mobile | E0506 (the alias does not exist) or E0504 (invalid format) |
initialDatetime to finalDatetime, seven days when the checkout names no window…,12: the reference is cancelled as it is generated — the sandbox's "Expired Reference" scenario (E0612, with its webhook)…,41: no webhook for the outcome; a status inquiry learns it…,66: declined (E0524)X-IBM-Client-Id and Digest authentication, the checkout, purchase, generation, status and refund payloads, paymentStatus and paymentReference.status, the API-level codes (E01xx, E05xx, E06xx) and the detailed ones (01.106.0001, 10.106.0009, 00.110.1601), the webhook payloads and their AES-GCM encryption and acknowledgement, MB WAY's four minutes, the sandbox's Multibanco scenarios (generate 000, Expired Reference E0612).merchantTransactionId values from its Postman collection, which is not public.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.
POST /przelewy24/api/v1/transaction/register (sign over sessionId, merchantId, amount, currency, crc) → {"data":{"token"}}; the
payer goes to /przelewy24/trnRequest/{token}PUT /przelewy24/api/v1/transaction/verify — required after the notification: until then the payment is an advance payment (status 1)
and the notification repeats after 3, 5, 15, 30, 60, 150 and 450 minutesGET /przelewy24/api/v1/transaction/by/sessionId/{sessionId} (status 0 no payment, 1 advance payment, 2 payment made, 3 returned),
GET /payment/methods/{pl|en}?amount=¤cy=, GET /testAccessPOST /przelewy24/api/v1/transaction/refund (201; 409 per item; 400 Request already exists) and
GET /refund/by/orderId/{orderId} (1 completed, 2 pending, 3 awaiting P24's approval, 4 rejected)/przelewy24/express/v1/…: access/check, user/balance, bank/availability, payment/methods,
bank/check?iban=, transfer/request (wallet mode only; p24 and p24mobile 1013), transfer/p24/refund (with
overrefund), transfer/history; the same id again answers 200 with the first resultPATCH /przelewy24/lab/panel {"merchantName"} and PATCH /przelewy24/express/lab/panel {"notificationUrl"}:
the lab's stand-ins for P24's and Ekspres' web panels (the shop's name the payer sees; where Ekspres notifications go)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.
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 amount | Effect |
|---|---|
| …49, from 10.00 | P24 refuses the payment at the panel: err49, the risk-assessment score is too high |
| …51, from 10.00 | The bank refuses the transfer at authorisation (no funds): err53, the payer can try another method |
| …02, from 10.00 | Paid, but the bank's confirmation (and P24's notification) comes 60 seconds later |
| Refund amount | Effect |
|---|---|
| …13, from 10.00 | Accepted, then rejected by P24 (status 4; the refund notification says status 1) |
| …14, from 10.00 | 409: Insufficient funds available |
| Ekspres payout amount | Effect |
|---|---|
| …02, from 10.00 | 400, error 2002: insufficient funds in the wallet |
| …09, from 10.00 | 400, error 2009: transfer limit exceeded |
| …03, from 10.00 | Paid (4), then 3: error while sending to processing; the money goes back to the wallet |
| …07, from 10.00 | Paid (4), sent (2), then 7: the bank refused it; the money goes back to the wallet |
| below 1.00 / over 500,000.00 PLN | 1008 / 2003 |
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).
GET /eps/appl/epsSO/data/haendler/v2_7 — the bank list (14 banks, the PSA's test bank STZZATWWXXX first).POST /eps/appl/epsSO/transinit/eps/v2_7 — TransferInitiatorDetails → BankResponseDetails (ClientRedirectUrl,
ErrorCode 000, TransactionId, QRCodeUrl). With OrderingCustomerOfiIdentifier the payer goes straight to that bank; without, to the SO's bank selection.POST /eps/appl/epsSO/statusrequest/eps/v2_7 — ConfirmationStatusRequest → the confirmation, or ErrorDetails (020 unknown, 021 not yet).POST /eps/appl/epsSO/refund/eps/v2_6 — EpsRefundRequest → EpsRefundResponse (000; 010, 020, 022)./eps/pay/… — the payer's pages: the SO's bank selection, the bank's login, the pre-filled transfer that cannot be changed, then the pushTAN
in the bank's app (on a computer the phone is drawn beside the page). ?device=mobile|desktop forces either.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.
| Value | Effect |
|---|---|
Test bank STZZATWWXXX, logins 1002823, 1004649, 1009853 | The PSA's published test logins (any login and PIN work) |
| Zweitkonto | Too little in it for most amounts: the bank asks for another account |
| …05, from 10.00 | NOK when the payer signs: 002 insufficient funds |
| …06, from 10.00 | NOK when the payer signs: 003 limit exceeded |
| …07, from 10.00 | The confirmation says UNKNOWN; a minute later OK (a second confirmation, and the status request) |
| …08, from 10.00 | OK, but no confirmation is sent: only the status request knows |
| …09, from 10.00 | The payment initiation is refused: 009 Interner Fehler (nothing is created) |
| refund …05 | StatusCode 009 |
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.
POST /zimpler/v4/deposits (Zimpler GO / Pay N Play: country_code, site_display_name, ref,
amount "100.00", currency, site, the redirect URLs, notification_url, kyc_callback_url,
user_id / national_identification_number for Fast Flow, bank_account.bic, dedup) → 200
pending with user_form_url; GET /v4/deposits/{id} as the schemas have it (SE and FI: no
kyc_info.user_ip; EE: account_information one object); POST /v4/deposits/{id}/approve
{"amount"} (authorized only, its amount only, else 409 / 400); /reject.POST /zimpler/v4/withdrawals (SE SEK, FI and EE EUR, DK DKK; user_ip; user_id or
national_identification_number): authorized at once for a consumer the lab knows, else pending with user_form_url; then approve /
reject. POST /zimpler/v4/sepa_withdrawals (the "other countries": DE, NL, LV, LT, AT, FR, …; EUR, the IBAN in bank_account,
sepa_information first and last name and date of birth): authorized at once. POST /zimpler/v4/refunds
{"deposit_id", "user_ip", …} of an approved deposit (at most its amount, 10 refunds): authorized, then approve / reject./zimpler/account/{m}?code={id} — the consumer's flow: phone number and bank, Mobile BankID (SE; on a computer the phone is drawn beside the
page) or the bank's login (FI, EE, DK), KYC (and the merchant's kyc_callback_url, 10 s, one retry), the account to pay from, the signature,
and back to success_url, failure_url or close_url. ?device=mobile|desktop forces either flow.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.
| Country | Currency | Identification | Banks |
|---|---|---|---|
| SE | SEK | Mobile BankID | Swedbank SWEDSESS, SEB ESSESESS, Handelsbanken HANDSESS, Nordea NDEASESS |
| FI | EUR | the bank's login | Nordea NDEAFIHH, OP OKOYFIHH |
| EE | EUR | the bank's login | LHV LHVBEE22, Swedbank HABAEE2X |
| DK | DKK | the bank's login | Danske 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.
| Country | Personal number | Login |
|---|---|---|
| SE | 19980720-9607 | BankID |
| SE | 19640704-3774 | BankID |
| SE | 19960607-9581 | BankID |
| SE | 20031206-8653 | BankID |
| FI | 200468-051A | FIDEMOUSER1 |
| FI | 051286-598C | FIDEMOUSER2 |
| FI | 090882-632T | FIDEMOUSER3 |
| FI | 031067-638V | FIDEMOUSER4 |
| FI | 120854-042F | FIDEMOUSER5 |
| EE | 36610102484 | EEDEMOUSER1 |
| EE | 36408024559 | EEDEMOUSER2 |
| EE | 37703167995 | EEDEMOUSER3 |
| EE | 38011125371 | EEDEMOUSER4 |
| EE | 39708270436 | EEDEMOUSER5 |
| Deposit | Effect |
|---|---|
account_ref starting with a bank error code, e.g. 5015-player-ref | failed with that code when the payer signs |
amount 0.01 | failed (4001; Zimpler does not say which code) |
| Withdrawal amount | Effect |
|---|---|
| …13, from 10.00 | approved, 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'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.
POST /paytrail/payments (HMAC-SHA256/512 checkout-* headers) → 201 {transactionId, href, reference, terms,
groups, providers[]}: each provider a form (url, parameters); href is Paytrail's pageGET /paytrail/payments/{transactionId} (status new, ok, fail, pending,
delayed), POST …/refund and …/refund/email (201, pending, then a callback),
GET /paytrail/merchants/payment-providers and grouped-payment-providerscheckout-* headers and body); the redirect back and the callback (GET, to
callbackUrls.success or .cancel, after callbackDelay) carry checkout-account,
-algorithm, -amount, -stamp, -reference, -transaction-id, -status,
-provider and signature, all with Paytrail's published test key SAIPPUAKAUPPIASPATCH /paytrail/lab/merchant {"merchantName"}: the lab's stand-in for the merchant's details (the shop's name on the page)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.
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 amount | Effect |
|---|---|
| …05, from 10.00 | The bank refuses the payment after it is confirmed (insufficient funds): fail |
| …07, from 10.00 | pending when the payer is back; ok a minute later, by callback |
| …08, from 10.00 | delayed when the payer is back; ok two minutes later, by callback |
| Refund amount | Effect |
|---|---|
| …05, from 10.00 | The refund fails: the cancel callback, status fail |
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.
POST /montonio/api/orders, GET /montonio/api/orders/{uuid}, GET /montonio/api/stores/payment-methods,
POST /montonio/api/refunds (idempotency key, at least 0.05 EUR, at most what is left); a merchantReference used before updates
that order while it is unpaidpreferredProvider goes straight to the bank), then the bank's
Smart-ID login (personal code, a four-digit verification code, PIN1 in the app), the payment from one of the payer's accounts with its balance,
confirmed with PIN2, and back to Montonio and the store's returnUrl with order-token. On a computer the phone with the
Smart-ID app is drawn beside the bank's website; ?device=mobile|desktop forces either flow.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.
| Country | Personal code | Document number | Outcome |
|---|---|---|---|
| EE | 40404040009 | PNOEE-40404040009-MOCK-Q | OK, adult |
| EE | 40504040001 | PNOEE-40504040001-DEM2-Q | OK, adult |
| EE | 61101012257 | PNOEE-61101012257-DEMO-Q | OK, under 18 (born 2011-01-01) |
| EE | 30403039917 | PNOEE-30403039917-MOCK-Q | USER_REFUSED at login |
| EE | 30403039946 | PNOEE-30403039946-MOCK-Q | logs in, then refuses the payment (PIN2) |
| EE | 30403039972 | PNOEE-30403039972-MOCK-Q | WRONG_VC: the wrong verification code is chosen |
| EE | 30403039983 | PNOEE-30403039983-MOCK-Q | TIMEOUT: the app never answers |
| LV | 040404-10003 | PNOLV-040404-10003-DEMO-Q | OK, adult |
| LV | 050405-10009 | PNOLV-050405-10009-DEM0-Q | OK, adult |
| LV | 010111-23474 | PNOLV-010111-23474-DEME-Q | OK, under 18 (born 2011-01-01) |
| LV | 030403-10016 | PNOLV-030403-10016-MOCK-Q | USER_REFUSED at login |
| LV | 030403-10040 | PNOLV-030403-10040-MOCK-Q | logs in, then refuses the payment (PIN2) |
| LV | 030403-10075 | PNOLV-030403-10075-MOCK-Q | WRONG_VC: the wrong verification code is chosen |
| LV | 030403-10083 | PNOLV-030403-10083-MOCK-Q | TIMEOUT: the app never answers |
| LT | 40404040009 | PNOLT-40404040009-MOCK-Q | OK, adult |
| LT | 40504040001 | PNOLT-40504040001-DEM2-Q | OK, adult |
| LT | 61101012257 | PNOLT-61101012257-MOCK-Q | OK, under 18 (born 2011-01-01) |
| LT | 30403039917 | PNOLT-30403039917-MOCK-Q | USER_REFUSED at login |
| LT | 30403039946 | PNOLT-30403039946-MOCK-Q | logs in, then refuses the payment (PIN2) |
| LT | 30403039972 | PNOLT-30403039972-MOCK-Q | WRONG_VC: the wrong verification code is chosen |
| LT | 30403039983 | PNOLT-30403039983-MOCK-Q | TIMEOUT: the app never answers |
| Deposit amount | Effect |
|---|---|
| …91, from 1.00 | PAID, then VOIDED ten seconds later: the payer's bank rejected the transfer after all |
| …92, from 1.00 | The bank keeps the payment pending: the payer returns with PENDING, and it is PAID two minutes later (the webhook) |
| Refund amount | Effect |
|---|---|
| …52 | REJECTED, INSUFFICIENT_FUNDS |
| …53 | REJECTED, DECLINED (the payer's bank declined it) |
| Country | Banks (BIC) |
|---|---|
| EE | Swedbank Eesti HABAEE2X, SEB Eesti EEUHEE2X, LHV LHVBEE22, Luminor Eesti RIKOEE22, Coop Pank EKRDEE22, Citadele Eesti PARXEE22, Revolut RVUALT2V |
| LV | Swedbank Latvija HABALV22, SEB Latvija UNLALV2X, Citadele Latvija PARXLV22, Luminor Latvija RIKOLV2X, Revolut RVUALT2V |
| LT | Swedbank Lietuva HABALT22, SEB Lietuva CBVILT2X, Luminor Lietuva AGBLLT2X, Šiaulių bankas CBSBLT26, Medicinos bankas MDBALT22, Citadele Lietuva INDULT2X, Revolut RVUALT2V |
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.
POST /nexi-gr/api/phoenix-0.0/psp/api/v1/orders/hpp (paymentService: IRIS, captureType: IMPLICIT; answers
hostedPage and securityToken), GET …/orders/{orderId}, GET …/operations/{operationId},
POST …/operations/{operationId}/refunds (Idempotency-Key; PENDING, then REFUNDED) and GET …/payment_methods.hostedPage — Nexi's page with IRIS: on a computer "Generate QR code" (the payload is IRISCOM + the authorization
request's UUID) with the payer's phone drawn beside it (a bank's app scans, the account, confirm), or a bank from the list and its web banking;
on a phone the bank list (Piraeus Bank, Alpha Bank, Eurobank, National Bank of Greece, Attica Bank, Bank of Cyprus, Hellenic Bank), then the bank's app. ?device=mobile|desktop and
?lang=el|en force either./nexi-gr/iris-ecommerce-demo/webBanking.html?authorizationRequestID=… — DIAS's test web banking: choose SCT and an IBAN, then
"Confirm transaction"; back to Nexi's page.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).
| Value | Effect |
|---|---|
| Current account | EXECUTED |
| Savings account / Blocked account | DECLINED (AM04 / AC06) |
| Over 5,000.00 a day per account | DECLINED (AM02) |
| …13, from 10.00 | PENDING once the payer confirms, EXECUTED a minute later |
| …53, from 10.00 | orders/hpp answers 500 PS0159 (service temporarily unavailable): nothing is created |
| …05, from 10.00 | The bank refuses once the payer confirms (AM04, insufficient funds): DECLINED |
| …06, from 10.00 | The beneficiary's bank does not answer in time (AB05): FAILED |
| refund …05 | PENDING, then FAILED |
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).
POST /datatrans/v1/transactions (init; paymentMethods: ["TWI"] or ["PFP"], CHF) → 201 {transactionId} and
Location: the payment page /datatrans/v1/start/{transactionId}, valid 30 minutesGET /datatrans/v1/transactions/{transactionId} (initialized, authorized, settled, transmitted, canceled, failed; detail,
history), POST …/settle and …/cancel (204), POST …/credit (a refund: 200, a credit transaction of
its own), all taking Idempotency-Key (60 minutes), and GET /datatrans/upp/checkwebhook.url, once, before the payer is sent back) is the status's body, signed
Datatrans-Signature: t=…,s0=… (HMAC-SHA256 over the timestamp and the body) with the example key Datatrans publishes
(861bbfc01e08…)/DATATRANS/T/…) and its code, counting down
TWINT's 15 minutes, with the payer's TWINT app on the phone drawn beside it; on a phone the TWINT apps to pick
(UBS TWINT, PostFinance TWINT, ZKB TWINT, Raiffeisen TWINT, BCV TWINT, Migros Bank TWINT, Valiant TWINT, LUKB TWINT, BKB TWINT, Yuh TWINT, prepaid TWINT & other banks), then the app. Once the app has the payment, 3 minutes to pay.
PostFinance Pay (PFP, which replaces PostFinance Card and E-Finance): its QR code for the PostFinance App on a computer, the app drawn
beside it; on a phone a button that opens the app; the transaction's 30 minutes, no other limits (modeled).
Back to the shop's successUrl, cancelUrl or errorUrl with datatransTrxId.
?device=mobile|desktop and ?lang=de|fr|it|en force either. The Lightbox: /datatrans/upp/payment/js/datatrans-2.0.0.js.PATCH /datatrans/lab/merchant {"merchantName"}: the lab's stand-in for the merchant's configuration (the shop's name in the app)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 amount | Effect |
|---|---|
| …05, from 10.00 | TWINT (or PostFinance) declines when the payer pays (not enough balance): failed, declined |
| …06, from 10.00 | TWINT (or PostFinance) fails when the payer pays (a technical error): failed, error |
| Credit amount | Effect |
|---|---|
| …05, from 10.00 | TWINT (or PostFinance) declines the refund: 400 DECLINED, nothing credited |
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.
POST /truevo/payments/sale, /authorization — card.manual; with initiateSecureEcommerce, customer.browser and merchant.redirectURL an enrolled card's GET /status answers ACTION, actionRequired Challenge and additionalData ACSURL and CREQ: the payer's browser posts creq to the ACSURL (the issuer's challenge, the shared ACS page), and the ACS posts the CRes (cres) to merchant.redirectURL. Unanswered for 10 minutes (modeled), the payment is declined as unactioned. An enrolled card without 3DS is declined 1A (SCA); secureEcommerce carries a merchant's own 3DS resultPOST /truevo/payments/threeDS/finalise — {transactionUniqueIdentifier, transactionStatus: Successful | NotAuthenticated | Unsuccessful | Unactioned}: the payment continues. A "Successful" for a challenge the cardholder did not pass is declined (the 3DS server holds the ACS's result)POST /truevo/payments/capture — an authorisation, once, partial or full, within 7 days (modeled); by its id or its retrieval reference numberPOST /truevo/payments/reversal — a sale or a capture (transactionType SALE or CAPTURE), in full, until 00:00 CET the same dayPOST /truevo/payments/linkedRefund — partial or full; /refund — to a card, unlinkedPOST /truevo/payments/originalCreditTransfer — an OCT to card.manual, with sender (accountNumber, names, sourceOfFunds, physicalAddress) and merchant.fundsTransferIdentifier (e.g. OnlineGamblingPayout); /linkedOriginalCreditTransfer — to an earlier payment's cardGET /truevo/payments/status?transactionUniqueIdentifier=… — PENDING, ACTION, FAILURE or COMPLETE with transactionStatus COMPLETE, DECLINED, CAPTURED, REVERSED or REFUNDED, the ISO 8583 responseCode and merchantAdviceCode; GET /truevo/payments/payments/details — what may still be captured, refunded or reversedErrors: 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.
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.
| Card | Brand | Outcome |
|---|---|---|
4242424242424242 | Visa | Approved, no 3-D Secure (frictionless) |
5555555555554444 | Mastercard | Approved, no 3-D Secure (frictionless) |
4000000000003220 | Visa | The issuer's 3-D Secure challenge, then approved |
5200828282828210 | Mastercard | The issuer's 3-D Secure challenge, then approved |
4000000000000341 | Visa | The issuer's 3-D Secure challenge, which fails: declined |
4000000000000002 | Visa | Declined: 05 Do not honour |
4000000000009995 | Visa | Declined: 51 Not sufficient funds |
4000000000000069 | Visa | Declined: 54 Expired card |
4000000000000127 | Visa | Declined: N7 CVV2 failure |
4100000000000019 | Visa | Declined: 59 Suspected fraud |
4000000000000259 | Visa | Declined: 91 Issuer or switch inoperative |
4000000000000119 | Visa | Truevo FAILURE: 96 System malfunction (not processed) |
| Amount (last two digits in minor units) | On | Effect |
|---|---|---|
| …52, from 10.00 | oct | The OCT is declined (05 Do not honour) |
| …77, from 10.00 | refund | The linked refund is declined (05) |
| …97, from 10.00 | sale | Stays PENDING for 30 seconds, then the card's outcome (Truevo's two-step model: ask again) |
idempotencyKey, the request and answer objects field for field, the two-step model (RECEIVED, then GET /status), the 3DS action (ACSURL, CREQ), /threeDS/finalise and its statuses, the reversal types and same-day cut-off, linked refunds, the OCT's sender and funds transfer identifiers, the gateway's 403 for an unknown path.responseCode of a REJECTED request, the challenge window, the capture window, the ceilings, the lab rules, the issuer's page (the shared ACS page, always a challenge). Not played: tokens, wallets (Apple Pay, Google Pay), recurring, BIN lookup, the standalone 3DS server (/3dsecure) and the automated reversals.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.
POST /payabl/pay/backoffice/payment_authorize, payment_preauthorize — the card (ccn, exp_month, exp_year, cvc_code, cardholder_name), email, customerip, url_return, notification_url, param_3d (try3d, always3d, authenticated_only, non3d). Answers status=0, an issuer's code, or status=2000 with url_3ds: the payer authenticates there (the shared ACS page) and goes back to url_return with the result. Unanswered for 30 minutes (modeled), the payment is aborted (-5003)POST …/payment_capture, payment_reversal — a pre-authorization, by transactionid (an authorization's reversal: -104, a second capture: -102)POST …/payment_refund — partial or full, by the payment's transactionid; a step on that payment (its answer names the payment), external_id finds it in tx_diagnose; more than is left: -126POST …/payment_cft — a payout by the transactionid of a captured deposit (a transaction of its own). With the card's details instead: -104, as payabl. restricts that to non-gambling merchants. Above 5000.00 (modeled): -6209POST …/tx_diagnose — type tx, orderid or externalid (a transaction's steps: invoice, booked, refund, reversal, cft), or capture, refund, cft, pending, failed between start_date and end_date; XML; unknown: -6053POST …/send_notification — the last status of the named transactions, notified againAny 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.
| Card | Brand | Outcome |
|---|---|---|
5232050000010003 | Mastercard | Success: payments and refunds (no payouts). The test amounts below apply |
4149011500000147 | VISA | Success: payments, refunds and payouts. The test amounts below apply |
378282246310005 | AMEX | Success: payments, refunds and payouts |
4012001038443335 | VISA | Decline: error code -10001 (3-D Secure verification failed) |
4242424242420000 | VISA | 3DS: card not enrolled (N); with try3d the payment goes on without 3DS |
4012001038488884 | VISA | 3DS: unable to verify enrolment (U) |
4012001037141112 | VISA | 3DS: successful authentication (Y, ECI 05) after the challenge |
4242424242424242 | VISA | 3DS: successful authentication (Y, ECI 05) after the challenge |
4012001037167778 | VISA | 3DS: successful merchant attempt (A, ECI 06) |
4012001037461114 | VISA | 3DS: authentication failure (N): declined -10001 |
4242000000000000 | VISA | 3DS: authentication failure (N): declined -10001 |
4012001037484447 | VISA | 3DS: authentication not available (U) |
4200000000000000 | VISA | 3DS: authentication not available (U) |
4242426790614587 | VISA | 3DS: frictionless flow (Y, ECI 05) |
5105105105105100 | Mastercard | 3DS (Mastercard): successful authentication (Y) |
5555555555554444 | Mastercard | 3DS (Mastercard): attempt (A) |
5454545454545454 | Mastercard | 3DS (Mastercard): cardholder not participating (N) |
5406592832271063 | Mastercard | Soft decline: with param_3d=non3d the issuer answers 65, payabl. runs 3DS, then the payment is declined 65 |
4297016519240436 | VISA | Partial approval: 1000.10 is approved for 50.00 |
| Amount | Code | Meaning |
|---|---|---|
| 1000.05 | 05 | Do not honor |
| 1000.14 | 14 | Invalid account/card number |
| 1000.51 | 51 | Insufficient funds/over credit limit |
| 1001.65 | 65 | Soft decline (customer authentication required) |
| Amount (last two digits in minor units) | On | Effect |
|---|---|---|
| …57, from 10.00 | payout | the payout is refused: 57 (transaction not permitted on card) |
| …61, from 10.00 | payout | the payout is refused: 61 (exceeds amount limit) |
| …76, from 10.00 | refund | the refund is refused: 12 (invalid transaction) |
| …91, from 10.00 | payment | the notification arrives 30 seconds late |
| …92, from 10.00 | payment | no notification is sent (the payer's return and tx_diagnose still answer) |
| …93, from 10.00 | payment | the payment stays pending (2000) for 2 minutes, then succeeds |
url_3ds and param_3d, the notification's fields, types and SHA-256 security, refunds as steps of the payment, CFT by the deposit's transaction id, tx_diagnose's XML, the test cards and amounts, partial approval.url_return (the notification's), refund notifications and notifications for payments without 3DS (both on by request at payabl.), the issuer's page (the shared ACS page).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/.
POST /decta/api/v0.6/orders/ — client (email or phone), products (title, price), currency, number, skip_capture, success_redirect, failure_redirect: 201, the order with its api_do_urlPOST <api_do_url> — cardholder_name, card_number, exp_month, exp_year (two digits), csc, ip_address, 3ds_instructions, or a merchant's own 3DS result (eci, cavv, xid, 3ds_protocol): {"processing_status":"000"} at once, or {"threed_check_url":…}: the payer goes there (the issuer's challenge on the shared ACS page, or DECTA's processing page when frictionless), DECTA pays and sends the payer to the order's success_redirect or failure_redirect. Left 15 minutes, the order fails ("Operation timed out"). Visa and Mastercard onlyGET /decta/api/v0.6/orders/{id}/, GET /orders/?field=order_number&quick_search=… — status (issued, paid, hold, failed, cancelled, refunded, reversed…), transaction_details.processing_status (DECTA's raw acquirer code), three_d_secure_status, status_changesPOST /orders/{id}/capture/ (a hold, total for less), /cancel/ (and release a hold), /reverse/ (all of it, the same day), /refund/ (amount for part): a refund is a charge (kind refnd) processed asynchronously; GET /orders/{id}/charges/, GET /charges/{id}/POST /orders/init_og/ (online gaming), /init_b2p/, /init_sdwo_payout/ (sender_name) — client (first_name, last_name, birth_date, country), amount, currency, number: a charge with its api_do_url, which takes card_number2, exp_month2, exp_year2 and payment_cardholder_name; webhooks oct.success / oct.failure. Above 10,000 (modeled) a payout fails 121POST /decta/api/v0.6/webhooks/ (title, url, all_events or events), GET /webhooks/, DELETE /webhooks/{id}/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.
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).
| Card | Brand | Outcome |
|---|---|---|
4111111111111111 | Visa | DECTA's test card: the scenario follows the CVV (or the amount). A payout to it is paid |
5105105105105100 | Mastercard | DECTA's test card: the scenario follows the CVV (or the amount). A payout to it fails |
4000000000003220 | Visa | Any amount: the 3-D Secure challenge, then paid (the lab's standard set) |
4000000000009995 | Visa | Any amount: failed, 116 not sufficient funds (the lab's standard set) |
| Field | Value | Effect |
|---|---|---|
| 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 amount | DECTA's test cards | The 3-D Secure challenge, then paid |
| 3-D Secure challenge | Cancel payment, or Fail authentication (lab drawer) | Failed: the payer goes back to the failure page |
| 3-D Secure challenge | Leave it 15 minutes | Failed: Operation timed out (DECTA's 3DS timeout) |
| Refund or payout amount (lab rule, from 10.00) | …55 | Stays in_progress for 20 s, then paid; the webhook tells |
| Payout amount (lab rule) | over 10,000.00 | Failed: 121 exceeds withdrawal amount limit |
| Amount (last two digits in minor units) | On | Effect |
|---|---|---|
| …55, from 10.00 | Refund or payout | Stays in_progress for 20 s, then paid; the webhook tells |
api_do_url and its card body, threed_check_url and the 15-minute 3DS timeout, the order and charge statuses, processing_status and the raw acquirer codes, capture, cancel, same-day reversal and refunds, the OG, B2P and SDWO payouts, the webhooks API and its events, the sandbox's test cards and CVV scenarios, the error envelopes (400 field lists, 403 authentication_failed, 404 Not found., Payment not found).api_do_url (DECTA answers the URL; clients never build it), the wording of the lab's own 400s, the amounts that stand in for the CVV, the payout ceiling, the lab rules, the issuer's page (the shared ACS page). Not played: the hosted checkouts (Full Page, Payform JS SDK, Direct Post), saved cards and recurring, manual 3DS (manual_acs), Apple Pay, Google Pay, the APMs and APM payouts, P2P and A2A transfers, subscriptions and invoices.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.
POST /xpate/v1/orders/ — an order with one transaction (credit-card, or credit-card-oct for a payout) and the customer xpate requires (name, email, billing address, postal code, country, phone, IP): 201, the transaction new with a setup_token. capture_mode: manual makes it an authorisationPOST /xpate/tokens/v1/cards/ — {name, pan, expiry (MMYYYY), setup_token}: the card into the vault, once per setup token and within 300 seconds; 200 {vault_token, truncated_pan, brand, brands}POST /xpate/v1/orders/{o}/transactions/{t}/authenticate/ — {vault_token, cvc}: {redirect_url}, xpate's 3-D Secure page, where the issuer checks the card frictionless or with its challenge (the shared ACS page) and the payer goes back to return_url (failure_url on a failure). With an external 3DS result (cavv, 3ds_version, 3ds_method_used, ds_transaction_id) the order is answered at once. For a payout it executes the OCT. /initiate/ answers the order insteadPOST …/captures/, …/captures/amount/, …/voids/, …/voids/amount/ — an authorisation captured once (the rest released) or voided; each a new order (201)POST /xpate/v1/orders/{id}/refunds/ — {amount, description}: a refund order (201, credit-card-refund); GET lists themGET /xpate/v1/orders/{id}/ — the order and its transaction: new, pending (3-D Secure), processing, accepted, error (with reason and outcomes.processing), cancelled or expired; GET /xpate/v1/merchants/self/projects/self/currencies/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).
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.
| Card | Brand | Outcome |
|---|---|---|
5520330000002221 | Mastercard | xpate test card: approved; the amount picks the 3-D Secure flow |
5520330000002254 | Mastercard | xpate test card: approved; the amount picks the 3-D Secure flow |
5520330000002262 | Mastercard | xpate test card: approved; the amount picks the 3-D Secure flow |
4635440000002207 | Visa | xpate test card: approved; the amount picks the 3-D Secure flow |
4635440000002215 | Visa | xpate test card: approved; the amount picks the 3-D Secure flow |
4635440000002272 | Visa | xpate test card: approved; the amount picks the 3-D Secure flow |
/authenticate/ and /initiate/, external 3DS, the statuses and reasons, the webhook and its retries, the test cards and amounts, the Tokens API's errors.return_url (order_id, project_id), an amount of exactly 3000 (frictionless), xpate's 3-D Secure page (a generic one; the issuer's challenge is the shared ACS page). Not played: the Hosted Payment Page, payment links, Apple Pay and Google Pay, one-click and recurring payments, delayed capture, account funding (AFT), xpate Pro.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.
POST /trustpayments/json/ — {alias, version: "1.00", request: [{requesttypedescriptions: [...], sitereference, ...}]} → {requestreference, version, response: [...]}, each response with errorcode and errormessageTHREEDQUERY, AUTH in one request — the card (pan, expirydate MM/YYYY, securitycode), baseamount in base units, currencyiso3a, termurl: not enrolled or frictionless, both answer; a challenge, the THREEDQUERY alone with enrolled Y, status C, acsurl, threedpayload (the CReq) and mdAUTH with parenttransactionreference = the THREEDQUERY and threedresponse = the CRes — the authorisation after the challenge (60022 Unauthenticated when it failed, was cancelled or timed out; a THREEDQUERY makes one AUTH, a second is refused 20033, modeled)AUTH alone — without 3-D Secure; settlestatus 2 holds an authorisation for a captureREFUND with parenttransactionreference — partial or full, of a settled AUTH or one due to settle today (20005 otherwise; 20007 over what settled)REFUND with accounttypedescription CFT and the card — a payout (Credit Fund Transfer) on the merchant's CFT site referenceTRANSACTIONQUERY — filter by transactionreference, orderreference, sitereference, parenttransactionreference, … → found and recordsTRANSACTIONUPDATE — filter.transactionreference and updates (settlestatus 0 to capture, 3 to cancel; settlebaseamount no more than authorised); 60017 once settled or cancelled/trustpayments/acs/challenge?id=<md> — the issuer's challenge (the shared ACS page); the CRes goes to termurl as cres with threeDSSessionData. Unanswered for 10 minutes it times out (modeled)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.
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).
| Card | Brand | 3-D Secure | Outcome | Source |
|---|---|---|---|---|
4111111111111111 | Visa | enrolled, a challenge | Authorised after the issuer's 3-D Secure challenge | Trust Payments' libraries |
4111110000000211 | Visa | enrolled, frictionless | Authorised, 3-D Secure frictionless | Trust Payments' libraries |
4000000000000721 | Visa | not enrolled | Not enrolled in 3-D Secure: authorised without authentication | Trust Payments' libraries |
4000000000000812 | Visa | not enrolled | Declined (70000), Do not honour | Trust Payments' libraries |
4242424242424242 | Visa | not enrolled | Declined (70000), Do not honour | Trust Payments' libraries |
4000000000002701 | Visa | enrolled, frictionless | Cardinal test case 1: frictionless, authenticated, authorised | Cardinal Commerce |
4000000000002503 | Visa | enrolled, a challenge | Cardinal: the issuer's challenge, authorised once confirmed | Cardinal Commerce |
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}.
POST /unlimit/api/payments — payment_method: BANKCARD with card_account.card, payment_data (preauth for an authorisation), merchant_order, customer.email and return_urls: {redirect_url, payment_data: {id}}, the payment NEW. At the redirect URL the issuer challenges (the shared ACS page) or the payment is processed in a moment, and the payer goes back to success_url / decline_url (else return_url), placeholders filled inGET /unlimit/api/payments/{id} and GET /unlimit/api/payments?request_id=…&merchant_order_id=… — NEW, AUTHORIZED, COMPLETED, DECLINED (with decline_code and decline_reason), VOIDED, PARTIALLY_REFUNDED, REFUNDEDPATCH /unlimit/api/payments/{id} — CHANGE_STATUS with status_to COMPLETE (any amount) or REVERSE; once. An authorisation nobody settles ends after its hold_period as postauth_status says (REVERSE by default)POST /unlimit/api/refunds — {payment_data: {id}, refund_data: {amount}}, partial or full: 201 with refund_data.status; GET /unlimit/api/refunds[/{id}]POST /unlimit/api/payouts — BANKCARD to card_account.card with recipient_info, or to an earlier payment's card (payment_data.id): 201 with payout_data.status; GET /unlimit/api/payouts[/{id}]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).
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.
| Card | Brand | Outcome |
|---|---|---|
4000000000000085 | Visa | 3-D Secure challenge: confirm it and the payment completes |
4000000000000093 | Visa | Frictionless 3-D Secure: completed |
4580000000000059 | Visa | Frictionless 3-D Secure attempt: completed |
4000000000000077 | Visa | No 3-D Secure: completed |
4000000000000051 | Visa | No 3-D Secure: held as an authorisation by Unlimit's antifraud (AUTHORIZED) |
4444444444444455 | Visa | 3-D Secure challenge, then declined by the bank |
4444444444449777 | Visa | No 3-D Secure: declined by the bank (11); a payout to it is declined too |
5100000000000065 | Mastercard | 3-D Secure challenge: completed |
5100000000000073 | Mastercard | Frictionless 3-D Secure: completed |
2400000000000077 | Mastercard | No 3-D Secure: completed |
5100000000000651 | Mastercard | No 3-D Secure: held as an authorisation (AUTHORIZED) |
5555555555559955 | Mastercard | 3-D Secure challenge, then declined |
5555555555554477 | Mastercard | No 3-D Secure: declined |
/unlimit/lab/settings). Not played: payment page mode, payment links and invoices, recurring payments and subscriptions, card tokens, Apple Pay and Google Pay, the separate authentication API, the 1,000+ alternative payment and payout methods.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.
POST /paynetics/v1/init — the card (card_number, MM/YY, cardholder_name, cvv2, or a saved card token), amount and currency: a session token (single use, 30 minutes, modeled) and a card tokenPOST /paynetics/v1/3d/authenticate/{init} — version 2, notification_url and the browser: frictionless (resolution proceed_3ds, status successful, eci and cavv at once), a challenge (bank_redirect_url, the shared ACS page; the ACS posts cres to the notification_url), or not enrolled (proceed). POST /paynetics/v1/3d/result/2/{init} with response = the CRes gives the outcome as the ACS holds it (a forged "Y" meets reject). A challenge left 10 minutes fails (modeled). /v1/3d/enrollment answers enrolledPOST /paynetics/v1/purchase/{init}, /pre-authorization/{init} — the 3DS data (eci, cavv, xid, version, directory_transaction_id, resolution): response_code, error_details and the transaction token. A card enrolled for a challenge without its authentication is soft-declined 1APOST /paynetics/v1/capture/{transaction} (a pre-authorization, once, partial or full), /reversal/{transaction} (one not captured), /refund/{transaction} (partial or full, several, within 30 days; reference at most 30 characters), /reversal-refund/… and /reversal-credit/… (the same day, modeled)POST /paynetics/v1/oct/{init} — an OCT: the card (token or details), balance (the merchant's OCT funding balance, in the OCT's currency: EUR, GBP or USD; opened with 250,000 on first use, modeled), first_name, last_name, birthday, nationality, reference and industry_specific_transaction (A, D, F, P, W, G, C). /v1/credit/{init} credits a cardGET /paynetics/v1/transactions/{token} and /transactions/{page}/{limit}?reference=…&type=…&status=…&start_date=…&end_date=… — the records (type 12 purchase, 16 refund, 17 reversal, 19 pre-authorization, 21 capture, 26 credit, 31 oct; status -2 cancelled, -1 failed, 0 pending, 1 successful), newest first; the cards API (/v1/cards)TRANSACTION.NEW for every transaction and TRANSACTION.UPDATE for a status change, to the URL set at PUT /paynetics/lab/webhooks (the partner portal's setting; BabelPay sets it itself), signed with x-timestamp and x-hash (HMAC-SHA256 under the lab's published secret over timestamp + action + the body without whitespace; modeled). Anything but a 200 is retried (three times, 10 s apart, at Paynetics)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).
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.
| Card | Brand | Outcome |
|---|---|---|
4242424242424242 | Visa | Approved, frictionless 3-D Secure |
5555555555554444 | Mastercard | Approved, frictionless 3-D Secure |
4000000000003220 | Visa | The issuer's 3-D Secure challenge, then approved |
5200828282828210 | Mastercard | The issuer's 3-D Secure challenge, then approved |
4000000000000341 | Visa | The issuer's 3-D Secure challenge, which fails: declined |
4000000000000002 | Visa | Declined: 05 Do not honour |
4000000000009995 | Visa | Declined: 51 Not sufficient funds |
4000000000000069 | Visa | Declined: 54 Expired card |
4000000000000127 | Visa | Declined: N7 CVV2 failure |
4100000000000019 | Visa | Declined: 59 Suspected fraud |
4000000000000259 | Visa | Declined: 91 Issuer or switch inoperative |
4000000000000119 | Visa | Paynetics error 11008: the processor did not answer (nothing charged) |
| Amount (last two digits in minor units) | On | Effect |
|---|---|---|
| …10, from 10.00 | payment | Partial approval: response_code 10, half the amount approved (Paynetics' partial authorization for gambling MIDs) |
| …52, from 10.00 | oct | The OCT is declined (05 Do not honour) |
| …77, from 10.00 | refund | The refund is declined (05 Do not honour) |
| …97, from 10.00 | payment | The processor does not answer in time: code 11008, the transaction stays pending (status 0) for 30 seconds, then approves and TRANSACTION.UPDATE follows |
resolution, status, bank_redirect_url), the acquiring answer's fields and its approved codes (00, 10, 85), partial approval, the transaction records, types and statuses, 50004, the API error codes and HTTP 200, the OCT's required fields, use cases, currencies and funding balance, the 30-day refund window, the webhook payloads and retries.PUT /paynetics/lab/webhooks stands in for onboarding), the session lifetime, the challenge window, the capture window, the ceilings, the OCT funding balance's opening amount, the reversal-refund and reversal-credit cut-off, the issuer's page (the shared ACS page). Not played: the hosted payment page (/v1/{operation}/page), AES-encrypted init, Apple Pay and Google Pay, network tokens, recurring and credential-on-file, AFT and Mastercard Funding data, issuing and accounts.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.
POST /inovio/payment/pmt_service.cfm — request_action: CCAUTHCAP (a sale), CCAUTHORIZE, CCCAPTURE (partial or full), CCREVERSE (before the nightly batch; after it 515, or a credit with CREDIT_ON_FAIL=1, answered as CCCREDIT), CCREVERSECAP, CCCREDIT against REQUEST_REF_PO_ID (partial or full), CCCREDIT with FORCE_CREDIT=1 and a card (a credit with no original: payouts; above 10,000 declined 540, modeled), CCSTATUS (by REQUEST_REF_PO_ID or REQUEST_REF_PO_ID_XTL: the order's legs as COLUMNS/DATA), TESTGW, TESTAUTH. XTL_ORDER_ID with UNIQUE_XTL_ORDER_ID 2 returns an approved original, 1 declines a repeat (685)POST /inovio/payment/3dsrequest.cfm — JWT, DDC_URL, DDC_REFERENCEID (device data collection); then the payment with REQUEST_ENROLLMENT=1, DDC_REFERENCEID, P3DS_RETURN_URL and the browser fields: approved or declined frictionless, or PENDING with the challenge (P3DS_ACS_URL, P3DS_PAYLOAD; also PROC_REDIRECT_URL, P3DS_JWT, P3DS_PROCTRANSID, which Inovio's SDKs read). The browser posts JWT to the ACS (the shared issuer page); the ACS posts TransactionId, Response and MD to P3DS_RETURN_URL; the same payment again with P3DS_PROCTRANSID and REQUEST_PARES answers it, on the same order. Without the browser fields 3-D Secure is skipped, as Inovio warnsTYPE PURCHASE, CREDIT, REVERSAL, TRANSACTION STATUS UPDATE, VERIFY; PURCHASE_ORDER with the order's XTL_UDFxx), to the URL set at the lab's stand-in for the portal, POST /inovio/portal/postback (req_username, site_id, postback_url); acknowledged with the body 100Errors: 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.
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).
| Card | Brand | Outcome |
|---|---|---|
4111111111111111 | Visa | Inovio's test card: the amount decides (any other amount is approved) |
4907639999990022 | Visa | Inovio's test card: the amount decides |
5105105105105100 | Mastercard | Inovio's test card: the amount decides |
5555555555554444 | Mastercard | Inovio's test card: the amount decides |
5546989999990033 | Mastercard | Inovio's test card: the amount decides |
378282246310005 | American Express | Inovio's test card: the amount decides |
38520000023237 | Diners Club | Inovio's test card: the amount decides |
30569309025904 | Diners Club | Inovio's test card: the amount decides |
6011111111111117 | Discover | Inovio's test card: the amount decides |
6011000990139424 | Discover | Inovio's test card: the amount decides |
3530111333300000 | JCB | Inovio's test card: the amount decides |
3566002020360505 | JCB | Inovio's test card: the amount decides |
4000000000003220 | Visa | Any amount: the 3-D Secure challenge, then approved (the lab's standard set) |
4000000000009995 | Visa | Any amount: declined, 635 Insufficient Funds (the lab's standard set) |
| Field | Value | Effect |
|---|---|---|
| Amount | 5.02 | Declined: 624 Expired Card |
| Amount | 5.03 | Declined: 621 Failed CVV |
| Amount | 5.04 | Declined: 623 Failed AVS |
| Amount | 5.05 | Declined: Declined (processor: General Decline) |
| Amount | 5.06 | Declined: 603 Fraud |
| Amount | 5.07 | Declined: processor Overlimit |
| Amount | 5.08 | Approved, AVS N (no match) |
| Amount | 5.18 | Declined: 518 Missing Required Field |
| Amount | 5.30 | Declined: 530 Downstream Processor Unavailable |
| Amount | 6.00 | Declined: 600 General Decline |
| Amount | 6.05 / 6.10 | Declined: 605 Stolen Card / 610 Pickup Card |
| Amount | 6.20 / 6.24 | Declined: 620 Invalid CVV / 624 Expired Card |
| Amount | 6.26 | Declined: voided per Timeout Void settings |
| Amount | 6.35 | Declined: 635 Insufficient Funds |
| Amount (EUR) | 7.00 | Approved, converted: settled 5.686415 USD |
| Amount | 7.25 | Approved, CVV N (no match) |
| Amount | 8.81 / 8.83 | Declined: R1 / R3 revocation (industry) |
| Amount | 9.91 / 9.93 | Declined: R1 / R3 revocation (processor) |
| Amount ending in (lab rule, 3-D Secure on) | .99 | The issuer's challenge, then approved |
| Amount ending in (lab rule, 3-D Secure on) | .98 | The issuer's challenge fails whatever you answer: declined |
| 3-D Secure challenge | Cancel, or Fail authentication (lab drawer) | Declined: the authentication failed (P3DS_RESPONSE N) |
| Payout amount (lab rule) | over 10,000.00 | Declined: 540 Maximum Auth Limit Exceeded |
| Refund | more than is left on the order | Declined: 516 Credit amount exceeds order value |
MMYYYY expiry, XTL_ORDER_ID idempotency, captures, reversals and CREDIT_ON_FAIL, credits with negative values, force credits, CCSTATUS's COLUMNS/DATA, the gateway's 3-D Secure legs and its fields, the postback types, body and the 100 acknowledgement, 411/400/404 from the host.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.
POST /apcopay/merchanttools/api/directconnect/execute — PURC or AUTH with the card in PaymentCredentials (or a CardToken, or a repeat by TransactionReference), Client, BrowserDetails, RedirectionURL, FailRedirectionURL, CallBackURL, IsTest. Answers {pspid, bankResponse, bankAccept, cardToken, redirectUrl, isSuccess, errorMessage}: Processed, DECLINED with the bank message, or Challenge with the redirect. Unanswered for 10 minutes, the payment is declined: Page Timeout. A UniqueReference sent again answers as beforePOST …/execute ORIGINALCREDIT — a card payout by the deposit's PspId, a PaymentDestination card token, or the card. Above 5000.00 (modeled): B61PUT …/execute — CAPT (partial captures too), GENERALVOID (within 24 hours, before a capture or refund) and PARTIALREFUND (partial or full, never more than captured) on the payment's PspId; each a transaction of its own, with its own PspId and webhookGET …/api/transactions/retrieve — ?PspId= or ?OrderReference= (an operation carries its payment's), DateFrom/DateTo in epoch seconds: {data: [transaction status…], isSuccess, errorMessage}GET …/api/Redirect/Loader?token=… — the issuer's challenge (the shared ACS page), then back to RedirectionURL (FailRedirectionURL when declined) with Pspid, OrderReference, Status and their SignaturePOST …/api/hpptoken/create — PURC with Routing.ForcePayment: "MDTPAY" and PaymentMethodData.PaymentMethod: "BankTransfer": {pspid, token, redirectUrl, status: "PENDING"}; the redirect (open it within 2 minutes) is the lab's MDTPay page: the payer's bank, then the transfer and its reference, then back with Status OK, PENDING, NOTOK or Page Timeout, signed. Lab rules (from 10.00): …02 declined once sent (B05), …33 pending, then confirmed a minute laterPOST …/execute ORIGINALCREDIT with Routing.ForcePayment: "MDTPAY" and PaymentMethodData {PaymentMethod: "BankTransfer", BeneficiaryAccountNumber} (a Turkish IBAN): Pending, then Processed by webhook 10 seconds later| Card holder name | Outcome |
|---|---|
Frictionless Processed | Success via the frictionless route (Processed) |
Frictionless Declined | Failure via the frictionless route (Declined) |
Challenge Processed | Success with a 3-D Secure challenge (Processed) |
Challenge Declined | Failure 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.
| Amount (last two digits in minor units) | On | Effect |
|---|---|---|
| …57, from 10.00 | payout | The payout is declined: B57 Transaction not permitted to issuer/cardholder |
| …61, from 10.00 | payout | The payout is declined: B61 Exceeds withdrawal amount limit |
| …76, from 10.00 | refund | The refund is refused: C000 Transaction Rejected |
{"errorCode":-1,"errorMessage":"Unauthorized"} and the empty 404 and 405.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.
POST /worldline/v2/{merchantId}/payments — order (amount in minor units, references.merchantReference, the customer and device), cardPaymentMethodSpecificInput (the card, authorizationMode SALE, FINAL_ or PRE_AUTHORIZATION, the return URL): 201 with the outcome at once (frictionless, no 3-D Secure), 201 REDIRECTED (46) with merchantAction REDIRECT to the issuer's challenge, or 402 with the REJECTED payment in paymentResult. The payer comes back with RETURNMAC and paymentId appendedGET …/payments/{paymentId}, …/details (every operation), …/captures, …/refunds — the payment is <number>_0, each operation on it <number>_<n>POST …/capture (part or all, CAPTURE_REQUESTED 91 then CAPTURED 9), …/cancel (CANCELLED 6), …/refund (REFUND_REQUESTED 81 then REFUNDED 8), each with operationReferencesPOST /worldline/v2/{merchantId}/payouts — cardPayoutMethodSpecificInput with the card and payoutReason: PAYOUT_REQUESTED (81) then ACCOUNT_CREDITED; GET …/payouts/{payoutId}POST /worldline/v2/{merchantId}/payments with redirectPaymentMethodSpecificInput (paymentProductId 3203, PostFinance Pay; CHF; requiresApproval; redirectionData.returnUrl): 201 REDIRECTED with merchantAction REDIRECT to PostFinance Pay's page (its QR code for the PostFinance App on a computer, the app on a phone). Pay is decided by Worldline's test amounts (4120000 rejected, 4540100 uncertain at 52, any other captured); Cancel is CANCELLED by the payer (1). Refunds as a card'sGET …/services/testconnection — {"result":"OK"}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.
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.
| Card | Brand | Outcome |
|---|---|---|
4330264936344675 | Visa | Frictionless 3-D Secure (ECI 5): approved at once |
4874970686672022 | Visa | 3-D Secure challenge (ECI 5): confirm it and the payment is approved |
4450022237973103 | Visa | 3-D Secure challenge that fails (ECI 91): rejected, authentication failed |
5137009801943438 | Mastercard | Frictionless 3-D Secure (ECI 5): approved at once |
5130257474533310 | Mastercard | 3-D Secure challenge (ECI 5): approved |
5168645305790452 | Mastercard | Frictionless authentication fails (ECI 91): rejected at once |
5144144373781246 | Mastercard | 3-D Secure challenge that fails (ECI 91): rejected |
371449635311004 | American Express | Frictionless 3-D Secure: approved |
4150550997933993 | Cartes Bancaires | 3-D Secure challenge: approved |
6011492100005191 | Discover | No 3-D Secure (ECI 12): approved |
5020802352808673 | Maestro | 3-D Secure challenge: approved |
| Field | Value | Effect |
|---|---|---|
| Amount (EUR), sale | 13.02 | Any approving test card is declined by the issuer (statusCode 2) |
| Amount (EUR), sale | 14.02 | The authorisation is pending (AUTHORIZATION_REQUESTED, statusCode 51), then captured |
| Amount (EUR), authorisation | 14.04 | The authorisation is pending (statusCode 51), then authorised (5) |
| Refund amount (EUR) | 13.03 | The refund is requested (81), then refused (83) |
| Capture amount (EUR) | 13.09 | The capture is requested (91), then rejected (93) |
| 3-D Secure challenge | Fail authentication or Cancel | Rejected: authentication failed (40001134), whatever the card |
| PostFinance Pay amount (CHF) | 41200.00 | Pay in the app: rejected (statusCode 2), Worldline's "unsuccessful" test amount 4120000 |
| PostFinance Pay amount (CHF) | 45401.00 | Pay in the app: uncertain (AUTHORIZATION_REQUESTED, statusCode 52), Worldline's test amount 4540100; it stays there |
| PostFinance Pay amount (CHF) | any other | Pay in the app: captured (9); refunds partial or full as for a card |
| PostFinance Pay page | Cancel | Cancelled by the payer (CANCELLED, statusCode 1) |
| Any other card | the lab's standard test cards | The 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 |
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.
POST /checkout/payments — a card source: 201 Authorized or Declined, or 202 Pending with
_links.redirect for a card with a 3DS profile; capture (default true) captures behind it; 422 {request_id, error_type: "request_invalid", error_codes}.POST /checkout/payments — a card payout (CardPayoutRequest): source {type: currency_account, id: ca_…},
destination {type: card, number, expiry_month, expiry_year, account_holder} (or {type: id, id: src_…} of an earlier payment here),
amount, currency, reference (≤ 50), processing_channel_id and instruction.funds_transfer_type:
202 {id, status: "Accepted", reference, instruction, _links}; the scheme answers 3 s later
(payment_approved / payment_declined), and GET /checkout/payments/{id} says pending, approved or
declined, GET …/actions the Payout action with its response code.GET /checkout/payments/{pay_…|sid_…}, GET /checkout/payments?reference=, GET /checkout/payments/{id}/actions (latest first). Unknown: 404, no body.POST /checkout/payments/{id}/captures · /voids · /refunds — 202 {action_id, reference, _links}; 403 with no body when not allowed./checkout-lab/3ds/{token} — the hosted 3DS page: device data, then frictionless or the issuer's challenge, then back to
success_url / failure_url with ?cko-session-id=sid_…. ?device=mobile|desktop forces either.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).
| Card number | Scheme | What it does |
|---|---|---|
4543474002249996 | Visa, US | Approved (the card in Checkout's token example) |
4000020000000000 | Visa, US | Approved |
4242424242424242 | Visa, GB | Approved; amount 101 (1.01) declines 20051 Insufficient funds |
4273149019799094 | Visa, TR | Card verifications only: approves, but captures and voids are declined |
4539467987109256 | Visa, ES | Declined 20005 Do not honour |
4024007181869214 | Visa, US | Declined 20005 Do not honour |
4916301720257093 | Visa, US | Declined 20020 Invalid response |
4485899805156040 | Visa, US | Declined 200R1 Stop payment for this authorization |
4659105569051157 | Visa, GB | Approved (debit) |
4095254802642505 | Visa, US | Declined 20068 Response received too late / timeout (debit) |
4000148147058142 | Visa | Declined 20020 Invalid response (prepaid) |
5436031030606378 | Mastercard, MU | Approved |
5585076576791786 | Mastercard, HU | Declined 20005 Do not honour |
5305484748800098 | Mastercard, DE | Approved (debit) |
341829238058580 | American Express, US | Declined 20005 Do not honour |
6011111111111117 | Discover, US | Approved |
6011111111111118 | Discover, US | Declined 20005 Do not honour |
6011201559638046790 | Discover, US | Declined 20005 Do not honour |
6445979375892355607 | Discover, US | Approved |
36160940933914 | Diners Club International, KR | Approved |
36160912071610 | Diners Club International, KR | Declined 20005 Do not honour |
3582069482684995 | JCB, JP | Approved |
3528257085901927 | JCB, JP | Declined 20005 Do not honour |
3566027046765007 | JCB, JP | Approved |
4276038578596818 | Visa, US | Declined 2005C Transaction not supported / blocked by issuer |
4152812521833588 | Visa, US | Declined 2009G Blocked by cardholder |
4734868958733862 | Visa, US | Declined 200N7 Decline for CVV2 failure |
4567361325981788 | Visa, GB | Declined 200R3 Stop payment for all authorizations |
4111111111111129 | Visa, US | Declined 20001 Refer to card issuer |
4024007103573027 | Visa, US | Declined 20012 Invalid transaction |
4158596042924182 | Visa, GB | Declined 20012 Invalid transaction |
4485381577182090 | Visa, US | Declined 20014 Invalid card number |
4544249167673670 | Visa, GB | Declined 20051 Insufficient funds |
4659465888705671 | Visa, GB | An account funding transaction declines 20057 Not permitted to cardholder; anything else approves |
4151512736305999 | Visa, GB | Declined 20057 Transaction not permitted to cardholder |
4897453568485113 | Visa, US | Declined 20059 Suspected fraud |
4000144348235050 | Visa | Declined 20059 Suspected fraud (prepaid) |
4556294593757189 | Visa, UY | Declined 20061 Activity amount limit exceeded |
4818924250131070 | Visa, GB | Declined 20062 Restricted card |
4556253752712245 | Visa, US | Declined 20063 Security violation |
4532819413487978 | Visa, US | Declined 20078 Blocked, first use |
4732789363145785 | Visa, PR | Declined 20082 No security model |
4000140542610783 | Visa | Declined 20082 No security model (prepaid) |
4500622868341387 | Visa, CA | Declined 20154 3DS authentication required |
4539257838438511 | Visa, IE | Declined 20154 3DS authentication required |
4941208378238219 | Visa, GB | Declined 20154 3DS authentication required |
4024007162185267 | Visa, US | Declined 30015 No such issuer |
4655710037275959 | Visa, GB | Declined 30015 No such issuer |
4941202060999329 | Visa, GB | Declined 30041 Lost card - pick up |
4658620059821613 | Visa, GB | Declined 30041 Lost card - pick up |
4539253655711767 | Visa, IE | Declined 30043 Stolen card - pick up |
4745820750643143 | Visa, GB | Declined 30043 Stolen card - pick up |
4000140543766022 | Visa | Declined 20109 Transaction already reversed |
5510696303117979 | Mastercard | Declined 20003 Invalid merchant |
5148447461737269 | Mastercard, US | Declined 20012 Invalid transaction |
5510696303117987 | Mastercard | Declined 20030 Format error |
5437821135399682 | Mastercard, TW | Declined 20051 Insufficient funds |
5355224542121849 | Mastercard, GB | An account funding transaction declines 20057 Not permitted to cardholder; anything else approves |
5355222710253469 | Mastercard, GB | Declined 20057 Transaction not permitted to cardholder |
5420951756276171 | Mastercard, TN | Declined 20061 Activity amount limit exceeded |
5279988405398834 | Mastercard, JP | Declined 20062 Restricted card |
5265162270587964 | Mastercard, US | Declined 20068 Response received too late / timeout |
5525192142230028 | Mastercard | Declined 20072 Account not yet activated |
5347965091482021 | Mastercard, BR | Declined 20182 Policy |
5357219827207436 | Mastercard, BG | Declined 20183 Security |
5363450180402239 | Mastercard, PH | Declined 30041 Lost card - pick up |
5355222710255852 | Mastercard, GB | Declined 30043 Stolen card - pick up |
5525192142230002 | Mastercard | Declined 30046 Closed account |
5355222710255878 | Mastercard, GB | Declined 30046 Closed account |
5333170000000008 | Mastercard, IT | Approved up to 100.00; more declines 20051 Insufficient funds |
5318773000000008 | Mastercard, US | Approved up to 100.00; more declines 20051 Insufficient funds |
4644968546281686 | Visa, GB | Verifies (amount 0); an authorization declines 20012 |
5355228287185489 | Mastercard, GB | Verifies (amount 0); an authorization declines 20012 |
4546381219393284 | Visa, GB | Verifies (amount 0); an authorization declines 20051 |
5355229757805879 | Mastercard, GB | Verifies (amount 0); an authorization declines 20051 |
4325350188287824 | Visa, GB | Verifies (amount 0); an authorization declines 20051 |
4543611423334994 | Visa, GB | Verifies (amount 0); an authorization declines 20061 |
5355222589678168 | Mastercard, GB | Verifies (amount 0); an authorization declines 20061 |
4394666298116207 | Visa, GB | Verifies (amount 0); an authorization declines 20061 |
4857662623668665 | Visa, GB | Verifies (amount 0); an authorization declines 20062 |
5355225201525238 | Mastercard, GB | Verifies (amount 0); an authorization declines 20062 |
4021277034700287 | Visa, GB | Verifies (amount 0); an authorization declines 20062 |
4407108123937239 | Visa, GB | Verifies (amount 0); an authorization declines 20063 |
5355226042898974 | Mastercard, GB | Verifies (amount 0); an authorization declines 20063 |
3530111333300000 | JCB, JP | Not 3DS-enabled: 20150 with 3DS; approves without (CVV 100) |
5352151570003404 | Mastercard, FR | Not 3DS-enabled: 20150 with 3DS; approves without (CVV 100) |
4532432452900131 | Visa, DE | Not 3DS-enabled: 20150 with 3DS; approves without (CVV 257) |
378282246310005 | American Express, US | 3DS: card not enrolled (attempt_n3d: authorized without 3DS) |
5132562600000045 | Cartes Bancaires, FR | 3DS: card not enrolled (attempt_n3d: authorized without 3DS) |
4022050100000182 | Cartes Bancaires, FR | 3DS: card not enrolled (attempt_n3d: authorized without 3DS) |
4484070000035519 | Visa, GB | 3DS: card not enrolled (attempt_n3d: authorized without 3DS) |
| Card number | Scheme | What it does |
|---|---|---|
345678901234564 | American Express, ES | 3DS frictionless: authentication successful |
5137210000000018 | Cartes Bancaires, FR | 3DS frictionless: authentication successful |
4010056200000018 | Cartes Bancaires, FR | 3DS frictionless: authentication successful |
5588686116426417 | Mastercard, CN | 3DS frictionless: authentication successful |
6224120000000094 | UnionPay, CN | 3DS frictionless: authentication successful |
4485040371536584 | Visa, US | 3DS frictionless: authentication successful |
371064645462927 | American Express, US | 3DS frictionless: not authenticated |
5132562600000029 | Cartes Bancaires, FR | 3DS frictionless: not authenticated |
4022050100000000 | Cartes Bancaires, FR | 3DS frictionless: not authenticated |
5309961755464047 | Mastercard, BR | 3DS frictionless: not authenticated |
6224120000000086 | UnionPay, CN | 3DS frictionless: not authenticated |
4539628347117863 | Visa, AD | 3DS frictionless: not authenticated |
344282679519362 | American Express, US | 3DS frictionless: authentication could not be performed |
5132562600000011 | Cartes Bancaires, FR | 3DS frictionless: authentication could not be performed |
4022050100000018 | Cartes Bancaires, FR | 3DS frictionless: authentication could not be performed |
5234106378657904 | Mastercard, KR | 3DS frictionless: authentication could not be performed |
6224120000000078 | UnionPay, CN | 3DS frictionless: authentication could not be performed |
4024007186645015 | Visa, US | 3DS frictionless: authentication could not be performed |
4022050100000026 | Cartes Bancaires, FR | 3DS frictionless: attempted authentication |
5558468902774508 | Mastercard, KE | 3DS frictionless: attempted authentication |
6224120000000029 | UnionPay, CN | 3DS frictionless: attempted authentication |
4556574722325580 | Visa, PT | 3DS frictionless: attempted authentication |
343397288296672 | American Express, US | 3DS frictionless: authentication rejected |
5596061690670931 | Mastercard, IN | 3DS frictionless: authentication rejected |
6224120000000011 | UnionPay, CN | 3DS frictionless: authentication rejected |
4275765574319271 | Visa, JP | 3DS frictionless: authentication rejected |
378702153281139 | American Express, US | 3DS frictionless: error during scheme communication |
5132562600000060 | Cartes Bancaires, FR | 3DS frictionless: error during scheme communication |
4022050100000133 | Cartes Bancaires, FR | 3DS frictionless: error during scheme communication |
5291144083573579 | Mastercard, US | 3DS frictionless: error during scheme communication |
4452927588210665 | Visa, US | 3DS frictionless: error during scheme communication |
340282533032846 | American Express, US | 3DS frictionless: authentication successful (no 3DS method URL) |
36747880216043 | Diners Club International, US | 3DS frictionless: authentication successful (no 3DS method URL) |
3528982710432481 | JCB, JP | 3DS frictionless: authentication successful (no 3DS method URL) |
5121073611487018 | Mastercard, US | 3DS frictionless: authentication successful (no 3DS method URL) |
6224120000000110 | UnionPay, CN | 3DS frictionless: authentication successful (no 3DS method URL) |
4556085951507152 | Visa, ES | 3DS frictionless: authentication successful (no 3DS method URL) |
372688581899681 | American Express, US | 3DS challenge: authentication successful |
5137210000000158 | Cartes Bancaires, FR | 3DS challenge: authentication successful |
4010061700000021 | Cartes Bancaires, FR | 3DS challenge: authentication successful |
5385308360135181 | Mastercard, US | 3DS challenge: authentication successful |
6224120000000003 | UnionPay, CN | 3DS challenge: authentication successful |
346126139326850 | American Express, US | 3DS challenge: attempted authentication |
5341034800000008 | Cartes Bancaires, FR | 3DS challenge: attempted authentication |
4150561000000001 | Cartes Bancaires, FR | 3DS challenge: attempted authentication |
5518832400606463 | Mastercard, US | 3DS challenge: attempted authentication |
6224120000000060 | UnionPay, CN | 3DS challenge: attempted authentication |
4152868552773614 | Visa, BH | 3DS challenge: attempted authentication |
375982239796002 | American Express, US | 3DS challenge: authentication rejected |
5341034800000016 | Cartes Bancaires, FR | 3DS challenge: authentication rejected |
6224120000000052 | UnionPay, CN | 3DS challenge: authentication rejected |
4150561000000019 | Cartes Bancaires, FR | 3DS challenge: authentication rejected |
347411540178242 | American Express, US | 3DS challenge: not authenticated |
5341034800000024 | Cartes Bancaires, FR | 3DS challenge: not authenticated |
4150561000000027 | Cartes Bancaires, FR | 3DS challenge: not authenticated |
5258901507741160 | Mastercard, CA | 3DS challenge: not authenticated |
6224120000000045 | UnionPay, CN | 3DS challenge: not authenticated |
4243754271700719 | Visa, US | 3DS challenge: not authenticated |
377990956548835 | American Express, US | 3DS challenge: authentication could not be performed |
5341034800000032 | Cartes Bancaires, FR | 3DS challenge: authentication could not be performed |
4150561000000035 | Cartes Bancaires, FR | 3DS challenge: authentication could not be performed |
5569757734785691 | Mastercard, US | 3DS challenge: authentication could not be performed |
6224120000000037 | UnionPay, CN | 3DS challenge: authentication could not be performed |
4447336775378848 | Visa, US | 3DS challenge: authentication could not be performed |
5341034800000040 | Cartes Bancaires, FR | 3DS challenge: error during scheme communication |
4150561000000043 | Cartes Bancaires, FR | 3DS challenge: error during scheme communication |
5572408422189334 | Mastercard, IE | 3DS challenge: error during scheme communication |
4539929207120660 | Visa, IN | 3DS challenge: error during scheme communication |
372310461284948 | American Express, US | 3DS challenge: authentication successful (no 3DS method URL) |
5341034800000057 | Cartes Bancaires, FR | 3DS challenge: authentication successful (no 3DS method URL) |
4150561000000183 | Cartes Bancaires, FR | 3DS challenge: authentication successful (no 3DS method URL) |
36138956596288 | Diners Club International, AT | 3DS challenge: authentication successful (no 3DS method URL) |
3528682570029332 | JCB, JP | 3DS challenge: authentication successful (no 3DS method URL) |
5259410220714099 | Mastercard, US | 3DS challenge: authentication successful (no 3DS method URL) |
6224120000000128 | UnionPay, CN | 3DS challenge: authentication successful (no 3DS method URL) |
4485597929486000 | Visa, US | 3DS challenge: authentication successful (no 3DS method URL) |
| Card number | Scheme | The payout |
|---|---|---|
4921817844445119 | Visa, GB | 10000 Approved |
4978313915783283 | Visa, FR | 10000 Approved |
4076613139850359 | Visa, SG | 10000 Approved |
4024764449971519 | Visa, US | 10000 Approved |
4818192525595285 | Visa, GB | 20005 Declined - Do not honour |
4558473893020179 | Visa, FR | 20005 Declined - Do not honour |
4811553373235190 | Visa, SG | 20005 Declined - Do not honour |
4610179846730147 | Visa, US | 20005 Declined - Do not honour |
4818192160565981 | Visa, GB | 20057 Transaction not permitted to cardholder |
4975992266555193 | Visa, FR | 20057 Transaction not permitted to cardholder |
4815649658513826 | Visa, SG | 20057 Transaction not permitted to cardholder |
4610174464118832 | Visa, US | 20057 Transaction not permitted to cardholder |
5355224968521878 | Mastercard, GB | 10000 Approved |
5132728491870081 | Mastercard, FR | 10000 Approved |
5526303170157160 | Mastercard, SG | 10000 Approved |
5318773012490080 | Mastercard, US | 10000 Approved |
5574357535453624 | Mastercard, GB | 20005 Declined - Do not honour |
5132724072801678 | Mastercard, FR | 20005 Declined - Do not honour |
5274926611111018 | Mastercard, SG | 20005 Declined - Do not honour |
5109110000000030 | Mastercard, US | 20005 Declined - Do not honour |
5355224739676852 | Mastercard, GB | 20057 Transaction not permitted to cardholder |
5136406072992030 | Mastercard, FR | 20057 Transaction not permitted to cardholder |
5274926611111026 | Mastercard, SG | 20057 Transaction not permitted to cardholder |
5109119931560251 | Mastercard, US | 20057 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.
2011 → 200R1 Issuer initiated a stop payment (revocation order) for this authorization2013 → 200R3 Issuer initiated a stop payment (revocation order) for all authorizations4001 → 40101 Risk Blocked Transaction4008 → 40108 Gateway Reject - Post code failed9998 → 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, 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.
POST /adyen/v71/payments — a card payment server to server: paymentMethod.type scheme with the raw fields (number, expiryMonth, expiryYear, cvc, holderName; also Adyen's test_-prefixed encrypted fields). Answers Authorised, Refused (with refusalReason and refusalReasonCode), Error, Cancelled, Received, or RedirectShopper with action.type redirect (POST MD and PaReq to the issuer's page). captureDelayHours 0 captures at once; additionalData.manualCapture holds an authorisation. storePaymentMethod with shopperReference and recurringProcessingModel (and enablePayOut) stores the card as a token. Idempotency-Key replays the first answer for 7 daysPOST /adyen/v71/payments/details — details.redirectResult from the return URL: the outcomePOST /adyen/v71/payments/{pspReference}/captures, /cancels, /refunds — 201 received with a pspReference of their own; the outcome is a CAPTURE, CANCELLATION or REFUND webhook a few seconds later (success false with the reason: "Insufficient balance on payment", "Transaction hasn't been captured, refund not possible", "Transaction already captured", …)GET /adyen/v71/storedPaymentMethods?merchantAccount=…&shopperReference=… — the shopper's tokensPOST /adyen/btl/v4/transfers — a card payout (category card, counterparty.card with cardHolder and cardIdentification: the raw card or the deposit's storedPaymentMethodId): 202 received, then authorised, booked and the scheme's accepted, each with a signed balancePlatform.transfer.created/.updated webhook; or 202 refused with the reason. Visa and Mastercard only; above 50,000 the balance account has notEnoughBalance (modeled). GET /adyen/btl/v4/transfers/{id} reads one backErrors: 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.
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).
| Card | Brand | Outcome |
|---|---|---|
4111111111111111 | Visa | Not enrolled in 3-D Secure: authorised at once |
5555555555554444 | Mastercard | Not enrolled: authorised at once |
370000000000002 | American Express | Not enrolled: authorised at once |
4917610000000000 | Visa | 3-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) |
5454545454545454 | Mastercard | 3-D Secure 2 challenge: authorised once authenticated |
5201281505129736 | Mastercard | Frictionless 3-D Secure 2 (transStatus Y): authorised at once |
5201281262435268 | Mastercard | Frictionless authentication fails (transStatus N): refused, 3D Not Authenticated |
4000020000000000 | Visa | The docs' card payout test card: a payout to it is paid |
| Field | Value | Effect |
|---|---|---|
| Cardholder name | DECLINED | Refused: Refused (refusal reason 2) |
| Cardholder name | NOT_ENOUGH_BALANCE | Refused: Not enough balance (12) |
| Cardholder name | CARD_EXPIRED | Refused: Expired Card (6) |
| Cardholder name | CVC_DECLINED | Refused: CVC Declined (24) |
| Cardholder name | FRAUD | Refused by Adyen's risk checks: FRAUD (20) |
| Cardholder name | ERROR | Error: Acquirer Error (4) |
| Cardholder name | PENDING | Received: the outcome follows in the AUTHORISATION webhook (authorised) |
| Cardholder name | any value of Adyen's refusal-reason table | That 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 98 | The refund is received, then refused in its REFUND webhook (lab rule) |
| Refund above what is left | any | The refund is received, then refused: Insufficient balance on payment |
| Payout above | 50,000.00 | The transfer is refused: notEnoughBalance (modeled balance account) |
| Any other card | the lab's standard test cards | The 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 |
redirectResult, modifications answered received with their webhook outcome, the standard webhook's body and its HMAC signature, [accepted], the test cards, the 3-D Secure 2 test cards and their transStatus, the refusal-reason holder names and codes, tokens on /payments with tokenization.storedPaymentMethodId, the Transfers API's card payout, its statuses, reasons and webhooks with the HmacSignature header, the 401 envelopes.password), how long a modification and a transfer step take, the modification failure reasons the docs do not list, the refund rule (…98), the balance account's balance, the Customer Area stand-in, and one company for every key. Not played: native 3-D Secure 2 (IdentifyShopper, ChallengeShopper), the Sessions flow, APMs, /reversals, amount updates, the Payout API (closed to new integrations), reports.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).
https://processing.ecomcharge.com, APMs https://api.ecomcharge.com (docs)https://demo-gateway.begateway.com, APMs https://api.begateway.com (docs)https://gateway.bepaid.by, APMs https://api.bepaid.by (docs)https://gateway.paysage.io, APMs https://api.paysage.io (docs)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.
POST /begateway/transactions/payments, /authorizations — credit_card by number (or vault ciphertext with BabelPay's card hint) or token; a challenge card answers incomplete (P.4012) with redirect_url (the issuer's challenge on the shared ACS page), and the payer comes back to return_url?uid=…&status=…. Unanswered, it expires at expired_at (30 minutes without one), status expiredPOST /begateway/transactions/captures, /voids, /refunds — on a parent_uid, partial or full; a refund of an authorization is refused, as beGateway refuses itPOST /begateway/transactions/payouts (recipient_credit_card), /credits (a payment's token)GET /begateway/transactions/{uid}, GET /begateway/v2/transactions/tracking_id/{tracking_id}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.
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).
| Card | Brand | Outcome |
|---|---|---|
4200000000000000 | visa | Not enrolled for 3-D Secure: successful |
4005550000000019 | visa | Not enrolled for 3-D Secure: failed (F.0999 Payment was declined) |
4012000000001006 | visa | 3-D Secure Y, frictionless: successful |
4012000000001055 | visa | 3-D Secure A (attempt), frictionless: successful |
4012000000001097 | visa | 3-D Secure Y after the challenge: successful (challenge) |
4012000000001022 | visa | 3-D Secure U (unavailable): failed (F.4006) |
4012000000001030 | visa | 3-D Secure R (rejected): failed (F.4013) |
4012000000001014 | visa | 3-D Secure N (not authenticated): failed (F.4001) |
5204240000015003 | master | 3-D Secure Y, frictionless: successful |
5204240000015011 | master | 3-D Secure A (attempt), frictionless: successful |
5204240000015029 | master | 3-D Secure Y after the challenge: successful (challenge) |
5204240000015045 | master | 3-D Secure U (unavailable): failed (F.4006) |
5204240000015052 | master | 3-D Secure R (rejected): failed (F.4013) |
5204240000015060 | master | 3-D Secure N (not authenticated): failed (F.4001) |
POST /begateway/beyag/transactions/payments — method.type names the method; the answer is pending with a form (the method's page: a GET link, or a POST form with hidden fields), pending without one (a push to the payer's app), pending with a Multibanco reference (multibanco.account_code / account_number), or final at once (bogus: under 100.00 successful, 100.00–199.99 failed, the docs' rule). The payer's page is /begateway/beyag/pay/{uid}; back at return_url?uid=…&status=….POST /begateway/beyag/transactions/refunds — on a successful payment's parent_uid, where the method's page documents refundsPOST /begateway/beyag/transactions/payouts — where the method's page documents payouts: Interac (login_id, channel ETO or ACH), pending, then successful about 10 seconds later (an amount ending …52: failed F.0202 about 3 seconds later)GET /begateway/beyag/transactions/{uid}, GET /begateway/beyag/transactions/tracking_id/{tracking_id}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.
| Type | Method | The lab plays | Required | Refunds |
|---|---|---|---|---|
mb_way | MB WAY | a push to the payer's app | customer.first_name customer.last_name customer.email customer.phone | no |
much_better | MuchBetter | a push to the payer's app | method.account method.channel | no |
multibanco | Multibanco | a reference (lab ATM) | customer.first_name customer.last_name customer.email customer.phone | no |
multibanco_redirect | Multibanco | a page (POST form) | — | no |
trustly | Trustly | a page (GET link) | customer.first_name customer.last_name customer.country customer.external_id | partial |
online_banking | Online banking | a page (GET link) | — | no |
t_365_open_banking | T365 Open Banking | a page (GET link) | customer.first_name customer.last_name customer.email customer.zip | no |
noda_live | Noda | a page (GET link) | customer.device_id customer.email | no |
ideal | iDEAL | a page (GET link) | — | full |
eps | eps | a page (GET link) | customer.first_name customer.last_name | no |
blik | BLIK | a page (GET link) | customer.first_name customer.last_name customer.email | partial |
p24 | Przelewy24 | a page (GET link) | customer.first_name customer.last_name customer.email | no |
my_bank | MyBank | a page (GET link) | customer.first_name customer.last_name customer.country | no |
bizum | Bizum | a page (GET link) | — | no |
bancontact | Bancontact | a page (GET link) | customer.first_name customer.last_name | no |
pay_safe_card | paysafecard | a page (GET link) | customer.first_name customer.last_name customer.country | partial |
skrill | Skrill | a page (GET link) | method.account | no |
neteller | NETELLER | a page (GET link) | — | no |
bogus | Bogus (test) | the amount decides | — | partial |
interac | Interac | a page (GET link) | method.login_id method.channel customer.first_name customer.last_name customer.email customer.phone | no |
uid and status, and the Content-Signature on APM notifications.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.
| Tenant | PAYMENT_URL | Note |
|---|---|---|
| Ikajo International | https://secure.ikajo.com | Ikajo'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 Payments | https://api.tesspayments.com | docs.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.
POST /akurateco/post (or /akurateco/v2/post, redirect_params as a name/value array), form-encoded, action=SALE: the card, the payer, term_url_3ds, callback_url. Answers {action, result: SUCCESS | DECLINED | REDIRECT, status: SETTLED | PENDING | DECLINED | 3DS | REDIRECT, order_id, trans_id, trans_date, …}; a REDIRECT carries redirect_url, redirect_params and redirect_method. An order_id seen before: order_id: Duplicate payment. Above 25000.00 (modeled): 204007. Left 20 minutes at the ACS (modeled), the payment is declinedaction=CAPTURE (one capture, partial or full, of a PENDING authorisation), action=VOID (a SETTLED payment, the same day), action=CREDITVOID (answers ACCEPTED: a REVERSAL of a PENDING authorisation, full amount only, or a REFUND, partial ones too; the callback carries its creditvoid_id, status REFUND, REVERSAL, or SETTLED while part is not refunded)action=CREDIT2CARD: a payout to card_number; above 5000.00 (modeled) declinedaction=GET_TRANS_STATUS / GET_TRANS_DETAILS by trans_id (the details with the payment's transactions), GET_TRANS_STATUS_BY_ORDER by order_id; an unknown one is Payment not found.redirect_url is the lab's ACS (POST /akurateco/acs with PaReq, MD and TermUrl, the shared ACS page) or redirect step (GET /akurateco/redirect/…), then back to term_url_3ds; the outcome is the callback| Expiry | Outcome |
|---|---|
01/2038 | Successful sale (SETTLED; an AUTH is PENDING). Also the card for a recurring token |
02/2038 | Declined sale: Declined by processing. |
03/2038 | Successful AUTH, then a declined CAPTURE |
05/2038 | 3-D Secure (REDIRECT, 3DS), then a successful sale |
06/2038 | 3-D Secure (REDIRECT, 3DS), then a declined sale |
12/2038 | A redirect (REDIRECT, REDIRECT), then a successful sale |
12/2039 | A 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.
| Amount (last two digits in minor units) | On | Effect |
|---|---|---|
| …57, from 10.00 | payout | The payout is declined: Transaction not permitted to cardholder |
| …61, from 10.00 | payout | The payout is declined: Exceeds withdrawal amount limit |
| …76, from 10.00 | refund | The refund is declined (CREDITVOID result DECLINED, the payment stays SETTLED) |
| …77, from 10.00 | refund | The refund waits (CREDITVOID result WAITING), then succeeds 30 s later |
{result: ERROR, error_code, error_message, errors}, its codes and messages (100000 validation with per-field reasons, 101000, 2080xx, the 404 Route or parameters is not supported, Payment not found.), the redirect_params formats of /post and /v2/post.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.
GET|POST /coriunder/member/remote_charge.asp — TransType=0 (sale) or 1 (authorization) with TypeCredit=1: the card (CardNum, ExpMonth, ExpYear, Member, CVV2), Amount, Currency (the currency's id: 1 USD, 2 EUR, 3 GBP…), Email, ClientIP, Order, RetURL, notification_url. Answers Reply=000, a decline, 663 (pending a final response) or 553 with D3Redirect: the payer authenticates there (the shared ACS page) and goes back to RetURL. Unanswered for 30 minutes (modeled), it is declined 889TransType=2&TypeCredit=1 — capture an authorization by TransApprovalID, in full or in part (536 when there is none to capture, 538 over the authorized amount); TransType=2&TypeCredit=10 — void itTransType=0&TypeCredit=0 — refund a sale (or a captured authorization) by RefTransID, in part or in full (533 over what is left); RefundOrder used twice: 529 (modeled)TransType=0&TypeCredit=37 — a card payout, with the card's details. Above 5000.00 (modeled): 530GET /coriunder/member/getStatus.asp — by TransID (with RequestType=1 for one that is not pending): Reply, ReplyDesc, TransID; by Order (signed: CompanyNum + Order + key): every transaction under the order, as JSONOnly 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.
| Card | Issuer |
|---|---|
4387751111111111 | Visa (US) |
5442987111111111 | MasterCard (US) |
371000911111111 | American Express (US) |
4056850111111111 | Visa (FR) |
5130113111111111 | MasterCard (FR) |
36005131111111 | Diners Club (GB) |
3535111111111111 | JCB (JP) |
6221701111111111 | LivaKash (JP) |
4580000000000000 | VISA (IL) |
5326140000000000 | MasterCard (IL) |
1.00 or more is approved; any other amount below 1.00 is 596.
| Amount | Reply | Meaning |
|---|---|---|
| 0.04 | 1001 | Soft decline (call) |
| 0.05 | 1002 | Insufficient funds |
| 0.90 | 000 | Approved after 5 seconds |
| 0.91 | 000 | Approved after 10 seconds |
| 0.92 | 000 | Approved after 20 seconds |
| 0.93 | 000 | Approved after 30 seconds |
| 0.94 | 000 | Approved after 40 seconds |
| 0.95 | 000 | Approved after 50 seconds |
| 0.96 | 000 | Approved after 60 seconds |
| 0.97 | 000 | Approved after 70 seconds |
| 0.98 | 000 | Approved after 80 seconds |
| 0.99 | 000 | Approved after 90 seconds |
| 55.30 | 553 | 3-D Secure / APM simulator: 553 with D3Redirect |
| Amount (last two digits in minor units) | On | Effect |
|---|---|---|
| …53, from 10.00 | payment | 3-D Secure: 553 with D3Redirect, as 55.30 does |
| …57, from 10.00 | payout | the payout is declined: 57 (transaction not permitted to issuer/cardholder) |
| …61, from 10.00 | payout | the payout is declined: 61 (exceeds withdrawal amount limit) |
| …76, from 10.00 | refund | the refund is declined: 548 (declined by external processor) |
| …81, from 10.00 | payment | the notification arrives 30 seconds late |
| …82, from 10.00 | payment | no notification is sent (the payer's return and getStatus still answer) |
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):
https://staging.gate.emerchantpay.net and https://staging.wpf.emerchantpay.net (live: gate.emerchantpay.net, wpf.emerchantpay.net)https://staging.gate.e-comprocessing.net and https://staging.wpf.e-comprocessing.net (live: gate.e-comprocessing.net, wpf.e-comprocessing.net)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.
POST /emerchantpay/process/{terminal_token} — payment_transaction: a card by number (or vault ciphertext with BabelPay's card hint); a 3D type with notification_url and the return URLs is asynchronous: pending_async with redirect_url (/threeds/authentication/{unique_id}, the shared ACS page) or with threeds_method_url and threeds_method_continue_url (PUT, signed). A challenge left unanswered is declined after 30 minutes (modeled).POST /emerchantpay/reconcile/{terminal_token}, /reconcile/by_date/{terminal_token}POST /emerchantpay/wpf (and /{locale}/wpf) — wpf_payment with transaction_types (sale, sale3d, authorize, authorize3d, init recurring, ezeewallet); redirect_url /{locale}/payment/{token}; POST /emerchantpay/wpf/reconcile, /wpf/reconcile/by_dateDeposits 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.
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).
| Card | Brand | Outcome |
|---|---|---|
4200000000000000 | Visa | Successful transaction |
4111111111111111 | Visa | Transaction declined |
5555555555554444 | Mastercard | Successful transaction |
5105105105105100 | Mastercard | Transaction declined |
4012000000060085 | Visa | 3DS v2 frictionless, authenticated |
4901170000000003 | Visa | 3DS v2 frictionless, authenticated |
4901164281364345 | Visa | 3DS v2 frictionless, authenticated |
4378510000000004 | Visa | 3DS v2 frictionless, authenticated (low risk exemption accepted) |
4456530000001005 | Visa | 3DS v2 frictionless, attempted |
5200000000001054 | Mastercard | 3DS v2 frictionless, attempted |
4066330000000004 | Visa | 3DS v2 frictionless after a 3DS-Method, authenticated |
5200000000001021 | Mastercard | 3DS v2 frictionless after a 3DS-Method, authenticated |
5169750000001111 | Mastercard | 3DS v2 frictionless, authenticated (low risk exemption accepted) |
4111110000000922 | Visa | 3DS v2 frictionless, not authenticated: declined |
5200000000001047 | Mastercard | 3DS v2 frictionless, not authenticated: declined |
4111112232423922 | Visa | 3DS v2 frictionless after a 3DS-Method, not authenticated: declined |
4918190000000002 | Visa | 3DS v2 challenge: choose the result |
5433300000000133 | Mastercard | 3DS v2 challenge: choose the result |
4938730000000001 | Visa | 3DS v2 challenge after a 3DS-Method: choose the result |
5200000000001005 | Mastercard | 3DS v2 challenge after a 3DS-Method: choose the result |
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.
POST /muchbetter/v1/payments — merchantTransactionId (unique per account, else 409), amount, currency, description (up to 120, shown in the app), returnUrl, optional callbackUrl, phoneNumber (the request goes straight to the app), brandName, trackingCode, descriptionLanguage, customer (userId, firstName, lastName, dateOfBirth, email, countryCode, postalCode, city, phoneNumber to pre-fill the page, language). 201: transactionId (mbt_…), status PENDING, stage, paymentUrl, customerAccountStatus (REGISTERED, INCOMPLETE with signupUrl, or UNKNOWN), customerChecks, expiresAt (15 minutes for a number), approvalExpiresAt (5 minutes in the app)GET /muchbetter/v1/transactions/{transactionId} — "Check transaction status": PENDING (stage AWAITING_PHONE, AWAITING_SIGNUP, AWAITING_APPROVAL), COMPLETED (with the payer's phoneNumber), DECLINED, CANCELLED, EXPIRED, FAILED, with declineReason; GET /v1/transactions?merchantTransactionId=… {"items": […]}POST /muchbetter/v1/payments/{transactionId}/refunds — merchantTransactionId, amount (default: what is left), reason: a REFUND transaction, COMPLETED at once (money back to the payer's wallet); partial refunds add up to the paymentPOST /muchbetter/v1/payouts — merchantTransactionId, amount, currency, phoneNumber, description, callbackUrl: PENDING, then COMPLETED (or FAILED) 2 seconds later; a number with no account is CUSTOMER_NOT_FOUND, an unverified one CUSTOMER_NOT_VERIFIEDGET /muchbetter/v1/account — the merchant account, its currencies and balances (100,000 per currency to start)/muchbetter/pay/{transactionId} — the payment page: the mobile number (a calling code and the number), the quick sign-up for a number with no account, then "Approve the payment in your MuchBetter app" with the countdown. On a computer the payer's phone is drawn beside it (the notification, the request with Approve and Decline, the passcode or Face ID); on a phone "Open MuchBetter" switches to /muchbetter/app/{transactionId}. The page returns to returnUrl with transactionId and status. ?device=mobile|desktop forces either flow| phoneNumber | Effect |
|---|---|
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) |
AMOUNT_TOO_LOW, AMOUNT_TOO_HIGH); an unverified customer up to 200 a payment (LIMIT_EXCEEDED, after approval). MuchBetter's own limits are per customer, by verification level, in the app.…66 (from 1.00) fails (REFUND_REJECTED).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.
POST /sticpay/1.1/pay — the PAY page, opened by the payer's browser posting the form: then /sticpay/pay/{transaction_id}, log in (any password), the 6-digit code from the STICPAY app (drawn beside the page on a computer; Approve in the app works too), review, Pay. Open 20 minutes (then 100, expired). registered_email: the payer must log in with that account (1500). ?device=mobile|desktop forces either flowPOST /sticpay/rest_withdraw/withdraw — merchant, customer (the payee's STICPAY email), amount, currency_code, order_id, interface_version, sign: {"success": true, "code": 0, "data": {transaction_id, order_no, status: 0, …}} at once, or the refusal (800 "The Customer Email does not exist.", 417, 416, 500, 701)POST /sticpay/rest_transaction/status (modeled) — merchant_email, order_no (or transaction_id), interface_version, sign: data.status is the return code (-1 pending, 0 done, 1 cancelled, 100 expired, a refusal's code), with customer_email, amount, currency, refunded_amountPOST /sticpay/rest_refund/refund (modeled) — merchant_email, transaction_id (the PAY request's), order_no (the refund's own), amount, currency, interface_version, sign: done at once, back to the payer's wallet; partial refunds add up to the payment| STICPAY email | Effect |
|---|---|
payer@example.com | Verified, 5,000.00 in every currency: you confirm and pay. Payouts and refunds to it complete |
slow@example.com | Pays, but the payment stays processing (-1) for 10 seconds before it succeeds: the callback brings the outcome |
lowbalance@example.com | 20.00 in the wallet: paying more is declined (700 Insufficient Customer Balance) |
unverified@example.com | Not verified: a payment over 100 dollars' worth is declined (417); a payout to it is refused (417) |
limit@example.com | Daily limit reached: paying is declined (412) |
blocked@example.com | Restricted: paying, and payouts to it, are refused (416 This type of transfer is not allowed) |
nowallet@example.com | No wallet in the payment's currency: paying, and payouts to it, are refused (500 Customer Wallet Not Found) |
nobody@example.com | No STICPAY account: the log-in fails (Customer not found); a payout to it is refused (800, The Customer Email does not exist.) |
…66 (from 1.00) is refused (1402).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.
POST /aircash/api/v2/initiate — PayType 0, PayMethod 2 (Aircash Pay) or 0 (Abon): {transactionId, url}.
POST /aircash/api/v3/status — {aircashTransactionId, amount, currencyId, parameters, status, signature}; status 0 not
processed, 1 declined, 2 success, 3 cancelled. POST /aircash/api/v1/RefundTransaction — Aircash Pay, whole or in part./aircash/frame?transactionId=… — the Aircash Frame: Aircash Pay's QR code (a real phone's camera opens /aircash/pay) and
phone number field, with the Aircash app drawn beside it, on a computer; a button into the app on a phone; Abon's 16-digit code.
?device=mobile|desktop forces either.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.
| Value | Effect |
|---|---|
| The drawn app (Scan & Pay) or a phone's camera | Ana Kovač, +385 91 234 5678, holds 2,000.00 |
| Phone +385 91 000 0001 | No active Aircash account (frame); payout: "The user is not active with phone number" |
| Phone +385 91 000 0002 | Over its limit or blocked: the payment and payouts are declined |
| Phone +385 91 000 0003 | Holds 20.00 |
| Payout phone +385 91 000 0004 | Personal data does not match (with PayerFirstName, PayerLastName, PayerBirthDate) |
| Deposit …51, from 10.00 | The payer confirms in the app and Aircash declines the payment (status 1) |
| Abon: any 16 digits | Worth exactly the payment's amount |
Abon 0000 0000 0000 5000 | Eight zeros, then the value in cents (50.00): refused unless it is the payment's amount |
Abon 1111111111111111, 2222222222222222, 3333333333333333 | Used, not valid, another currency; three refused codes decline |
| Refund amount ending in 05 cents | Refused |
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": …}.
POST /epay-bg/ (and /epay-bg/en/) — the payment page, a form from the payer's browser: PAGE paylogin (the payer's ePay.bg account) or credit_paydirect (a card), ENCODED (MIN, INVOICE digits only, AMOUNT, CURRENCY, EXP_TIME DD.MM.YYYY hh:mm:ss in Sofia time, DESCR, EMAIL, ENCODING=utf-8), CHECKSUM, URL_OK, URL_CANCEL, LANG. A refused request shows ePay.bg's error pageGET /epay-bg/ezp/reg_bill.cgi?ENCODED=…&CHECKSUM=… — an EasyPay code: IDN=<10 digits>, or ERR=…; the same request again answers the same codeGET /epay-bg/ezp/pay_bill.cgi?ACTION=PAY&IDN=… — the demo's "payment at an EasyPay office": the code is paid, and the merchant gets STATUS=PAIDGET /epay-bg/xdev/web/paylogin/request/update (production: /epay-bg/v3main/…) — MIN, INVOICE, EXP_TIME: SYS_CODE=OK; a time in the past invalidates the request (and STATUS=EXPIRED follows); more than 30 days out is set to 30 daysGET /epay-bg/send/send.cgi — a transfer to an ePay.bg account: MIN, MEMAIL, CIN and/or CEMAIL, INVOICE, AMOUNT, CURRENCY, DESCR: SYS_CODE=… (the same request answers the same code) or ERR=…; credited at once, STATUS=PAID two seconds laterGET /epay-bg/ezp/send.cgi — a transfer paid in cash at any EasyPay desk: RCPT_NAME, RCPT_PID (EGN) and/or RCPT_ID_NO with RCPT_ID_DATE, RCPT_PHONE, RCPT_ADDRESS: SYS_CODE=…; STATUS=PAID once the payee collects it at the desk; reversed without a notification after 7 daysGET /epay-bg/xdev/web/payment/cancel and /payment/cancel/state — MIN, INVOICE, AMOUNT, REV_ID: a cash transfer's reversal (STATUS=OK|PROCESSING, then OK|DENIED|PROCESSING)/epay-bg/pay/{IDN} — ePay.bg's page (lab paths): login (any username and password), the microaccount or a registered card, the one-time password from the SMS on the drawn phone (111111), two seconds of processing, back to URL_OK; Откажи refuses (DENIED), Плати по-късно goes back to URL_CANCEL with the request still open. ?device=mobile|desktop forces either flow/epay-bg/easypay/{IDN}?return=…&cancel=… — the merchant's page with an EasyPay code (BabelPay shows its own with real credentials); /epay-bg/easypay/desk — an EasyPay cash desk: pays a code, pays out a cash transfer against the payee's EGN; /epay-bg/easypay/atm — a B-Pay ATM: Други услуги › B-Pay › 60000 › the code| Card | Brand | Effect |
|---|---|---|
5100770000000022 | Mastercard | Approves |
4341792000000044 | Visa | Approves |
5555000000070019 | Mastercard | Declined 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).
…,21: paid about 10 seconds later with nobody on the page (ePay.bg: from the payer's account; EasyPay: cash at a desk; a cash transfer: collected)…,22: about 10 seconds later, an ePay.bg request is refused by the payer (DENIED) and an EasyPay code expires (EXPIRED)…,66: a transfer is refused, the merchant's microaccount cannot cover it@nobody.example, or to CIN 0000000000: ERR=EMETHOD: No valid recipient client found!CURRENCY EUR or USD. BGN, and a request without CURRENCY (which means BGN), is refused: Bulgaria pays in euros since 2026-01-01EXP_TIMEIDN=, SYS_CODE=, STATUS= and ERR= answers, the notification's lines, its form encoding and the merchant's answer, the demo's pay_bill.cgi, B-Pay's merchant code, the test cards and OTP, the transfer and cancellation parameters, ERR=EMETHOD: No valid recipient client found!.ERR= (ePay.bg documents the prefix only), refusing BGN, the EasyPay cash limit, the lab payer's account, the ATM and the desk, the lab rules, the seven-day reversal of an uncollected transfer (the contract says 7, 14 or 30 days), the profile stand-in, and the notification retries (the lab tries twice; ePay.bg retries for 14 days).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.
POST /okto/api/ecommerce/v1/payments (201 with checkoutUrl; merchantReference, amount
as a string, currency RON in RO or EUR in GR/CY, country, customer with first name, last name and
email, returnUrl, cancelUrl, notificationUrl, paymentMethods (both by default),
payCodeValidityMinutes (default 2880, at most 48 hours)), GET /payments/{id},
GET /payments?merchantReference=POST /okto/api/ecommerce/v1/payments/{id}/refunds (an OKTO.WALLET payment, back to its wallet at once; OKTO.CASH is
REFUND_NOT_SUPPORTED), GET /refunds/{id}POST /okto/api/ecommerce/v1/payouts (201 PROCESSING to wallet.accountId; completes
3 s later), GET /payouts/{id}, GET /payouts?merchantReference=,
GET /merchant/okto/checkout/{token}: OKTO's payment page. OKTO.WALLET: the phone number, then approve in the OKTO app (drawn beside
the page on a computer); OKTO.CASH: the PayCode (13 digits, an EAN-13 barcode), its validity, a copy button and the store locator.
The page closes after 20 minutes if nothing was chosen. ?device=mobile|desktop forces either flow./okto/terminal: a store's payment terminal (lab only). Type the PayCode, insert the cash, and the payment completes.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.
| Phone | Effect |
|---|---|
ending 02 | Approved in the app, then declined: insufficient funds (the wallet holds 10.00) |
ending 03 | Approved in the app, then declined: the wallet's limit is exceeded |
ending 04 | Declined at once: the OKTO account is blocked |
ending 09 | Pays; a refund or payout back to its wallet is declined (the account is restricted) |
| any other | A wallet with 10,000.00: approve and the payment completes |
| wallet.accountId | Outcome |
|---|---|
OKW…08 | declined, WALLET_NOT_FOUND |
OKW…09 | declined, ACCOUNT_RESTRICTED |
any other OKW + ten digits | completed |
| Currency | Payment | Payout |
|---|---|---|
| RON | 20.00 – 4500.00 | 40.00 – 180000.00 |
| EUR | 5.00 – 900.00 | 5.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, 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.
POST /neosurf/ — the form: the payment is initiated and the payer sent to /neosurf/pay/{session} (20 minutes); the same merchantTransactionId again opens the same page while nothing is paid. A currency Neosurf does not take (EUR, GBP, USD, AUD, CAD, NZD, CHF, PLN, CZK, DKK, NOK, SEK, RON, HUF, BGN, ZAR) or an amount outside 1–5,000 euros' worth ends it ko at oncePOST /neosurf/api/v3/transactions/status — merchantId, merchantTransactionId, hash: the transaction's fields as the notification has them, or 404 transaction_not_found (the payer never reached the page)POST /neosurf/api/v3/refunds — merchantTransactionId (the refund's), originalMerchantTransactionId, amount (default: what is left), currency, urlCallback: ok at once, back onto the vouchers or into the myNeosurf account; partial refunds add up to the paymentPOST /neosurf/api/v3/payouts — merchantTransactionId, customerId (the myNeosurf account a payment named), amount, currency, urlCallback: pending, then ok or ko 2 seconds laterPOST /neosurf/api/v3/balance — the merchant's balances (100,000 per currency to start)/neosurf/pay/{session} — Neosurf's page: "Neosurf voucher" (the 10-character code; up to 5 vouchers a payment, what a payment does not use stays on the voucher; 3 refused codes decline it) or "myNeosurf" (email and password, then "Pay now" from the balance). On a computer a voucher bought for the payment is drawn beside the page; the decided page returns to urlOk, urlKo or urlPending with merchantTransactionId, transactionId, status and hash. ?device=mobile|desktop forces either flow| Code | Effect |
|---|---|
0000000020 | Holds 20.00: a larger payment asks for another code (up to five codes a payment) |
1111111111 | Already used: refused (voucher_used) |
2222222222 | Expired: refused (voucher_expired) |
3333333333 | A "Minor" voucher: refused on an age-restricted site (prohibitedForMinors=yes, voucher_minor); 150.00 elsewhere |
4444444444 | Bought in Canadian dollars: refused unless the payment is in CAD (voucher_currency) |
5555555555 | Blocked for fraud: the payment is declined at once (voucher_blocked) |
wrong: verified, 1,000.00 in every currency)| Effect | |
|---|---|
low@myneosurf.test | 20.00 in every currency: a larger payment is declined (insufficient_funds) |
unverified@myneosurf.test | Not verified: a payment over 250.00 is declined (limit_exceeded); a payout to it is refused (kyc_required) |
blocked@myneosurf.test | Blocked: the sign-in is refused (account_blocked); the payer may still pay with a voucher |
payoutfail@myneosurf.test | Pays as usual; a payout to it fails 2 seconds later and a refund at once (account_closed) |
…77 (from 1.00) is held pending and paid 10 seconds later; …51 is declined by the risk check (risk_declined).…66 is refused (refund_rejected). An unverified myNeosurf account pays up to 250 euros' worth.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.
POST /cashlib/api/merchant/voucher_payment — transaction_id (unique per MID: 16), mid, purchase_amount (cents), currency (EUR, GBP, CHF, PLN, CZK, CAD, AUD, NZD; another: 62), ipaddress, name, firstname, birthdate (yyyy-mm-dd), email, phone_number (14 at most), address, zipcode (14), city, country (alpha-3), success_url, cancel_url (255 each), redirect_target (_self, _parent, _top), all required but the last (13 blank, 17 malformed). 200: transaction_id, transaction_reference, status 0, error_message "", iframe_urlPOST /cashlib/api/merchant/transaction_info — transaction_id, mid: transaction_status Pending, Cancelled, Validated or Rejected, with purchase_amount and currency; unknown: 70 "Transaction not found."POST /cashlib/api/merchant/balance — mid: balance, balance_billed, balance_not_billed, fees_balance_not_billed (the lab's fee is 10 %)/cashlib/purchase/{token} — the purchase page: "I have a CASHlib ticket" (16 digits, Add), up to 10 vouchers with their "Balance After Operation", "I pay with My Cashlib" (any email and password, a 1,000.00 account), "Remaining to pay", Pay once it is 0.00, then "Payment completed" and "Return to merchant website" (to success_url). Cancel (or the ×) returns to cancel_url with status 57. Both carry transaction_id, transaction_reference, status, purchase_amount and currency in the query. On a computer the payer's phone, drawn beside it, holds the test tickets. ?device=mobile|desktop forces either pagevoucher_directpayment (deprecated), kyc_directpayment and account_statement| Code | Effect |
|---|---|
1111 2222 3333 4444 | 1,000.00: pays any payment up to the 1,200.00 limit on its own |
1111 2222 3333 0150 | 150.00 |
1111 2222 3333 0100 | 100.00 |
1111 2222 3333 0050 | 50.00 |
1111 2222 3333 0025 | 25.00: less than the payment? Add another voucher for the rest |
1111 2222 3333 0010 | 10.00 |
1111 2222 3333 0000 | Used up (balance 0.00): refused |
1111 2222 3333 0080 | Expired: refused, and counts as a wrong code |
1111 2222 3333 0042 | A live voucher: CASHlib's test platform refuses it (42), a wrong code |
USA is refused (50), as is the email blacklisted@example.com (520).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.
GET /payz/purchase/request — the payer, sent by the merchant with PaymentPageID, MerchantAccountNumber, CustomerIdAtMerchant, TxID, Amount (a decimal), Currency, MerchantFreeText, OnSuccessUrl, OnFailureUrl, TransferUrl (optionally CallbackUrl) and Checksum. A bad request is refused on the page, with status 1 to the TransferUrl. Then Payz's pages: sign in (email, password), approve the sign-in in the Payz app (or its 6-digit code), review, Confirm or Cancel; on a computer the phone is drawn beside them. ?device=mobile|desktop forces either flow. A session nobody finishes expires after 15 minutes, silently.XML=<SVSPurchaseStatusNotificationRequest>, form-encoded, to the TransferUrl: status 1 InvalidRequest, 2 DeclinedByCustomer, 3 TransactionFailed (with Result), 4 TransactionRequiresMerchantConfirmation. Status 4 waits for the merchant's answer (SVSPurchaseStatusNotificationResponse, up to 20 seconds): Confirmed moves the money, anything else cancels the payment. Then the transaction's result, <TransactionResult> (unsigned, the amount in minor units), to the CallbackUrl, else the TransferUrl. The payer goes back to OnSuccessUrl or OnFailureUrl.POST /payz/MerchantAPIService.asmx — SOAP 1.1, namespace http://www.ecocard.com/merchantAPI/ (SOAPAction: http://www.ecocard.com/merchantAPI/<operation>): QueryBySVSTransactionID (MerchantID, SVSTxID), QueryByCustomerTransactionID (MerchantID, TxID) and Payout (MerchantID, MerchantAccountNumber, ClientAccountNumber, Amount in minor units, TxID, Currency, ClientAccountNumberAtMerchant, TransactionDescription), each answering a TransactionResponse (ErrorCode, Message, TxID, SVSTxID, Amount, MerchantAccountNumber, ClientAccountNumber, Currency, TransactionType, ProcessingTime, TransactionDescription), and ReceiveAccountBalance (MerchantID, MerchantAccountNumber: a BalanceResponse). The types and the element order are Payz's live WSDL (MerchantAPIService.asmx?WSDL, public). A payout is final at once. Payz has no refund call: a merchant refunds with a payout to the account that paid.wrong; any other email is a fresh account with 5,000.00 in every currency)| Account | Effect | |
|---|---|---|
player@payz.test | 1100185585 | 5,000.00 in every currency: you approve the sign-in on your phone (or type its code) and confirm the payment |
lowfunds@payz.test | 1100200201 | 20.00 in the account: a bigger payment fails after Confirm (status 3, Insufficient funds) |
suspended@payz.test | 1100200202 | Suspended: signing in works, the payment fails after Confirm (status 3, Account suspended); a payout to it is refused (11002) |
nopayout@payz.test | 1100200203 | Pays as usual; a payout or refund to it is refused (11002, Client account is blocked) |
0 OK, 60004 Transaction not found, 11007 Not enough money for the withdrawal operation. (the lab: a payout whose cents are …07, from 1.00, or more than the merchant account holds; it opens with 100,000.00 per currency), 88888 SOAP request parameter or values are not correct (a request without a valid MerchantID; at Payz also a wrong password). An unknown SOAPAction is a 500 soap:Fault (s:Client, "No operation found for specified action").11001 Client account not found (an account number starting 1199), 11002 Client account is blocked, 11003 Currency is not supported, 11004 Invalid amount, 11005 Amount exceeds the limit, 11006 Transaction with this TxID already exists.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.
GET /flexepin/status — {"status":"alive"}, no key neededGET /flexepin/voucher/validate/{pin}/{terminal_id}/{current_transaction_id} — serial, value, cost, currency, description, status (ACTIVE, or QUARANTINE with result 10251: every Euro voucher, still redeemable)PUT /flexepin/voucher/redeem/{pin}/{terminal_id}/{current_transaction_id} — JSON customer_id, customer_ip, customer_ip_data: the whole voucher, status USED, residual_value 0, cost (the lab takes no commission), ean; a quarantined voucher is replaced by an equivalent active one (new serial and EAN) and redeemed. The same redemption sent again under the same transaction id answers what the first one didGET /flexepin/trans/trans_id/{past_transaction_id}/…, /trans/trans_no/{trans_no}/… — the logged call under transaction; none: 70 "Transaction Not Found"GET /flexepin/trans/between/{yyyy-mm-dd}/{yyyy-mm-dd}/… — the terminal's calls those UTC days, under transactionsGET /flexepin/stores/{country}, /flexepin/stores/{lng}/{lat}/{range} — a few lab stores (CA, AU); none: 5000 "Store data is not available"/flexepin/pay/{transaction} — the merchant's Flexepin deposit page (Flexepin hosts none): the amount, the 16-digit PIN in four boxes, the unticked "I agree to the Flexepin Terms & Conditions" box Flexepin requires, Pay, Cancel, and "Don't have a Flexepin voucher?". It posts the PIN to BabelPay's /api/payment/flexepin, as BabelPay's own page does. On a computer the payer's phone, drawn beside it, holds vouchers for the payment. ?device=mobile|desktop forces either pageSSSS 0NNN VVVV VVVVSSSS 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.
| PIN | Effect |
|---|---|
1000 0124 0000 5000 | A valid voucher (ACTIVE; a Euro voucher validates as QUARANTINE, 10251, as Flexepin's always do): redeemed |
1025 0124 0000 5000 | A quarantined voucher, in any currency (10251): still valid, replaced by an active one on redemption |
4019 0124 0000 5000 | A voucher type or value the merchant is not set up for (4019) |
4071 0124 0000 5000 | Locked (4071) |
4072 0124 0000 5000 | Already used (4072) |
4073 0124 0000 5000 | Not active (4073) |
4074 0124 0000 5000 | Expired (4074) |
4080 0124 0000 5000 | Insufficient value (4080) |
0503 0124 0000 5000 | Flexepin is in maintenance mode (503) |
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.
POST /tokenio/v2/payments (flowType: FULL_HOSTED_PAGES, as creditor a settlement account by
virtualAccountId or the merchant's own account, {name, sortCode, accountNumber} or {name, iban}
as in Token.io's Launchpad, which is never settled and cannot be refunded; returnRefundAccount), GET /v2/payments/{paymentId},
GET /v2/payments?limit=&refIds=; POST|GET /tokenio/refunds, GET /refunds/{id};
POST|GET /tokenio/payouts, GET /payouts/{id} (from a settlement account to an IBAN or a UK sort code and account
number); POST /tokenio/account-verifications (Verification of Payee for EUR: an IBAN ending 9903 NO_MATCH, 9904
CLOSE_MATCH, 9905 VERIFICATION_NOT_POSSIBLE, else MATCH; a payout or refund naming a NO_MATCH, unknown or another account's
accountVerificationId is refused); GET /tokenio/virtual-accounts, /{accountId};
GET /tokenio/member/sub-tpps/{subTppId} (every sub-TPP ACTIVATED, but an id ending 0000 AWAITING_APPROVAL); PUT|GET|DELETE /tokenio/webhook/config;
GET /tokenio/v2/banks (public)./tokenio/session/{paymentId} — the Hosted Pages (authentication.redirectUrl): the bank picker with country and
search, the redirect screen (and on a computer a real QR code to continue on the phone, drawn beside the page; a real phone's camera works
too), the bank's app or website, Token.io's Mock Redirect Bank, the status screen, and back to the callbackUrl with
?payment-id=…&state=…. ?device=mobile|desktop, ?lang= and ?country= work as at Token.io.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.
mock-redirect)| amount.value | Status | statusReasonInformation |
|---|---|---|
101 | INITIATION_COMPLETED | success |
103 | INITIATION_REJECTED | failure |
104 | INITIATION_DECLINED | Error during payment redemption: PERMISSION_DENIED |
105 | INITIATION_PROCESSING | processing |
106 | INITIATION_DECLINED | Payment initiation has been canceled. |
108 | INITIATION_REJECTED_INSUFFICIENT_FUNDS | Insufficient funds |
110 | INITIATION_PROCESSING | initiated |
112 | INITIATION_DECLINED | Payment initiation has been declined. |
116 | INITIATION_REJECTED | Insufficient funds |
117 | INITIATION_DECLINED | Permission denied |
118 | INITIATION_DECLINED | CUST |
119 | INITIATION_DECLINED | Order not executed |
Any other amount completes (success).
| Deposit amount | Effect |
|---|---|
| …13, from 10.00 | INITIATION_PROCESSING for two minutes, then completed and settled |
| …24, from 10.00 | Completed, then SETTLEMENT_INCOMPLETE: the settlement account never finds the money |
| …05, from 10.00 | The bank refuses: INITIATION_REJECTED_INSUFFICIENT_FUNDS |
| …06, from 10.00 | The bank refuses: INITIATION_REJECTED (over the payer's daily limit) |
| …07, from 10.00 | Token.io cannot reach the bank: INITIATION_FAILED |
| Refund amount | Effect |
|---|---|
| …17, from 10.00 | INITIATION_FAILED: Token.io cannot reach the bank |
| …05, from 10.00 | INITIATION_REJECTED: the payer's account is closed (AC04) |
| Payout amount | Effect |
|---|---|
| …17, from 10.00 | INITIATION_FAILED: Token.io cannot reach the bank |
| …41, from 10.00 | INITIATION_PROCESSING for two minutes, then completed |
| …05, from 10.00 | INITIATION_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.
| Country | Currency, rail | Banks |
|---|---|---|
| GB | GBP, FASTER_PAYMENTS | Barclays 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 |
| IE | EUR, SEPA_INSTANT | Allied Irish Banks-Personal ob-aib-ie-per 15,000, Permanent tsb ob-ptsb-ie 10,000, Revolut ob-revolut-eea 50,000 |
| DE | EUR, SEPA_INSTANT | Deutsche 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 |
| NL | EUR, SEPA_INSTANT | ING ngp-ingb 25,000, Rabobank ngp-rabo 25,000, bunq bp-bunq 15,000, ASN Bank ngp-asnb 10,000 |
| ES | EUR, SEPA_INSTANT | Santander ngp-bsch 15,000, BBVA ngp-inal 15,000, Abanca ngp-abnk 10,000 |
| FR | EUR, SEPA_INSTANT | BNP Paribas Ma Banque stet-bnpa-per 15,000, Société Générale stet-soge 15,000 |
| IT | EUR, SEPA_INSTANT | UniCredit SpA ngp-uncrit 15,000, ING Italy ngp-ingbit 15,000 |
| AT | EUR, SEPA_INSTANT | Erste Bank (Sparkassen) ngp-giba 15,000, Raiffeisen ngp-rvvg 15,000 |
| BE | EUR, SEPA_INSTANT | KBC Bank ngp-kred 15,000, Belfius Bank ngp-gkcc 15,000, ING ngp-bbru 15,000 |
| PT | EUR, SEPA_INSTANT | Millennium bcp ngp-mibp 10,000, Banco Santander Totta ngp-tota 10,000 |
| FI | EUR, SEPA_INSTANT | Nordea Bank ngp-ndeafi 15,000, Aktia ob-aktia 10,000 |
| EE | EUR, SEPA_INSTANT | Swedbank ngp-habaee 15,000, SEB Pank ngp-eeuh 15,000 |
| LV | EUR, SEPA_INSTANT | Swedbank ngp-habalv 15,000, SEB Banka ngp-unla 15,000 |
| LT | EUR, SEPA_INSTANT | Swedbank ngp-habalt 15,000, SEB Bankas ngp-cbvi 15,000 |
| LU | EUR, SEPA_INSTANT | Spuerkeess / Banque et Caisse d'epargne de l'etat ngp-bcee 15,000, BGL BNP PARIBAS stet-bgll 15,000 |
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.
POST /yaspa/v2/payins/hosted-payin/generate-link (308, the link as text/plain; FPS in GBP, SEPA in EUR;
ENHANCED_PAY_IN, HOSTED_PAYMENT, HOSTED_VERIFIED_PAYMENT; bank for Direct to Bank),
GET /yaspa/v2/payins/{transactionId}, /payins/reference/{reference}POST /yaspa/v2/payouts/verified/transaction/initiate (CustomerAccountId of the same customer: the closed loop;
AccountNumberAndSortCode; IbanAndBic; isQueued), GET /yaspa/v2/payouts/transaction/{id},
POST …/transaction/confirm/{id}, POST …/transaction/rejectGET /yaspa/v2/merchant/citizen-signing-public-key — the lab's published public key (Base64 SPKI)PUT /yaspa-lab/dashboard/webhooks {"url": "…", "merchantName": "…"} (lab only, with the merchant's
AuthorizationCitizen) — what Yaspa's Admin Dashboard sets: where webhooks go/yaspa/hosted/payin?transaction-id=… — the hosted journey: the bank selector (country, search), the confirmation, the payer's bank
(its app, two seconds of Face ID, the account), the outcome page and the merchant's redirect URL. ?device=mobile|desktop forces either flow.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.
| Deposit amount | Effect |
|---|---|
| …13, from 10.00 | PENDING_ASPSP_ACCEPTANCE for two minutes, then ACCEPTED |
| …21, from 10.00 | ACCEPTED, and never COMPLETE (the 0.1% that do not settle) |
| …33, from 10.00 | FAILED, then COMPLETE 10 s later: the bank said no but the money arrived |
| …05, from 10.00 | REJECTED_BY_ASPSP: the payer's bank refuses it |
| …06, from 10.00 | FAILED: the bank does not authorise it |
| …07, from 10.00 | ERROR at Yaspa (AUTHORISATION_ERROR) |
| Payout or refund amount | Effect |
|---|---|
| …17, from 10.00 | FAILED: the bank does not authorise the payout |
| …18, from 10.00 | ERROR: the payout fails to be submitted |
| …41, from 10.00 | CREATED for two minutes, then ACCEPTED |
| Country | Currency | Banks |
|---|---|---|
| GB | GBP | Citizen 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 |
| NL | EUR | Citizen Test Bank, ING 10,000, ABN AMRO 10,000, Rabobank 10,000, SNS Bank 5,000, ASN Bank 5,000, Revolut 10,000 |
| DE | EUR | Citizen Test Bank, Deutsche Bank 10,000, Commerzbank 10,000, Sparkasse 5,000, ING Deutschland 10,000, N26 10,000 |
| FR | EUR | Citizen Test Bank, BNP Paribas 10,000, Crédit Agricole 5,000, Société Générale 10,000, Boursorama 10,000 |
| IE | EUR | Citizen Test Bank, AIB 10,000, Bank of Ireland 10,000, PTSB 5,000 |
| ES | EUR | Citizen Test Bank, Santander 10,000, BBVA 10,000, CaixaBank 10,000 |
| BE | EUR | Citizen Test Bank, KBC 10,000, Belfius 10,000, BNP Paribas Fortis 10,000 |
| AT | EUR | Citizen Test Bank, Erste Bank 10,000, Raiffeisen 10,000 |
| FI | EUR | Citizen Test Bank, Nordea 10,000, OP 10,000 |
| IT | EUR | Citizen Test Bank, Intesa Sanpaolo 10,000, UniCredit 10,000 |
| PT | EUR | Citizen Test Bank, Millennium bcp 10,000, Caixa Geral de Depósitos 10,000 |
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.
POST /inpay/collection/orders (201; the debtor's name, email, date of birth and country of residence are required, and
privacy_policy_accepted: true; expires_in 1–29 days, 30 by default), GET|DELETE /inpay/collection/orders/{uuid},
POST …/{uuid}/payments (instant_bank_transfer, bank_transfer), GET …/payments/{p},
…/bank_transfer_instructions, POST …/{uuid}/refund ({} in full; one refund, of a completed order)POST /inpay/disbursement/payment_requests (EUR: SEPA, which needs the creditor's address, or INSTANT SEPA;
DKK, SEK, NOK, PLN, GBP: LOCAL; to an IBAN), GET …/payment_requests/{unique_reference},
…/search?end_to_end_id=, POST …/cancellation_requests; "e2e_test_case": "HOLD" keeps one processingPOST /inpay/api/sandbox/orders/{uuid}/complete, …/payment_requests/{ref}/complete and /return — Inpay's sandbox-only
endpoints (their path on Inpay's own host is unconfirmed)PUT /inpay-lab/webhooks {"url": "…", "merchantName": "…"} (lab only, with the merchant's JWT or X-Auth-Uuid) — what Inpay's
onboarding registers: where webhooks go; GET /inpay-lab/webhook-public-key — the lab's published public key (PEM)/inpay/payment/?token=… — the hosted pages: the method, the payer's bank (country, banks, consent, the bank's app with two seconds
of Face ID) or Inpay's account and the reference (paid from the drawn banking app), and the way back to the merchant.
?device=mobile|desktop forces either flow.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.
| Deposit amount | Effect |
|---|---|
| …13, from 10.00 | the bank takes 2 minutes (bank_processing), then the order completes |
| …21, from 10.00 | the money never arrives: the order stays authorised (instant) or pending (transfer) until it expires |
| …05, from 10.00 | the payer's bank rejects the transfer: payment bank_rejected, order cancelled (Payment failed) |
| …06, from 10.00 | Inpay's screening holds the order: action_required for 2 minutes, then completed |
| …07, from 10.00 | Inpay's screening rejects it: processing_refund, then refunded (Rejected by Inpay due to compliance) |
| Payout or refund amount | Effect |
|---|---|
| …17, from 10.00 | a payout is rejected (invalid_data_incorrect_account_number); a refund stops at action_required_for_refund (not enough funds) |
| …18, from 10.00 | completed, then returned by the beneficiary's bank 10 s later (a refund: returned) |
| …41, from 10.00 | processing for 2 minutes, then completed |
| Country | Currency | Banks |
|---|---|---|
| NL | EUR | ING, Rabobank, ABN AMRO, SNS, bunq, Knab |
| DE | EUR | Deutsche Bank, Commerzbank, Sparkasse, Volksbank, Postbank, N26 |
| AT | EUR | Erste Bank, Raiffeisen, Bank Austria, BAWAG |
| BE | EUR | KBC, BNP Paribas Fortis, ING Belgium, Belfius |
| FI | EUR | Nordea, OP, Danske Bank, S-Pankki |
| ES | EUR | Santander, BBVA, CaixaBank, Sabadell |
| IT | EUR | Intesa Sanpaolo, UniCredit, BPER Banca, Fineco |
| FR | EUR | BNP Paribas, Crédit Agricole, Société Générale, LCL |
| IE | EUR | AIB, Bank of Ireland, PTSB |
| PT | EUR | Millennium bcp, Caixa Geral de Depósitos, Novo Banco |
| EE | EUR | Swedbank, SEB, LHV |
| LV | EUR | Swedbank, SEB, Citadele |
| LT | EUR | Swedbank, SEB, Luminor |
| DK | DKK | Danske Bank, Nordea, Jyske Bank, Sydbank |
| SE | SEK | Swedbank, SEB, Handelsbanken, Nordea |
| NO | NOK | DNB, Nordea, SpareBank 1, Handelsbanken |
| PL | PLN | PKO Bank Polski, mBank, Bank Pekao, Santander Bank Polska |
| GB | GBP | Barclays, HSBC, Lloyds, NatWest, Monzo |
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.
POST /noda/api/payments — {"id", "url", "qrCode", "status": "New"}; url is Noda's page,
/noda/processing/{sid}: the banks with search (a country list for EUR), the account number some banks want, on a computer a real
QR code to continue in the banking app (the phone is drawn beside the page; a real phone's camera works too) or "Continue in browser", the bank
(two seconds of Face ID in its app, or its website's login), the accounts, Approve; then "Processing ...", the result, and back to
returnUrl with id, status and signature. providerId opens on that bank.
?device=mobile|desktop forces either flow. Amounts 1.00 to 100,000.GET /noda/api/payments/{id}; GET /noda/api/banks?country=XX ([{id, name, country, isInstant, logoUrl}])POST /noda/api/payments/{id}/refund (modeled) — {amount?, refundId?, webhookUrl?, description?}: a Done, Settled or
Incomplete Settlement payment, part or all of it, back to its account (409 otherwise); the same refundId again is the same refund.
GET /noda/api/refunds/{id}: {id, paymentId, refundId, amount, currency, status, beneficiary, createdDate, updatedDate}POST /noda/api/payouts/bank (modeled) — {amount, currency, payoutId, customerId?, description?, webhookUrl?, beneficiary:
{name, iban}}: EUR to a SEPA IBAN, GBP to a UK one; the same payoutId again is the same payout.
GET /noda/api/payouts/{id}: {id, payoutId, amount, currency, status, beneficiary, createdDate, updatedDate}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.
| Deposit amount | Effect |
|---|---|
| …13, from 10.00 | Processing for two minutes, then Done |
| …21, from 10.00 | Awaiting confirmation for two minutes, then Done |
| …33, from 10.00 | Done, then Incomplete Settlement in place of Settled |
| …05, from 10.00 | Failed: the payer's bank refuses the payment |
| over the bank's limit | Failed at the bank |
| more than the account's balance (Savings: 40.00) | Failed: insufficient funds |
| Refund amount | Effect |
|---|---|
| …77, from 10.00 | The refund is Failed (the payer's bank returns it) |
| Payout amount | Effect |
|---|---|
| …17, from 10.00 | The payout is Failed (the payee's bank rejects it) |
| …41, from 10.00 | The payout stays Processing for two minutes, then Done |
providerId) and the payer's limit per payment| Country | Currency | Banks |
|---|---|---|
| GB | GBP | Barclays 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 |
| DE | EUR | Sparkasse 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 |
| AT | EUR | Erste 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 |
| NL | EUR | ING ing_nl 10,000, ABN AMRO abn_amro_nl 50,000, Rabobank rabobank_nl 10,000, bunq bunq_nl 25,000, Mock Bank |
| FR | EUR | BNP 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 |
| ES | EUR | Banco Santander banco_santander_es 15,000, BBVA bbva_es 15,000, CaixaBank caixabank_es 15,000, Mock Bank |
| IT | EUR | Intesa Sanpaolo intesa_sanpaolo_it 15,000, UniCredit unicredit_it 15,000, Fineco fineco_it 30,000, Mock Bank |
| IE | EUR | AIB aib_ie 15,000, Bank of Ireland bank_of_ireland_ie 15,000, PTSB ptsb_ie 10,000, Mock Bank |
| BE | EUR | KBC kbc_be 10,000, BNP Paribas Fortis bnp_paribas_fortis_be 10,000, Belfius belfius_be 10,000, Mock Bank |
| FI | EUR | OP op_fi 15,000, Nordea nordea_fi 10,000, Mock Bank |
| PT | EUR | Millennium bcp millennium_bcp_pt 10,000, Caixa Geral de Depósitos caixa_geral_de_depositos_pt 10,000, Mock Bank |
| LT | EUR | Swedbank swedbank_lt 15,000, SEB seb_lt 15,000, Luminor luminor_lt 10,000, Mock Bank |
| LV | EUR | Swedbank swedbank_lv 15,000, Citadele citadele_lv 10,000, Mock Bank |
| EE | EUR | Swedbank swedbank_ee 15,000, LHV lhv_ee 15,000, SEB seb_ee 15,000, Mock Bank |
| SK | EUR | Slovenská sporiteľňa slovenska_sporitelna_sk 10,000, Tatra banka tatra_banka_sk 10,000, Mock Bank |
| SI | EUR | NLB nlb_si 10,000, OTP banka otp_banka_si 10,000, Mock Bank |
| LU | EUR | Spuerkeess spuerkeess_lu 10,000, BGL BNP Paribas bgl_bnp_paribas_lu 10,000, Mock Bank |
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.
action=createPayment: amount (24.90, 1.00 to 10000.00),
currency EUR, merchantreference (unique, at most 64), successurl, cancelurl,
notifyurl, language (fi, en), description, email, enduserid →
response {paymentid, merchantreference, reference, amount, currency, status, created, expires, paymenturl}action=paymentCheck (paymentid or merchantreference), action=balanceCheck, action=help0 OK, 10 Authentication failed, 15 Invalid parameters, 20 Unknown action, 30 Payment not found, 31 Merchant reference already used, 40 Amount out of range, 41 Currency not supportednotifyurl with paymentid, merchantreference, amount,
status, reference, reason and checksum = hex SHA-256 of
paymentid|merchantreference|amount|status|password, the lab's password being bistromathic-euteller-demo;
the payer goes back to successurl or cancelurl with the same parametersThe 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.
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 amount | Effect |
|---|---|
| …05, from 10.00 | The bank refuses the payment after it is confirmed (insufficient funds): FAILED |
| …07, from 10.00 | PENDING at the bank when the payer is back; PAID a minute later, with a notification |
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.
POST /nowpayments/v1/invoice (201): an invoice; its invoice_url is the lab's hosted page, where the payer picks a coin
(a payment, as /v1/invoice-payment makes one), sends from the wallet drawn beside it, and is sent back by success_url,
partially_paid_url or cancel_url.POST /nowpayments/v1/payment (201): a payment and its address, with the sandbox's case (success,
partially_paid, failed, common). GET /v1/payment/{id}; GET /v1/payment/ lists them
(invoiceId, with a JWT).waiting, confirming (2 s after the wallet sends), confirmed (1.5 s
per confirmation), sending, then finished or partially_paid (less arrived); failed; expired
(nothing in 10 minutes at a fixed rate, 7 days otherwise). An IPN on every change, the expiry included (modeled: the docs do not say).
A deposit to an address already paid is a repeated deposit: a child payment with parent_payment_id.POST /nowpayments/v1/payout (with a JWT): a batch, every withdrawal CREATING (with an IPN) until
POST /v1/payout/{batch}/verify takes the 2FA code (the lab's authenticator: 123456; ten attempts).
Unverified for an hour, it is REJECTED. Verified: WAITING, PROCESSING, SENDING, FINISHED.
fiat_amount with fiat_currency pays the equivalent; an address that is not the coin's is the documented
BAD_CREATE_WITHDRAWAL_REQUEST; 0x000000000000000000000000000000000000dEaD is refused as not whitelisted. GET /v1/payout/{id},
GET /v1/payout, /v1/balance, /v1/payout/validate-address, /v1/payout/fee,
/v1/payout-withdrawal/min-amount/{coin}./nowpayments/dashboard/payouts?m=<merchant>: the dashboard's payouts, with Verify and the 2FA code. The merchant is the first
24 hex digits of the API key's SHA-256; the connector links it on a simulated payout.INVALID_API_KEY, AUTH_REQUIRED,
INVALID_REQUEST_PARAMS, BAD_CREATE_WITHDRAWAL_REQUEST and AMOUNT_MINIMAL_ERROR; the verify endpoint's refusals.| Ticker | Coin | Confirmations | Min deposit | Min payout | EUR |
|---|---|---|---|---|---|
btc | BTC on Bitcoin | 2 | 0.0001 | 0.0002 | 85000 |
eth | ETH on Ethereum | 3 | 0.002 | 0.003 | 3000 |
usdttrc20 | USDT on Tron (TRC-20) | 1 | 1 | 2 | 0.86 |
usdterc20 | USDT on Ethereum (ERC-20) | 3 | 10 | 10 | 0.86 |
usdtbsc | USDT on BNB Smart Chain (BEP-20) | 3 | 1 | 2 | 0.86 |
usdtsol | USDT on Solana | 1 | 1 | 2 | 0.86 |
usdc | USDC on Ethereum (ERC-20) | 3 | 10 | 10 | 0.86 |
usdcsol | USDC on Solana | 1 | 1 | 2 | 0.86 |
usdcmatic | USDC on Polygon | 3 | 1 | 2 | 0.86 |
usdcbase | USDC on Base | 3 | 1 | 2 | 0.86 |
ltc | LTC on Litecoin | 3 | 0.01 | 0.02 | 80 |
sol | SOL on Solana | 1 | 0.01 | 0.02 | 140 |
trx | TRX on Tron | 1 | 5 | 10 | 0.25 |
xrp | XRP on XRP Ledger (tag) | 1 | 1 | 2 | 2.1 |
doge | DOGE on Dogecoin | 3 | 10 | 20 | 0.17 |
bnbbsc | BNB on BNB Smart Chain | 3 | 0.005 | 0.01 | 800 |
xlm | XLM on Stellar (memo) | 1 | 2 | 5 | 0.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.
| Amount | Effect |
|---|---|
| …02 | Rejected by NOWPayments after verification (REJECTED): declined |
| …03 | FAILED on the network, then retried by NOWPayments and FINISHED |
| …09 | Stays SENDING: never confirmed |
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.
POST /coingate/api/v2/orders: an order (price_amount, price_currency, title and
description required); its payment_url is the lab's invoice. GET /orders/{id}, GET /orders,
POST /orders/{id}/checkout (pay_currency, platform_id).new (2 hours to pick a coin), pending (20 minutes to pay), confirming, paid,
invalid, expired, canceled; a callback on each but new.POST /beneficiaries (with its first payout setting), POST /beneficiary_payout_settings,
POST /send_requests (an exchange waits for PATCH /send_requests/{id}/confirm for a minute), GET /send_requests/{id}.
Statuses draft, in_progress, processing, completed, expired, failed, canceled.POST /payout_links (the amount is reserved at once), GET /payout_links/{id},
PATCH /payout_links/{id}/cancel; the payout_link_url is the lab's page, where the recipient picks a coin, network and
address and confirms (the email's link, stood in for by a button).GET /ledger/accounts; public: /ping, /currencies, /platforms,
/send_requests/supported-currencies (and the deposit, refund and payout-link lists)./coingate/invoice/{uuid}?m=…: the invoice, with the shopper's wallet drawn beside it on a computer (a real QR code opens it on a
phone). ?device=mobile|desktop forces either flow. The drawer has the sandbox's Mark as paid and Mark as invalid.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.
| Currency id | Coin | Platforms | EUR |
|---|---|---|---|
1 | BTC | Bitcoin | 60000 |
5 | ETH | Ethereum, Base | 3000 |
6 | LTC | Litecoin | 80 |
8 | XRP | Ripple | 2 |
10 | TRX | Tron | 0.25 |
32 | SOL | Solana | 150 |
33 | USDC | Ethereum, Base, Solana, Tron | 0.87 |
36 | POL | Polygon | 0.4 |
| Amount | Effect |
|---|---|
| Payout …02 | Rejected by the network: failed |
| Payout …03 | Canceled for compliance reasons: canceled |
| Payout …09 | Never leaves processing |
| Refund …05 | Collected, then the payout fails: failed |
| Refund …09 | Collected, never completes: processing |
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.
POST /cryptopay/api/invoices (201): one address for one amount in one coin (pay_currency, network);
a price in fiat holds its rate 10 minutes, one in crypto 2 hours. hosted_page_url is the lab's hosted page: the amount, the
address with a real QR code, the countdown and the progress, with the wallet drawn beside it; back by success_redirect_url or
unsuccess_redirect_url. GET /api/invoices/{id}, /api/invoices/custom_id/{custom_id} (a used
custom_id is a 409).transaction_created (2 s after the wallet sends), transaction_confirmed
(1.5 s per confirmation, at most 9 s), then status_changed: completed, or
unresolved with underpaid, overpaid, paid_late (sent after the invoice expired) or
illicit_resource (the drawer's high-risk sender). The account's "How to handle unresolved invoices" (the drawer; the lab's default is
CryptoPay's recommended "recalculate and settle") then completes it at the new rate, refunds it to the merchant's crypto account
(refunded), or leaves it. POST /api/invoices/{id}/refunds refunds an unresolved one. Unpaid, an invoice stays
new (the drawer's Cancel now: cancelled, as after 14 days).POST /cryptopay/api/coin_withdrawals (201): the new amount fields (amount, amount_currency,
amount_includes_processing_fee, amount_includes_network_fee) or one legacy field, never both; force_commit
(else new, committed within 30 s by /commit). pending (created), processing,
sent, completed. The docs' 422s: invalid_coin_address, must_be_less_than_or_equal (balance),
must_be_greater_than_or_equal (5 EUR, the coin's minimum), bad_precision,
must_be_included_in, high_risk_address (0x000000000000000000000000000000000000dEaD). GET /api/coin_withdrawals/{id},
/custom_id/{custom_id}, /network_fees; GET /api/accounts.additionalProperties: false),
the invoice refund's refusal, the two-step withdrawal's expiry, rates, fees and opening balances (50000 EUR, 50000 USD, 50000 GBP, …).| Code | Network | Precision | Confirmations | Min withdrawal | EUR |
|---|---|---|---|---|---|
BTC | bitcoin | 8 | 1 | 0.00005 | 85000 |
ETH | ethereum | 8 | 2 | 0.0001 | 3000 |
USDT | tron | 6 | 1 | 5 | 0.86 |
USDT | ethereum | 6 | 3 | 5 | 0.86 |
USDT | bnb_smart_chain | 6 | 15 | 5 | 0.86 |
USDT | solana | 6 | 1 | 5 | 0.86 |
USDC | ethereum | 6 | 12 | 5 | 0.86 |
USDC | solana | 6 | 1 | 5 | 0.86 |
USDC | bnb_smart_chain | 6 | 15 | 5 | 0.86 |
LTC | litecoin | 8 | 1 | 0.0001 | 80 |
SOL | solana | 9 | 1 | 0.01 | 140 |
TRX | tron | 6 | 1 | 1 | 0.25 |
XRP | ripple (?dt=) | 6 | 1 | 0.00001 | 2.1 |
DOGE | dogecoin | 8 | 1 | 1 | 0.17 |
BCH | bitcoin_cash | 8 | 1 | 0.0001 | 400 |
XLM | stellar (?memoId=) | 7 | 1 | 30 | 0.3 |
| Amount | Effect |
|---|---|
| …02 | cancelled after processing (the debited amount back on the balance): declined |
| …03 | failed on the network, then completed (failed is not final) |
| …04 | on_hold: over the account's maximum transaction amount; it stays held |
| …09 | sent and never confirmed: stays sent |
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).
POST …/openapi/v3/order — env.terminalType, merchantTradeNo (letters and digits, 32), orderAmount + currency (USDT, USDC, FDUSD, BNB, BTC, ETH) or fiatAmount + fiatCurrency (105 fiat currencies, converted to USDT at Binance's rate), goodsDetails, description, returnUrl/cancelUrl (one query parameter at most, 400101 otherwise), orderExpireTime (epoch ms, at most 15 days ahead; an hour if absent), webhookUrl, passThroughInfo: prepayId, checkoutUrl, qrcodeLink, qrContent, deeplink, universalUrl, totalFee. A duplicated merchantTradeNo is 400201POST …/openapi/v2/order/query — by prepayId or merchantTradeNo: status INITIAL, PENDING, PAID, CANCELED, EXPIRED, REFUNDED, FULL_REFUNDED; a paid order's paymentInfo.payerId is the payer's Binance IDPOST …/openapi/order/close — an INITIAL order is CANCELED (PAY_CLOSED follows); anything paid or paying is 400204POST …/openapi/order/refund and …/refund/query — in the order's currency, partial refunds adding up, ten at most; REFUNDED at once (PAY_REFUND, REFUND_SUCCESS), or rejected for x.66POST …/openapi/payout/transfer and …/payout/query — crypto only (406104 for fiat), to a BINANCE_ID or EMAIL, 0.01 to 80,000 dollars' worth a transfer; ACCEPTED, then done three seconds later (PAYOUT webhook). An email with no Binance account waits AWAITING_RECEIPTPOST …/openapi/balance and …/openapi/certificates| Account | Binance ID | Effect | |
|---|---|---|---|
| Alex Example | 100100100 | alex@binance-lab.example | Verified, 5,000 USDT (and USDC, BNB, BTC, ETH) in the Funding wallet: pays. Payouts to it complete |
| Lee Lowbalance | 100100200 | low@binance-lab.example | 5 USDT only: the app says the balance is too low, and the payer can only cancel |
| Sam Slow | 100100300 | slow@binance-lab.example | Pays, but the order stays PENDING for 10 seconds before PAID: the webhook brings the outcome |
| Kim Unverified | 100100400 | nokyc@binance-lab.example | Identity not verified: the app refuses to pay; a payout to it is refused (400710) |
| Fran Frozen | 100100500 | frozen@binance-lab.example | Pays; 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 (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.
POST /api-payin/v3/online-payments: payinMerchantID, payinAmount (two decimals),
payinCurrency, payinMerchantOperationNumber (max 50), payinMethod (TCTD, TC, TD,
BankTransfer, Cash, Wallet), payinVerification = SHA-512 of MID + operation number + amount + currency + KeyMonnet,
the OK and error URLs, payinExpirationTime (minutes), the customer's name, last name, email, phone, document type and
number, country → {url, payinErrorCode "0000", payinErrorMessage, payinTrxOperation}POST /ms-experience-payin/merchant/{MID}/operations (header authorization = SHA-256 of MID + KeyMonnet):
by payinMerchantOperationNumber or a date range → {payinMerchantID, operations: [{payinStateID, payinState,
payinAmount, payinCurrency, payinMerchantOperationNumber, payinID}]}PUT /monnet-lab/merchant?mid=
{"notificationUrl": …}) with payinStateID, payinState, the amount and operation number, and
payinVerification under the lab's KeyMonnet bistromathic-monnet-key-6c1e09; Monnet expects HTTP 200POST /ms-payroll-trx/commerce/{id}/payroll (header verification = SHA-256 of id + KeyMonnet):
{name, country (alpha-3), currency, detail: [{index, transactionId (max 20), date, amount, currency, bank, customerName,
accountType, paymentAccount, customerIdType, customerId, cciNumber, …}]} → {idPayroll, uuid, message, numberRejected,
numberValid}; GET /ms-payroll-back/commerce/{id}/payroll/{idPayroll} (SHA-256 of id + idPayroll + KeyMonnet):
the lines by bank, each BANCO_EXITO or BANCO_RECHAZO once final1 Creado, 2 Pendiente de pago, 3 Expirado, 5 Autorizado, 6 Denegado, 9 Liquidado, 10 Reembolsado, 11 Devuelto0000 Successfull process; 0001 Error in payinMerchantID not valid; 0002 Error in payinAmount not valid; 0003 Error in payinCurrency not valid; 0004 Error in payinMerchantOperationNumber not valid; 0005 Error in payinVerification not valid; 0006 Error in payinTransactionErrorURL not valid; 0007 Error in payinTransactionOKURL not valid; 0012 Error in payinTransactionErrorURL not valid; 0013 Error in payinTransactionOKURL not valid; 0015 Error in payinAmount format not valid; 0017 Error in payinCurrency not valid; 0018 Error in processor not valid; 0019 Error in currency, not exist for merchant; 0022 Error in transaction payinCustomerTypeDocument no exits; 0023 Error in transaction, payinCustomerDocument no exits; 0025 Customer Type Document invalid; 0026 Customer Document invalid; 0051 Error in collectorCode: collector not available or currency - min/max amount not allowed; 0099 Internal Error Payin| Country | Currencies | payinMethod | Documents |
|---|---|---|---|
| PE | PEN, USD | TCTD, TC, TD, BankTransfer, Cash, Wallet | DNI, CE, RUC, PAS |
| CL | CLP | TCTD, TC, TD, BankTransfer | RUT, PP |
| CO | COP | TCTD, TC, TD, BankTransfer, Cash | CC, NIT |
| EC | USD | TCTD, TC, TD, BankTransfer, Cash, Wallet | CI, RUC, PP, PAS |
| AR | ARS | TCTD, TC, TD, BankTransfer, Cash, Wallet | DNI, CUIT, CUIL |
| MX | MXN | TCTD, TC, TD, BankTransfer | CURP, RFC |
| BR | BRL | BankTransfer | CPF, 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.
| Deposit amount | Effect |
|---|---|
| …05 | Denegado (6): 9051 Not sufficient funds, notified |
| …06 | Denegado (6): 9005 Do not honor, notified |
| …07 | Pendiente de pago (2), then Autorizado (5) a minute later, notified |
| …08 | Autorizado (5) with no notification: only the operations lookup (or reconciliation) tells |
| Payout amount | Effect |
|---|---|
| …05 | BANCO_RECHAZO: the bank refuses the account (CUENTA NO EXISTE) |
| …06 | BANCO_EXITO, then BANCO_RECHAZO a minute later: the bank returned it (DEVOLUCION) |
| …08 | ENVIADO_BANCO for 5 minutes, then BANCO_EXITO |
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.
POST /transact365/api/v1/external/payment/hosted: a deposit, PENDING, and its paymentUrl, T365's payment page
(/transact365/payment/{orderId}). An orderId is taken once (another is REJECTED), at most 32 characters on Brazil's PIX channel;
INR takes no decimals.POST /transact365/api/v5/external/payout/s2s: a payout, PENDING, then its outcome three seconds later. The sandbox's emails decide
it: success@test.com → SUCCESS, rejected@test.com → REJECTED, fail@test.com → FAILED. M-Pesa payouts go to bankCode MPESA (the lab's bank-codes list for KES), Interac e-Transfers to the
payout's email; a PayID payout answers a widgetUrl.POST /transact365/api/v2/external/payment/status and …/payout/status by id or orderId;
GET /transact365/api/v1/external/balance/status/{midId}; GET /transact365/api/v1/external/bank-codes/{midId}/{currency}/list.
MID 404 is ERROR: No MID with given ID found.callbackUrl with an apikey header and hash = the upper-case hex SHA-256 of
secretKey=…&amount=…¤cy=…&id={orderId}&orderId=…&status=…, the secret padded with 0 to 16
characters. The lab's published secret is BISTROMATHIC. A deposit's postback carries the
amount, currency, email, names and actualAmount; a payout's only its id, orderId, status and hash.?device=mobile|desktop forces either flow.| Market | Currency | Solution | method | MIDs | Limits |
|---|---|---|---|---|---|
| Brasil | BRL | PIX | PIX, QR_CODE | 252 / 131 | R$ 10,00 – R$ 50.000,00 |
| India | INR | UPI (QR, intent) | UPI | 999 / 1111 | ₹100 – ₹1,00,000 |
| Kenya | KES | M-Pesa | MOBILE_MONEY | 121 / 121 | KES 10.00 – KES 250,000.00 |
| Australia | AUD | PayID | BANK_TRANSFER | 3418 / 3418 | A$10.00 – A$10,000.00 |
| Canada | CAD | Interac | BANK_TRANSFER | 520 / 4968 | CA$10.00 – CA$10,000.00 |
| Europe | EUR | Open Banking | OPEN_BANKING | 3573 / — | €10.00 – €20,000.00 |
| United Kingdom | GBP | Open Banking | OPEN_BANKING | 533 / — | £10.00 – £20,000.00 |
| Crypto | USDT | USDT | TRC20, ERC20, BEP20 | 5050 / — | 10.00 USDT – 100,000.00 USDT |
| Amount | Effect |
|---|---|
| deposit …13 | PENDING for two minutes after the payer pays, then SUCCESS |
| deposit …33 | SUCCESS with no postback: only the status API (or reconciliation) tells |
| deposit …02 | REJECTED (Transaction rejected by processor) once the payer pays |
| deposit …03 | FAIL (Technical error in bank's system) once the payer pays |
| deposit …07 | SUCCESS, with an actualAmount of half the amount (the amount mismatch case) |
| payout …13 | PENDING for two minutes, then SUCCESS |
| payout …02 | REJECTED (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, 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.
POST /api/v1/international/cashier/create — country NG (NGN; USD for cards) or EG (EGP), reference, amount.total in kobo, cents or piastres, payMethod (NG: BankCard, OpayWalletNg/OpayWalletNgQR, BankUssd, BankTransfer; EG: BankCard, VALU; any other OPay method, MWALLET included, is 02003 here), returnUrl, cancelUrl, callbackUrl, expireAt (minutes, 30 by default), userInfo, product: orderNo, cashierUrl, INITIAL. A repeated reference is 02004POST /api/v1/international/cashier/status — by reference or orderNo: INITIAL, PENDING, SUCCESS, FAIL, CLOSE (with failureCode, failureReason); unknown 00012POST /api/v1/international/payment/close — an INITIAL order is CLOSE (a callback follows)POST /api/v1/international/payment/refund/create and …/refund/query — in Nigeria refundWay Original for the OPay wallet, BankAccount (with receiver) for cards, USSD and transfers; SUCCESS at once (a refund-status callback), or PENDING then FAIL for x.66POST /api/v3/transfer/toWallet (to 1259257649 (Ada Example), 8031234567 (Tunde Example); any other number 01631) and /api/v3/transfer/toBank (a CBN bank code and a 10-digit account, e.g. 033 / 2215381184), amounts as kobo strings: PENDING, then SUCCESSFUL three seconds later (FAILED for x.66); /api/v3/transfer/status/toWallet, /status/toBankThe 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, 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.
POST /v3/payments — tx_ref, amount (major units), currency (NGN, GHS, KES, UGX, TZS, RWF, ZMW, XAF, XOF, ZAR, MWK, EGP, USD, EUR, GBP), redirect_url, customer.email (required), payment_options (card, mpesa, mobilemoneyghana, mobilemoneyuganda, mobilemoneyrwanda, mobilemoneyzambia, mobilemoneytanzania, mobilemoneyxaf/xof, mobilemoneymalawi, ussd, banktransfer; the rest are not drawn), configurations: {"status":"success","message":"Hosted Link","data":{"link"}}GET /v3/transactions/:id/verify, /v3/transactions/verify_by_reference?tx_ref= — successful, failed, pending; unknown: 400 "No transaction was found for this id"POST /v3/transactions/:id/refund (amount, comments, callbackurl) — completed, then the rail's completed-mpgs / completed-momo / completed-bank-transfer; GET /v3/refunds/:idPOST /v3/transfers — NGN to bank 044 account 0690000031–0690000041 (0690000036 blacklisted), mobile money by code and number with beneficiary_name; NEW, PENDING, then SUCCESSFUL or FAILED (_PMCK, _PMCK_ST_F, DU_{n}); GET /v3/transfers/:id, /v3/transfers?reference=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, 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.
POST card/v1/tokens with Public-Merchant-Id; the lab's stand-in
modules at /kushki/js-sdk/module/Kushki.js and Card.js), then POST card/v1/charges
{token, amount: {subtotalIva, subtotalIva0, iva, ice, currency}, fullResponse: "v2", metadata} answers
{ticketNumber, details: {transactionStatus: "APPROVAL", …}} or {code: "K006", details: {responseCode}}.
Refunds: DELETE v1/refund/{ticketNumber} → {code: "K000", ticketNumber}.GET transfer/v1/bankList, POST transfer/v1/tokens (bankId, callbackUrl, userType, documentType,
documentNumber, email, currency COP), POST transfer/v1/init → {redirectUrl}; the payer comes back to the
callbackUrl with ?token=; GET transfer/v1/status/{token} → status approvedTransaction,
declinedTransaction, initializedTransaction. SPEI the same in MXN, without a bank (modeled). 20 minutes.POST cash/v1/tokens (name, lastName, identification, documentType, email, totalAmount, currency),
POST cash/v1/charges/init → {ticketNumber, pin, pdfUrl}; GET cash/v1/status/{token}. A PIN stays
payable 72 hours.POST payouts/transfer/v1/tokens (Colombia, Chile, Ecuador as the SDK types them; Mexico's CLABE modeled),
POST payouts/transfer/v1/init, GET payouts/transfer/v1/status/{token}.PUT /kushki-lab/merchant?id=
{"webhookUrl": …}) with token, status (APPROVAL, DECLINED, INITIALIZED), the ticket and the
metadata, headers X-Kushki-Id, X-Kushki-Key, X-Kushki-SimpleSignature = HMAC-SHA256 of the
X-Kushki-Id under the lab's secret bistromathic-kushki-webhook-5d71a3.205 Tipo de moneda no válida; K000 El reembolso solicitado se realizó con éxito.; K001 Cuerpo de la petición inválido.; K004 Id de comercio o credencial no válido; K006 Transacción rechazada; K008 Token no válido o expirado; K010 Ticket number inválido; K012 Monto de captura inválido.; K017 Tarjeta no válida; K020 Monto fuera de los límites permitidos; K023 Monto de reembolso no válido; K027 Transacción ya reembolsada; K220 Monto de la transacción es diferente al monto de la venta inicial| Country | Currency | Documents | Cash networks |
|---|---|---|---|
| MX | MXN | RFC, CURP, PP | OXXO, 7-Eleven, Farmacias del Ahorro, Walmart |
| CO | COP | CC, NIT, CE, TI, PP, RUT | Efecty, Su Red, Gana, Pagatodo |
| PE | PEN | DNI, CE, PAS, RUC | PagoEfectivo: agentes BCP, BBVA, Interbank, Kasnet, Tambo+ |
| CL | CLP | RUT, PP | Servipag, Caja Vecina |
| EC | USD | CI, RUC, PAS | Pago Ágil, Western Union, Banco del Barrio |
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 amount | Effect |
|---|---|
| …05 | Declined 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 |
| …07 | Paid, but the webhook comes a minute late |
| …08 | Paid, with no webhook: only the status read tells |
| Refund amount | Effect |
|---|---|
| …13 | Refund refused: K023 (amount not refundable) |
| Payout amount | Effect |
|---|---|
| …05 | Declined by the bank (cuenta inválida) |
| …06 | Approved, then returned by the bank a minute later (DECLINED) |
| …08 | Five minutes with the bank before it is approved |
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.
action=start — merchant, order, request_id (unique per merchant; the same again answers the same transaction), amount ("5.00"), service_name (shown on the page), url_return, url_callback, optional msisdn, shopper, language, country, prompt_product_args ({"pic":{"img","alt"},"desc":{"en":"…"}}), prompt_merchant_args ({"logo":{"img","alt"}}), the merchant's cp_*, digest. Answers status 3 with redirect/url and reference; 4 for a missing or invalid parameter or an amount outside the limitsaction=identify — the same without an amount: the payer confirms their number with a TAN, nothing is billed; the callback names the number and its operatoraction=refund (modeled) — merchant, order, request_id, reference (the payment's) or transaction (its billing id), optional amount (default: what is left), url_callback: status 0 at once (back on the phone bill), or 1 REFUND_NOT_SUPPORTED/REFUND_REJECTED; partial refunds add up to the paymentaction=status (modeled) — merchant, reference (or request_id): status 5 while the payer is on the page, else the result as the callback said it/dimoco/smart/user?sph-reference=… — DIMOCO's page: the merchant, the product and the amount, the number (a country and the national number), then a six-digit TAN by SMS (valid 5 minutes, three tries, three new codes) or, on a phone with a number the merchant sent (it stands in for header enrichment), one tap on Buy now. The session lasts 15 minutes. On a computer the payer's phone is drawn beside it with the SMS. Back to url_return when it ends. ?device=mobile|desktop forces either flowAustria (+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).
| msisdn | Effect |
|---|---|
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) |
AMOUNT_TOO_LOW, AMOUNT_TOO_HIGH at once; MONTHLY_LIMIT_EXCEEDED after the TAN). DIMOCO's page: 50 euros a payment and 300 a month; the rest are the lab's equivalents.…66 (from 1.00) is rejected (REFUND_REJECTED).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.
POST /payment.json: variant, merchantId, purchaseCountry, basePrice
("5.00"), the redirectAfter* and notifyAfter* URLs, customerNumber (variant1 and
variant4), title (variant4), taxClass and serviceGroup (Finland, all but variant3), the
payer's name and customerPersonalId (Germany, YYYYMMDD), signature = HMAC-SHA512 of the
non-empty signed fields' values sorted by name, joined with ; → {success, purchase: {uuid, redirect}}GET /payment/byUuid.json (the purchase), /payment/byPurchaseReference.json ({purchases},
newest first), /payment/byDate.json; /payment/price.json, /payment/maxPrice.json,
/payment/ip/feature-check (true for any IP, as in Siru's sandbox), /payment/kyc; capture and release
answer 422 (no lab merchant has the reserve flow)notifyAfter* URL with siru_uuid,
siru_merchantId, siru_submerchantReference, siru_purchaseReference, siru_event
(success, failure, cancel) and siru_signature = HMAC-SHA512 of those five,
in that order, with the lab's secret bistromathic-siru-demo; the payer goes back to the matching
redirectAfter* URL with the same parameters| Country | Currency | Variants | Most a payment (lab) | Per number, 30 days |
|---|---|---|---|---|
| FI | EUR | variant1, variant2, variant3 | variant1 ≤ 50.00, variant2 ≤ 50.00, variant3 ≤ 500.00 | 300.00 |
| SE | SEK | variant1, variant3 | variant1 ≤ 500.00, variant3 ≤ 500.00 | 3000.00 (1000.00 a day) |
| NO | NOK | variant3 | variant3 ≤ 500.00 | 3000.00 |
| GB | GBP | variant4 | variant4 ≤ 50.00 | 500.00 |
| AT | EUR | variant4 | variant4 ≤ 50.00 | 300.00 |
| DE | EUR | variant4 | variant4 ≤ 50.00 | 300.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.
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 price | Effect |
|---|---|
| …05, from 10.00 | The operator refuses the charge when the payer pays: failed (siru_event failure) |
| …07, from 10.00 | call_started when the payer is back; confirmed a minute later, with the success notification |
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",…}}).
POST /billing/3.0/begin-single-charge — carrier billing: payment-method carrierbilling, charge-type otp with msisdn (a 4-digit code by SMS, valid 5 minutes, three tries), or hosted in Japan; Alipay (CN, HK), TWINT (CH), UPI (IN) hosted with hosted.forward-url, answered with hosted.redirect-url. Idempotent by merchant-request-idPOST /billing/3.0/validate-single-charge — the code: success, failed, or 46 Invalid PIN (retriable) with the charge still in progressPOST /billing/3.0/query-charge — by exactly one of charge-id, merchant-request-id, merchant-transaction-id: chargesPOST /billing/3.0/refund-charge and /query-refund — full by default or partial (refund-amount; TWINT full only), reason-code 1–100, a refund-notification when notification.send/boku/pay/{tx} — the merchant's Pay by mobile page (Boku hosts none for carrier billing by SMS code): the number, then the code, posted to the merchant's server; on a computer the payer's phone is drawn beside it with the SMS/boku/hosted/{charge-id} — the carrier's or wallet's authorization: approve or cancel, then back to the forward URLUnited 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).
| Number | Effect |
|---|---|
…0120 | Not on a network Boku bills (120 Network not found): no code is sent |
…0086 | Carrier billing is barred on the line (86 Feature not supported on network): no code is sent |
…0003 | Prepaid without enough credit: the charge fails after the code (3 Insufficient funds) |
…0107 | The operator refuses to bill the line: the charge fails after the code (107 Billing error) |
…0900 | The operator errs: the charge fails after the code (900 Internal operator Error) |
…0139 | A slow operator: in progress after the code, billed 20 seconds later (the notification says so) |
03 is refused after the approval (3 Insufficient funds), 39 stays in progress 20 seconds, then pays.13 are in progress 20 seconds, 14 are refused (900).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.
GET /rest/sessions/create?sid=…&amount=500&successUrl=…&failureUrl=…¬ifyUrl=…&mobile=447700900123&requestid=…&tag=…
→ {code: 0, session: {secret_failure_token, secret_success_token, payment_url, redirectUrl, guid}, sessionId, message: "ok"};
no amount 400 code 300019, over £40.00 400 code 300018, under 10p or a bad URL 400 code 11,
a bad mobile 400 code 300001GET /rest/v2/transactions/status/{guid} → {status: "OK", transaction: {status_code, guid, service_id, msisdn,
merchant_params, flow, billing, track_user_flow, sandbox_mode, …}}; 404 "transaction isn't available" until the payer opens the
pagePOST /rest/transactions/{guid}/refund → {transaction_external_id, msisdn, status_code: "OK", message:
"Successfully Refunded", amount_refunded}: the whole charge, within 90 days; otherwise 400 with ALREADY_REFUNDED,
REFUND_FAILED (not a successful charge) or PERMANENT_REQUEST_FAILUREnotifyUrl with STATUSCODE, STATUSTEXT,
STATUSTIME, GUID, AMOUNT, SID, MOID, MNO,
MONUMBER (CHARGED), SANDBOXMODE=true, msisdnDetectionMethod, requestid,
tag, x_*, once per transaction, when it is decided; any 2xx acknowledges/fonix/newpayment.jsp?rsid=… — fPay's page: on a computer the number, a free SMS with a 4-digit PIN (3 tries),
Confirm; on a phone with the merchant's mobile (standing in for the operator's header enrichment; not on Three) one tap.
On a computer the payer's phone is drawn beside it with the SMS. Back to successUrl with tid and
s_token, or failureUrl with cancel=prepay and origin. ?device=mobile|desktop
forces either flowAny 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.
| Amount | Effect |
|---|---|
| …05, from £1.00 | INSUFFICIENT_FUNDS: not enough prepaid credit |
| …07, from £1.00 | PENDING when the payer is done; CHARGED a minute later, with its notification |
| …09, from £1.00 | OPERATOR_REJECTED: the operator refuses the charge |
MONTHLY_MAX_SPEND_MSISDN; O2 MAX_SPEND_MSISDN)PERMANENT_REQUEST_FAILURE)TRANSACTION_EXPIREDApaylo (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.
POST …/Merchant/RequestInteracEtransferLink {CustomerEmail, CustomerName, Amount, Description, UniqueId} → {Message,
ReferenceNumber, TransactionNumber}: Requested. The Description must carry the APL reference (a simulated connection's is
APL0000LAB); a reused UniqueId is refused. RequestInteracEtransferEmail takes the same and puts the request in the
payer's inbox.GET /apaylo/interac/reqPayment/eml/{ReferenceNumber} — the payer: Interac's request page (12 Canadian banks on plain monograms),
the bank's sign-in (any), the request paid from Chequing or Savings, the review, Pay: Fulfilled, then Completed two seconds later. On a computer the bank's app
runs on the phone drawn beside the page; on a phone it fills the screen. ?device=mobile|desktop forces either.POST …/Merchant/SearchRequestInteracEtransfer {StartDate, EndDate, TransactionNumber, InteracReferenceNumber, Description, Status} →
[{InteracReferenceNumber, TransactionNumber, TransactionStatus, TransactionDate, CustomerName, CustomerEmail, DCBTransactionId, Description, Amount,
ResponderName, ResponderEmail, UniqueId}]POST …/Merchant/SendInteracEtransfer {CustomerName, CustomerEmail, Amount, SecurityQuestion, SecurityQuestionAnswer, Description,
UniqueId} → {Message, TransactionNumber, CustomerName, Amount, TransactionDate, Description}: Sent. The payee deposits it from
/apaylo/inbox?to=<email>: the notification, the security question (three wrong answers cancel it), their
bank, the account. Not deposited in 30 days: Cancelled. SearchSendInteracEtransfer reads them back (ResponseName, ResponseEmail).POST …/EFT/CreateEFTTransactionWithCustomer {Email, FirstName, LastName, TransitNumber, InstitutionNumber, AccountNumber,
TransactionTypeCode C|D, Amount, Description, UniqueId} → {Message, TransactionNumber}: Pending, Sent (the next cut-off), Settled.
SearchEFTTransaction → [{TransactionId, TransactionNumber, CustomerNumber, CustomerAccountId, TransactionTypeCode, EftTypeCode,
TransactionDate, Amount, TransactionStatus, ReturnCode, …}]GET …/Merchant/GetBalance → {AvailableBalance, ActualBalance} (a test merchant starts with 100,000.00);
GET /apaylo/sandboxsecure.apaylo.com/api/Merchant/HealthCheck (env1).GET/PUT /apaylo-lab/merchants/{Key} {merchant_name} — lab only: the name Interac shows the payer.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.
| Deposit amount | Effect |
|---|---|
| …13, from 10.00 | Fulfilled for a minute after the payer confirms, then Completed |
| …02, from 10.00 | Rejected once the payer confirms: their bank refused the payment |
| e-Transfer out amount | Effect |
|---|---|
| …01, from 10.00 | The payee has Autodeposit: Completed two seconds after the send |
| …02, from 10.00 | Rejected two seconds after the send: the payee's bank refused it |
| …04, from 10.00 | Cancelled two seconds after the send (as if it expired) |
| …09, from 10.00 | Refused at once: 400 Insufficient balance in the wallet |
| any other | Sent until the payee deposits it (inbox) or declines it |
| EFT amount | Effect |
|---|---|
| …14, from 10.00 | Rejected with return code 914 (Incorrect Payor/Payee Name) once sent |
| …02, from 10.00 | Rejected with return code 900 (Edit Reject) once sent |
| …05, from 10.00 | Rejected with return code 905 (Account Closed) once sent |
| …09, from 10.00 | Refused at once: 400 Insufficient balance in the wallet |
| any other | Settled five seconds after it was created |
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.
POST /fiserv/ch/payments/v1/charges — source PaymentCard (cardData, expirationMonth, expirationYear, securityCode), transactionDetails.captureFlag (a sale, or an authorization), merchantDetails (merchantId, terminalId), amount (total in major units). With referenceTransactionDetails and no source: the capture of an authorization, partial or full, once, within 7 days (modeled)transactionDetails.authentication3DS: true with additionalData3DS.methodData.notificationUrl. A frictionless card is authorized at once with authenticationStatus Y and mpiData; an enrolled card answers PROCESSING with authenticationStatus C, stepUpUrl and challengeToken (a JWT): the payer's browser posts JWT to the step-up URL (Cardinal's step-up; the issuer's challenge, the shared ACS page), is posted back to the notification URL with TransactionId, and Commerce Hub authorizes or declines the charge itself. Unanswered for 10 minutes, it is declined as not completed. A merchant's own 3DS result goes in additionalData3DS (mpiData cavv and eci, dsTransactionId, authenticationStatus)POST /fiserv/ch/payments/v1/cancels — referenceTransactionDetails: voids an authorization, or a sale nothing was refunded from, in full (VOIDED)POST /fiserv/ch/payments/v1/refunds — with referenceTransactionDetails: a refund of a captured charge, partial or full; with a card source and no reference: an unmatched refund, a credit to the card (transactionType REFUND, CAPTURED, processingCode 200000)POST /fiserv/ch/payments/v1/transaction-inquiry — referenceTransactionDetails by referenceTransactionId, referenceMerchantTransactionId or referenceMerchantOrderId: an array of the transactions it names; none is a 404 "Referenced transaction is invalid or not found"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.
| Card | Brand | Outcome |
|---|---|---|
4005550000000019 | Visa | Approved (Fiserv's certification test card) |
5454545454545454 | Mastercard | Approved (Fiserv's certification test card) |
4000300011112220 | Visa | Refused by Commerce Hub before the issuer: GATEWAY 104 "Unable to assign card to brand: Invalid" |
4242424242424242 | Visa | Approved, 3-D Secure frictionless |
4000000000003220 | Visa | The issuer's 3-D Secure challenge, then approved |
5200828282828210 | Mastercard | The issuer's 3-D Secure challenge, then approved |
4000000000000341 | Visa | The issuer's 3-D Secure challenge, which fails: declined |
4000000000000002 | Visa | Declined: 05 Do not honor |
4000000000009995 | Visa | Declined: 51 Insufficient funds |
4000000000000069 | Visa | Declined: 54 Expired card |
4000000000000127 | Visa | Declined: N7 CVV2 mismatch |
4100000000000019 | Visa | Declined: 59 Suspected fraud |
| Amount (last two digits in minor units) | On | Effect |
|---|---|---|
| …52, from 10.00 | credit | The card credit (payout) is declined by the host (05) |
| …77, from 10.00 | refund | The refund is declined by the host (05) |
| …97, from 10.00 | charge | Stays PROCESSING for 30 seconds, then the card's outcome (read it with transaction-inquiry) |
/ch paths, the HMAC headers and signature, the request and answer objects field for field, the transaction states CAPTURED, AUTHORIZED, DECLINED, PROCESSING and VOIDED, captures by reference, cancels, referenced and unmatched refunds, the inquiry by reference, the GATEWAY 104 errors, the cert test cards 4005550000000019, 5454545454545454 and 4000300011112220, the external 3DS fields (additionalData3DS, mpiData).authentication3DS flag and the AdditionalData3DS fields are Fiserv's; the notification URL's place, the PROCESSING answer with stepUpUrl and challengeToken, the post back, and the inquiry after the challenge are the lab's reading, since Fiserv's API-only 3DS pages are in its JavaScript developer portal); the 3-digit responseCode of a decline ("100"); the HTTP 404 of an unknown reference at the inquiry; the error codes 112 to 114; the challenge and capture windows, the ceilings and the lab rules; the issuer's page (the shared ACS page). Not played: webhooks, tokens (payments-vas/v1/tokens), wallets, the Checkout SDK's payment sessions, account verification and DCC.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.
POST /rapyd/v1/payments — a card (payment_method.type such as gb_visa_card, fields number, expiration_month, expiration_year, cvv, name), capture, complete_payment_url, error_payment_url, merchant_reference_id: CLO, ACT with pending_capture, an ERR payment (ERROR_PROCESSING_CARD - [nn], HTTP 400 with the payment), or ACT with 3d_verification and redirect_url (from 1000, or with payment_method_options.3d_required; 15 minutes to authenticate). Local methods too, with their codes in the answerGET /rapyd/v1/payments/{payment}, ?merchant_reference_id=; POST …/{payment}/capture; DELETE …/{payment} (cancel); POST /rapyd/v1/payments/completePayment (the sandbox's)POST /rapyd/v1/checkout, GET …/{checkout} — the hosted page for payment_method_type or payment_method_type_categories in a country: mx_spei_bank (60–10,000 MXN), mx_7eleven_cash, mx_circlek_cash, mx_farmaciasdelahorro_cash, mx_paycash_cash, mx_waldos_cash, co_efecty_cash, pl_p24_bank; the payment is created when the payer submits, and paid there or expires with payment_expirationPOST /rapyd/v1/refunds (card: Completed; SPEI and Przelewy24: Pending, then Completed a minute later; cash: not refundable), GET …/{refund}, ?payment=, POST …/completePOST /rapyd/v1/payouts — card payouts (xx_visa_card, xx_mastercardglobal_card, per-country card types; beneficiary first_name, last_name, card_number), Completed at once; GET …/{payout}, ?merchant_reference_id=, POST …/complete/{payout}/{amount}GET /rapyd/v1/payment_methods/countries/{country} — what the lab plays there (card types by Rapyd's naming, the local methods)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.
| Card | Brand | Outcome |
|---|---|---|
4111111111111111 | VISA | Success: payments, refunds and payouts |
4462030000000000 | VISA | Success: payments, refunds and payouts |
4111111111111105 | VISA | Declined: Do Not Honor (ERROR_PROCESSING_CARD - [05]) |
4111111111111143 | VISA | Declined: Stolen Card, pick up (ERROR_PROCESSING_CARD - [43]) |
4111111111111151 | VISA | Declined: Insufficient Funds (ERROR_PROCESSING_CARD - [51]) |
5320575303040441 | MASTERCARD | A payout to it is refused: ERROR_PAYOUT_BENEFICIARY_FIELDS_NOT_VALID[CARD_NUMBER] |
5484389609326310 | MASTERCARD | A payout to it is refused: ERROR_CARD_EXPIRED |
| Amount | Payments | Error |
|---|---|---|
| 4000–4009 | all | ERROR_CREATE_PAYMENT_GATEWAY_NOT_RESPONDING |
| 2000–2009 | online | ERROR_PROCESS_PAYMENT_SETTLEMENT_DECLINED |
| 2020–2029 | online | ERROR_PROCESS_PAYMENT_SETTLEMENT_PENDING_ON_GATEWAY |
| 2080–2089 | online | ERROR_PROCESS_PAYMENT_PROCESSOR_UNAVAILABLE |
| 2120–2129 | redirect | ERROR_PROCESS_PAYMENT_INSUFFICIENT_FUNDS |
| 2180–2189 | redirect | ERROR_PROCESS_PAYMENT_EXPIRED |
| Amount (last two decimals) | On | Effect |
|---|---|---|
| …57, from 10.00 | payout | The payout is refused: ERROR_CREATE_PAYOUT_TO_CARD_CONTACT_ISSUER |
| …77, from 10.00 | refund | The refund is Rejected (REFUND_REJECTED) |
| …91, from 10.00 | payment | Its webhooks arrive 30 s late |
| …92, from 10.00 | payment | No webhook is sent (the status read answers) |
| …93, from 10.00 | payout | The payout stays Created for 60 s, then completes (PAYOUT_COMPLETED) |
status and data), the payment, checkout, refund and payout objects and their statuses (ACT, CLO, ERR, EXP, CAN; NEW, DON, EXP; Pending, Completed, Rejected; Created, Completed), next_action, the webhooks (types, headers, the signature over the webhook URL), the test cards and test amounts, 3DS from 1000 and its 15 minutes, the method type names and the SPEI and Mexican cash limits, the error codes and messages, MISSING_AUTHENTICATION_HEADERS / UNAUTHORIZED_API_CALL.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}.
POST /airwallex/api/v1/pa/payment_intents/create — request_id, amount (a number in major units), currency, merchant_order_id, return_url, customer, payment_method_options.card (auto_capture, three_ds_action): 201, REQUIRES_PAYMENT_METHODPOST …/payment_intents/{id}/confirm — request_id, payment_method {type: "card", card: {number, expiry_month, expiry_year, cvc, name, external_three_ds}}, device_data, return_url: SUCCEEDED (or REQUIRES_CAPTURE), a 400 with Airwallex's error (issuer_declined and provider_original_response_code, risk_declined, authentication_declined, no_3ds_liability_shift, 3ds_not_supported), or REQUIRES_CUSTOMER_ACTION with next_action: the payer's page, then the shop's return_url with payment_intent_id and succeeded. Left 20 minutes (modeled), the attempt is EXPIREDGET …/payment_intents/{id}, GET …/payment_intents?merchant_order_id=…, GET …/payment_attempts/{id} — the intent with its latest_payment_attempt (status, failure_code, failure_details, authentication_data.ds_data)POST …/payment_intents/{id}/capture (amount for less), /cancel; POST /airwallex/api/v1/pa/refunds/create (payment_intent_id, amount for part): RECEIVED, ACCEPTED, SETTLED; GET …/pa/refunds/{id}, ?payment_intent_id=POST /airwallex/api/v1/transfers/create — request_id, reason, reference, transfer_currency, transfer_amount (a string), transfer_method (LOCAL, SWIFT), an inline beneficiary (BANK_ACCOUNT, bank_details with an IBAN or an account number): SCHEDULED, PROCESSING, SENT, PAID; GET …/transfers/{id}, ?request_id=; the sandbox's POST …/simulation/transfers/{id}/transition. Above 50,000 (modeled), transfer_amount_above_account_limitAirwallex'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).
| Card | Brand | Outcome |
|---|---|---|
4035501000000008 | Visa | Always succeeds, without 3-D Secure |
2223000048410010 | Mastercard | Always succeeds, without 3-D Secure |
4012000300000062 | Visa | 3-D Secure challenge, then succeeds |
4012000300000088 | Visa | Device data collection, then the 3-D Secure challenge, then succeeds |
4012000300000021 | Visa | Device data collection, then frictionless 3-D Secure: succeeds |
4012000300000005 | Visa | Frictionless 3-D Secure, no page: succeeds at once |
4012000300000070 | Visa | 3-D Secure challenge, then authentication_declined whatever you answer |
4012000300000013 | Visa | Declined at once: authentication_declined (not enrolled) |
4012000300000047 | Visa | Declined at once: no_3ds_liability_shift |
5582464537874128 | Mastercard | Declined at once: 3ds_not_supported (an anonymous card) |
2223000010181375 | Mastercard | Succeeds, except at 80.05 (issuer code 05), 80.14 (14) and 80.51 (51 insufficient funds) |
4012000300001003 | Visa | Succeeds, except at 80.59 (issuer code 59 suspected fraud) and 80.07 (07 pick up card) |
4646464646464644 | Visa | Declined: risk_declined (Airwallex's fraud engine) |
4000000000009995 | Visa | Any amount: insufficient funds (the lab's standard set) |
| Field | Value | Effect |
|---|---|---|
| Amount, card 2223 0000 1018 1375 | 80.05 / 80.14 / 80.51 | issuer_declined with the issuer's code 05 (do not honour), 14 (invalid card number), 51 (insufficient funds) |
| Amount, card 4012 0003 0000 0039 | 88.88 | authentication_declined at once (any other amount: frictionless, then succeeds) |
| Amount, card 4012 0003 0000 0104 | 88.88 | The challenge, then no_3ds_liability_shift (any other amount: succeeds) |
| 3-D Secure challenge | Any code (Airwallex's sandbox asks for 1234) | Authenticated: the payment goes on |
| 3-D Secure challenge | Cancel payment, or Fail authentication (lab drawer) | authentication_declined: back to the shop, the payment failed |
| 3-D Secure challenge | Leave it 20 minutes (modeled) | The attempt EXPIRED: the payment failed |
| Refund amount (lab rule, from 10.00) | …55 | Stays RECEIVED for 20 s, then ACCEPTED; the webhook tells |
| Refund amount (lab rule, from 10.00) | …54 | FAILED: the balance cannot cover it |
| Payout amount (lab rule, from 10.00) | …51 | Refused: balance_insufficient |
| Payout amount (lab rule, from 10.00) | …13 | FAILED at the payee's bank (invalid account), then CANCELLED |
| Payout amount (lab rule, from 10.00) | …55 | Stays PROCESSING for 20 s, then PAID; the webhook tells |
| Payout IBAN | One that fails its check digits | Refused: validation_failed (beneficiary.bank_details.iban) |
| Amount (last two digits in minor units) | On | Effect |
|---|---|---|
| …13, from 10.00 | Transfer | FAILED at the beneficiary's bank (INVALID_ACCOUNT_NAME_OR_NUMBER), then CANCELLED |
| …51, from 10.00 | Transfer | Refused at create: 400 balance_insufficient |
| …54, from 10.00 | Refund | FAILED: the account's balance cannot cover it (failure_details insufficient_balance) |
| …55, from 10.00 | Refund or transfer | Stays RECEIVED (a refund) or PROCESSING (a transfer) for 20 s, then goes on; the webhook tells |
next_action and the return to return_url, the error envelope and codes, the webhook events and their signature, the sandbox's test cards and 3DS scenarios, the transfer simulation API.next_action.url (clients take the URL Airwallex answers), the 3DS timeout, how fast refunds and transfers move on, the lab's own error wording, the payout ceiling, the lab rules, the webhook registration stand-in, the issuer's page (the shared ACS page). Not played: the hosted payment page and Elements, saved cards and consents, APMs, the Customers and Beneficiaries APIs, FX quotes, transfers to cards (a beta for platforms) and wallets.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.
tokenizeCreditCard — the card (number, expirationMonth, expirationYear, cvv, cardholderName): a single-use payment method (tokencc_…, three hours). The sandbox takes its test numbers only (81717 otherwise)chargeCreditCard / authorizeCreditCard (and chargePaymentMethod, authorizePaymentMethod) — paymentMethodId, transaction (amount, merchantAccountId, orderId, descriptor), options.threeDSecureAuthentication, apiRequestKey: a Transaction SUBMITTED_FOR_SETTLEMENT or AUTHORIZED, or PROCESSOR_DECLINED, GATEWAY_REJECTED, FAILED with its status history; no top-level error for a decline, as Braintree answers. A sale settles 10 s later (the sandbox: its nightly batch), or at once with sandboxSettleTransactioncaptureTransaction (an amount for less), voidTransaction, refundTransaction (settled only: 91506 before; refund.orderId, an amount for part), reverseTransaction (a void before settlement, a refund after)node(id), transactions(input: {orderId, id}), refunds(input: {orderId}), viewer { merchant { merchantAccounts } }, ping, createClientToken, clientConfigurationcreatePayPalOneTimePayment → approvalUrl (the lab's PayPal checkout) and paymentId; PayPal sends the payer back to returnUrl?token=…&PayerID=…; tokenizePayPalOneTimePayment (payerId, paymentId) → tokenpp_…; chargePayPalAccount / authorizePayPalAccount; paypalOrderDetailscreateVenmoPaymentContext (intent CONTINUE, SINGLE_USE, MOBILE_WEB or NATIVE_WEB) → the context; the payer opens /braintree/venmo/go/checkout?resource_id=…&braintree_access_token=…&x-success=…&x-cancel=… (or /go/web); node(id) says APPROVED with its paymentMethodId (or CANCELED, EXPIRED after 10 minutes); chargeVenmoAccount / authorizeVenmoAccountPOST /braintree/merchants/{id}/client_api/v1/payment_methods/{nonce}/three_d_secure/lookup and …/authenticate_from_jwt, called by the stand-in braintree-web at /braintree/web/3.147.0/js/three-d-secure.min.js; the challenge is the shared issuer page in a frame over the merchant's pageBraintree'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.
| Card | Brand | Outcome |
|---|---|---|
4111111111111111 | Visa | Valid: the amount decides. With 3-D Secure on, the issuer's challenge first |
5555555555554444 | Mastercard | Valid: the amount decides. With 3-D Secure on, the issuer's challenge first |
378282246310005 | Amex | Valid: the amount decides |
4000111111111115 | Visa | Processor declined: 2000 Do Not Honor |
5105105105105100 | Mastercard | Processor declined: 2000 Do Not Honor |
3566002020360505 | JCB | Failed: 3000 Processor Network Unavailable |
4000111111111511 | Visa | Gateway rejected: fraud |
4000000000002701 | Visa | 3-D Secure: successful, no challenge |
4000000000002503 | Visa | 3-D Secure: successful challenge |
4000000000002370 | Visa | 3-D Secure: failed challenge, whatever you answer: gateway rejected (three_d_secure) |
4000000000002925 | Visa | 3-D Secure: failed, no challenge: gateway rejected (three_d_secure) |
4000000000002990 | Visa | 3-D Secure: not available on lookup: paid without liability shift |
4000000000002644 | Visa | 3-D Secure: error on authentication: the payment fails (3DS error) |
5200000000002235 | Mastercard | 3-D Secure: successful, no challenge |
5200000000002151 | Mastercard | 3-D Secure: successful challenge |
| Field | Value | Effect |
|---|---|---|
| Amount | 0.01–1999.99 | Authorized, then settled |
| Amount | 2000.00–2999.99 | Processor declined, the processor response equal to the amount (2001.00: 2001 Insufficient Funds, 2099.00: 2099 Cardholder Authentication Required) |
| Amount | 3000.00–3000.99 | Failed: 3000 Processor Network Unavailable – Try Again |
| Amount | 5001.00 | Gateway rejected: application incomplete |
| Amount (PayPal) | 5001.01 | Processor declined: 2038 Processor Declined |
| Amount (PayPal, Venmo) | 4001.00–4001.99 | Authorized, then settlement declined (the transaction_settlement_declined webhook) |
| Amount (PayPal) | 4002.00–4002.99 | Authorized, settlement pending for a minute, then settled (transaction_settled) |
| 3-D Secure challenge | Any code | Authenticated: the payment goes on |
| 3-D Secure challenge | Fail authentication (lab drawer) | Authentication failed: gateway rejected (three_d_secure) |
| 3-D Secure challenge | Cancel payment | The payer cancelled: nothing is charged |
| PayPal | The lab's PayPal checkout (any buyer, Agree & Pay) | Approved, then charged through Braintree; Cancel and return ends it cancelled |
| Venmo | Pay (or Cancel) on the Venmo paysheet | Approved and charged (or cancelled); left 10 minutes, the payment context expires |
| Refund | within 10 s of the payment | Not settled yet: a full refund is a void instead, a partial one is refused (91506) |
Braintree-Version, the mutations and queries named above with their inputs and payloads, the statuses (PaymentStatus) and status-history events, the processor response codes and gateway rejection reasons, the validation errors' legacy codes (81502, 81503, 81531, 81717, 91504, 91506, 91507, 91512, 91513, 91521, 91522, 91564, 91565, 91585), apiRequestKey idempotency, the test cards and amounts, the 3-D Secure statuses and liability shift, the PayPal and Venmo flows and their single-use payment methods, the webhook kinds, payload and signature.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.
POST /payments/v1/sessions: purchase_country, purchase_currency (the country's own),
locale, order_amount and order_lines in minor units (the lines must add up, each line's tax within 1),
merchant_reference1/2, merchant_urls.notification → {session_id, client_token, payment_method_categories}
(pay_now, pay_later, pay_over_time)POST /hpp/v1/sessions: payment_session_url (the KP session's API URL), merchant_urls
(success, cancel, back, failure, error, status_update; placeholders
{{session_id}}, {{order_id}}, {{authorization_token}}), options.place_order_mode
(NONE, PLACE_ORDER, CAPTURE_ORDER), options.payment_method_category (e.g. PAY_NOW) →
{session_id, redirect_url, session_url, qr_code_url, expires_at}. Statuses: WAITING, IN_PROGRESS, BACK, FAILED, ERROR
(still open), COMPLETED, CANCELLED, DISABLED (final); each change is POSTed to status_update as
{event_id, session}status AUTHORIZED, PART_CAPTURED, CAPTURED, CANCELLED, EXPIRED, CLOSED;
fraud_status ACCEPTED, PENDING, REJECTED), captures and refunds (201 with Capture-Id/Refund-Id and
Location; Klarna-Idempotency-Key replays the first answer), cancel, release, acknowledge;
403 CAPTURE_NOT_ALLOWED, REFUND_NOT_ALLOWED, CANCEL_NOT_ALLOWED, NOT_ALLOWED;
404 NO_SUCH_ORDERmerchant_urls.notification:
{order_id, event_type: FRAUD_RISK_ACCEPTED | FRAUD_RISK_REJECTED, decision_timestamp}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.
customer+de@klarna.com (any country code): approved; customer+de+denied@klarna.com: refused (FAILED);
customer+us+pend-accept-05@klarna.com / …+pend-reject-05@…: the order PENDING, accepted or rejected 5 minutes later
(any two digits); any other email: a new customer, approved9999994111111111111111 (pays), 4687388888888881 (3-D Secure first); direct debit IBAN DE11520513735120710131;
bank transfer: Demo BankMollie'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.
POST /mollie/v2/payments (amount, description, redirectUrl, cancelUrl, webhookUrl, method, captureMode, billingAddress, lines, locale,
metadata), GET …/{id}, GET /mollie/v2/payments, DELETE …/{id} (cancel), POST …/{id}/release-authorization,
…/{id}/refunds[/{refundId}], …/{id}/captures[/{captureId}], GET /mollie/v2/methods/mollie/checkout/{token} (_links.checkout) — Mollie's checkout as a test key gets it: the method list (no method given), the
card form, the phone number screen (MB WAY, Bizum, MobilePay, Vipps), then Mollie's test-mode screen where the tester picks the final status (Open, Paid
or Authorized, Failed, Canceled, Expired), and back to the redirect URL. On a computer the app methods draw the payer's phone beside the page.
?device=mobile|desktop forces either flow.| Method | Name | Consumers | Currencies | Session | Refunds | Manual capture |
|---|---|---|---|---|---|---|
creditcard | Card | global | EUR, GBP, USD, CHF, DKK, NOK, SEK, PLN, CZK, HUF, RON, BGN, ISK, AUD, CAD, NZD, JPY, HKD | 15 min | yes | yes |
ideal | iDEAL | NL | EUR | 15 min | yes | no |
bancontact | Bancontact | BE | EUR | 60 min | yes | no |
eps | eps | AT | EUR | 60 min | yes | no |
przelewy24 | Przelewy24 | PL | PLN, EUR | 60 min | yes | no |
blik | BLIK | PL | PLN | 1 min | yes | no |
twint | TWINT | CH | CHF | 15 min | yes | no |
paypal | PayPal | global | any | 360 min | yes | yes |
klarna | Klarna | AT, BE, DK, FI, FR, DE, IT, IE, NL, NO, PT, ES, SE, CH, GB, GR, PL, SK, CZ, RO, HU | EUR, DKK, SEK, NOK, CHF, GBP, PLN, CZK, RON, HUF | 2880 min | yes | yes |
bizum | Bizum | ES, AD | EUR | 4 min | yes | no |
mbway | MB WAY | PT | EUR | 4 min | yes | no |
multibanco | Multibanco | PT | EUR | 10080 min | yes | no |
mobilepay | MobilePay | DK, FI | DKK, EUR | 10 min | yes | yes |
vipps | Vipps | NO | NOK | 10 min | yes | yes |
swish | Swish | SE | SEK | 3 min | yes | no |
paysafecard | paysafecard | AT, 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, UY | EUR, CHF, GBP, NOK, PLN, RON, SEK | 120 min | no | no |
paybybank | Pay by Bank | AT, BE, CY, DE, EE, ES, FI, FR, GR, IE, IT, LT, LU, LV, MT, NL, PT, SI, SK, GB | EUR, GBP | 60 min | yes | no |
wero | Wero | DE, BE | EUR | 10 min | yes | no |
mybank | MyBank | IT | EUR | 30 min | yes | no |
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:
| Amount | failureReason |
|---|---|
| EUR 1001.00 | invalid_card_number |
| EUR 1002.00 | invalid_cvv |
| EUR 1003.00 | invalid_card_holder_name |
| EUR 1004.00 | card_expired |
| EUR 1005.00 | invalid_card_type |
| EUR 1006.00 | refused_by_issuer |
| EUR 1007.00 | insufficient_funds |
| EUR 1008.00 | inactive_card |
| EUR 1009.00 | possible_fraud |
| EUR 1010.00 | authentication_failed |
| EUR 1011.00 | card_declined |
| Amount (last two decimals) | On | Effect |
|---|---|---|
| …13, from 10.00 | payment | Paid on the test page: pending first, then paid 20 seconds later (a bank that confirms late) |
| …14, from 10.00 | payment | Paid on the test page: pending first, then failed 20 seconds later |
| …53, from 10.00 | create | The create answers 503: the payment method supplier is unavailable, nothing is created |
| …77, from 10.00 | refund | The refund goes pending, then failed (the payer's account was closed) |
_links.checkout, the webhook (a form post of the id), the test-mode screen and its
statuses, the test cards and magic amounts, the methods' currencies, limits and session timeouts, captures and release-authorization, the
idempotency rules, the error envelope (status, title, detail, field, _links) and the
unauthenticated 400 and 404.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.
POST /hipay/rest/v2/token/create — card_number, card_expiry_month, card_expiry_year, card_holder, cvc, multi_use: 201 with token, brand, the masked pan, issuer, countryPOST /hipay/rest/v1/order — orderid (at most 32 characters), operation (Sale or Authorization), payment_product, description, currency, amount, cardtoken, authentication_indicator, accept_url, decline_url, pending_url, exception_url, cancel_url, notify_url, the customer's fields: the Gateway's Transaction (state completed, forwarding, pending, declined, error; status; reason; forwardUrl). The challenge is left 30 minutes (modeled)POST /hipay/rest/v1/maintenance/transaction/{reference} — operation capture, refund or cancel, amount for less, operation_id (named back in the notification): 117, 124 or 175, then 118/119, 125/126 or 115 (refused: 173, 165)POST /hipay/v1/hpayment — payment_product_list (mbway, bizum, multibanco), time_limit_to_pay, expiration_limit (Multibanco: days, or H + hours): forwardUrl to HiPay's pageGET /hipay/v3/transaction/{reference}, GET /hipay/v3/order/{orderid} — API Gateway v3's transaction (with its operations, each with the merchant's merchant_reference) and order (with its transactions); GET /hipay/rest/v2/security-settings| Product | Method | Currencies | Countries | Served by |
|---|---|---|---|---|
ideal | iDEAL | EUR | NL | Order API (forwardUrl) |
bancontact | Bancontact | EUR | BE | Order API (forwardUrl) |
przelewy24 | Przelewy24 | PLN, EUR | PL | Order API (forwardUrl) |
twint | TWINT | CHF | CH | Order API (forwardUrl) |
mbway | MB WAY | EUR | PT | Hosted Page |
bizum | Bizum | EUR | ES | Hosted Page |
multibanco | Multibanco | EUR | PT | Hosted Page |
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).
| Card | Brand | Outcome |
|---|---|---|
4111111111111111 | Visa | 3-D Secure frictionless, then authorized |
4330264936344675 | Visa | 3-D Secure frictionless, then authorized |
5399999999999999 | Mastercard | 3-D Secure frictionless, then authorized |
4242424242424242 | Visa | 3-D Secure challenge (any answer on the issuer's page authenticates) |
4000000000000002 | Visa | 3-D Secure challenge |
5300000000000006 | Mastercard | 3-D Secure challenge |
5144144373781246 | Mastercard | Authentication fails: declined (109, 4000001 Declined) |
5454545454545454 | Mastercard | Authentication fails when 3-D Secure is mandatory (109); authorized otherwise |
4150551403657424 | Visa | Error 1010201 (Invalid Parameter) |
371449635311004 | Amex | SafeKey 2.1 frictionless, then authorized |
6703000000000000003 | Maestro | 3-D Secure frictionless, then authorized |
| Field | Value | Effect |
|---|---|---|
| 3-D Secure page | Confirm / Fail authentication / Cancel | Authorized / declined 109 (4000011) / cancelled 115 (4000008) |
| iDEAL (HiPay's stage simulator) | Success / Failure / Cancelled / Exception | Captured 118 / refused 113 / cancelled 115 / error (4000004) |
| Przelewy24 bank login | sandbox / sandbox | Logs in; Pay captures (118) |
| Bancontact, TWINT (the app) | Confirm / Cancel | Captured 118 / cancelled 115 |
| MB WAY number | 912345678 (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 number | 612345678 (nine digits starting with 6 or 7) | As MB WAY; unanswered for 5 minutes, it expires (114) |
| Multibanco | Pay 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 / …62 | Card refused 113: 4010101 / 4010103 insufficient funds / 4010204 expired / 4010201 not permitted / 4010304 restricted |
| Amount (lab rule) | …59 | Blocked by HiPay's fraud screening (110, 3030001) |
| Amount (lab rule) | …93 | Pending (200) for 2 minutes, then captured |
| Amount (lab rule) | …91 / …92 | The notification arrives 30 seconds late / never |
| Refund amount (lab rule) | …76 | The refund is refused (165) |
| Capture amount (lab rule) | …77 | The capture is refused (173) |
| Amount (last two digits in minor units) | On | Effect |
|---|---|---|
| …51, from 10.00 | Card payments | Refused (113): 4010103 Insufficient Funds |
| …54, from 10.00 | Card payments | Refused (113): 4010204 Card Expired |
| …57, from 10.00 | Card payments | Refused (113): 4010201 Transaction Not Permitted |
| …59, from 10.00 | Every payment | Blocked (110) by HiPay's fraud screening: 3030001 Fraud Suspicion |
| …62, from 10.00 | Card payments | Refused (113): 4010304 Restricted Card |
| …76, from 10.00 | Refunds | The refund is refused (165) |
| …77, from 10.00 | Captures | The capture is refused (173) |
| …91, from 10.00 | Every payment | The notification arrives 30 seconds late |
| …92, from 10.00 | Every payment | No notification is sent (only a status read tells) |
| …93, from 10.00 | Every payment | Pending (200) for 2 minutes, then authorized and captured |
| …05, from 10.00 | Card payments | Refused (113): 4010101 Refusal (No Explicit Reason) |
status (the lab answers the three-digit status; v3's own numbering is undocumented), the issuer's page (the shared ACS page), the methods' screens, the lab rules. Not played: MB WAY, Bizum and Multibanco through the Order API, PayPal v2 (HiPay's JS SDK), Apple Pay and Google Pay, payment pages for cards, recurring payments and debit agreements, accept/deny challenge, settlements. HiPay's public API has no payouts.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.
POST /clearhaus/authorizations — form-encoded: amount (minor units), currency, card[pan], card[expire_month], card[expire_year], card[csc], reference, text_on_statement, ip, and the 3-D Secure result in card[3dsecure][v2]: [ares] or [rreq] (the JSON message) or [raw][trans_status|eci|av|ds_trans_id|message_version|message_type], checked per scheme as Clearhaus requires (eci and av for Visa, ds_trans_id for Mastercard)POST /clearhaus/authorizations/{id}/captures — amount optional (the full or remaining amount); several captures up to the authorization, within 180 daysPOST /clearhaus/authorizations/{id}/refunds — amount optional; refunds of what was captured, within 365 days of the last capturePOST /clearhaus/authorizations/{id}/voids — no parameters; an approved authorization not fully captured, within 30 daysPOST /clearhaus/credits — amount, currency, the card, card[name] (required for Mastercard: the lab's accounts are gaming merchants, MCC 7995, so a Mastercard credit is a Payment of Winnings), referenceGET /clearhaus/account — the merchant account (merchant_id, descriptor, MCC, the acquirer's BINs)GET /clearhaus/{authorizations,captures,refunds,voids,credits}/{id} by the resources' HAL self links, and GET /clearhaus/authorizations/{id}/{captures,refunds,voids}, the collections an authorization's links name (_embedded)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.
| Card | Brand | Outcome |
|---|---|---|
4111111111111111 | Visa | Approved (Clearhaus' special test PAN) |
2221000000000009 | Mastercard | Approved (Clearhaus' special test PAN) |
5000000000000004 | Maestro | Approved (Clearhaus' special test PAN) |
4200000000000000 | Visa | The 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) |
5555555555554444 | Mastercard | The status code the amount names, as above (PANs starting 555555 and ending 4444) |
4242424242424242 | Visa | Approved |
4000000000003220 | Visa | Enrolled for 3-D Secure: 40416 Additional authentication required without your 3-D Secure result, approved with an authenticated one (Y or A) |
4000000000000341 | Visa | Enrolled for 3-D Secure, and the authentication fails: 40310 3-D Secure authentication failure (40416 without a 3-D Secure result) |
4000000000000002 | Visa | Declined: 40410 Declined by issuer or card scheme |
4000000000009995 | Visa | Declined: 40413 Insufficient funds |
4000000000000069 | Visa | Declined: 40135 Card expired |
4000000000000127 | Visa | Declined: 40120 Invalid CSC |
4100000000000019 | Visa | Declined: 40414 Suspected fraud |
4000000000000119 | Visa | 50000 Clearhaus error (an unknown outcome: read back later) |
| Amount (last two digits in minor units) | On | Effect |
|---|---|---|
| …52, from 10.00 | credit | The credit (payout) is declined: 40410 |
| …77, from 10.00 | refund | The refund is declined: 40410 |
Signature header, the form fields and their patterns, the HAL answers and links, the status codes and which transaction types answer each, the test PANs, the status-by-amount rule and the CSC 987, the 3-D Secure fields and their per-scheme requirements, the windows (180, 30 and 365 days), the currencies and their exponents.GET /account); the HTTP status of a decline (201, as an approval); the 404 body; the ceiling; which lab card core outcomes map to which status code; the lab rules. Not played: debits (Visa AFT and Mastercard funding, for selected MCCs), the other payment methods (Apple Pay, Google Pay, MobilePay Online, MOTO, tokens, Click to Pay, Vipps), series (recurring and unscheduled), travel data and merchant transaction rules.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).
POST /cybersource/pts/v2/payments — clientReferenceInformation.code, processingInformation (capture, commerceIndicator, actionList), paymentInformation.card, orderInformation (amountDetails.totalAmount a decimal string, billTo), deviceInformation, consumerAuthenticationInformation. With actionList: ["CONSUMER_AUTHENTICATION"], referenceId and returnUrl: the enrollment check with the authorization (frictionless cards authorized at once; an enrolled card answers PENDING_AUTHENTICATION with stepUpUrl and accessToken). With VALIDATE_CONSUMER_AUTHENTICATION and authenticationTransactionId: the validation with the authorization, a transaction of its own. A merchant's own 3DS result travels in consumerAuthenticationInformation (cavv, eciRaw, xid, ucafAuthenticationData)POST /cybersource/risk/v1/authentication-setups — the card: referenceId, accessToken, deviceDataCollectionUrl (a page that answers profile.completed)JWT = the accessToken to /cybersource/V2/Cruise/StepUp (the issuer's challenge, the shared ACS page) and is posted back to the returnUrl with TransactionId and MD. Unanswered for 10 minutes, the validation answers it unfinished.POST …/payments/{id}/captures (PENDING; partial or full, once, within 7 days, modeled), …/payments/{id}/refunds and …/captures/{id}/refunds (PENDING; partial or full), …/payments/{id}/reversals (REVERSED, in full), …/{payments|captures|refunds}/{id}/voids (VOIDED, before the batch)POST /cybersource/pts/v2/payouts — an OCT: processingInformation.businessApplicationId (OG online gambling payouts, FD funds disbursement, …), the card, the recipient and sender: ACCEPTED or DECLINED. Over 50,000 refused.GET /cybersource/tss/v2/transactions/{id} and POST /cybersource/tss/v2/searches (query: "clientReferenceInformation.code:<code>") — the applications (ics_auth, ics_bill, ics_credit, ics_auth_reversal, ics_void, ics_oct, ics_pa_enroll) with their reason codes, rCode and rFlagPOST /cybersource/notification-subscriptions/v2/webhooks and /kms/egress/v2/keys-sym — the lab delivers payments.authorization.status.accepted / .rejected, payments.capture.status.accepted, payments.refund.status.accepted, payments.reversal.status.accepted and payments.void.status.accepted to subscribed URLs, signed v-c-signature: t=…;keyId=…;sig=… with its published digital signature key (base64 of bistromathic-lab-simulated-flow). Its payloads are in clear; Cybersource's payment events also need message-level encryption.| Card | Brand | Outcome |
|---|---|---|
4111111111111111 | Visa | Approved (Cybersource's sandbox card) |
5555555555554444 | Mastercard | Approved (Cybersource's sandbox card) |
4000000000002701 | Visa | 3-D Secure: frictionless, then approved |
4000000000002503 | Visa | 3-D Secure: the issuer's challenge, then approved |
5200000000002151 | Mastercard | 3-D Secure: the issuer's challenge, then approved |
4000000000002370 | Visa | 3-D Secure: the challenge fails, declined |
4000000000002925 | Visa | 3-D Secure: frictionless authentication fails, declined |
4000000000002719 | Visa | 3-D Secure: attempted (stand-in), then approved |
4000000000002313 | Visa | 3-D Secure unavailable, approved without liability shift |
4000000000000002 | Visa | Declined: GENERAL_DECLINE |
4000000000009995 | Visa | Declined: INSUFFICIENT_FUND |
4000000000000069 | Visa | Declined: EXPIRED_CARD |
4000000000000127 | Visa | Declined: INVALID_CVN |
4100000000000019 | Visa | Declined: STOLEN_LOST_CARD |
| Amount (last two digits in minor units) | On | Effect |
|---|---|---|
| …52, from 10.00 | payout | The payout is declined: 201 DECLINED PROCESSOR_DECLINED |
| …76, from 10.00 | capture | The capture is refused: 400 INVALID_REQUEST EXCEEDS_AUTH_AMOUNT |
| …77, from 10.00 | refund | The refund is refused: 400 INVALID_REQUEST ACCOUNT_NOT_ALLOWED_CREDIT |
errorInformation.reason values, the bundled enrollment and validation with the step-up's JWT and returnUrl post, the 3-D Secure 2.x test cards, the OCT's business application identifiers, Transaction Search's applications, the notification envelope and v-c-signature.responseCode, the step-up and capture windows, the ceilings and lab rules, the issuer's page (the shared ACS page), and notification payloads in clear (Cybersource encrypts payment events with message-level encryption). Not played: JWT authentication with message-level encryption, tokens (TMS), Flex Microform, Unified Checkout, Decision Manager, incremental authorizations.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.
POST /nmi/api/transact.php — type: sale, auth, capture (partial or full; the same transaction), void (before the batch settles), refund (a transaction of its own, against a settled one, partial or full), credit (a payout with no original), validate, update; payment=creditcard (ccnumber, ccexp MMYY, cvv) or payment=check (checkname, checkaba, checkaccount, account_type, account_holder_type, sec_code), a Collect.js payment_token, or a customer_vault_id; Payer Authentication's cavv, xid, eci, cardholder_auth, three_ds_version, directory_server_id. The Customer Vault: customer_vault=add_customer, update_customer, delete_customer, alone or on a salePOST /nmi/api/query.php — transaction_id (a list), order_id, condition, transaction_type, action_type, start_date/end_date, result_limit, result_order; report_type=profile. Conditions pending, pendingsettlement, complete, canceled, failed, unknown; each transaction's actions (sale, auth, capture, void, refund, credit, settle, check_return)/nmi/token/Collect.js, inline ACH fields in a frame of the gateway's origin, the payment token in the callback) and Gateway.js (/nmi/js/v1/Gateway.js, get3DSecure().createUI({customerVaultId|paymentToken|cardNumber, currency, amount}): complete, failure, or the issuer's challenge on the shared page)transaction.<type>.success|failure|unknown, transaction.check.status.settle|return), JSON, Webhook-Signature: t=<nonce>,s=<hex HMAC-SHA256 of "nonce.body"> under the lab's published signing key, to the URL set at the lab's stand-in for the Merchant Portal, POST /nmi/merchants/webhooks (security_key, url); any HTTP 200 acknowledgesA 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.
| Card | Brand | Outcome |
|---|---|---|
4111111111111111 | Visa | Approved. 3-D Secure: not enrolled (attempted, ECI 07) |
5431111111111111 | Mastercard | Approved. 3-D Secure: not enrolled |
6011000991300009 | Discover | Approved |
341111111111111 | American Express | Approved. 3-D Secure: not enrolled |
30205252489926 | Diners Club | Approved |
3541963594572595 | JCB | Approved |
4100000000000100 | Visa | 3-D Secure: frictionless, verified (ECI 05), then approved |
5100000000000107 | Mastercard | 3-D Secure: frictionless, verified, then approved |
4100000000005000 | Visa | 3-D Secure: the issuer's challenge (Authenticate passes, as NMI's code 12345), then approved |
5100000000005007 | Mastercard | 3-D Secure: the issuer's challenge, then approved |
4000000000002925 | Visa | 3-D Secure: failed frictionless (TRANSACTION_STATUS_N): declined |
4000000000002313 | Visa | 3-D Secure: authentication unavailable (TRANSACTION_STATUS_U): declined |
4000000000009995 | Visa | Declined: 202 Insufficient funds (the lab's standard set) |
| Field | Value | Effect |
|---|---|---|
| Amount | under 1.00 | Declined: response 2, 200 DECLINE (NMI's rule) |
| Card number | fails the Luhn check | Error: response 3, Invalid Credit Card Number (NMI's rule) |
| Billing address / ZIP | 888 / 77777 | AVS match (Y); any other address N |
| CVV | 999 | CVV match (M); any other N (a CVV the lab gets encrypted: P) |
| Bank account (ACH) | routing 490000018, account 24413815 | NMI's test account: approved, settles |
| Bank account (ACH, lab rule) | account 1000000002 / 1000000003 / 1000000004 | Approved 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.04 | Declined: 201 Do not honor / 202 Insufficient funds / 203 Over limit / 204 Not allowed |
| Amount (lab rule) | 1.20 / 1.23 / 1.25 | Declined: 220 Incorrect payment information / 223 Expired card / 225 Invalid CVV |
| Amount (lab rule) | 1.50 / 1.52 / 1.53 / 1.64 | Declined: 250 Pick up card / 252 Stolen card / 253 Fraudulent card / 264 Retry in a few days |
| Amount (lab rule) | 1.30 / 1.61 | Error: response 3, 300 Rejected by gateway / 461 Unsupported card type |
| Amount (lab rule) | 1.42 | Error: response 3, 420 Communication error (condition unknown: the outcome is looked up) |
| 3-D Secure challenge | Fail authentication, or Cancel | Payer Authentication fails: the payment is declined (3-D Secure failed) |
| Payout amount (lab rule) | over 10,000.00 | Declined: 203 Over limit |
| Refund (lab rule) | within 2 minutes of the sale | The batch has not settled: a full refund is a void, a partial one is refused |
response and the response code table, the Query API's XML, conditions and action types, refunds as transactions of their own and captures and voids on the original, the Customer Vault calls, the test cards, the ACH test account, the amount-under-1.00 decline, the AVS and CVV triggers, Payer Authentication's test cards and the ThreeDSecureUI's events and values, Collect.js's and Gateway.js's calls, the webhook events, their bodies and the signature scheme.offline, partial payments, recurring and invoicing, Collect.js's card fields, Apple Pay and Google Pay, the REST API v5.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.
POST /authorizenet/xml/v1/request.api — createTransactionRequest with transactionType authCaptureTransaction (a sale), authOnlyTransaction, priorAuthCaptureTransaction (the authorization's own transId), voidTransaction (unsettled only), refundTransaction (with refTransId: a settled transaction, the card's last four or the bank account masked, eCheck as PPD or CCD; without: an unlinked credit to a full card, bank account or customer payment profile, Expanded Credit Capabilities); payment.creditCard, payment.bankAccount (eCheck: WEB, PPD, CCD, TEL) or payment.opaqueData (an Accept nonce, 15 minutes, once: else E00114); getTransactionDetailsRequest; getUnsettledTransactionListRequest; authenticateTestRequest; getMerchantDetailsRequest (its publicClientKey); securePaymentContainerRequest; createCustomerProfileFromTransactionRequest; getCustomerPaymentProfileRequest; updateCustomerPaymentProfileRequestauthorizedPendingCapture, capturedPendingSettlement, settledSuccessfully (the batch settles 2 minutes after a capture, modeled), voided, declined, refundPendingSettlement, refundSettledSuccessfully, FDSPendingReview, FDSAuthorizedPendingReview, returnedItem (with returnedItems), expiredGET /authorizenet/rest/v1/eventtypes, GET|POST /authorizenet/rest/v1/webhooks, GET|DELETE /authorizenet/rest/v1/webhooks/{id}. Webhooks (net.authorize.payment.*: authcapture, authorization, priorAuthCapture, refund, void, fraud.held/approved/declined) are signed X-ANET-Signature: sha512=…, the HMAC-SHA512 of the body with the lab's published Signature Key; any 200 acknowledgesGET /authorizenet/v3/AcceptUI.js (the stand-in for AcceptUI.js: a .AcceptUI button with its data- attributes opens the form in a lightbox) and /authorizenet/v3/acceptMain (the form: a bank account or a card, checked with Accept.js's E_WC_ codes; the nonce goes to the page's responseHandler)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.
| Card | Brand | Outcome |
|---|---|---|
4111111111111111 | Visa | Approved (the billing ZIP code decides; see below) |
4007000000027 | Visa | Approved (the ZIP code decides) |
4012888818888 | Visa | Approved (the ZIP code decides) |
5424000000000015 | Mastercard | Approved (the ZIP code decides) |
2223000010309703 | Mastercard | Approved (the ZIP code decides) |
370000000000002 | American Express | Approved (the ZIP code decides) |
6011000000000012 | Discover | Approved (the ZIP code decides) |
3088000000000017 | JCB | Approved (the ZIP code decides) |
38000000000006 | Diners Club | Approved (the ZIP code decides) |
4000000000009995 | Visa | Declined, reason 2 (the lab's standard set: insufficient funds is Authorize.net's general decline) |
| Field | Value | Effect |
|---|---|---|
| Billing ZIP code | 46282 | Declined: response code 2, reason 2 (general bank decline) |
| Billing ZIP code | 46205 | Declined: reason 27, AVS N (address and ZIP do not match) |
| Billing ZIP code | 46201 / 46217 / 46211 / 46214 | Approved, AVS A / Z / W / X |
| Billing ZIP code | 46203 / 46207 / 46204 / 46209 / 46208 | Approved, AVS E / R / G / U / S |
| Amount (deprecated triggers) | 70.02 / 70.03 | Declined: reason 2 / reason 3 (referral) |
| Amount (deprecated trigger) | 70.05 | Error: reason 35 (call the merchant service provider) |
| Amount (lab rule) | 4.44 | Held for review (reason 252, Amount Filter), approved by review a minute later |
| Amount (lab rule) | 4.45 | Held for review, then declined by review |
| eCheck amount | over 100.00 | Declined: response code 2 (the sandbox's eCheck limit; $5,000 a month in all) |
| eCheck amount ending in (lab rule) | .91 / .92 / .93 | Accepted, then returned after the batch settles: R01 / R02 / R03 |
| Payout amount (lab rule) | 54.54 | Refused: reason 54 (the account has no Expanded Credit Capabilities) |
| Refund | before the batch settles (2 minutes) | Refused: reason 54; a full refund is then made as a void |
api.authorize.net/xml/v1/schema/AnetApiSchema.xsd, the response reason codes, the Testing Guide, the Webhooks, eCheck and Accept.js pages, and the real sandbox's answers to unauthenticated requests): the hosts and paths, every method's elements and their XSD order (E00003), HTTP 200 and the byte-order mark, messages and transactionResponse, the response and reason codes, the transaction statuses and types, the void/refund/capture rules, eCheck's account and entry types (WEB debits, PPD/CCD credits, 244/247), unlinked credits, the Accept nonce and its E_WC_ codes, customer profiles, the Webhooks REST API, the webhook payloads and X-ANET-Signature, the sandbox's test cards, ZIP codes, card codes, deprecated amounts and eCheck's $100 and $5,000 limits.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.
POST /elavon/transactions — type sale (default): total {amount as a string, currencyCode}, card {number, expirationMonth, expirationYear, securityCode, holderName, billTo}, shopperInteraction (ecommerce by default), doCapture, customReference, orderReference, shopperEmailAddress, shopperIpAddress, threeDSecure {directoryServerTransactionId, transactionStatus, protocolVersion, electronicCommerceIndicator, authenticationValue}; void and refund with a parentTransaction (its href or id); a refund without one, with the card and fundsTransfer {originalCreditTransactionType, fundingSource, sender, receiver}: a payout (original credit)GET /elavon/transactions/{id}, and GET /elavon/transactions with EPG's filters (filter=customReference_eq_…, type_eq_refund, parentTransaction_eq_…, state_in_…, createdAt_ge_…), limit and pageTokenPOST /elavon/transactions/{id} {"doCapture": true} — captures an authorization (in full)GET /elavon/notifications (pull, filter=createdAt_ge_…) and /notifications/{id}; pushed to the merchant's webhook, signed signature-bistromathiclab2v24rpkw4hjm8: Base64(SHA-512(Base64-decoded secret ‖ body)) with the lab's published shared secret YmlzdHJvbWF0aGljLWxhYi1zaW11bGF0ZWQtZmxvdw==. Elavon's support registers a webhook; here POST /elavon/lab/webhooks {"url"} does. EPG wants 201 back.GET /elavon/merchants — the merchant the alias acts forA 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.
| Card | Brand | Outcome |
|---|---|---|
4546341111111119 | Visa | Approved with a whole amount (Elavon's test card, Visa Credit); a fractional amount goes to the amount rules below |
4539785000002517 | Visa | Approved with a whole amount (Elavon's test card, Visa Debit) |
5432673003275469 | Mastercard | Approved with a whole amount (Elavon's test card, MasterCard Credit) |
5108406713369360 | Mastercard | Approved with a whole amount (Elavon's test card, MasterCard Debit) |
6772555678901238 | Maestro | Approved with your 3-D Secure result; declined maestro3dsRequired without one (EPG requires 3-D Secure on Maestro e-commerce) |
341382706525920 | Amex | Approved with a whole amount (Elavon's test card) |
4380564306105898 | Visa | Declined by the issuer (declinedByIssuer, Elavon's test card) |
4539357499250369 | Visa | Declined by the processor (declinedByProcessor, Elavon's test card) |
4242424242424242 | Visa | Approved |
4000000000003220 | Visa | Needs 3-D Secure: declined 3dsEnforcedOnEcommerceSales without your 3-D Secure result, approved with an authenticated one (transStatus Y or A) |
4000000000000341 | Visa | Needs 3-D Secure, and the authentication fails: declined 3dsEnforcedOnEcommerceSales |
4000000000000002 | Visa | Declined: declinedByIssuer, doNotHonor |
4000000000009995 | Visa | Declined: declinedByIssuer, insufficientFunds |
4000000000000069 | Visa | Declined: declinedByProcessor, cardExpired |
4000000000000127 | Visa | Declined: declinedByIssuer, cvvMismatch |
4100000000000019 | Visa | Declined: declinedByGateway, highRiskPan (suspected fraud) |
| Amount (last two digits in minor units) | On | Effect |
|---|---|---|
| …52, from 10.00 | payout | the payout (OCT) is declined (declinedByIssuer, transactionNotPermittedToIssuerCardholder) |
| …77, from 10.00 | refund | the refund is declined (declinedByGateway, notSuccessful) |
| …97, from 10.00 | sale | held for review (heldForReview, isHeldForReview) for 30 seconds, then released: authorized, and saleAuthorized is notified |
Accept-Version: 1, the transaction resource and its fields, the transaction types and states, sales, captures by doCapture, voids and refunds by parentTransaction and their refusals (parentNotRefundable, refundAmountOverflow, voidParentAlreadySettled, …), "Only transactions that have already been settled can be refunded", the declined transaction's failures, the 400 envelope, the filters and pagination, the threeDSecure object and its patterns, "3DS is only allowed on e-commerce transactions", maestro3dsRequired, the OCT types, the notification body, its event types, its SHA-512 signature and the 201 it wants, and Elavon's test cards ("use whole amounts").fundsTransfer.originalCreditTransactionType and the gambling payout types but documents no OCT request; the lab takes a refund without a parent, with the card); the clocks (the batch, the review hold); which cards need 3-D Secure (EPG declines any e-commerce sale without it; the lab only the enrolled cards and Maestro); the ceiling; which lab card core outcomes map to which failure codes; the lab rules; the webhook registration stand-in. Not played: hosted payment pages and payment sessions, hosted and stored cards, shoppers, orders, payment links, subscriptions, ACH, Apple Pay, Google Pay, Paze, BLIK, surcharges, currency conversion, partial captures and total adjustments.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.
POST /ecommpay/v2/payment/card/sale, /card/auth — acknowledged ({status: "success", request_id, project_id, payment_id}); the outcome follows in callbacks. The customer must carry id, ip_address, email, phone and screen_res (Gate API 3.38), or the callback says 702 with the fields in errorsPOST /ecommpay/v2/payment/card/3ds_check_iframe, /card/3ds_result — the 3-D Secure continuationsPOST /ecommpay/v2/payment/card/capture, /card/cancel (a hold only), /card/refund; /v2/payment/card/payout — a payout to a card, never 3-D Secureredirect_data {method, url, body} sends the payer to the method's page (Ecommpay's emulator), the payer comes back to return_url, and the final callback follows. payment.best_before ends an unpaid sale sooner than the method's threshold timePOST /ecommpay/v2/payment/status — authoritative, signed; an unknown payment is {payment:{status:"error"}, errors:[{code:"3061"}]}. It carries account (the card, or the Skrill or Neteller email), never redirect_data or threeds2/ecommpay-lab/acs/{project}/… — the card issuer's ACS; /ecommpay-lab/pay/{project}/{payment} — a local method's pageCallbacks 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.
| Method | Sale | Refund | Payout | Where, in what | Threshold |
|---|---|---|---|---|---|
Skrill (skrill) | /v2/payment/wallet/skrill/sale | /v2/payment/skrill/refund | /v2/payment/skrill/payout | worldwide; AUD, CAD, CHF, DKK, EUR, GBP, HUF, NOK, PLN, RON, SEK, USD | 1 d |
Neteller (neteller) | /v2/payment/wallet/neteller/sale | — | /v2/payment/wallet/neteller/payout | worldwide; per project | 1 d |
AstroPay (astropay) | /v2/payment/wallet/astropay/sale | — | /v2/payment/wallet/astropay/payout | AR, BR, CL, CO, MX, PE; ARS, BRL, CLP, COP, MXN, PEN, USD | 1.0416666666666667 d |
Pix (pix) | /v2/payment/pix/sale | — | — | BR; BRL; up to R$50,000.00 | 1 d |
iDEAL | Wero (ideal) | /v2/payment/online-banking/ideal/sale | /v2/payment/online-banking/ideal/refund | — | NL; EUR; from €0.01 | 1 d |
BLIK (blik) | /v2/payment/blik/sale | /v2/payment/blik/refund | — | PL; PLN; from PLN 0.01, up to PLN 10,000.00 | 1 d |
Przelewy24 (przelewy24) | /v2/payment/online-banking/przelewy24/sale | /v2/payment/refund | — | PL; PLN, EUR; from PLN 1.00, up to PLN 55,000.00 | 1 d |
Bancontact (bancontact) | /v2/payment/bancontact/sale | /v2/payment/bancontact/refund | — | BE; EUR; from €1.00 | 30 d |
eps (eps) | /v2/payment/bank-transfer/eps/sale | — | — | AT; EUR; from €1.00, up to €10,000.00 | 2 d |
MB WAY (mb-way) | /v2/payment/wallet/mbway/sale | /v2/payment/refund | — | PT; EUR; from €0.01, up to €5,000.00 | 4 min |
Swish (swish) | /v2/payment/banks/swish/sale | /v2/payment/refund | — | SE; SEK; from SEK 0.01, up to SEK 500,000.00 | 3 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.
processing (9999), the outcome after 1.5 s. Local methods: the redirection after 1 s.acs_return_url): after 3 s awaiting 3ds result and the callback with threeds2.iframe;
1.5 s after 3ds_check_iframe (or 30 s without it) the frictionless outcome, or the callback with threeds2.redirect (creq, threeDSSessionData);
the outcome 1 s after 3ds_result. No 3ds_result within 30 min: declined 108.acs_return_url.return_url): the callback with acs {acs_url, pa_req, md}, then 3ds_result with pares.3ds_check_iframe on a payment already concluded drops it back to processing with 3060 and the acquirer's 11206, for good.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.
| Card | Brand | Purchase |
|---|---|---|
4000 0000 0000 0077 | VISA | success, no 3-D Secure |
4111 1111 1111 1111 | VISA | decline, no 3-D Secure (10000 General decline) |
4000 0000 0000 0119 | VISA | success, no 3-D Secure (Ecommpay's COF registration card; COF debits are not simulated) |
4000 0000 0000 0135 | VISA | success, no 3-D Secure (Ecommpay's COF registration card; COF debits are not simulated) |
4539 1214 1116 8251 | VISA | decline after an issuer timeout: answers after 10 s with 10602 Time-out |
4314 2200 0000 0056 | VISA | success after the challenge (the ACS page asks for the code) |
4477 0000 0000 0006 | VISA | success, 3-D Secure frictionless (device fingerprint, no challenge) |
5413 3300 0000 0019 | MASTERCARD | success after the challenge (the ACS page asks for the code) |
5544 3300 0000 0045 | MASTERCARD | decline after the challenge, whatever is answered (10114 Declined by 3DS Check) |
5252 0000 0000 0004 | MASTERCARD | success, 3-D Secure frictionless (device fingerprint, no challenge) |
| Card | Brand | Payout |
|---|---|---|
4242 4242 4242 4242 | VISA | payout success |
4314 2200 0000 0072 | VISA | payout decline (10000 General decline) |
5413 3300 0000 0019 | MASTERCARD | payout success |
5413 3300 0000 0035 | MASTERCARD | payout decline (10000 General decline) |
| Amount | Effect |
|---|---|
| …14 | decline: 101021 Incorrect PAN |
| …34 | refused by RCS at creation: 1434 Duplicate operation |
| …41 | refused by RCS at creation: 1401 PAN is Blacklisted |
| …54 | decline: 10106 Card expired |
| …59 | decline: 10402 Suspicious operation |
| …79 | decline: 10103 Incorrect PIN or CVV |
| …88 | 3-D Secure frictionless (device fingerprint), then success |
| …91 | decline: 10202 Issuer inoperative |
| …96 | payment status error: 10505 PSP system is inoperative |
| …97 | decline after 10 s: 10602 Time-out |
| …98 | challenge, then authentication fails whatever is answered: 104 |
| …99 | challenge, then success |
| …02 | decline: 10000 General decline |
| …05 | decline: 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 (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.
POST /nomupay/v1/payments?idempotencyKey=… — processingAccountId (27 characters), merchantReference, amount {value, currency} (a decimal number, the currency in lower case), paymentMethod {type: "visa" | "mastercard" | "maestro", <type>: {account: {number, expiryMonth, expiryYear, cvv, holderName}, capture: "auto" | "manual", threedsPassThrough: {version, eci, authenticationValue, transactionId}, …}}, metadata; unknown fields are refused (400 invalid_request with invalidParams), as Nomupay refuses them → 200 {id, merchantReference, status, reason, paymentMethod: {type, scheme}}POST /nomupay/v1/payments/{id}/captures (type final by default, or not_final), /cancels, /refunds — processingAccountId (the payment's), merchantReference, amount → 200 {id, paymentId, merchantReference, status, reason}; an operation the payment's state does not allow is 400 invalid_operationPOST /nomupay/v1/credits — a payout to a Visa or Mastercard card (no CVV) → 200 {id, merchantReference, status, reason}GET /nomupay/v1/payments/{id} — a payment or a credit with its lifecycle status (approved, captured, partially_refunded, …), its amounts and its events (payment, capture, cancel, refund)GET /nomupay/v1/transactions/{id} — any one operation (a payment, capture, cancel, refund or credit) with its own status; an operation names its paymentIdGET /nomupay/v1/requests/{payments|captures|cancels|refunds|credits}?processingAccountId=…&idempotencyKey=… — the answer a request got, kept a week; a replayed request (the same key) gets the same answer, with AgeGET /nomupay/v1/tracks/payments/{token} — a pending payment's trackingUrlPUT /nomupay/lab/webhook-endpoint {url} — the lab's stand-in for the webhook endpoint a merchant gives Nomupay's support team at onboarding; webhooks ({id, live, type, version, createTime, payload}, types payment, capture, cancel, refund, credit) go there| Card | Brand | Outcome |
|---|---|---|
4000000000000002 | Visa | Approved (Nomupay's Visa test card; unlike the lab's other card connectors, where it declines) |
5555555555554444 | Mastercard | Approved (Nomupay's Mastercard test card) |
6703444444444449 | Maestro | Approved (Nomupay's Maestro test card) |
4242424242424242 | Visa | Approved |
4000000000003220 | Visa | Enrolled for 3-D Secure: declined required_authentication without your 3-D Secure result, approved with an authenticated one (ECI 05 or 06) |
4000000000000341 | Visa | Enrolled for 3-D Secure, and the authentication fails: declined required_authentication |
4000000000009995 | Visa | Declined: insufficient_funds |
4000000000000069 | Visa | Declined: expired_card |
4000000000000127 | Visa | Declined: failed_security_code |
4100000000000019 | Visa | Declined: suspected_fraud |
4000000000000119 | Visa | Failed: processing_error |
4000000000000051 | Visa | Pending (unknown_status), then succeeded 10 s later with a payment webhook |
| Field | Value | Effect |
|---|---|---|
| Amount | 9000.00 | Declined: rejected_by_issuer (Nomupay's sandbox) |
| Amount | 9100.00 | Failed: processing_error (Nomupay's sandbox) |
| CVV (sent in clear only) | 900 / 901 / 902 / 903 / 904 | CVV result M / N / P / U / S (Nomupay's sandbox; BabelPay's checkout sends the CVV encrypted, which the lab reads as M) |
| Billing street | 900 … 917 | AVS 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 / …96 | rejected_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 / …98 | Enrolled for 3-D Secure: approved / declined with an authenticated 3-D Secure result; required_authentication without one |
| Amount (lab rule, from 10.00) | …97 | Pending (unknown_status), then succeeded 10 s later with a payment webhook |
| Refund amount (lab rule, from 10.00) | …77 | The refund is declined: rejected_by_issuer |
| Payout amount (lab rule, from 10.00) | …52 | The credit is declined: rejected_by_issuer |
| Amount (last two digits in minor units) | On | Effect |
|---|---|---|
| …52, from 10.00 | credit | The credit is declined: rejected_by_issuer |
| …77, from 10.00 | refund | The refund is declined: rejected_by_issuer |
| …97, from 10.00 | payment | Pending (unknown_status), then succeeded 10 s later, with a payment webhook |
redocusaurus/online-payments-api-v1.yaml; its Postman collection's signing script): the hosts and paths, the ES256 detached JWS and its header, the HS256 signatures on answers and webhooks, the request and answer bodies (closed to unknown fields), the operation and lifecycle statuses, the reason codes and their HTTP statuses, idempotency keys (8–50 characters, a week), tracking URLs, the webhook envelope and retry rules, the ECIs each scheme takes, and the sandbox's test cards, amounts, AVS streets and CVV values.unknown_status payment stays pending, and the webhook endpoint's registration (Nomupay's support team sets it). Not played: Nomupay's alternative payment methods (Bizum, BLIK, iDEAL, Swish, Trustly, GCash, …: not_allowed), tokens, increments, secure remote payments (Apple Pay, Google Pay), standing instructions and funds transfers.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.
POST /ebanx/ws/direct: Pix (a BR Code and its page), Boleto (due_date), SPEI (a CLABE), OXXO Pay, Efecty, PSE
(achpse, with bank_details.bank_code), Yape, and cards (payment.card, ciphertext with BabelPay's BIN/last-four hint)
with 3-D Secure for Brazil's mock cards. expiration_time_in_seconds honoured. Errors as EBANX's (HTTP 200, status: ERROR):
BP-DR-0 duplicate code, BP-DR-6/7 limits, BP-DR-22/23 CPF, BP-DR-35 type, BP-DR-81 currency, BP-DR-90 blacklist, BP-DR-91 PSE bank.POST /ebanx/ws/request (the Payment Page, eft for PSE): OP until the payer picks a bank on EBANX's page./ws/query (hash or merchant_payment_code), /ws/cancel (OP/PE), /ws/refund (request/cancel:
RE, PE a second later, then CO), /ws/getBankList, /ws/simulator/payment.operation=payment_status_change¬ification_type=update|refund&hash_codes=… (payouts:
payout_status_*) to the payment's notification_url, else the merchant's; X-Signature-Type: rsa,sha1,
X-Signature-Fingerprint: 208D0BAD1B8B9C046D4EF560B8BA3F72384A43F4, X-Signature-Content under the lab's published key./ebanx/ws/payout/create (OP; br, mx, co, cl, pe; pix_key, bre_b, a CLABE in
bank_info.bank_details), /commit (CM; or six hours later), /retrieve, /cancel (OP only). PE a second after
the commit, then PA./ebanx/checkout?hash= and the payment's own URLs: EBANX's pages. ?device=mobile|desktop forces either flow.GET|PUT /ebanx-lab/merchant?integration_key=… {"merchant_name", "notification_url"} (lab only): the Merchant Area's settings.| Code | Method (option) | Countries | Limits (local, modeled) | Default expiry (modeled) |
|---|---|---|---|---|
pix | Pix (pix) | BR | 1–50,000 | 5 h |
boleto | Boleto Bancário (boleto) | BR | 5–50,000 | 3 days |
spei | SPEI (spei) | MX | 10–500,000 | 3 days |
oxxopay | OXXO Pay (oxxo) | MX | 10–10,000 | 3 days |
efecty | Efecty (efecty) | CO | 5,000–5,000,000 | 3 days |
eft | PSE (pse) | CO | 5,000–20,000,000 | 20 min |
yape | Yape (yape) | PE | 1–2,000 | 10 min |
creditcard | Credit card (card) | BR, MX, CO, CL, PE | server to server | 15 min |
debitcard | Debit card (card) | BR, MX, CO, CL, PE | server to server | 15 min |
| Card | Brand | Scenario |
|---|---|---|
4111111111111111 | Visa | Approved |
4111115666052208 | Visa | Approved |
5555555555554444 | Mastercard | Approved |
5555556355564617 | Mastercard | Approved |
378282246310005 | American Express | Approved |
6362970000457013 | Elo | Approved |
6062825624254001 | Hipercard | Approved |
30569309025904 | Diners Club | Approved |
5062224607440872 | CARNET | Approved (Mexico) |
4242424242424242 | Visa | Approved (Mexico debit) |
4716909774636285 | Visa | Declined: insufficient funds |
5102026827345142 | Mastercard | Declined: invalid data |
6011088896715918 | Discover | Declined: card expired |
378568775709157 | American Express | Declined: not approved |
4000000000001000 | Visa | Brazil 3DS: approved without a challenge |
4000000000001091 | Visa | Brazil 3DS: insufficient funds after the challenge |
4000000000001042 | Visa | Brazil 3DS: invalid card after the challenge |
5200000000001096 | Mastercard | Brazil 3DS: approved after the challenge |
5200000000001005 | Mastercard | Brazil 3DS: insufficient funds after the challenge |
| Amount | Effect |
|---|---|
payment …05 | The payer's bank declines after the payer pays: CA, DO_NOT_HONOUR |
payment …08 | Paid (CO), but EBANX sends no notification: only the query (or reconciliation) tells |
refund …77 | The refund is cancelled by EBANX (CA) instead of confirmed |
payout …57 | The payout is cancelled by the receiving bank (CA, INCORRECT_CUSTOMER_DATA) |
payout …93 | The 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'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.
POST /mercadopago/v1/card_tokens?public_key=… — the card (card_number, security_code, expiration_month, expiration_year, cardholder
name and identification); single use, 7 days. A card arriving as vault ciphertext is read from BabelPay's BIN and last-four headers.POST /mercadopago/v1/orders — automatic mode with one transaction: a card by its token (capture_mode: manual reserves it;
config.online.transaction_security runs 3-D Secure: the challenge's payment_method.transaction_security.url is Mercado Pago's
frame, which posts {status: "COMPLETE"} to its parent), Pix, SPEI (clabe), OXXO, PSE, boleto, Rapipago and Pago Fácil, with
their ticket_url, qr_code, reference or redirect_url; a declined card is 402 with
errors and data. Manual mode with no transactions is Checkout Pro: checkout_url, back to
config.online.success_url / failure_url / pending_url with Mercado Pago's parameters; allowed_user_type:
account_only is the wallet, and excluding every type but bank_transfer (Colombia) leaves PSE.GET /mercadopago/v1/orders/{id}, GET /mercadopago/v1/orders?begin_date&end_date&external_reference,
POST …/{id}/capture (the whole amount), …/cancel (created or action_required), …/refund (no body: the rest;
transactions[{id, amount}]: part)POST /mercadopago/v1/payouts (202) — to Mercado Pago accounts (account.email), bank accounts (holder, number, bank_id,
owner_value, owner_type, account_type) or, in Brazil, Pix keys (pix.type, pix.chave); X-test-token and
X-enforce-signature as documented (the Ed25519 X-signature is never checked, only required when enforced). Each transaction is
created, approved, then success / accredited, notified to config.notification_url. GET …/{id},
…/{id}/transactions, …/{id}/transactions/{tid}.GET /mercadopago/v1/payment_methods — the site's methods.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.
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:
| Name | Transaction | Mercado Pago's scenario |
|---|---|---|
APRO | processed / accredited | Approved payment |
OTHE | failed / rejected_by_issuer | Declined for general error |
CONT | processing / in_process | Pending payment (approved 20 seconds later in the lab) |
CALL | failed / required_call_for_authorize | Declined with validation to authorize |
FUND | failed / insufficient_amount | Declined for insufficient amount |
SECU | failed / bad_filled_card_data | Declined for invalid security code |
EXPI | failed / bad_filled_card_data | Declined due to due date issue |
FORM | failed / bad_filled_card_data | Declined due to form error |
CARD | failed / invalid_card_token | Rejected for missing card_number |
INST | failed / invalid_installments | Rejected for invalid installments |
DUPL | failed / max_attempts_exceeded | Rejected for duplicate payment |
LOCK | failed / card_disabled | Rejected for disabled card |
CTNA | failed / rejected_by_issuer | Rejected for non-permitted card type |
ATTE | failed / max_attempts_exceeded | Rejected due to exceeded PIN attempts |
BLAC | failed / high_risk | Rejected for being on the blacklist |
UNSU | failed / processing_error | Not supported |
With 3-D Secure (validation other than never):
| Name | Challenge | 3DS status | Transaction |
|---|---|---|---|
APRO-AUTH | no | authenticated | processed / accredited |
APRO-ATMT | no | attempted | processed / accredited |
OTHE-NAUT | no | not_authenticated | failed |
APRO-CHOK | yes | authenticated | processed / accredited |
OTHE-CHNO | yes | not_authenticated | failed |
| payment_method.id | Name | Type | Site | Default validity |
|---|---|---|---|---|
pix | Pix | bank_transfer | MLB | P1D |
clabe | SPEI | bank_transfer | MLM | P1D |
oxxo | OXXO | ticket | MLM | P3D |
pse | PSE | bank_transfer | MCO | PT20M |
bolbradesco | Boleto | ticket | MLB | P3D |
rapipago | Rapipago | ticket | MLA | P3D |
pagofacil | Pago Fácil | ticket | MLA | P3D |
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.
| Amount (last two decimals) | On | Effect |
|---|---|---|
| …13, from 10.00 | Payout | The transaction is rejected by the destination bank (rejected / by_bank) |
| …14, from 10.00 | Payout | The transaction fails (error / failed) |
| …15, from 10.00 | Payout | Rejected: the origin account lacks the funds (rejected / insufficient_funds) |
| …53, from 10.00 | Create order | 500 internal_error: nothing is created (Mercado Pago's own failure) |
COMPLETE message, Checkout Pro's checkout_url and return parameters, the webhook's query,
body and x-signature, the payout headers and statuses, the test cards and cardholder names, the Pix test, and the unauthenticated 403,
400 and 401.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.
POST /viva/checkout/v2/orders (amount in minor units, currencyCode, sourceCode, paymentTimeout, preauth, merchantTrns, customerTrns,
customer) answers {"orderCode": …}, a 16-digit number written as a JSON number (the lab's are above 2^53); GET /viva/web/checkout?ref=…
(with paymentMethod to preselect a method, color for the merchant's colour) is Smart Checkout. It ends at the payment source's
success or failure URL with t (the transaction), s (the order), lang, eventId and eci.GET /viva/checkout/v2/transactions/{id} (statusId F, A, C, E, R, X); DELETE /viva/acquiring/v1/transactions/{id}?amount=… voids a
pre-authorization or refunds a charge or capture (idempotencyKey honoured); POST …/{id}:charge captures a pre-authorization.GET|DELETE /viva/api/orders/{orderCode} (StateId 0 pending, 1 expired, 2 canceled, 3 paid),
GET /viva/api/transactions?ordercode=…, POST /viva/api/sources (domain, isSecure, pathSuccess, pathFail),
GET /viva/api/messages/config/token.POST /viva/banktransfers/v1/bankaccounts (iban, beneficiaryName, friendlyName) and
POST …/bankaccounts/{id}:send (amount, walletId, description): Command Bank Transfer Created at once, Executed 3 seconds later.POST /viva/lab/webhooks {"url": …} (Basic): the lab's stand-in for the dashboard's Webhooks page, verified with the GET.| Method | paymentMethod | Charge / refund type | Currencies |
|---|---|---|---|
| Card | 0 | 5 / 4 | every Viva currency |
| iDEAL | 10 | 23 / 24 | EUR |
| Przelewy24 | 11 | 25 / 26 | PLN, EUR |
| BLIK | 12 | 27 / 28 | PLN |
| eps | 17 | 38 / 39 | EUR |
| PayPal | 23 | 48 / 49 | EUR, GBP, PLN, CZK, HUF, DKK, SEK, NOK, CHF |
| Trustly | 24 | 50 / 51 | EUR, SEK, DKK, NOK, PLN, GBP |
| Bancontact | 27 | 58 / 59 | EUR |
| Card | Brand | Outcome |
|---|---|---|
4147463011110133 | Visa | Viva's test Visa: successful |
4147463011110141 | Visa | Viva's test Visa: failed (EventId 10005) |
5239290700000101 | Mastercard | Viva's test Mastercard: successful |
5239290700000119 | Mastercard | Viva's test Mastercard: failed (EventId 10005) |
5188340000000060 | Mastercard | Viva's demo-mode Mastercard (its WooCommerce guide): successful |
4000000000003220 | Visa | The lab's 3-D Secure challenge card |
5200828282828210 | Mastercard | The 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):
| Amount | EventId | Meaning |
|---|---|---|
| 99.05 | 10005 | Do not honour |
| 99.06 | 10006 | General error |
| 99.14 | 10014 | Invalid card number |
| 99.41 | 10041 | Lost card |
| 99.51 | 10051 | Insufficient funds |
| 99.54 | 10054 | Expired card |
| 99.57 | 10057 | Function not permitted to cardholder |
| Amount (last two decimals) | On | Effect |
|---|---|---|
| …13, from 10.00 | Deposit by iDEAL, Przelewy24, BLIK, eps, PayPal, Trustly or Bancontact | Pending (A), then successful (F) 20 seconds later; the webhook tells |
| …77, from 10.00 | Refund | Refused (400): the refund cannot be made |
| …51, from 10.00 | Bank transfer (payout) | Refused (400): the wallet's balance is insufficient |
| …55, from 10.00 | Bank transfer (payout) | Executed 20 seconds later instead of 3; the webhook tells |
paymentMethod ids, the redirect parameters, the transaction's fields, statusIds and
transaction types, the classic order's StateIds, the refund/void and capture calls, the webhook's verification GET, envelope and event types, the
test cards, the decline amounts and the response codes (EventId), and the unauthenticated 401s.{"message", "status"}), what a refund, void or capture answers beyond its
transactionId, the bank transfer API's request and response fields beyond the IBAN, beneficiary and wallet, its webhooks' EventData,
POST /api/sources' answer, the two failing test cards' response code (10005), the 3-D Secure challenge cards (the lab's), the
bank methods' decline code (10005), eci's values, Smart Checkout's layout and the bank's screens, and the lab rules. Viva's
developer portal answers no fetcher, so these come from its plugins and SDKs and from search results of its pages.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.
GET /paymentwall/api/subscription — the widget call: key, uid, widget, amount,
currencyCode, ag_name, ag_external_id, ag_type=fixed, ps (all for
Paymentwall's method list, or a short code), email, success_url (with $ref filled in),
failure_url, pingback_url, lang, country_code, ts (the link dies 60 minutes later),
sign_version, sign. It leads to the payment page, /paymentwall/checkout/{token}: the card form, a bank's or
wallet's approval page, a code or phone number then the app (the payer's phone drawn beside the page on a computer), a QR code, or a voucher.
?device=mobile|desktop forces either flow.GET /paymentwall/api/rest/payment (Payment Status API: key, ref, sign_version,
sign) — a list of payment objects (id, created, amount, currency,
refunded, risk, uid, product_id, payment_system), empty when the reference names
none. A test payment is found by its reference only.POST /paymentwall/developers/api/ticket (Cancellation API: key, ref, type 1 refund / 5
partial refund with amount, message, sign) — {"result":1}, or {"result":0,"errors":[…]}.GET /paymentwall/api/payment-systems/ (key, country_code, sign) — the methods for a country.POST /paymentwall/lab/project {"key", "pingback_url"} — the lab's stand-in for the project's Settings page.| ps | Name | Countries | Currencies | Page | Refunds |
|---|---|---|---|---|---|
cc | Credit Cards | global | any | card | yes |
bancontactbe | Bancontact | BE | EUR | redirect | yes |
paypal | PayPal | global | any | redirect | full only |
alipay | AliPay | global | USD, CNY | redirect | yes |
idealpayments | iDeal | NL | EUR | redirect | yes |
epspayments | EPS | AT | EUR | redirect | yes |
przelewy24 | Przelewy24 | PL | PLN | redirect | yes |
blik | Blik | PL | PLN | app | yes |
mbwaypt | MBWay | PT | EUR | app | yes |
multibancopt | Multibanco | PT | EUR | voucher | yes |
pixbr | Pix | BR | BRL | qr | yes |
pse | PSE | CO | COP | redirect | no |
oxxo | Oxxo | MX | MXN | voucher | yes |
efecty | Efecty | CO | COP | voucher | yes |
upiin | UPI | IN | INR | redirect | yes |
payidaus | PayID | AU | AUD | redirect | no |
neosurf | NeoSurf | AD, AT, BE, CM, CA, CZ, FR, DE, IT, JP, MQ, MA, NL, PL, PT, RO, ZA, ES, CH, GB, US | USD, EUR, AUD, CAD, TRY | pin | no |
safetypay | Safetypay | BR, CL, CO, CR, MX, EC, ES, PT, PE | USD | redirect | yes |
mobilegateway | Mobiamo | global | any | sms | no |
Test cards (Brick's sandbox): 4242424242424242 Visa, 4000000000000002 Visa; any future expiry. CVV codes:
| CVV | Effect |
|---|---|
111 | Please ensure the CVV/CSC number is correct. |
222 | Please contact your credit card issuing bank to check your balance. |
333 | Please contact your credit card issuing bank to approve your payment. |
555 | Your payment is under risk review and will be accepted automatically after 2 minutes. |
556 | Your payment is under risk review and will be declined automatically after 2 minutes. |
| Amount (last two decimals) | On | Effect |
|---|---|---|
| …13, from 10.00 | a voucher or reference | paid 20 seconds after it is issued (the payer pays at once) |
| …77, from 10.00 | a refund ticket | Paymentwall's team declines the ticket: no refund, no pingback |
$ref in the success URL, the pingback's parameters, types (0, 2 with its reason, 200,
201, 202, 220) and "OK", the Payment Status API's payment object and empty list, the Cancellation API's parameters and result, the
Payment Systems API, the payment systems' short codes, countries, currencies and refundability, Brick's sandbox cards and CVV codes, test references
t<unix time>, and the unauthenticated error answers.risk: pending), refund tickets handled in 3 seconds (Paymentwall's team takes days, and its test
projects create no ticket), the 220 pingback's parameters, the error pages other than error code 05, the Cancellation API's error wording, and the
lab's stand-in for the project's pingback URL.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).
POST /2c2p/payment/4.3/paymentToken (merchantID, invoiceNo, description, amount, currencyCode, paymentChannel, request3DS,
frontendReturnUrl, backendReturnUrl, paymentExpiry, uiParams) → webPaymentUrl and paymentToken;
POST /2c2p/payment/4.3/payment (Do Payment: payment.code.channelCode CC, ALIPAY, ALIPAYHK, PAYPAL or 123 with its agent
code, payment.data with the card) → flow 1001 and the page's URL, or 2000 (completed); POST /2c2p/payment/4.3/paymentInquiry.{"payload": "<JWT>"} to the token's backendReturnUrl; the payer back to its frontendReturnUrl with
paymentResponse (Base64 JSON).POST /2c2p/PaymentAction/2.0/action: processType I, RS (refund status), V (void), S (settle) and R (refund, with idempotencyID,
notifyURL). A card refund is confirmed at once; a wallet's or a bank's is pending (42, RP), then confirmed by notifyResponse=… to
notifyURL. Refunds take settled payments only (the lab settles two minutes after approval); an unsettled one answers 12, a voided one 29.POST /2c2p/payouts/api/v1.2/payout/create and …/inquiry: accepted (8101), disbursed (8100) five seconds later with
the notification (x-signature, the hex HMAC-SHA256 of the body; x-notify-event: payout).THBBL, THKBANK, THSCB, THKTB, THBAY, THUOB; MYR: MYM2U, MYCIMBCLICKS, MYPBB, MYRHB, MYHLB, MYSBIA; SGD: SGDBS, SGOCBC, SGUOB, SGSCB; VND: VNACB, VNBID, VNSACOM; IDR: IDBKSMANDIRIID, IDBKSBRIID), the issuer's 3-D Secure page, Alipay's
cashier with the payer's phone, PayPal's review, and the bank's page. ?device=mobile|desktop forces either flow.| Channel | Name | Currencies |
|---|---|---|
123 | Internet banking (123) | THB, MYR, SGD, VND, IDR |
CC | Credit / debit card | SGD, MYR, THB, PHP, IDR, VND, HKD, USD, MMK |
ALIPAY | Alipay | SGD, MYR, THB, PHP, HKD, USD |
ALIPAYHK | Alipay Hongkong | HKD |
PAYPAL | PayPal | SGD, MYR, THB, PHP, HKD, USD |
| Card | Brand | Scenario |
|---|---|---|
4111111111111111 | VISA | Visa, OTP 123456: the ACS challenge, then approved |
5555555555554444 | MASTERCARD | Mastercard, OTP 123456: the ACS challenge, then approved |
3562808775869340 | JCB | JCB, OTP 123456: the ACS challenge, then approved |
6250947000000014 | UNIONPAY | UnionPay, verification code: the ACS challenge, then approved |
6011000000001002 | DISCOVER | Discover, OTP 123456: the ACS challenge, then approved |
36998900139315 | DINERS | Diners, OTP 123456: the ACS challenge, then approved |
378282246310005 | AMEX | American Express (CVV 4 digits): approved without a challenge |
374340095639074 | AMEX | American Express (CVV 4 digits): approved without a challenge |
3566111111111113 | JCB | JCB (Thailand): approved without a challenge |
4444333322221111 | VISA | The rejected card: declined, do not honor (4005) |
| Amount (last two decimals) | Effect |
|---|---|
| …51, from 10.00 | Declined: insufficient funds (4051) |
| …54, from 10.00 | Declined: expired card (4054) |
| …59, from 10.00 | Declined: suspected fraud (4059) |
| …62, from 10.00 | Declined: restricted card (4062) |
| …05, from 10.00 | Declined: 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).
paymentResponse, the refund-after-settlement rule, and the plain
answers to malformed requests ({"respCode":"9040","respDesc":"Invalid Request (9040)"}, Do Payment's 9005 PaymentToken, the
Payout API's empty 401).x-signature signs (the body), the settlement
time, the pages' layout, the wallets' and banks' screens, the payout currency from the bank code, and the lab rules.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.
POST /triplea/api/v2/payment (merchant_key, sandbox: true) or /payment/account/{api_id} (an API ID
ending _t is a sandbox one): type: triplea answers the external URL payment form's hosted_url
(/triplea/app/v1/payment_form), widget the embedded form's. order_id is the idempotency key. The rate is held
25 minutes (expiry_date), the form's token 1499 s. The payer picks a digital currency on the
form and pays the address from the wallet drawn beside it (on a phone, Open in wallet; the QR code opens it on another phone).none → good (seen and confirmed at once), hold → good,
short (a top-up before the form expires makes it good), invalid. Unpaid, a payment stays none. The form sends the
payer to success_url (?status=paid&payment_reference&order_currency&order_amount) once a payment is seen, and to
cancel_url (?status=paid_too_little|cancelled|invalid&payment_reference) otherwise. GET /payment/{ref},
/payments.POST /payout/refund/local (the default flow: an email; the lab's payer confirms their wallet address from its link
three seconds later, or open /triplea/app/v1/refund), /payout/refund/direct/local then PUT …/confirm; never more
than the payment received. GET /payout/refund/{ref}, /payment/{ref}/refunds, PUT …/cancel.POST /payout/withdraw/local/crypto/direct (a quote for 60 s; then 409 rate_expire),
PUT /payout/withdraw/{ref}/local/crypto/confirm: confirm → pending_approval → pending_broadcast →
pending_confirmation → done. GET /payout/withdraw/{ref}, /payout/withdraw/order/{order_id},
/payouts, /payout/balances (local accounts: USD, EUR, GBP, SGD, 50,000 each).status values other than the docs' examples, the duplicate order_id of a
payout (409 duplicate_order_id), the token errors, rates, fees and balances. A sandbox payment's Bitcoin is testBTC; the lab
also lets a sandbox payment be paid in the other coins.| Code | Asset | Network | Decimals | Payouts | EUR |
|---|---|---|---|---|---|
USDT_TRC20 | USDT | Tron (TRC-20) | 6 | yes | 0.86 |
USDT | USDT | Ethereum (ERC-20) | 6 | yes | 0.86 |
USDT_POLY | USDT | Polygon | 6 | yes | 0.86 |
USDT_SOL | USDT | Solana | 6 | yes | 0.86 |
USDT_ARB | USDT | Arbitrum One | 6 | yes | 0.86 |
USDC | USDC | Ethereum (ERC-20) | 6 | yes | 0.86 |
USDC_POLY | USDC | Polygon | 6 | yes | 0.86 |
USDC_SOL | USDC | Solana | 6 | yes | 0.86 |
USDC_ARB | USDC | Arbitrum One | 6 | yes | 0.86 |
PYUSD | PayPal USD | Ethereum (ERC-20) | 6 | yes | 0.86 |
PYUSD_SOL | PayPal USD | Solana | 6 | yes | 0.86 |
BTC | Bitcoin | Bitcoin | 8 | yes | 85000 |
LNBC | Bitcoin | Lightning | 8 | no | 85000 |
ETH | Ether | Ethereum | 8 | yes | 3000 |
| Amount | Effect |
|---|---|
| …02 | seen, then rejected by compliance: invalid (any funds go back to the payer) |
| …04 | held and never confirmed: stays hold |
| …05 | refused at create: 400 payer_is_blocked |
| Amount | Effect |
|---|---|
| …02 | refused at create: 400 rejected_due_to_compliance_reason (the address is blocked) |
| …03 | confirmed, then blocked for compliance: invalid |
| …04 | stays pending_approval (manual AML review) |
| …07 | a refund's recipient never confirms their wallet address: stays new |
| …09 | broadcast and never confirmed: stays pending_confirmation |
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.
POST /everypay/api/v4/payments/oneoff — account_name, amount, order_reference, customer_url, nonce, timestamp (±5 minutes), request_token + token_agreement, preferred_country, locale: 201, payment_state "initial", the payment_reference, the payment_link and each method's own linkPOST /everypay/api/v4/payments/charge — payment_reference, cc_details (cc_number, month, year, holder_name, cvc): on a 3-D Secure account "waiting_for_3ds_response" and the link the payer follows (EveryPay's 3DS page; left 15 minutes, "abandoned"), else the issuer's answer: "settled", "authorised" (a pre-authorisation account) or "failed" with its processing_error. With token_details.token, a credit transaction's cardGET /everypay/api/v4/payments/{payment_reference}?api_username= — the payment: payment_state, initial_amount, standing_amount, cc_details (the token, BIN, last four, state_3ds), ob_details (the payer's IBAN), processing_errorPOST /payments/capture (an authorised payment, its amount or less), /payments/void (an authorised payment), /payments/refund (all or part of a settled payment; a bank payment is marked refunded)POST /everypay/api/v4/payments/credit (modeled: EveryPay's Help Center names it, its OpenAPI does not describe its body) — account_name, amount, order_reference, nonce, timestamp: "initial"; then /payments/charge with the card token: "settled". A token comes from a one-off or zero-amount check-up payment with request_token. Above 5,000 a credit fails 4001GET /processing_accounts, /processing_accounts/{name}, /shops: the lab's accounts follow EveryPay's naming (EUR3D1 with 3-D Secure, EUR1 without, PRE for pre-authorisation); any name is taken, its first three letters the currencyBanks (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.
| Card | Brand | Outcome |
|---|---|---|
5168159911323096 | Mastercard | EveryPay's test card that pays: settled (authorised on a pre-authorisation account). A payout to it is paid |
5413330089010020 | Mastercard | EveryPay's test card for negative scenarios: failed, 3001 Do not honor. A payout to it fails the same way |
4000000000009995 | Visa | Any amount: failed, 3008 Not sufficient funds (the lab's standard set) |
4242424242424242 | Visa | Paid (the lab's standard set); the lab rules …28, …30 and …44 apply |
| Field | Value | Effect |
|---|---|---|
| 3-D Secure page | Authenticate | Yes: 3DS, then the issuer's answer (settled for the paying card) |
| 3-D Secure page | Fail authentication, or Cancel (lab drawer) | No / Rejected: failed, 4018 3D secure cancelled by issuing bank |
| 3-D Secure page | Leave it 15 minutes | Abandoned (6000), as EveryPay's 3DS window ends |
| Card amount ending in (cents, from 10.00) | …28 | 3-D Secure unavailable: failed, 4028 |
| Card amount ending in (cents, from 10.00) | …30 | 3-D Secure attempted: settled without a challenge |
| Card amount ending in (cents, from 10.00) | …44 | Settled; its refunds are refused: 4033 Can not be refunded |
| Card amount ending in (cents), a card not listed here | …02 / …05 / …33 / …79 | Failed: 3001 / 3008 / 3015 / 3200 (the lab's standard amount rules) |
| Processing account | a name with 3D (EUR3D1) | Every card payment goes through EveryPay's 3-D Secure page |
| Processing account | a name without 3D (EUR1) | No 3-D Secure: the card is answered at once (payouts' check-up and credits) |
| Processing account | a name with PRE (EUR3D1PRE) | Pre-authorisation: the payment stops at authorised until captured or voided |
| Bank: Smart-ID personal code (EE / LT) | 40404040009 | Logs in and confirms: settled, the IBAN reported |
| Bank: Smart-ID personal code (LV) | 040404-10003 | Logs in and confirms: settled |
| Bank: Smart-ID personal code (EE / LT) | 30403039917 | Refuses at login: failed, 3598 Authentication failed/cancelled |
| Bank: Smart-ID personal code (EE / LT) | 30403039946 | Logs in, refuses the payment (PIN2): failed, 3596 Payment cancelled by user |
| Bank payment amount | 33.00 EUR | Sent for processing for 30 seconds, then settled (EveryPay's demo rule) |
| Payout amount | over 5,000.00 | Failed: 4001 Transaction over allowed maximum transaction amount (the lab's ceiling) |
| Amount (last two digits in cents) | On | Effect |
|---|---|---|
| …28, from 10.00 | card payment | 3-D Secure unavailable: failed, 4028 3DS failure due to technical errors |
| …30, from 10.00 | card payment | 3-D Secure attempted (the issuer does not enforce it): settled without a challenge |
| …44, from 10.00 | card payment | Settled; its refunds are refused: 4033 Can not be refunded |
api_username repeated in bodies and queries, nonce and the ±5-minute timestamp, one-off payments, /payments/charge with cc_details or token_details, the payment states, capture, void, refund, the payment link with each method's own link, the callback as a GET with payment_reference, order_reference and event_name, the error envelope and codes, the demo's test cards, its 3-D Secure outcomes and its 33 EUR "sent for processing" rule./payments/credit (the Help Center names the call), how the lab tells processing accounts apart (by their names), the payment link's path, method source names, 422 for an unknown payment, the nonce refusal's wording, the credit ceiling, the lab rules, the issuer's page (the shared ACS page). Not played: CIT, MIT, agreements (periodic payments), token status and deletion, mobile payments, Apple Pay, Google Pay, Click to Pay, PayPal, LinkPay, disputes.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.
POST …/eshops/{goid}/payments (amount in cents, currency, order_number,
customer.email required, callback.return_url, an optional notification_url), GET and
DELETE …/payments/{id}, GET …/payments/{id}/qr-payment/info (QR Platba SPAYD for CZK, PAY by square and the SEPA code for
EUR, as PNG or SVG in base64; it extends the payment's timeout to four days), refunds full and partial (POST|GET …/payments/{id}/refunds,
GET …/refunds/{id}), the event log and the webhook signing keys.return_url?id=; or a bank transfer: GoPay's account, the variable
symbol (the payment's id) and a real, scannable QR code, paid from the drawn phone's banking app or the bank transfer simulator, and credited about
three minutes later. On a computer the payer's phone is drawn beside it; ?device=mobile|desktop forces either flow.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 amount | Effect |
|---|---|
| …92 | The bank keeps it PAYMENT_METHOD_CHOSEN, then PAID two minutes later |
| …93 | The bank never confirms: PAYMENT_METHOD_CHOSEN, then TIMEOUTED two minutes later |
| …04 | The payer's bank refuses the payment: CANCELED (as GoPay's sandbox declines card amounts ending 04) |
| Refund amount | Effect |
|---|---|
| …52 | The refund FAILED (GoPay could not send the money back) |
| Country | Banks (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 |
| SK | Slovenská 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'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).
POST /simplepay/payment/v2/start — salt, merchant, orderRef, currency (HUF,
EUR, USD), customerEmail (or maySelectEmail), language, sdkVersion, methods
(CARD, EAM for qvik, WIRE), total (whole forints in HUF) or items,
timeout, url or urls (success, fail, cancel, timeout), invoice, twoStep —
transactionId (nine digits from 5…), timeout, total, paymentUrl: the payment page,
/simplepay/pay/pay/pspHU/{token}.POST /simplepay/payment/v2/starteam — the same with eamType (1 QR … 7 QR + deeplink + NFC), no methods:
answers eam, the qvik link (/simplepay/qvik/{token}), instead of a page.POST /simplepay/payment/v2/query (transactionIds, orderRefs, detailed,
refunds), /refund (orderRef or transactionId, currency,
refundTotal: refundTransactionId, remainingTotal), /transactionCancel (INIT only),
/finish (the lab's accounts are one-step).r (Base64 of {"r":0,"t":…,"e":"SUCCESS|FAIL|CANCEL|TIMEOUT","m":…,"o":…})
and s (its signature). The IPN — a POST of {salt, orderRef, method, merchant, finishDate, paymentDate, transactionId, status}
with Signature to the account's IPN URL, for FINISHED, NOTAUTHORIZED, CANCELLED, TIMEOUT and REFUND — wants HTTP 200 and the same
JSON with receiveDate, signed.POST /simplepay/lab/merchant {"merchant", "ipnUrl"} — the lab's stand-in for the merchant admin's Technical data.The sandbox payment page lists test cards in a drop-down instead of a card number field:
| Test card | Outcome |
|---|---|
| Test card: successful payment | FINISHED |
| Test card: not enough funds (2013) | NOTAUTHORIZED (2013) |
| Test card: refused by the issuer (2078) | NOTAUTHORIZED (2078) |
| Test card: 3DS challenge | 3-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).
| Amount (last two whole units) | On | Effect |
|---|---|---|
| …77 | refund | SimplePay refuses the refund: errorCodes [5230] |
| …01 | qvik | The payer's bank refuses the transfer (not enough funds): NOTAUTHORIZED, back FAIL with 2013 |
| Code | Meaning |
|---|---|
5201 | The merchant account ID (merchant) is missing |
5213 | The merchant transaction ID (orderRef) is missing |
5219 | The e-mail address (customerEmail) is missing or not an e-mail |
5223 | The currency of the transaction (currency) is not valid or is missing |
5217 | Invalid method |
5324 | The list of items (items) or the transaction total (total) is required |
5020 | The check of the value in the request or of the original total failed |
5601 | Transaction limit exceeded |
5094 | Invalid timeout |
5013 | The transaction already exists (and is not flagged as restartable) |
5011 | The transaction cannot be found |
5022 | The transaction is not in the state the request expects |
5110 | Invalid refund amount |
5230 | Refund not allowed |
5111 | Either orderRef or transactionId must be sent |
5321 | Format error / invalid JSON string |
EAM for qvik on
start and starteam with eamType and eam, HUF only and HUF 20 million for qvik, whole
forints, the transaction statuses, the back's r and s and its four events, the IPN and its confirmation with
receiveDate, refunds as transactions of their own, transactionCancel for INIT only, the 3-D Secure codes 1234 and 1111,
nine-digit sandbox ids from 5…, the error codes and their meaning, and the unauthenticated answers (5201, 5111, 5321, the 404).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).
POST /payment/ropay/start answers status 15 and
customerAction {type RopayApp, url: the RoPay link, qrCode: a real, scannable PNG of it as a
data: URL, expiresAt}. The link opens on the payer's phone: the banks of
GET /payment/ropay/participants, then the bank's app (the payment request, confirmed with any 4-6 digit PIN, or rejected):
status 3 (paid) or 12 (rejected), and its IPN. POST /payment/ropay/cancel releases the order at once and finalises the attempt
(status 4) two seconds later; an intent nobody answers expires (status 23).POST /payment/card/start with the card (ciphertext, its BIN and last four beside it) answers status 3
(paid), 12 (rejected, with NETOPIA's error code), or 15 with error 100 and customerAction {type Authentication3D,
url /netopia/sandbox/authorize, authenticationToken, formData {backUrl,
paReq}}. The sandbox's page posts paRes back to backUrl; POST /payment/card/verify-auth
then answers paid or rejected. Paid card payments are confirmed (5) by the batch 30 minutes later, or at once by
/operation/capture; /operation/void cancels them (4) until then; /operation/credit refunds, in full
(status 8) or in part.POST /disbursement/card/auth (the recipient's card or a payment's token) is paid (3), confirmed (5)
five seconds later, or rejected (12).POST /operation/status (posID, ntpID, orderID) answers the order.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.
| Card | Effect |
|---|---|
9900004810225098 | Paid at once, without 3-D Secure (the spec's "no 3-D Secure payment") |
9900009184214768 | 3-D Secure: the sandbox's authentication page, then paid (the spec's "3-D Secure payment") |
9900002922742471 | 3-D Secure, then paid (the spec's payment request example) |
| RoPay amount | Effect |
|---|---|
| …12 | The payer's bank refuses the payment when it is approved: status 12 (rejected) |
| …23 | The intent expires a minute after it is created, whatever the payer does: status 23 (expired) |
| …31 | The bank confirms 30 seconds after the payer approves (status 15 until then), then status 3 (paid) |
| Card amount | Effect |
|---|---|
| …19 | Error 19 (expired card): status 12 |
| …20 | Error 20 (insufficient funds): status 12 |
| …21 | Error 21 (CVV): status 12 |
| …34 | Error 34 (transaction not permitted): status 12 |
| Refund amount | Effect |
|---|---|
| …52 | The refund is refused (error 2) |
| Payout amount | Effect |
|---|---|
| …51 | The POS's balance cannot cover the payout: error 20, status 12 |
| …57 | The card's issuer refuses the payout: error 34, status 12 |
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.
{bill_id, keks_id, tid, store, amount, status, message} (string values;
status 0 is paid) to the webshop's endpoint with its Authorization (the lab's published Token bistromathic-lab-simulated-flow
unless the webshop registered its own). The webshop answers {"status":0}, or KEKS reverses the payment (any other
answer, an error, no answer after two tries). A payment the bank refuses gets an Advice too, for information.POST /keks/eretailer/keksrefund — {bill_id, keks_id, tid, cid, amount, epochtime, hash, algo, currency}, whole (no amount)
or in part, several per payment; {bill_id, amount, keks_refund_id, currency, message_type: 9944, status: 0}, or
{epochtime, status_code, message, tid}. The hash is never checked (credentials are ignored).POST /keks/lab/webshops {cid, tid, advice_url, authorization?, store?} — the stand-in for Erste's onboarding (the webshop
emails kekspay@erstebank.hr its Advice endpoint). A simulated BabelPay connection registers itself.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.
| Value | Effect |
|---|---|
| The app: Plati | Paid, once the webshop answers status 0 |
| The app: Odustani | Nothing paid, no Advice; on a phone the app opens fail_url |
| Deposit …51, from 1.00 EUR | Declined by the payer's bank: insufficient funds (an Advice with status 51, for information) |
| Deposit …57, from 1.00 EUR | Paid, 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 EUR | Declined: over the payer's own limit (an Advice with status 61, for information) |
| Deposit …05, from 1.00 EUR | Declined by the payer's bank (an Advice with status 5, for information) |
| Refund amount ending in 52 cents | Refused (status_code −20) |
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.
POST /yapily/hosted/payment-requests, GET /hosted/payment-requests/{id}: Yapily's Hosted Pages
(hostedUrl: the bank picker for institutionCountryCode, "Additional details" where the bank wants the payer's IBAN,
Yapily Connect's consent screen, the bank, the result, and back to redirectUrl with ?paymentRequestId=). Hosted
payments are taken from GB, DE, LT, NL, BE, ES, FR, AT, PT; the request's auth token lasts ten minutes.POST /yapily/payment-auth-requests (the bank's authorisationUrl, then Yapily's redirect to the
callback with consent, or one-time-token with oneTimeToken: true, or
error-source, error, error-description), GET /consents/{id},
POST /consent-one-time-token, POST /payments with the consent header (once per consent; the
body must be the authorised request), GET /payments/{id}/details; GET /institutions,
/institutions/{id}, /institutions/constraints/payments.GET /yapily/webhook/events/categories, GET|POST /webhook/events, DELETE /webhook/events/{id},
POST /webhook/secrets/{id}: up to ten webhooks per application, no query in the URL. Every webhook's secret is the lab's
published secret bistromathic-lab-simulated-flow; deliveries carry webhook-signature, the
hex HMAC-SHA256 of the body, and the webhook's metadata as metadata.user. Events:
hosted_pis.payment_status.completed.v1 / failed.v1, single_payment.status.updated,
single_payment.status.completed, single_payment.iso_status.updated.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.
| Institution | Countries | Login | Notes |
|---|---|---|---|
Modelo Sandbox modelo-sandbox | GB, IT, FR, BE, PT, IE, FI | mits · mits | SEPA Instant |
NatWest Sandbox natwest-sandbox | GB | 123456789012 | |
Lloyds Bank Sandbox lloyds-sandbox | GB | llr001 · Password123 | reports the refund account |
Deutsche Bank Sandbox deutschebank-sandbox | DE | no credentials (Give permission) | asks for the payer's IBAN; psu-id 6154033403 (OK) / 6154033411 (SCA fails); payments over 50.00 fail |
Commerzbank Sandbox commerzbank-sandbox | DE | no credentials (Give permission) | asks for the payer's IBAN; SEPA Instant |
BAWAG PSK Sandbox bawag-sandbox | AT | demo · 1111, then SMS-OTP 1111 | asks for the payer's IBAN; SEPA Instant |
SNS Bank Sandbox snsbank-sandbox | NL | no credentials (Give permission) | asks for the payer's IBAN; SEPA Instant |
Unicaja Banco Sandbox unicajabanco-sandbox | ES | user1 · 1234, then Security key 123456 | |
Fineco Sandbox fineco-sandbox | IT | 00000000 · 11111111, then SMS PIN 222222 | asks for the payer's IBAN; SEPA Instant |
Luminor Sandbox luminor-sandbox | LT, LV, EE | 111111 / 222222 / 333333 | asks for the payer's IBAN; SEPA Instant |
Swedbank Sandbox swedbank-sandbox | SE, EE, LV, LT | 198112189876 | asks for the payer's IBAN; SEPA Instant |
Danske Bank Sandbox danskebank-sandbox | DK | mitid-lab-01 | asks for the payer's IBAN |
DNB Sandbox dnb-sandbox | NO | 01019012345 | asks for the payer's IBAN |
PKO Bank Polski Sandbox pkobp-sandbox | PL | 11111111 · 1234, then SMS code 123456 | asks for the payer's IBAN |
| Amount | Effect |
|---|---|
| …02, from 10.00 | The bank rejects the payment: FAILED (RJCT) |
| …03, from 10.00 | Insufficient funds: FAILED (RJCT, AM04) |
| …04, from 10.00 | The bank fails the authorisation: AUTHORISATION_FAILED / consent FAILED |
| …05, from 10.00 | PENDING (ACSP) for two minutes, then COMPLETED (ACSC) |
| …06, from 10.00 | PENDING (ACSP) for two minutes, then FAILED (RJCT) |
| …07, from 10.00 | PENDING, and it stays there (the lab drawer can settle or fail it) |
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).
POST …/payments with the MATCH_CODE flow (amount_unit in cents, EUR only, external_code up to 50
characters, callback_url with {uuid}, redirect_url, metadata with phone_number to fill
the page's phone field, expiration_date; two hours by default) or the REFUND flow (parent_payment_uid, full or
partial up to what is left, within 365 days); Idempotency-Key; GET …/payments/{id} with
x-satispay-response-wait-time; PUT …/payments/{id} CANCEL and CANCEL_OR_REFUND; GET
…/payments by status.redirect_url. ?device=mobile|desktop
forces either flow. "Annulla" goes back to the shop and leaves the payment PENDING for the shop to cancel.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 amount | Effect |
|---|---|
| …21 | The payer confirms in the app, which refuses: the payer's Satispay availability does not cover it, and the payment is CANCELED |
| …27 | The create is refused: 400 code 27 (Payment not allowed) |
| Refund amount | Effect |
|---|---|
| …21 | 400 code 21 (Insufficient availability): the shop's balance does not cover the refund |
| …27 | 400 code 27 (Payment not allowed) |
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.
https://sandbox.payneteasy.eu / https://gate.payneteasy.eu (docs)https://sandbox.gumballpay.com / https://gate.gumballpay.com (docs)https://sandbox.fyst.com / https://gate.fyst.com (docs)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).
POST /payneteasy/paynet/api/v2/sale/{endpoint} — a card by number (or vault ciphertext with BabelPay's card hint) or card_recurring_payment_id; async-response, then on /status a 3-D Secure card shows redirect-to (the issuer's form, the shared ACS page) until the cardholder answers; the payer comes back to redirect_url by a POST. Unanswered for 20 minutes it is declined, 1015 SECURE_3D_TIMEOUTPOST /payneteasy/paynet/api/v2/preauth/{endpoint} — the sale's request and 3-D Secure, the money only held; /capture settles it once, whole (no amount) or in part (111 ALREADY_CAPTURED on a second, 114 WRONG_CAPTURE_AMOUNT over the hold, "27 Can not make capture for order state …" before approval or after a cancel); /return on a preauth not captured is a cancel of the whole hold, on a captured one a reversal of the capturePOST /payneteasy/paynet/api/v2/sale-form/{endpoint} — async-form-response with redirect-url: the hosted form of the endpoint's methodPOST /payneteasy/paynet/api/v2/status/{endpoint} (also by-request-sn), /return, /create-card-refPOST /payneteasy/paynet/api/v4/payout/{endpoint}, /payout-by-ref — processing for 3 seconds, then final, with the callbackPOST /payneteasy/paynet/api/v4/transfer-by-ref/{endpoint} (the deposit-to-card transfer to a card reference) and POST /payneteasy/paynet/api/v2/payout/{endpoint} (OAuth 1.0a HMAC-SHA1 under the control key, the oauth_* parameters in the body) — the payout commands FYST's docs give, for a card and for a bank account; the same payout underneath. The HMAC-SHA1 signature is checked against the simulation key and logged, never refusedAnswers 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).
/api/v2/payout and /api/v4/transfer-by-ref as its payouts; the envelopes checked unauthenticated on sandbox.payneteasy.eu): the paths, the form encoding, the control strings, OAuth RSA-SHA256 for v4, the request and status fields, the statuses and error codes, the 3-D Secure redirect-to, the final redirect and the callback with its control, the sandbox's CVV2 rules, 3-D Secure test cards and amounts, and its payout test accounts.transaction-type of a cancel (cancel; the docs list sale, reversal, capture and preauth), one capture per preauth, a cancel ignoring an amount, and the 403 a v2 payout without its OAuth header gets. The lab answers in Payneteasy's format for every tenant: FYST's own gate writes no line feed after a value, answers text/plain and adds a trace-id (checked unauthenticated on gate.fyst.com), which the connector reads alike.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.
POST /genome/api/mp/payout — api_version 1, method init, type sepa, transaction_unique_id, amount, currency (EUR, or XTS, Genome's test currency), callback_url, receiver_iban, receiver_name, transfer_description and the receiver's optional details; {"status":"pending","code":0}, then PENDING for 3 seconds and the final status by callbackPOST /genome/api/mp/transaction — transaction_type CHECK, by transaction_unique_id or reference; 3014 when there is nonePOST /genome/api/mp/transactions and /transactions/ra — the Query on Demand, with and without the SEPA payout fee (0.30 here, modeled)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.
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.
POST /bitpace/api/v1/fixed-deposit/url: a Receive Payment (fixed deposit) order and its payment_url, the lab's hosted page
(/pay/{coin}/{network} preselects a coin, ?lang= its language). PENDING until the payer picks a coin (modeled), then CREATED with an
address for timeout_duration minutes; COMPLETED once the exact amount is seen (2 s after the wallet sends it);
REFUNDABLE for a wrong amount (more: at once; less: when the window ends), then ACCEPTED or REFUNDED by the merchant
(/fixed-deposit/accept, which BabelPay calls itself unless its connection leaves wrong amounts to the merchant; /fixed-deposit/refund; or the drawer as the merchant panel; a second accept is 121); EXPIRED; CANCELLED (the payer's Cancel, modeled).POST /orders/prices (order_type: WITHDRAW, a token for 30 seconds), then POST /orders or
/orders/v2 (with the Travel Rule's beneficiary), paid from the merchant's balance in the order's currency. PENDING, then COMPLETED
3 s later, or FAILED. BUY and SELL prices are not played (105).GET /orders/{id} (and ?version=v2), POST /orders/list?page&size.PUT /bitpace-lab/panel/api-settings {"callback_url"} (bearer token): the merchant panel's API Settings, where Bitpace takes the
callback URL (it has no API for it). A simulated BabelPay connection sets its own.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.
| Code | Name | Networks | EUR |
|---|---|---|---|
| BTC | Bitcoin | BTC | 60000 |
| ETH | Ethereum | ERC20 | 3000 |
| USDT | Tether | ERC20, TRC20, BEP20 | 0.87 |
| USDC | USD Coin | ERC20, SOL | 0.87 |
| LTC | Litecoin | LTC | 80 |
| XRP | Ripple | XRP | 2 |
| TRX | TRON | TRX | 0.25 |
| Amount | Effect |
|---|---|
| Payout …02 | The payment cannot be made: FAILED (the balance comes back) |
| Payout …09 | Never leaves PENDING |
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.
POST /isx/v1/authorization/ — workflow, merchant (id, transaction_webhook_url,
return_url), client (first_name, last_name, email required), transaction
(id, amount as a string in the lowest unit, currency EUR or GBP, reference; id and reference
unique), account.identifier, and for EUR the optional account_holder (its iban then required). 201 with
id, uid, secret, state PENDING, compound_state PENDING.VALIDATED_TRANSACTION and
redirect_url; 400 with ISX's Error Object (VALIDATION_ERROR and its details).GET /isx/v1/authorization/{id} — the transaction state: state, compound_state, response_code,
workflow_state, payment_provider_responses, expires_at; 404 for an unknown id./isx/landing/{id} (a language code may follow: da, de, en, es, fr, ja, no, se) — the transaction page: Select your bank, Banking
details (EUR), Consent to payment; then the sandbox bank (username / secret, an
account, the code 123456); Payment in progress, Done, and back to return_url. An IBAN in the request skips
the bank picker and Banking details.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.
| Amount | Effect |
|---|---|
| …23, from 10.00 | REJECTED, RISK_AUTO_REJECTED (IS0623) when the payer consents: risk_auto_rejected, then transaction_declined |
| …33, from 10.00 | PENDING, AWAITING_PAYMENT_STATUS for two minutes after the code (a payment_success notification), then SUCCESS |
| …51, from 10.00 | REJECTED, INSUFFICIENT_FUNDS (51) after the confirmation code |
| …05, from 10.00 | DECLINED, BANK_FAILURE (IS1303) after the confirmation code: the bank has a technical issue |
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.
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.
POST /isx/masspay/realms/corporate/protocol/openid-connect/token — client_id, client_secret,
grant_type=client_credentials (form): any id and secret get a token valid 1800 seconds; the token names the lab's merchant.POST /isx/masspay/v2/batch — merchant_id, sender_iban (or for GBP sender_account_number),
description, callback_url, batch_records (up to 1000: payment_details, beneficiary_name,
beneficiary_reference, beneficiary_iban, payment_amount as a decimal string, currency EUR or GBP,
reference_id; for GBP also beneficiary_address, _city, _country). SEPA's character set and
75 characters where the page says so. {batch_id, total_amount}, or 400 {error_id, message, code}. A
reference_id sent again within 60 minutes is refused.GET /isx/masspay/v2/batch/{id} ({state}), GET /isx/masspay/v2/batchdetails/{id}
(batch_details: reference_id, status, transaction_id, verification_status),
GET /isx/masspay/v2/merchant/balances, and POST /isx/masspay/v2/vop/approve|reject/{id} with the transaction ids.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).
| Amount | Effect |
|---|---|
| …13, from 10.00 | REJECTED (by an external system: compliance) |
| …14, from 10.00 | FAILED (a fatal error at ISX) |
| …15, from 10.00 | The batch waits for manual approval (PENDING_APPROVAL), nobody approves it, and it is FAILED two minutes later |
| …17, from 10.00 | PROCESSING 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, 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.
POST /facilero/api/v1/payments/card — requestId, mid, card (number, expMonth, expYear, cvv, requestThreeDSecure), amount (a string, major units), currency, lang, billingDetails, order, device, callbackUrl, successRedirectUrl, failureRedirectUrl: CUSTOMER_VERIFICATION with challengeUrl and challengeUrlIframe (3-D Secure), else PROCESSING and the outcome a moment later. A requestId sent again answers the transaction it madeGET /facilero/api/v1/payments/card/info/{id} — the Merchant Callback DTO: SUCCEED, FAILED with its declineCode, REFUNDED once refunded in full; /status/{id} the status alonePOST /facilero/api/v1/refunds/card — {requestId, mid, transactionId, amount, reason, callbackUrl}: {refundId, transactionStatus: PENDING}, refunded a moment later; FAILED at once with 3012 (no such payment), 3013 (not SUCCEED), 3017 (refunded in full already) or 31 (more than is left). GET …/refunds/card/info/{refundId}POST /facilero/api/v1/payouts/card — {requestId, mid, amount, card: {cardHolder, number, expMonth, expYear}, billingDetails, callbackUrl}: PENDING, paid a moment later. GET …/payouts/card/info/{id}Errors are Facilero's ApiError: {httpStatus, internalCode, errorMessage, traceId, subErrors: [{objectName, fieldName, rejectedValue, message}]}.
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.
| Card | Brand | Outcome |
|---|---|---|
4263982640269299 | Visa | 3-D Secure challenge: Confirm (Facilero's ACCEPT) succeeds; Cancel payment or Fail authentication (its DECLINE) fails |
4580271111111234 | Visa | Frictionless 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 |
4580271111111230 | Visa | The lab's Luhn-valid stand-in for 4580271111111234 (frictionless): the vault reads no BIN or last four from Facilero's own card |
4111111111111111 | Visa | Any other card with 3-D Secure: after a moment the authentication fails (decline 3). Without 3-D Secure: approved |
4000000000000002 | Visa | Without 3-D Secure: declined (decline 2, rejected by the issuer). With it: the authentication fails |
5500000000000004 | Mastercard | Without 3-D Secure: approved. With it: the authentication fails |
4000000000003220 | Visa | A 3-D Secure challenge even on an account that does not request 3-D Secure |
babel-connectors/src/facilero/docs/): the hosts and /api/v1 paths, the auth request and its Bearer token, the card payment, refund and payout requests and responses, the statuses, the decline codes, the ApiError envelope, the callback DTOs with paymentMethod=card and their X-Checksum, the sandbox's cards, its refund reason and payout amount rules.requestId; the outcome without 3-D Secure (PROCESSING, then the Tokenization page's cards); the decline codes the sandbox rules answer with (2, 3, 11, 20, 23, 31, 81); the 3-second "brief delay"; a challenge abandoned after 20 minutes (23); the challenge URL's path and pages (the issuer's challenge is the shared ACS page); the payment's REFUNDED callback; a payout's currency (Facilero's request has none: the lab keeps one it is given, else EUR). Not played: tokenization, one-click and recurring payments, the transaction report, the Hosted Payment Page and payment intents, and the APMs (Apple Pay, Google Pay, PIX, UPI, BLIK, PayID, Havale, EFT, smart routing).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"}.
POST /lamecanica/v1/transactions/ — action Purchase, Authorize or PaymentPage; a card by number (or vault ciphertext with BabelPay's card hint) or a stored sourceId; a 3-D Secure card answers Pending with nextAction RedirectToUrl, the issuer's page in links, for 15 minutes; a hosted page answers Requested with its link, for 30 minutesPOST /lamecanica/v1/transactions/{id}/authorization (AVS, PIN), /captures (the whole Auth), /voids (modeled path), /refunds, /payoutsGET /lamecanica/v1/transactions/{id}, /transactions/reference/{reference}, /transactions?pageIndex&pageSize&dateFrom&dateTo, /balances/check-balancePOST /lamecanica/v1/payouts (recipient and destination.sourceId), PUT /lamecanica/v1/payouts/{id}/approve and /voidCards 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.
/voids, Basic auth, the request and response fields, the transaction types and statuses, nextAction and its modes, the hosted page's statuses, refunds whole and partial, the three payout kinds and the approve/void of pending payouts, the error body and its codes, the webhook's shape, event names and SHA-512 signature.refundRequests and payoutRequests, the e-Transfer payout's Sent step's timing, the webhook names for statuses the docs show no example of (payoutSent, payoutVoided, voidCaptured, authVoided), and the portal stand-in.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.
POST /paytech/api/v1/payments — paymentType DEPOSIT: referenceId, paymentMethod (BASIC_CARD, TINK, VOLT, SKRILL, PAYPAL, FLEXEPIN, …), amount (a number, major units), currency, card (server to server), customer, billingAddress, returnUrl (its {id}, {referenceId}, {state} and {type} filled in), webhookUrl, preAuth: {timestamp, status, result: {id, state: CHECKOUT, redirectUrl}}paymentType WITHDRAWAL (a card's: card with no CVV): PENDING, COMPLETED a moment later; AWAITING_APPROVAL for amounts whose cents are .55 (modeled)paymentType REFUND and parentPaymentId: PENDING, COMPLETED a moment later; DECLINED at once with 1.01 (no such payment), 1.00 (not COMPLETED), 1.09 (another currency) or 1.08 (more than is left)GET /paytech/api/v1/payments/{id} — the PaymentResult, with errorCode and errorMessage on a decline; GET /paytech/api/v1/payments?referenceId.eq=… — the list (created.gte 24 hours back unless given)POST …/{id}/capture {amount} and POST …/{id}/void — an AUTHORIZED payment: COMPLETED, or CANCELLEDPOST …/{id}/approve and POST …/{id}/reject {rejectReason} — a withdrawal AWAITING_APPROVAL: PENDING then COMPLETED, or CANCELLED (8.00 Rejected by Merchant)GET /paytech/api/v1/balances — the shop's balances (modeled amounts)Errors are pay.tech's: BadRequestError {timestamp, status: 400, error, message, errors: [{field, defaultMessage, …}], path}, UnauthorizedError and NotFoundError.
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.
| Card | Brand | Outcome |
|---|---|---|
4000000000000002 | Visa | 3-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 |
4242424242424242 | Visa | 3-D Secure challenge, then the authorization is declined (4.02 Do Not Honor; on a Payadmit account 4.00 Declined by Issuer) |
4000000000001000 | Visa | 3-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) |
4000000000001109 | Visa | 3-D Secure that passes on its own (autosubmit), then declined. pay.tech only: approved without 3-D Secure on a Payadmit account |
4000000000000408 | Visa | Not enrolled for 3-D Secure: approved |
4000000000000416 | Visa | Not enrolled for 3-D Secure: declined |
4111111111111111 | Visa | A 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 |
5555000000000008 | Mastercard | 3-D Secure challenge, then approved (pay.tech's Mastercard cards are unlisted at Payadmit: approved without 3-D Secure there) |
5555000000000115 | Mastercard | 3-D Secure challenge, then declined (pay.tech only) |
5555000000001006 | Mastercard | 3-D Secure that passes on its own (autosubmit), then approved (pay.tech only) |
5555000000001105 | Mastercard | 3-D Secure that passes on its own (autosubmit), then declined (pay.tech only) |
5555000000007409 | Mastercard | Not enrolled for 3-D Secure: approved |
5555000000000438 | Mastercard | Not enrolled for 3-D Secure: declined (pay.tech only) |
babel-connectors/src/paytech/docs/): the hosts and /api/v1 paths, the Bearer Shop API Key, the payment request and its PaymentResponse envelope, the payment types, states and methods, the redirect to redirectUrl for every deposit (card or not, 3-D Secure or not), the returnUrl placeholders, pre-authorization with capture (full or partial) and void, refunds by parentPaymentId, withdrawals with approve and reject, the list's filters and its 24-hour default, the error codes and their words, the webhook's states, body and Signature header, the error envelopes, the sandbox's cards and amount limits.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.
POST /paytech/payadmit/api/v1/payments — DEPOSIT, WITHDRAWAL or REFUND, as above, with Payadmit's rules: amount required and at most 999999.9999; on a deposit and a withdrawal the customer's firstName, lastName, email and phone (49 15123456789; other digit-only spellings are taken and recorded as none, anything else is 400); a card withdrawal's card.cardholderName; the payer returns by outcome, to successReturnUrl, declineReturnUrl (a cancel too) or pendingReturnUrl, each before returnUrl. No preAuth.GET /paytech/payadmit/api/v1/payments/{id} — Payadmit's Result: no created, errorMessage or shopName; customerAmount and customerCurrency beside the amount; a card's cardIssuingCountry and cardBank. GET /paytech/payadmit/api/v1/payments — the list by created.gte/created.lt, offset and limit (no referenceId.eq), with created, updated and terminalId.created in nanoseconds and internalState, as the example on Payadmit's Callbacks page.ERROR, Payadmit's final state that does not say whether the money moved ("further action or investigation is required"): an amount with cents .13 is PENDING and ERROR a moment later, with its callback; cents .14 is ERROR in the answer itself (3.03 Acquirer Malfunction). The paytech connector leaves such a payment in state unknown for a person, and never calls it failed.…/capture, …/void, …/approve, …/reject and /balances are 404 there, because Payadmit's API has none of them.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.
babel-connectors/src/paytech/docs/payadmit-openapi.json, and payadmit.readme.io): the paths, the Bearer Shop API Key, the request's fields and limits, the required customer fields and the phone rule, the Result, list and webhook shapes, the payment types and states, the response codes and their words, the Signature and its encoding, the sandbox's cards, limits and the 100 rule.redirectUrl; Payadmit's example says "COMPLETED or PENDING"); the payment pages; the codes the lab picks (4.00 for a decline, 3.05 for the sandbox's limits); PARTIAL_COMPLETE turning COMPLETED after 3 seconds; the amounts that end a withdrawal or a refund in ERROR (.13, .14) and its code (3.03), and that an ERROR refund keeps its amount taken from the deposit; that the list reaches back without a default window; the 20-minute timeout (1.04). Not played: CARDVERIFY and card tokens (cardPanId), payouts by parentPaymentId, Confirm Payout (so no withdrawal waits for approval), the states CHARGEBACK and REFUNDED, a deposit in ERROR, the emulator's logins (the wallet pages only show them), Apple Pay and Google Pay tokens, the white and black lists, the balance by terminal, the available payment methods and the operations log.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.
POST …/gateway/ _cmd=payment from the payer's browser (the form of the class's payment()):
merchant_id, amount (minor units), currency, invoice (unique), language
(ENG, RUS, SPA, PLS, TRK, GEO, CHI, ITA, SWE, BEL, FRE, UKR, ARA, LAT), cl_fname, cl_lname, cl_email, cl_phone,
cl_country, cl_city, description, psys (card, applepay, googlepay, or empty for
Impaya's picker), optional1–optional5 and hash = md5(amount . currency . merchant_id . secret):
303 to the window. With get_trans=1 (payment_req(), a server's post) OK, a newline and the window's URL
(?t=<hash>,<transaction_id>). A missing field: Impaya's The <name> parameter is not allowed or missed._cmd=request, invoice = Impaya's transaction id, hash = md5(transaction_id . merchant_id . secret): the
transaction as key=value&… (version, merchant_id, mc_transaction_id, transaction_id,
amount, currency, description, optional1…, payment_system, status_id,
payment_system_status, hash, is_reference_of, has_referers and ref1_…);
error_code for an unknown one._cmd=psystems: OK, a newline and PHP's serialize() of the payment systems (cat, cat_id,
alias, title)./impaya/window/{id}: Impaya's picker, the card form with the issuer's 3-D Secure, the Apple Pay and Google Pay sheets, the result
and "Return to the merchant": URL_RETURN with transaction_id, transaction_hash = md5(transaction_id . merchant_id . secret)
and status 1 (SUCCESS) or 2 (CANCELLED).PUT /impaya-lab/panel/merchant/{merchant_id} {"domain", "url_return", "url_status"}: a stand-in for what the merchant
registers with Impaya (the simulated connection sets it itself).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).
| Card | Effect |
|---|---|
4111 1111 1111 1111 | Approved (Visa) |
5555 5555 5555 4444 | Approved (Mastercard) |
4000 0000 0000 3220 | 3-D Secure challenge, then approved |
4000 0000 0000 0002 | Rejected: do not honor |
4000 0000 0000 9995 | Rejected: insufficient funds |
4000 0000 0000 0069 | Rejected: expired card |
4000 0000 0000 0341 | 3-D Secure challenge, then rejected (authentication failed) |
| Amount | Effect |
|---|---|
| …33 | Pending (2) for a minute, then successful (1) |
| …34 | Pending (2) for a minute, then rejected (3) |
| …44 | Pending (2), then expired (4) after the lab's stand-in for 36 hours (two minutes) |
| …51 | Rejected (3): insufficient funds |
| …02 | Rejected (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).
_cmd (probed 2026-11-24).request error's fields, the shape of payment_req()'s URL, the operator's refund, and the merchant
registration stand-in. Impaya has no refund or payout API, so the lab has none.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.
POST /shift4-epower/crax_gate/service/gateway — every operation, by its O:
1 Sale, 2 Authorisation — the card (b1, b3, b4, b5) or a wallet's network token (b21, token_crypto, token_eci), a1 the request id, a4 the amount in minor units, a5 the currency. With 3ds_initiate 01 or 03: z2=0, a decline (z2=05, z6 the reason), or z2=06 with 3ds_method and 3ds_trxid (the issuer's device fingerprint) or 3ds_acsurl (the issuer's challenge). A third-party 3-D Secure result goes as i8; with 3ds_initiate beside it the gateway denies the request92 3-D Secure completion — g5 the payment's z1, 3ds_trxid, 3ds_compind Y or N: the result, or the challenge (always the challenge when the fingerprint did not run)3 Capture, 4 Authorisation Void, 7 Sale Void, 9 Capture Void, 5 Referral Credit (a refund, never more than was captured), 8 Refund Void — by g2, the z1 referred to. A payout's void is declined34 Referral CFT (a payout from a captured deposit, g2, with c3), 35 Independent CFT (a payout to a card, with d1, j5, j13). Above 50,000.00: declined (z6 61)101 Past Transaction Retrieval — by g4, a request's a1: the transaction as the gateway has it now, its parameters under a _ prefix (_z2, _z6, _z1, …)GET /shift4-epower/brain/rest/health — {"health":"OK"}POST /shift4-epower/3ds/method/{token} — the issuer's 3DS Method URL: it takes threeDSMethodData and posts it on to the threeDSMethodNotificationURL insideGET /shift4-epower/3ds/challenge/{token} — 3ds_acsurl: the issuer's challenge (the shared ACS page), then on to 3ds_redirect_url. Unanswered for 15 minutes (modeled): z2 -68POST /shift4-epower/lab/notification-url — M and url: the lab's stand-in for Shift4's Solution Architect, who registers the URL a merchant's result notifications go toShift4 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.
| Card | Brand | Outcome |
|---|---|---|
4111111111111111 | Visa | Approved: 3-D Secure frictionless (Y) |
4000000000003220 | Visa | 3-D Secure in full: the device fingerprint, then the issuer's challenge, then approved |
4000002500003155 | Visa | 3-D Secure challenge without a device fingerprint, then approved |
5200828282828210 | Mastercard | 3-D Secure device fingerprint, then frictionless and approved (a challenge when the fingerprint did not run) |
4000000000000341 | Visa | 3-D Secure authentication failed: z2 -38 |
4000000000000002 | Visa | Declined: z2 05, z6 05 (do not honour) |
4000000000009995 | Visa | Declined: z2 05, z6 51 (insufficient funds) |
4000000000000069 | Visa | Declined: z2 05, z6 54 (expired card) |
4000000000000127 | Visa | Declined: z2 05, z6 N7 (CVV2 failure) |
4100000000000019 | Visa | Declined: z2 05, z6 59 (suspected fraud), Merchant Advice Code 03 |
| Amount (last two digits in minor units) | On | Effect |
|---|---|---|
| …51, from 10.00 | payment | declined: z2 05, z6 51 (insufficient funds) |
| …54, from 10.00 | payment | declined: z2 05, z6 54 (expired card) |
| …57, from 10.00 | payout | the payout is declined: z2 05, z6 57 (not allowed for cardholder) |
| …59, from 10.00 | payment | declined: z2 05, z6 59 (suspected fraud) |
| …61, from 10.00 | payout | the payout is declined: z2 05, z6 61 (exceeds limit) |
| …76, from 10.00 | refund | the refund is declined: z2 05, z6 12 (invalid transaction) |
| …97, from 10.00 | payment | the answer is z2 -10 (internal server error), yet the payment went through: a retrieval shows it approved |
| …98, from 10.00 | payment | the issuer's challenge, then authentication fails whatever is pressed (z2 -38) |
| …99, from 10.00 | payment | the issuer's challenge, then approved |
| …05, from 10.00 | payment | declined: z2 05, z6 05 (do not honour) |
| …02, from 10.00 | payment | z2 2: denied by the gateway for its high fraud risk |
| …04, from 10.00 | payment | z2 04: denied by the gateway, interchange timeout |
K and the answer's signature, the answer's parameters (z1, z2, z3, z4, z6, z13, z44, z50, the 3ds_ ones), the result codes and reason codes, the currencies' exponents, the 3-D Secure flows (the method data, operation 92, 3ds_acsurl, 3ds_redirect_url), that every referral operation names a z1 as g2, that a payout cannot be voided, and the 50,000 ceiling on a gambling payout.3ds_method (06); what a retrieval answers for a request id the gateway does not hold (z2 1), and the exact set of parameters it returns under _; a reused request id (z2 1); a referral to a transaction in the wrong state (z2 1); the challenge's time limit; what is appended to 3ds_redirect_url (z1, z2); the result notification (the spec says one is sent to a URL registered with Shift4, and does not publish its format: the lab posts the answer's parameters, form-encoded and signed); the issuer's pages.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.
POST /skrill/ with pay_to_email, transaction_id, amount, currency, status_url, return_url, cancel_url, payment_methods (WLT Skrill, OBT Rapid Transfer, NTL NETELLER, PSC paysafecard; anything else is the wallet), the payer's details and prepare_only=1 answers the session id (32 hex characters) as the body, whatever it was sent: a request the page cannot take is refused on the page, as at Skrill. GET /skrill/?sid=… is Skrill's page: sign in to Skrill, approve the sign-in in the Skrill app (or its 6-digit code), review, Pay now; Rapid Transfer's bank, NETELLER's account and Secure ID, or a paysafecard PIN for the other methods. On a computer the phone is drawn beside the wallet's pages; &device=mobile|desktop forces either. A session nobody finishes expires after 15 minutes, silently, and Cancel says nothing either: the payer goes back to the cancel URL.status_url with pay_to_email, pay_from_email, merchant_id, customer_id, transaction_id, mb_transaction_id, mb_amount, mb_currency (the lab's merchant accounts are in euros), status (2 processed, 0 pending, -2 failed, -3 chargeback), failed_reason_code, amount, currency, payment_type, neteller_id, md5sig and sha2sig: the upper-case MD5 (SHA-256) of merchant_id, transaction_id, the upper-case MD5 of the secret word, mb_amount, mb_currency and status. A pending payment is processed 30 seconds later, with a second report.POST /skrill/app/query.pl — the MQI: action=status_trn with email, password and trn_id or mb_trn_id answers 200\t\tOK\n and the transaction as a query string; an unknown one 404\t\tIllegal parameter value: …; a request without the email 404\t\tMissing parameter: email. action=repost sends the status report again (403\t\tTransaction not found: … otherwise). Every answer is HTTP 200, as Skrill's are.POST /skrill/app/pay.pl — send money: action=prepare (email, password, amount, currency, bnf_email, subject, note, frn_trn_id) answers <response><sid>; action=transfer&sid=… the <transaction> (amount and currency of the merchant account, id, status 2 processed or 1 scheduled). Errors are <error><error_msg>: LOGIN_INVALID, MISSING_AMOUNT, INVALID_BNF_EMAIL, ALREADY_EXECUTED (the same frn_trn_id twice), SINGLE_TRN_LIMIT_VIOLATED (over 10,000 euros), DISALLOWED_RECIPIENT, BALANCE_NOT_ENOUGH (cents …07 from 1.00), SESSION_EXPIRED. A request naming a payment instead of a beneficiary (a Quick Checkout payout) gets PAYOUTS_NOT_ENABLED.POST /skrill/app/refund.pl — refunds: action=prepare (transaction_id or mb_transaction_id, an amount in the merchant account's currency for a partial one, refund_status_url, merchant_fields), then action=refund&sid=…: mb_amount, mb_currency, mb_transaction_id and status 2, 0 (the refund status report follows 20 seconds later) or -2 with error. By the refund's cents in euros, from 1.00: …05 BALANCE_NOT_ENOUGH, …09 pending, …66 REFUND_DENIED (what Skrill answers gambling and forex merchants); a payment with nothing left to refund GENERIC_ERROR.wrong; any other email is an account with 5,000.00)| Effect | |
|---|---|
player@skrill.test | 5,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.test | 20.00 in the balance: a bigger payment fails after Pay now (status -2, failed_reason_code 05) |
blocked@skrill.test | A restricted account: the payment fails after Pay now (status -2, failed_reason_code 35); a payout to it is refused (DISALLOWED_RECIPIENT) |
pending@skrill.test | Pays by an offline bank transfer: pending (status 0), then processed (status 2) half a minute later |
newcomer@skrill.test | No Skrill account: signing in is refused; a payout to it is scheduled (status 1) until the account is opened |
OBT): any bank pays; Lab Bank (declines) fails with failed_reason_code 04. NETELLER (NTL): any account and 6-digit Secure ID pay (000000 is refused on the page); declined@neteller.test fails with 06. paysafecard (PSC): any 16-digit PIN pays up to EUR 1,000; one ending 0000 fails with 05.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.
POST /paycom/v1/charges, /holds — amount (an integer in minor units), currency, reference, customer_reference_id, source_data {type: "card", card: {number, expiry_month, expiry_year, cvv, name, authentication_context, three_ds}, billing_details} or {type: "network_token", network_token: {token, token_type, expiry_month, expiry_year, three_ds: {cryptogram, eci}}}, payment_method_options.card.request_threed_secure: 201 succeeded (a hold: requires_capture), a 400 payment_method_error / card_declined with decline_code and the object's id (the object exists, failed), or 201 requires_authenticationPOST /paycom/v1/sessions/authentication/linked — {resource, return_url, confirm, duration}: the session, with the url the payer goes to (the issuer's challenge, the shared ACS page; 60 minutes unless duration says otherwise). With confirm true the payment is authorised before the payer is sent to return_url; with false it waits as requires_confirmation for POST …/charges/{id}/confirm (or /holds/{id}/confirm)POST /paycom/v1/holds/{id}/capture (amount_to_capture for part: a charge per capture, the rest stays capturable), /cancel (all that is left)POST /paycom/v1/refunds — {charge, amount_to_refund, reference}: succeeded, or pending first; more than is left is a 422POST /paycom/v1/payouts — to destination (a saved pm_card_…, as a charge's payment_method) or destination_data (card, network_token, eu_bank_account by IBAN, uk_bank_account by sort code and account number): a card succeeded at once, a bank account pending for 5 seconds (modeled) and then succeeded; POST …/payouts/{id}/cancel, and the sandbox's POST …/payouts/{id}/simulate/return. Above 50,000 (modeled), declinedGET every object by its id (/charges/{id}, /holds/{id}, /refunds/{id}, /payouts/{id}, /transaction_status/{id}) and by the reference it was made with (/charges/reference/{reference}, …); /charges/{id}/refunds, /holds/{id}/chargesPOST /paycom/v1/webhook_endpoints — {url, event_types, name}: the endpoint and, this once, its secret. Events: charge.succeeded, charge.failed, charge.requires_confirmation, charge.refunded, hold.requires_capture, hold.captured, hold.succeeded, hold.failed, hold.canceled, refund.*, payout.*, authentication_session.*, as {id, resource: "event", type, created, data}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.
| Card | Brand | Outcome |
|---|---|---|
4242424242424242 | Visa | Approved, without 3-D Secure |
5555555555554444 | Mastercard | Approved, without 3-D Secure |
378282246310005 | American Express | Approved, without 3-D Secure |
4000000000001000 | Visa | 3-D Secure without a challenge (frictionless): approved at once |
5200000000001096 | Mastercard | 3-D Secure challenge, then approved |
4000000000001091 | Visa | 3-D Secure challenge, then declined: insufficient funds |
4000000000001109 | Visa | 3-D Secure challenge that fails whatever you answer |
4000007818415900 | Visa | Declined: do not honour |
4000005357086322 | Visa | Declined: insufficient funds |
4000004452879855 | Visa | Declined: stolen card |
4001888587298851 | Visa | Declined: expired card |
5333303384453218 | Mastercard | Declined: policy |
4050453601459870 | Visa | A partial-approval card: declined for insufficient funds here, since BabelPay asks for the whole amount |
| Field | Value | Effect |
|---|---|---|
| 3-D Secure challenge | 1234 (or any other code) | Authenticated: the payment goes on |
| 3-D Secure challenge | 3333 | Authentication denied: the payment failed (authentication_failure) |
| 3-D Secure challenge | Cancel payment, or Fail authentication (lab drawer) | The payment failed |
| 3-D Secure challenge | Leave it 20 minutes | The authentication session ends and the payment failed (modeled) |
| Payout amount | 5.05 | Fails at once |
| Payout amount | 2.02 | Pending, then succeeds 20 s later; the webhook tells |
| Payout amount | 3.03 | Pending, then fails 20 s later; the webhook tells |
| Payout to a bank account (IBAN) | Any other amount | Pending, then succeeds a few seconds later |
| Payout IBAN | One that fails its check digits | Refused: not a valid IBAN |
| Refund amount (lab rule, from 10.00) | …54 | Declined |
| Refund amount (lab rule, from 10.00) | …55 | Pending, then succeeds 20 s later; the webhook tells |
| Billing address, country US | Line 1 "714 E Cocoa St", or postal code 90221 | Declined: do not honour (Pay.com's address check) |
| Amount (last two digits in minor units) | On | Effect |
|---|---|---|
| …54, from 10.00 | Refund | Declined: 400 payment_method_error, the refund failed (do_not_honour) |
| …55, from 10.00 | Refund | pending, then succeeded after 20 s (refund.succeeded tells) |
confirm and duration, the webhook events and their signature, the sandbox's test cards, challenge codes and payout test amounts, the payout return simulation.url (clients take the URL Pay.com answers), what becomes of a payment whose session ran out (the lab fails it with authentication_abandoned), the timers (20 seconds for a pending refund or payout), the refund rules, the payout ceiling, which decline code a 5.05 payout carries, the wording of validation errors, the http://localhost webhook URLs it takes, the issuer's page (the shared ACS page). Not played: payment and setup sessions and Pay.com.js, encrypted Apple Pay and Google Pay tokens, client-side encrypted cards, alternative payment methods, customers and saved-card management, subscriptions, disputes, routing and settlement accounts, the list queries' full filters, PCI-compliant keys (never asked for).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.
/latpay/api/card/authorise — Schedule 2A: ResponseType 0 (fraud screening: 9001 missing field, 1003 over 10,000.00, 1007 expired, 9005 Amex), 1 (the bank: Bank_status 00, 05 with bank_code, 90), or 2 (enrolled, 3dSecureCheck=Y: VBV_URL and PAReq). With a PARes, Schedule 2F: the bank's answer, or 5001/latpay/lab/acs — the issuer's ACS: the browser posts PaReq, TermUrl, MD (the shared issuer page); the answer goes to TermUrl with PaRes and MD/latpay/3dsecure/termurl — LPS's TermUrl: the MD must be <LPS_transaction_id><Merchant_ref_number><BackToMerchantURL> (else 5007); then Schedule 2E (ResponseType 3, the PARes) is posted with the payer to the URL the BackToMerchantURL number stands for, which a simulated connection names in X-Bistromathic-Return-Url on its payment request/latpay/api/card/authstatuscheck — Schedule 2G: by merchant_ref_number, currency and amount (and lps_transaction_id); realtime=Y finds the last hour's, N older ones (6003 otherwise); the same transaction again within ten minutes is 6009/latpay/api/recredit/submit — Schedule A1: refund_type 1/2 (a refund, a minute or more after the payment, else 4009; pending, then approved 3 s later), 3/4 (a cancellation, within the minute, else 4008; at once), 5 (an OCT: pending, then paid; 4011 over 5,000.00; 4025 to a card with no approved payment; 4017 a reference used before)/latpay/api/recredit/statuscheck (A3) and /latpay/api/recredit/octstatuscheck (B4) — a recredit's RefundSubmit_status and Bank_status; 4003 when none matches| Card | Brand | Outcome |
|---|---|---|
4111111111111111 | Visa | Enrolled in 3-D Secure: the issuer's page. Confirm: approved (Bank_status 00); Fail authentication or Cancel payment: 5001, 3-D Secure authentication failed |
5555555555554444 | Mastercard | Enrolled in 3-D Secure: the issuer's page, as above |
4242424242424242 | Visa | Not enrolled: approved at once (Bank_status 00) |
5105105105105100 | Mastercard | Not enrolled: approved at once |
4000000000000002 | Visa | Not enrolled: rejected by the bank (Bank_status 05, bank_code 05 Do not honour) |
4000000000009995 | Visa | Not enrolled: rejected by the bank (bank_code 51 Insufficient funds) |
4000000000000119 | Visa | Not enrolled: a communication failure with the bank (Bank_status 90, status unknown); the status check answers approved |
378282246310005 | American Express | Refused before the bank: 9005, Amex card transactions not allowed |
LPSReply_pwd, two-decimal amounts, the −1 transaction id on 9001, MD's three parts, the status check's ten-minute rule and realtime flag, cancellations before the cut-off and refunds after it, OCT's "no purchase on card".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.
POST /aeteredge/payment-invoices — {data: {type: "payment-invoices", attributes: {reference_id, service, currency, amount, flow, test_mode, description, customer, metadata, return_url, return_urls, callback_url, expires, service_fields}}}: 201 with status: process_pending, flow_data (its metadata.token for a card service) and hpp_url. A reference_id used before is a 409POST /aeteredge/cardgate/payment/sale — {data: {type: "sale-operation", attributes: {card_number, card_holder, cvv, exp_month, exp_year, browser_info}}}: {status: processed | process_failed, auth_mode: null, auth_payload: []}, or {status: process_pending, auth_mode: "3ds", auth_payload: {action, method: "POST", params: {creq}}}GET /aeteredge/payment-invoices/{id}, GET /aeteredge/payment-invoices?filter[reference_id]=…; GET /aeteredge/payment-servicesPOST /aeteredge/payment-invoices/{id}/refund — {data: {id, type: "refund-operation", attributes: {amount, reference_id, description}}}: 201, processed at once; 422 without a reference_id or above what is left. There is no read of a refund (Aeteredge's /refunds/{id} is "No route found"): the invoice's refunded_amount and status tellPOST /aeteredge/payout-invoices — {data: {type: "payout-invoice", attributes: {reference_id, service, currency, amount, fields: {card_number}, context: {card: {card_holder, exp_month, exp_year}}, customer, callback_url, options}}}: 201 created (or processing with options.auto_process); POST …/{id}/process, paid a moment later. GET /aeteredge/payout-invoices/{id}Errors are Aeteredge's: {errors: [{status, code}]}, and a validation error's {errors: {field: message}} (422).
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.
| Card | Brand | Outcome |
|---|---|---|
5123817234060000 | Mastercard | 3-D Secure challenge: Confirm succeeds (processed); Cancel payment or Fail authentication fails it. With expiry 07/77 it stays pending (auth_3ds_required) |
5519283812030000 | Mastercard | No 3-D Secure: processed at once. With expiry 07/77 it stays pending |
4412397212080000 | Visa | 3-D Secure challenge, then process_failed with the resolution its expiry date chooses (the triggers below); general_fatal_error for any other expiry |
4302912837020000 | Visa | No 3-D Secure: process_failed at once, with the resolution its expiry date chooses |
babel-connectors/src/aeteredge/docs/): the hosts, the paths, Basic auth, the invoice, sale, refund and payout documents, the statuses and resolutions, the Card Gate's answers and its ACS form, the callbacks and their X-Signature, the test cards and expiry table, the service codes, the 401 envelopes, the routes that exist and that /refunds/{id} does not (probed).invalid_3ds_code, client_auth_failed); the hosted page; a payout's 3-second settlement and its failure for the "fail" cards; refunds always processed at once; no callback when an invoice is created. Not played: the Public API, pre-requests, tokenisation and payouts by token, two-step (authorize, capture, void), batch payouts, payouts to anything but a card, the dashboard.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}.
POST /fiserv-ipg/ipp/payments-gateway/v2/payments — requestType PaymentCardSaleTransaction, PaymentCardPreAuthTransaction, PaymentCardCreditTransaction (a credit to the card: a payout), WalletSaleTransaction or WalletPreAuthTransaction (DecryptedApplePayWalletPaymentMethod, DecryptedGooglePayWalletPaymentMethod); transactionAmount (total in major units, currency), paymentMethod.paymentCard (number, securityCode, expiryDate MM and YY), merchantTransactionId (unique: a second use is refused, 409 N:-5003). With authenticationRequest (Secure3DAuthenticationRequest, termURL, methodNotificationURL): a frictionless result, or WAITING with authenticationResponse.secure3dMethod (methodForm: a hidden iframe posting threeDSMethodData to the issuer) or authenticationResponse.params (acsURL, cReq, sessionData). A merchant's own result goes in authenticationResult (Secure3DAuthenticationResult)PATCH /fiserv-ipg/ipp/payments-gateway/v2/payments/{id} — Secure3DAuthenticationUpdateRequest: methodNotificationStatus (RECEIVED, EXPECTED_BUT_NOT_RECEIVED, NOT_EXPECTED) after the 3DS Method, acsResponse.cRes after the challenge. Answers the result, or the challengePOST /fiserv-ipg/ipp/payments-gateway/v2/payments/{id} — PostAuthTransaction (the authorized amount or less, once), VoidPreAuthTransactions, VoidTransaction (a sale, PostAuth, return or credit), ReturnTransaction (partial or full, never more than was captured). A state the gateway's rules refuse is a 409 FAILEDGET /fiserv-ipg/ipp/payments-gateway/v2/payments/{id} — by ipgTransactionId, or merchantTransactionId=<id>; none is a 404GET /fiserv-ipg/ipp/payments-gateway/v2/orders/{orderId} — the order and every transaction on itPOST /fiserv-ipg/3ds/method/{token}, POST /fiserv-ipg/3ds/acs/{token} — the issuer's 3DS Method URL (posts threeDSMethodData on to the methodNotificationURL) and its challenge (the shared ACS page; then cres and threeDSSessionData to the termURL). Unanswered for 10 minutes, the payment is declinedAnswers 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.
| Card | Brand | Outcome |
|---|---|---|
4147463011110083 | Visa | 3-D Secure frictionless, fully authenticated (Y), then approved |
5239290700000028 | Mastercard | 3-D Secure frictionless, fully authenticated (Y), then approved |
4147463011110117 | Visa | 3-D Secure frictionless, attempted (A), then approved |
4147463011110091 | Visa | 3-D Secure frictionless, not authenticated (N): declined by the gateway |
4147463011110042 | Visa | 3-D Secure frictionless, rejected (R): declined by the gateway |
4147463011110067 | Visa | 3-D Secure frictionless, unable to authenticate (U): declined by the gateway |
4265880000000007 | Visa | The 3DS Method, then frictionless, fully authenticated (Y), then approved |
5204740000002711 | Mastercard | The 3DS Method, then frictionless, fully authenticated (Y), then approved |
4265880000000015 | Visa | The 3DS Method, then frictionless, not authenticated (N): declined |
4147463011110059 | Visa | The issuer's challenge: your answer decides |
5239290700000002 | Mastercard | The issuer's challenge: your answer decides |
4147463011110034 | Visa | The issuer's challenge, rejected (R) whatever you answer: declined |
4265880000000064 | Visa | The 3DS Method, then the issuer's challenge: your answer decides |
5204740000002745 | Mastercard | The 3DS Method, then the issuer's challenge: your answer decides |
4005520000000129 | Visa | Approved (Fiserv's general test card) |
5413330089010640 | Mastercard | Approved (Fiserv's general test card) |
4000000000003220 | Visa | The issuer's 3-D Secure challenge, then approved (the lab's card) |
4000000000000002 | Visa | Declined: 05 Do not honour |
4000000000009995 | Visa | Declined: 51 Insufficient funds |
4000000000000069 | Visa | Declined: 54 Expired card |
4100000000000019 | Visa | Declined: 59 Suspected fraud |
| Amount (last two digits in minor units) | On | Effect |
|---|---|---|
| …52, from 10.00 | credit | The credit (payout) is declined by the endpoint (05) |
| …77, from 10.00 | return | The return (refund) is declined by the endpoint (05) |
| …97, from 10.00 | payment | Stays WAITING at the endpoint for 30 seconds, then the card's outcome (read it with GET /payments/{id}) |
allowUnableToAuth (declined), the challenge's window, the ceiling, the lab rules and the endpoint codes of the lab's own test cards, the issuer's page (the shared ACS page). Not played: payment tokens, payment URLs, schedules, DCC, APMs, the encrypted wallets, card verification and disbursements (US only).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.
POST /payments/v2/transactions: paymentMethodTagName (or paymentMethodId), amount
(a string of hundredths), currency, trackingId (max 50), notificationUrl, returnUrl,
language, customer {firstName, lastName, personalId, email, country, ip, …} → {uid, status, trackingId,
amount, currency, billing, form: {action, method}, paymentMethod, …}; a missing customer field answers MISSING_INFO
and the form asks for itGET /payments/v2/transactions/{uid}, …/byTracking/{trackingId}; 404 for another shop'sGET /payments/v2/public/transactions/landing-info/{uid}: references, instructions, QR and bar codes, bank fields and
expirationDate of a PENDING transaction by SPEI, the Argentine alias, Pix, Yape, boleto, Efecty, Pago Fácil or RapipagoGET /payments/v2/paymentMethods?Country=&Channel=&Currency=notificationUrl at creation and on every change;
POST /payments/v2/notifications {transactionId, notificationUrl, status} sends one with any status and changes
nothing (and …/notifications/payouts {payoutId, notificationUrl, statustypecode})POST /payments/v2/payout/quote → {payoutQuoteId, expiresAt, fxBreakdown, …} (5 minutes);
POST /payments/v2/payout → the payout id; GET /payments/v2/payout/{externalReference}. Countries: AR (ARS; 1; ONLINE); BR (BRL; 1; ONLINE, PIX); CL (CLP; cl_rut; ONLINE); MX (MXN; 40; ONLINE); CO (COP; 01, 02, 03; ONLINE, BREB); EC (USD; 03, 04, 05; ONLINE); PE (PEN; 02, 03, 04, 05; ONLINE)| Country | Currencies | Tags |
|---|---|---|
| AR | ARS, USD | CREDIT_CARD ONLINE CASH MERCADO_PAGO PAGO_FACIL RAPIPAGO ALIAS KHIPU |
| BR | BRL, USD | ONLINE PIX BOLETO |
| CL | CLP, USD | CREDIT_CARD ONLINE CASH SERVIPAG KHIPU |
| CO | COP, USD | CREDIT_CARD ONLINE CASH PSE EFECTY |
| CR | CRC, USD | CREDIT_CARD ONLINE CASH |
| EC | USD | CREDIT_CARD ONLINE CASH |
| MX | MXN, USD | CREDIT_CARD ONLINE CASH SPEI OXXO SEVEN_ELEVEN |
| PE | PEN, USD | CREDIT_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.
| Deposit amount | Effect |
|---|---|
| …11 | CANCELLED once paid: THIRD_PARTY_PAYMENT_NOT_ALLOWED (refunded to the payer) |
| …05 | REJECTED once paid: INSUFFICIENT_FUNDS |
| …06 | FAILED once paid: DECLINED_BY_RISK_VALIDATOR |
| …07 | Still PENDING when paid, APPROVED a minute later |
| …08 | APPROVED with no notification: only a status read tells |
| …09 | APPROVED, then REVERSED a minute later (the bank did not transfer the funds) |
| …12 | Payable for 2 minutes only, then EXPIRED |
| …13 | FAILED at creation (the provider refused a value): a uid, and no checkout |
| Payout amount | Effect |
|---|---|
| …05 | ERROR after PROCESSED: BANK_REJECTION |
| …06 | Refused at creation (HTTP 400): 0_PAYOUT_INVALID_ACCOUNT |
| …07 | Refused at creation (HTTP 400): PAYOUT_BALANCE_INSUFFICIENT |
| …08 | ACCEPTED for 5 minutes, then FINISHED |
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.
POST /worldline-connect/v1/{merchantId}/payments — order (amount in minor units, references.merchantReference of 30 characters at most, the customer with its billing country and device), cardPaymentMethodSpecificInput (the card, paymentProductId, requiresApproval, threeDSecure.redirectionData.returnUrl): 201 PENDING_APPROVAL (an authorisation, or every payment of an account that approves them) or CAPTURE_REQUESTED, 201 REDIRECTED with merchantAction REDIRECT to the issuer's challenge, or 402 with the REJECTED payment in paymentResult. A merchant reference used before is 409 300620POST …/payments/{id}/approve (PENDING_APPROVAL → CAPTURE_REQUESTED → CAPTURED → PAID), …/capture (PENDING_CAPTURE, a capture of its own), …/cancel (CANCELLED), …/refund (a refund awaiting approval, then POST /refunds/{id}/approve: REFUND_REQUESTED → REFUNDED); GET a payment, capture or refund by id, and payments, refunds and payouts by merchantReferencePOST /worldline-connect/v1/{merchantId}/payouts — cardPayoutMethodSpecificInput (the card, its product, the recipient's name) and payoutDetails (amount, customer with name and country, references.merchantReference): PENDING_APPROVAL, then …/payouts/{id}/approve: PAYOUT_REQUESTED → ACCOUNT_CREDITEDPOST …/services/getIINdetails — the card product of a BIN; GET …/services/testconnection — {"result":"OK"}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.
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.
| Card | Brand | Outcome |
|---|---|---|
4012000033330026 | Visa | Frictionless 3-D Secure: authorised (the GlobalCollect negative amounts decline it, see below) |
4567350000427977 | Visa | Frictionless 3-D Secure with the issuer's method URL: authorised |
4012007153923001 | Visa | 3-D Secure challenge: confirm it and the payment is authorised |
4012007161850527 | Visa | 3-D Secure challenge that fails: rejected (401010) |
4012001775445550 | Visa | Frictionless authentication fails: rejected at once (401010) |
5200000091444270 | Mastercard | Frictionless 3-D Secure: authorised |
5200003143732874 | Mastercard | 3-D Secure challenge: authorised |
5200006177946005 | Mastercard | 3-D Secure challenge that fails: rejected (401010) |
371449635398431 | American Express | Frictionless 3-D Secure: authorised |
5424180279791732 | Mastercard | No 3-D Secure: authorised (the GlobalCollect negative amounts decline it) |
4457010000000009 | Visa | Declined: unable to authorise (430424) |
5424180279791740 | Mastercard | Declined: not authorised (430285) |
| Field | Value | Effect |
|---|---|---|
| Amount, card 4012000033330026 | 52.00 USD | Declined: not authorised (430285) |
| Amount, card 4012000033330026 | 41.00 USD | Declined: invalid card number (430330) |
| Amount, card 4012000033330026 | 61.00 CAD | Declined: card expired (430306) |
| Amount, card 4012000033330026 | 21.00 USD | Declined: referred (430409) |
| Amount, card 5424180279791732 | 29.97 USD | Declined: not authorised (430285) |
| Billing city | Calais | The fraud screening challenges the payment: PENDING_FRAUD_APPROVAL, until someone reviews it in the Payment Console |
| Billing city | Denver | The fraud screening denies the payment: REJECTED (430450) |
| Refund amount (EUR) | 13.03 | The refund is requested, then rejected |
| 3-D Secure challenge | Fail authentication or Cancel | Rejected: authentication failed (401010) or cancelled at the bank (400700), whatever the card |
| Any other card | the lab's standard test cards | The 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 |
statusCodes beyond the docs' examples; RETURNMAC and paymentId on the return URL; refunds and payouts waiting for approval (as the docs' examples answer; an account may process them at once); the Configuration Center's webhooks page; the issuing country Get IIN details answers ("NL"); the 20-second settling. Not played: Hosted Checkout, Hosted Mandate Management, tokens, mandates, disputes, sessions, installments, network tokens, Click to Pay, Apple Pay and Google Pay, and the alternative payment methods.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.
POST /praxis/cashier/cashier (intent payment or authorization, cid, order_id, currency, amount in cents, locale, notification_url, return_url, customer_data or customer_token, optionally payment_method or gateway): a session, live 15 minutes, and its redirect_url, the Cashier. The payer picks a gateway (s-pTSZyK23E1Ee5KZpcNbX_aFl0HuhQ0 Test Card Processor (Credit Card), XkI4sCxOBpcXylpK3-7ycM39RLTAqsyt Test E-Wallet (WireOnline); credit_card_cascade_gateway_0000 is the card one), pays, sees the result and Continues to the return_url (GET, its {{…}} placeholders filled in). A declined payment can be tried again in the same session.POST /praxis/agent/find-order (order_id): the session and its latest transaction; a session with none yet is answered without one (its session_status open or expired); an unknown order "Order not found". POST /praxis/agent/find-transaction (tid).POST /praxis/agent/manage-transaction: capture-authorization or cancel-authorization of an authorized transaction (a cancel leaves it rejected, "Transaction status: Cancelled", as Praxis's example).POST /praxis/direct/refund (reference_id, the deposit's tid; its currency; up to what is left).POST /praxis/api/direct-process with transaction_type: payout and the card_token a deposit's notification gave: a card payout. The lab plays no direct card sale (the Cashier takes the card).notification_url with gt-authentication = SHA-384(merchant_id + application_key + timestamp + customer.customer_token + session.order_id + transaction.tid + transaction.currency + transaction.amount + transaction.conversion_rate + transaction.processed_currency + transaction.processed_amount + secret), lower-case hex. Answers carry external-request-signature over each method's documented fields. The lab's published secret is bistromathic-lab-simulated-flow.| CVV | Effect |
|---|---|
300 | 3-D Secure: the issuer's page, then approved (or declined) |
333 | 3-D Secure: the issuer's page, then approved (or declined) |
353 | Approved (partial approval: the lab approves the whole amount) |
444 | Error (server error) |
555 | Authorized (standard authorization; a sale is approved) |
568 | Approved (an authorization: authorized) |
588 | With amount 713.00: pending, then declined, Transaction timed out |
801 | Declined: insufficient funds (with amount 20.20 approved; with amount 30.00 pending, then approved) |
900 | Declined: card has been lost |
901 | Declined: card has been stolen |
902 | Declined due to fraud |
903 | Declined: do not honor |
904 | Declined (general decline) |
905 | Declined (non-3D decline) |
000 | Declined (standard decline) |
| any other | Declined |
| Amount | Effect |
|---|---|
| Test E-Wallet sale 487.00 | Declined: insufficient funds |
| Test E-Wallet sale 999.00 | Declined (standard decline) |
| Payout 47.00 | Declined |
| Payout 48.00 | Error |
| Payout 332.00 | Pending, then rejected on a status check |
| Payout 333.00 | Pending, then approved on a status check |
| Refund 47.00 | Declined |
| Refund 48.00 | Error |
| Refund 332.00 | Pending (the lab rejects it later) |
| Refund 333.00 | Pending (the lab approves it later) |
| Capture 47.00 | Declined |
| Capture 48.00 | Error |
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.
sale, authorization — orderId, amount (minor units; the merchant id decides the currency), orderSource (ecommerce, 3dsAuthenticated, 3dsAttempted, applepay), billToAddress, card (type VI/MC/AX/DI/DC/JC, number, expDate MMYY, cardValidationNum), cardholderAuthentication (authenticationValue, authenticationTransactionId, authenticationProtocolVersion). A card whose number does not match its type is 302. Apple Pay as merchant decryption: the device number as the card, orderSource applepay and the cryptogram as authenticationValue. Online duplicate checking: a second sale with the same id and card within two days is 251capture — on an authorization's cnpTxnId, its amount or less, once (835 above it, 111 a second time, 361 after a reversal); authReversal — releases an authorizationcredit — a refund on a sale's or capture's cnpTxnId, partial or full (365 beyond what was captured); void — of a sale, capture or credit (362 once something was refunded)fastAccessFunding — fundingCustomerId, customerName, fundsTransferId (16 letters and digits; the same one again answers the original with duplicate="true"), amount, disbursementType (VOG, VGP, VMD, …), cardholderAddress (967 without its first line), card (Visa and Mastercard; a Mastercard needs its expDate)queryTransaction — origId and origActionType (A, D, R, P, V, FIFA), optionally origCnpTxnId: 150 with the answers found (up to 10) within 24 hours, else 151Answers 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.
| Card | Brand | Outcome |
|---|---|---|
4457010000000009 | Visa | Approved (Worldpay's order 1), AVS 01, CVV M |
5112010000000003 | Mastercard | Approved (order 2) |
6011010000000003 | Discover | Approved (order 3) |
375001000000005 | American Express | Approved (order 4) |
4100200300011001 | Visa | Approved (order 5) |
4457010100000008 | Visa | Declined: 110 Insufficient Funds (order 6) |
5112010100000002 | Mastercard | Declined: 301 Invalid Account Number (order 7) |
6011010100000002 | Discover | Declined: 123 Call Discover (order 8) |
375001010000003 | American Express | Declined: 303 Pick Up Card (order 9) |
4100200300000004 | Visa | 3-D Secure result 0: CAVV not verified (3DS1) |
4100200300000012 | Visa | 3-D Secure result 1: CAVV failed verification (3DS2) |
4100200300000103 | Visa | 3-D Secure result 2: CAVV passed verification (3DS3) |
5112010200000001 | Mastercard | 3-D Secure result 0, Mastercard (3DS15) |
4005554444444403 | Visa | Payout: FastAccess Funding: approved |
4100202812244724 | Visa | Payout: FastAccess Funding: approved |
5413330089020011 | Mastercard | Payout: FastAccess Funding: approved (Mastercard: the expDate is required) |
4111111111111111 | Visa | Approved (the lab's card) |
4000000000000002 | Visa | Declined: 349 Do Not Honor |
4000000000009995 | Visa | Declined: 110 Insufficient Funds |
4000000000000069 | Visa | Declined: 305 Expired Card |
4100000000000019 | Visa | Declined: 555 Suspected Fraud |
| Amount (last two digits in minor units) | On | Effect |
|---|---|---|
| …52, from 10.00 | payout | The FastAccess Funding is declined 301 Invalid Account Number (nothing pushed) |
| …53, from 10.00 | payout | The FastAccess Funding is declined 349 Do Not Honor (a decline BabelPay leaves undecided) |
| …77, from 10.00 | refund | The refund is rejected by the processing network (273) |
| …78, from 10.00 | capture | The capture is refused: 361 Authorization no longer available |
| 3.00 exactly | payout | 990 Funding instruction held (Worldpay's own FastAccess test value) |
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).
POST /paysecure/api/v1/purchases/ — client (email, full_name, street_address, city, zip_code, country, stateCode required; phone for UPI, PIX, bank transfer, Interac and crypto; a PIX payer's tax_number), purchase (currency, products[] priced in major units, expireInMin), brand_id, merchantRef (a repeated one is refused), paymentMethod, the three redirects and two callbacks, skip_capture: 202, the purchase CREATED with its checkout_url and direct_post_urlPOST /paysecure/api/v1/p/{id}/?s2s=true — the card (cardholder_name, card_number, expires MM/YY, cvc) and the device (remote_ip, user_agent, accept_header, the 3DS2 fields): 202 {status: pending, callback_url, method: GET}, the purchase PENDING_EXECUTEGET /paysecure/api/v1/purchases/{id}/; POST …/capture/ {amount} (PAID or PARTIALLY_CAPTURED, once); POST …/cancel/ (CANCELLED); POST …/refund {amount, reason} ({refundId, status: REFUND_IN_PROCESS}, REFUNDED 3 s later) and POST /refundStatus/{id}/ {refundId}POST /paysecure/api/v1/payout/ — PAYOUT-CARDS with extraParam (cardNumber, cardHolderName, expiryYear YYYY, expiryMonth MM) and the payee's client: PAYOUT_IN_PROCESS, PAID 3 s later; GET /getpayout/{id}/GET /paysecure/api/v1/external/transactions/list (page_no from 0, page_size, start_date/end_date as 2026-01-07 16:12:00 +05:30) and /external/transactions/data/{id} (its merchant_reference); GET /payment_methods; POST /getBalanceErrors 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", …).
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.
| Card | Brand | Outcome |
|---|---|---|
4878397953290146 | Visa | 3-D Secure challenge (OTP 123456), then paid |
4079722589318630 | Visa | 2D (no authentication), paid |
4195258724913240 | Visa | 3-D Secure challenge, authentication failed: error |
4984823599573265 | Visa | 3-D Secure, then declined: Insufficient fund |
4618889598319798 | Visa | 3-D Secure, then declined by the issuer (Issuing bank - do not honer) |
4401279985739470 | Visa | 2D, declined by the issuer |
4710793097358785 | Visa | 2D, pending execution: stays payment_in_process (BabelPay keeps it open) |
4945208335596614 | Visa | 2D, transaction expired |
4405935956954713 | Visa | 2D, paid, but a refund of it fails |
5141922635866282 | Mastercard | 3-D Secure challenge (OTP 123456), then paid |
5116213113429327 | Mastercard | 2D (no authentication), paid |
5198134892284199 | Mastercard | 2D, declined by the issuer |
5143312606271514 | Mastercard | 2D, declined: Insufficient fund |
5151735930865446 | Mastercard | 3-D Secure, then declined: Cvv_error |
babel-connectors/src/paysecure/docs/): the host and paths, the Bearer key, the purchase and S2S requests and their required fields, the purchase object and its statuses (upper case at the root, lower case in status_history), the method codes and their currencies, capture once and cancel, partial refunds and their status, card payouts, the reporting API's paging and date format, the webhook envelopes and the signed strings, the error envelope and messages, and all 44 sandbox cards.checkout_url and callback_url point (a token with the merchant in it); an unlisted card being paid without 3-D Secure; the "Pending execution" cards staying PAYMENT_IN_PROCESS; refunds settling after 3 s, and a "Refund failed" card's refund ending FAILED; which statuses send a webhook; payouts over 1,000 waiting 10 s in PENDING_REVIEW; cents .51 refused for the float; crypto cents .21/.22 arriving short or long; the balance amounts; the duplicate-merchantRef message. Not played: the other payout rails, recurring mandates, saved cards and network tokens, cashier sessions and customers, Trust Score, Apple Pay and Google Pay payloads sent server to server.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.
POST /public/api/v1/cit: a session (pointOfSaleId, amount in minor units, currency,
reference, instantCapture, maxAttempts, timeout, allowedPaymentMethods,
reportFailure, reportExpired, the URLs, customerId, customer): its
paymentWindowUrl. 422 VALIDATION_ERROR with errors per field. Idempotency-Key replays.GET /sessions/{id}, GET /transactions/{id} (with aggregates and operations),
GET /transactions (sessionId, reference, customerId, state, type,
paymentMethodType; cursor offset).POST /transactions/{id}/capture, /refund, /void (-1 = the rest): synchronous operations.POST /payout: to a stored card payment method (a deposit made with a customerId), processed after
a few seconds and notified.transaction, aggregates, operations, session, sca,
card) POSTed to notificationUrl with Authorization: Bearer bistromathic-lab-simulated-flow.| Card | Brand | Scenario |
|---|---|---|
5019 0005 0000 0003 | Dankort | Approved |
4454 0000 0000 0003 | Visa | Approved |
4571 7102 0000 0003 | Visa | 3DS step-up |
4450 0000 0000 0072 | Visa | 3DS manual challenge |
4452 0000 0000 0013 | Visa | 3DS frictionless rejection |
4452 1000 0000 0003 | Visa | Failed: CIT authorization |
4571 7201 0000 0003 | Visa | Failed: insufficient funds |
4450 2000 0000 0003 | Visa | Failed: capture |
4458 3000 0000 0003 | Visa | Failed: MIT authorization |
4456 4000 0000 0003 | Visa | Failed: authorization void |
4453 5000 0000 0003 | Visa | Failed: refund |
4451 6000 0000 0003 | Visa | Failed: payout |
5451 0000 0000 0003 | Mastercard | Approved |
5170 1602 0000 0003 | Mastercard | 3DS step-up |
5457 0000 0000 0072 | Mastercard | 3DS manual challenge |
5459 0000 0000 0013 | Mastercard | 3DS frictionless rejection |
5459 1000 0000 0003 | Mastercard | Failed: CIT authorization |
5170 1701 0000 0003 | Mastercard | Failed: insufficient funds |
5457 2000 0000 0003 | Mastercard | Failed: capture |
5455 3000 0000 0003 | Mastercard | Failed: MIT authorization |
5453 4000 0000 0003 | Mastercard | Failed: authorization void |
5450 5000 0000 0003 | Mastercard | Failed: refund |
5458 6000 0000 0003 | Mastercard | Failed: payout |
| Amount | Effect |
|---|---|
| …12 | The session expires 2 minutes after creation (EXPIRED, notified) |
| …05 | FAILED: INSUFFICIENT_FUNDS |
| …06 | FAILED: DECLINED_BY_ISSUER_OR_SCHEME |
| …08 | SUCCESS without a notification: only a read tells |
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.
/adumo/oauth/token — grant_type=client_credentials, client_id, client_secret in the query: {access_token, token_type, expires_in, scope, jti}/adumo/products/payments/v1/card/initiate — the card, merchantUid, applicationUid (its currency: ZAR, or the lab's lab-app-<CUR>), value, merchantReference, ipAddress, userAgent: transactionState TDS_AUTH_REQUIRED with acsUrl and acsMD, or TDS_AUTH_NOT_REQUIRED/adumo/product/authentication/v1/acs/cardinal/{id} — Adumo's 3-D Secure page: the browser posts MD, PaReq and TermUrl; a challenge (the shared issuer page) or a frictionless authentication, then the result is posted to TermUrl (RESULT, TRANSACTIONID, ECI, CAVV, action …)/adumo/product/authentication/v2/tds/authenticate/{id} — the 3-D Secure state (statusCode, authorizationAllow)/adumo/products/payments/v1/card/authorise — AUTHORISED (200) or DECLINED (400, statusCode 403, the ISO code in processorResponse); 400 "3D Secure still need to be completed." before the authentication/adumo/products/payments/v1/card/settle, /adumo/products/payments/v1/card/reverse, /adumo/products/payments/v1/card/refund — SETTLED, REVERSED, PARTIALLY_REFUNDED / REFUNDED; 412 "Refund value exceeds possible refundable value."| Card | Brand | Outcome |
|---|---|---|
4000000000001091 | Visa | 3-D Secure challenge: Confirm authenticates, then approved; Fail does not (3-D Secure failed) |
5200000000001096 | Mastercard | 3-D Secure challenge, as above |
4000000000001109 | Visa | 3-D Secure challenge that fails (TDS_AUTH_FAILED) |
4000000000001000 | Visa | Frictionless 3-D Secure: authenticated without a page, then approved |
4000000000001018 | Visa | Frictionless 3-D Secure that fails |
4111111111111111 | Visa | No 3-D Secure: approved |
5100080000000000 | Mastercard | No 3-D Secure: approved |
4242424242424242 | Visa | No 3-D Secure: declined, 43 Stolen card, pick-up |
5404000000000001 | Mastercard | No 3-D Secure: declined, 05 Do not honour |
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).
POST /payu-latam/payments-api/4.0/service.cgi SUBMIT_TRANSACTION: AUTHORIZATION_AND_CAPTURE and
AUTHORIZATION (two-step in AR, BR, MX for Visa and Mastercard, PE; CL and CO, which PayU enables on request; not PA), CAPTURE
(whole or partial), VOID, REFUND and PARTIAL_REFUND (PENDING_REVIEW, then APPROVED 3 s later). Cards
(creditCard, ciphertext with BabelPay's BIN/last-four hint), 3-D Secure (THREEDS_AUTH_REDIRECT_URL, RESPONSE_URL
required), cash (OXXO, 7-Eleven, pharmacies, Efecty, Pago Fácil, Rapipago, Cobro Express, PagoEfectivo, bank references) and boleto with
URL_PAYMENT_RECEIPT_HTML, SPEI (CLABE and reference), Pix (QRCODE_EMV), PSE (BANK_URL), Yape (phone and
OTP). Also PING, GET_BANKS_LIST, GET_PAYMENT_METHODS.POST /payu-latam/reports-api/4.0/service.cgi: ORDER_DETAIL, ORDER_DETAIL_BY_REFERENCE_CODE,
TRANSACTION_RESPONSE_DETAIL, PING.POST /payu-latam/ppp-web-gateway-payu/: WebCheckout's form, with paymentMethods pinned to PSE, PIX or YAPE (the lab
plays those three there): PSE's bank picker and the bank, Pix's QR code and the bank app, Yape's phone and OTP; then the response URL.notifyUrl (confirmationUrl) when a payment or refund ends, with sign =
MD5 of apiKey~merchant_id~reference_sale~new_value~currency~state_pol under the lab's published API key
4Vj8eK4rloUd272L48hsrarnUA (PayU's own sandbox key).| paymentMethod | Name | Kind | Countries |
|---|---|---|---|
VISA | VISA | card | AR, BR, CL, CO, MX, PA, PE |
VISA_DEBIT | VISA Débito | card | AR, CL, CO, PE |
MASTERCARD | Mastercard | card | AR, BR, CL, CO, MX, PA, PE |
MASTERCARD_DEBIT | Mastercard Débito | card | CL, PE |
AMEX | American Express | card | AR, BR, CL, CO, MX, PE |
DINERS | Diners | card | AR, BR, CO, PE |
ELO | Elo | card | BR |
HIPERCARD | Hipercard | card | BR |
NARANJA | Naranja | card | AR |
CABAL | Cabal | card | AR |
ARGENCARD | Argencard | card | AR |
CENCOSUD | Cencosud | card | AR |
SHOPPING | Shopping | card | AR |
CODENSA | Codensa | card | CO |
OXXO | OXXO | cash | MX |
SEVEN_ELEVEN | 7-Eleven | cash | MX |
OTHERS_CASH_MX | Farmacias Benavides / del Ahorro | cash | MX |
BANK_REFERENCED | Referencia bancaria | cash | MX, CO |
SPEI | SPEI | spei | MX |
BOLETO_BANCARIO | Boleto Bancário | cash | BR |
PIX | Pix | pix | BR |
EFECTY | Efecty | cash | CO |
PSE | PSE | pse | CO |
PAGOFACIL | Pago Fácil | cash | AR |
RAPIPAGO | Rapipago | cash | AR |
COBRO_EXPRESS | Cobro Express | cash | AR |
PAGOEFECTIVO | PagoEfectivo | cash | PE |
YAPE | Yape | yape | PE |
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).
| Card | Brand | Scenario |
|---|---|---|
4268070000000002 | VISA | VISA credit (Mexico) |
4415490000000004 | VISA | VISA debit (Mexico) |
5579070000000003 | MASTERCARD | Mastercard credit (Mexico) |
5256780000000007 | MASTERCARD | Mastercard debit (Mexico) |
376675000000005 | AMEX | American Express (Mexico) |
4097440000000004 | VISA | VISA credit (Colombia) |
4111111111111111 | VISA | VISA credit (Colombia) |
4509420000000008 | VISA_DEBIT | VISA debit (Colombia) |
5471300000000003 | MASTERCARD | Mastercard credit (Colombia) |
377813000000001 | AMEX | American Express (Colombia) |
36032400000007 | DINERS | Diners (Colombia) |
5907120000000009 | CODENSA | Codensa (Colombia) |
4422120000000008 | VISA | VISA credit (Brazil) |
5123740000000002 | MASTERCARD | Mastercard credit (Brazil) |
5067310000000002 | ELO | Elo (Brazil) |
6062825624254001 | HIPERCARD | Hipercard (Brazil) |
376611000000000 | AMEX | American Express (Brazil) |
4850110000000000 | VISA | VISA credit (Argentina) |
4517730000000000 | VISA_DEBIT | VISA debit (Argentina) |
5399090000000009 | MASTERCARD | Mastercard credit (Argentina) |
5895620000000002 | NARANJA | Naranja (Argentina) |
5896570000000008 | CABAL | Cabal (Argentina) |
4761340000000035 | VISA | VISA credit (Chile): VISA_GLOBAL_3, CVV 846, 12/27 |
5457210001000019 | MASTERCARD | Mastercard credit (Chile): BKN_DMC_001, CVV 300, 12/25 |
4723030000000005 | VISA | VISA credit (Panama) |
5455040000000005 | MASTERCARD | Mastercard credit (Panama) |
4907840000000005 | VISA | VISA credit (Peru) |
4557880000000004 | VISA_DEBIT | VISA debit (Peru) |
5491610000000001 | MASTERCARD | Mastercard credit (Peru) |
5236930000000003 | MASTERCARD_DEBIT | Mastercard debit (Peru) |
5436062405627681 | MASTERCARD | 3DS challenge required |
4012001037141120 | VISA | 3DS challenge required |
4245757666349685 | VISA | 3DS challenge required |
5150030090350186 | MASTERCARD | 3DS successful without friction |
5521455186577727 | MASTERCARD | Card not registered for 3DS |
| Phone | OTP | Result |
|---|---|---|
969929157 | 557454 | APPROVED APPROVED |
969929157 | 000000 | DECLINED INVALID_TRANSACTION |
999999999 | 284563 | DECLINED NOT_ACCEPTED_TRANSACTION |
993355231 | 784592 | DECLINED PAYMENT_NETWORK_REJECTED |
969929157 | 285743 | DECLINED EXCEEDED_AMOUNT |
991055199 | 378458 | DECLINED INVALID_TRANSACTION |
995555126 | 678452 | DECLINED INVALID_TRANSACTION |
969929158 | 528475 | DECLINED REPEAT_TRANSACTION |
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.
POST /klix/api/v1/purchases/ (brand_id, client.email, purchase.products in minor units, reference, payment_method_whitelist, skip_capture, due with purchase.due_strict, purchase.single_attempt, the redirects and success_callback): 201 and its checkout_url, the hosted page here. A whitelist of one method opens that method directly.GET /klix/api/v1/purchases/{id}/; …/cancel/; …/capture/ (amount optional: a partial capture releases the rest); …/release/; …/refund/ (client_name, amount optional, up to refundable_amount): a Payment (status: success, related_to the purchase), or the purchase at pending_refund.GET /klix/api/v1/payment_methods/?brand_id¤cy[&country][&skip_capture=true]: klix (cards), klix_apple_pay, klix_google_pay, the banks revolut_pis indexo_pis swedbank_ee_pis seb_ee_pis lhv_ee_pis luminor_ee_pis coop_pank_ee_pis citadele_ee_pis citadele_ee_digilink paysera_ee_pis indexo_ee_pis swedbank_lv_pis seb_lv_pis citadele_lv_pis citadele_lv_digilink luminor_lv_pis paysera_lv_pis indexo_lv_pis swedbank_lt_pis seb_lt_pis luminor_lt_pis siauliu_lt_pis citadele_lt_pis citadele_lt_digilink lku_lt_pis paysera_lt_pis indexo_lt_pis (EUR only).event_type, POSTed to success_callback when it is paid or captured, signed X-Signature (RSA PKCS#1 v1.5, SHA-256 of the raw body) with the lab's published key, which GET /klix/api/v1/public_key/ answers.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:
| Amount | Effect |
|---|---|
| Payment …,51 | Declined: insufficient_funds |
| Payment …,52 | Declined: expired_card |
| Payment …,53 | Declined: suspected_fraud |
| Payment …,54 | pending_execute, then paid (or hold) a minute later |
| Payment …,55 | pending_execute, then failed a minute later (timeout_acquirer_status_check) |
| Refund …,61 | 400 purchase_refund_error (exceeded_acquirer_refund_amount in the attempts) |
| Refund …,62 | pending_refund, then refunded a minute later (payment.refunded) |
| Capture …,71 | 400 purchase_capture_error; the purchase stays on hold |
| Capture …,72 | pending_capture, then paid a minute later |
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.
POST /payment: an order (signature, amount in minor units, operative
AUTHORIZATION / DEFERRED / PAYOUT, secure, service or currency, description,
url_post, url_ok, url_ko, reference (409 on a duplicate), expires_in,
customer_ext_id, extra_data): the order with its token and a validation_hash.
Errors are Paylands' {message, code, details}./payment/process/{token} (the card form; ?apm= another method) and
/payment/bizum/{token}. POST /payment/push with apm: BIZUM sends Bizum's request to pay
to extra_data.profile.phone, or answers 303 with the page's link.GET /order/{uuid}, GET /orders (by start/end, YYYYMMDDHHmm),
GET /customer/{ext_id}/cards, GET /api-key/me.POST /payment/refund, /confirmation, /cancellation (of a DEFERRED order) and
/payout (a PAYOUT order to source_uuid, a card the customer paid with).{order, client, extra_data, validation_hash} POSTed to url_post, the hash being SHA-256 of
the JSON of order, client and extra_data followed by the signature
bistromathic-lab-simulated-flow.| Card | Scenario |
|---|---|
4761 7390 0009 1011 | 3DS payment OK (full flow) |
5150 7960 2423 8164 | 3DS payment KO |
5590 3375 3671 8399 | Non-3DS / frictionless payment OK |
5223 7981 9365 9108 | Non-3DS payment + SCA (soft decline, then 3DS) |
5485 0099 4920 1879 | Non-3DS payment KO |
5584 5189 3301 0195 | Frictionless KO |
5123 4500 0000 0008 | Frictionless KO, MAC: do not retry |
5111 1111 1111 1118 | Frictionless KO, MAC: retry later |
5503 4607 0860 1080 | Frictionless KO (MSP): authenticated, then refused |
4548 8172 1249 3017 | Only Challenge OK |
4916 3939 2861 5990 | Only Challenge KO (Challenge) |
5404 1544 4485 9348 | Only Challenge KO (MSP) |
4761 7390 0101 0010 | Fingerprinting OK |
4414 0957 0703 0385 | Fingerprinting KO |
4000 0584 0000 0071 | Partial Authorization OK |
4242 4242 4242 4242 | Approved (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.
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.
POST /v2/form: the signed form (authenticity_token, order_number, amount in minor units,
currency, transaction_type purchase or authorize, order_info, language, the buyer's
ch_*, the URL overrides, form_duration_override in minutes, digest = SHA-512(key + order number +
amount + currency)). A wrong field is Monri's 400 {"errors": {…}}.success_url_override with Monri's parameters and
digest = SHA-512(key + the URL before it), and the callback (JSON, Authorization: WP3-callback SHA-512(key + body))
goes to callback_url_override. Cancel goes to cancel_url_override.POST /orders/show (XML: order-number, authenticity-token, digest = SHA-1(key + order
number)): the order's latest transaction under <order>.POST /transactions/{order}/capture.xml, refund.xml, void.xml (XML: amount,
currency, digest = SHA-1(key + order number + amount + currency)): 201 and the new transaction; 406 or 422 with
<errors>.The lab's key for every digest is bistromathic-lab-simulated-flow.
| Card | Brand | Scenario |
|---|---|---|
4341 7920 0000 0044 | Visa | 3-D Secure challenge, then approved |
4058 4000 0000 0005 | Visa | Approved, no 3-D Secure |
5464 0000 0000 0008 | Mastercard | Approved, no 3-D Secure |
6769 0642 1999 2611 | Maestro | 3-D Secure challenge, then approved |
4111 1111 1111 1111 | Visa | Approved, no 3-D Secure |
| Amount (minor units) | Effect |
|---|---|
| …16 | Declined: 1016 Not sufficient funds |
| …54 | Declined: 1054 Transaction declined by issuer |
| …77 | Approved; its captures, refunds and voids are declined (1050) |
| 10000 | Declined: general decline, 1050 (Monri's own test amount, 100.00) |
| …08 | Approved, but no callback: only the order read tells |
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).
POST /paramount/consumer/interacGateway.do — the payer's browser posts merchant_id, details (the
form-encoded payment request, AES-256-CBC under the merchant key, hex) and iv; PayDirect's pages follow: Request Money (the bank,
8 Canadian banks on plain monograms; sign in with anything; accept from Chequing or Savings) or a manual e-Transfer (the
details to send, then PayDirect waits). Then the merchant's return_url. 1.00 to
25000.00 CAD.POST /paramount/service/payout.do — an encrypted payout → {txn_num, merchant_txn_num, txn_amount, txn_fee, txn_status: "P",
routing_decision, routing_decision_reason, error_code}; an e-Transfer (Paramount's security question, or the payee's Autodeposit) or, with
account_number, RTR (EFT over 25000.00, up to 100000.00). A request error
answers txn_status: "R" with its B code (modeled: the docs show none).POST /paramount/service/servlet/ConfirmTrans → verification_code=0 (C004 unknown or over four minutes, C005
different).POST /paramount/service/servlet/IDSTransQuery (merchant_id, merchant_pass, query_type, query_sdate, query_edate,
merchant_txn_num) → CSV (query types 2, 3, 5, 6; 7 the balance; 1 and 4 empty), Eastern dates, 40 days at most.POST /paramount/oauth2/token → {access_token, expires_in: "1800", token_type: "Bearer"};
POST /paramount/oebigstari/transaction/v4/interactive → {requestId, requestStatus, transactionUrl}, the payer's bank, sign-in,
account and confirmation at /paramount/ibt/verification?code=…; POST /paramount/oebigstard/transaction/v4/direct (an
accountToken a payin verified) → {transactionId, transactionStatus: "PROCESSING"}; the transaction status and the
report under /paramount/oebigstarnoti/report/v4/; JSON notifications echoed to /paramount/oebigstarnoti/service/servlet/ConfirmTrans
→ {verification_code: "0"}. 1.00 to 99999.00 CAD.GET/PUT /paramount-lab/merchants/{merchantId}/subs/{subId} {transactionUrl, eventUrl, merchantName} —
lab only: the notification URLs Paramount's integration team registers for a merchant sub id. A simulated connection registers its own.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'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.
POST /deposit/mxn/spei → {result: {payment_details: {bank_account, bank_name, beneficiary}, url}};
POST /deposit/mxn/oxxo → {result: {payment_details: {code}, url}}; POST /deposit/ars/bank → {result: {url}}.
403 BT1011 outside the limits, 409 BT1002 for an order id already used, 400 for a missing fieldGET /mxn/spei/bank_codes (22 banks), POST /withdraw/mxn/spei to a CLABE (or a 16-digit card)GET /merchant/transaction-status/{order_id}, GET /merchant/resend-callback/{order_id}, GET /merchant/balancenotification_url at creation (PENDING) and on every change, with hash| Method | Currency | Amount | Required |
|---|---|---|---|
| SPEI | MXN | 10 to 10,000 | order_id amount first_name last_name email notification_url redirect_url rfc curp |
| OXXO | MXN | 10 to 10,000 | order_id amount first_name last_name notification_url redirect_url |
| Transferencia bancaria | ARS | 1,000 to 5,000,000 | order_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.
| Pay-in amount | Effect |
|---|---|
| …11 | BLOCKED once paid: BT1013 the user is blocked by the bank |
| …12 | Payable for 2 minutes only, then TIMEDOUT (BD1003) |
| …13 | Refused at creation: 500 BT1005 Deposit Initiation Failed, Bank Error (nothing created) |
| …05 | FAILED once paid: BT1004 Error processing payment |
| …06 | SUCCESS with BD1002 (amount mismatch): the payer sent 90 %, amount_net says so |
| …07 | Still PENDING when paid, SUCCESS a minute later |
| …08 | SUCCESS with no callback: only the status read tells |
| …09 | REFUND once paid: BD1009 refunded due to payer identity mismatch |
| Payout amount | Effect |
|---|---|
| …05 | FAILED after PROCESSING: BT1024 Account does not exist |
| …06 | FAILED while PENDING: BW1001 Insufficient account wallet balance |
| …07 | Refused at creation: 500 BT1005 Withdraw Initiation Failed, Bank Error (nothing created) |
| …08 | PROCESSING for 5 minutes, then SUCCESS |
| …09 | Created, but the answer is lost (504 with no body): only the status read finds it |
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.
POST /centrobill/payment — paymentSource (card {number, expirationMonth, expirationYear, cvv, 3ds, mpiParameters}, applePay decoded {number, expirationMonth, expirationYear, tavv, eci}, pix), sku {siteId, price: [{offset, amount, currency, repeat}]}, consumer (ip, externalId or email, names for a card, the browser's details for 3-D Secure, cpf for Pix), url {ipnUrl, redirectUrl}, metadata: 201 {payment: {action: "charge", status: "success" | "fail", code}}, or action: "redirect", status: "pending" and the payer's url (the issuer's challenge, 15 minutes; a Pix page and its qrCode, 20 minutes)POST /centrobill/payment/{id}/credit — {amount, reason, sendIpn}: a credit (mode refund) with its own transaction id and the payment's as parentTransactionId; more than is left is a 400POST /centrobill/payout — consumerId (or consumer {email, ip}), parameters (card {number, firstName, lastName, expirationMonth, expirationYear, birthday}, sepa {iban, fullName}), amount, currency, url.ipnUrl: a payout (action charge, mode payout), a card paid at once, SEPA pending firstGET /centrobill/transaction/{id}/ipn, /order/{id}/ipn — every IPN sent, as [{url, request, response, orderId, transactionId, execTime, httpCode, error, attemptNumber}]POST /centrobill/consumer, GET /centrobill/consumer/{id}, GET /centrobill/site/{id}, GET /centrobill/ipsCentroBill'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.
| Card | Brand | Outcome |
|---|---|---|
4242424242424242 | Visa | Approved, without 3-D Secure |
5555555555554444 | Mastercard | Approved, without 3-D Secure |
4000000000003220 | Visa | 3-D Secure challenge, then approved |
5200828282828210 | Mastercard | 3-D Secure challenge, then approved |
4000000000000341 | Visa | 3-D Secure challenge that fails (5220) |
4000000000000002 | Visa | Declined: 5005 Do not honor |
4000000000009995 | Visa | Declined: 5051 Insufficient funds |
4000000000000069 | Visa | Declined: 5054 Expired card |
4100000000000019 | Visa | Declined: 5059 Suspected fraud |
4000000000000119 | Visa | CentroBill fails the request: HTTP 500 |
| Field | Value | Effect |
|---|---|---|
| 3-D Secure challenge | Any code, or Authenticate | Authenticated: the payment is approved (unless the card says otherwise) |
| 3-D Secure challenge | Fail authentication (lab drawer) | Declined: 5220 Authentication failed by card issuer |
| 3-D Secure challenge | Cancel payment | Declined: 5222 Payment attempt failed or canceled |
| 3-D Secure challenge | Leave it 15 minutes | Declined: 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) | …99 | 3-D Secure challenge, then approved |
| Connection's 3-D Secure off | A 3-D Secure card | Declined: 5227 3D Secure SCA required |
| Pix page | Pay with the bank app | Approved; the payer is sent back to the shop |
| Pix page | Cancel, or leave it 20 minutes | Declined: 5222, or 5099 Expired payment (modeled) |
| Refund amount (lab rule, from 10.00) | …54 | Declined: 5005 |
| Refund amount (lab rule, from 10.00) | …55 | Pending, then succeeds 20 s later (IPN) |
| Payout amount (lab rule, from 10.00) | …61 | Declined: 5061 Withdrawal amount limit exceeded |
| Payout amount (lab rule, from 10.00) | …62 / …63 | Pending, then paid / failed 20 s later (IPN) |
| SEPA payout IBAN | One that fails its check digits | Refused: HTTP 400 |
| Amount (last two digits in minor units) | On | Effect |
|---|---|---|
| …54, from 10.00 | a refund | declined (5005 Do not honor) |
| …55, from 10.00 | a refund | pending, then succeeds 20 s later (IPN) |
| …61, from 10.00 | a payout | declined (5061 Withdrawal amount limit exceeded) |
| …62, from 10.00 | a payout | pending, then succeeds 20 s later (IPN) |
| …63, from 10.00 | a payout | pending, then fails 20 s later (5051, IPN) |
x-signature and the delivery log's shape, Apple Pay's decoded mode and its errors, /ips.sh digest on the return URL, a consumer created twice under one externalId. Not played: SKUs by name, subscriptions, tokenization, the hosted payment page, Google Pay and encrypted Apple Pay tokens, the other payment and payout methods, the Feed API, the Test Data API.