Report Off-WHITELABEL Transactions
This endpoint gives WHITELABEL visibility over the traffic you process directly with your providers, outside WHITELABEL’s transaction path. Each accepted event is persisted as a regular WHITELABEL payment, differentiated by the origin field:
origin: YUNO— payments processed by WHITELABEL (every existing payment).origin: REPORTED— payments that entered through this API.
Reported payments appear in the dashboard, in GET /v1/payments, and in analytics — filtered by origin — but WHITELABEL never processes them: no routing, no provider calls, no retries, and no money movement. The money already moved at your provider; WHITELABEL records the fact.
Enabled per organization
This API requires activation for your organization. Contact your Key Account Manager (KAM) to enable it.
How it works
- You process a transaction directly with your provider (for example a purchase on your own Adyen account).
- You report it here: one event or a batch of up to 500. For latency-sensitive integrations, batches of up to 100 events are recommended. The full 500-event batch is processed synchronously and can take several seconds.
- Each accepted event creates one payment with one transaction, with the status derived from
resultand the event type:- A
PURCHASEwith resultSUCCEEDEDlands the paymentSUCCEEDED. - An
AUTHORIZEwith resultSUCCEEDEDlandsPENDINGwith sub-statusAUTHORIZED. An approved authorization is not captured money; it mirrors how WHITELABEL-processed authorizations behave. - A
VERIFYwith resultSUCCEEDEDlandsSUCCEEDEDwith sub-statusVERIFIED. The verification completed and no money moves; it mirrors how WHITELABEL-processed verifications persist. DECLINEDlandsDECLINED, andERRORlandsERROR.
- A
In this version the supported operations are PURCHASE (default), AUTHORIZE, and VERIFY. A VERIFY reports a card verification (zero-dollar authorization), typically reported with amount.value: 0. Lifecycle events (captures, refunds, chargebacks) are on the roadmap.
Retries and deduplication
There is no idempotency header on this endpoint, and none is needed. The report_id you generate per event is the deduplication key. An event whose report_id was already ingested is counted in duplicates and never ingested twice, no matter when or in which batch it arrives. Retrying a whole batch after a network failure is always safe.
Because report_id alone decides, an event that reuses an already-ingested report_id with a different payload is also counted as a duplicate and silently discarded — never reuse a report_id across different transactions.
The batch is processed per event: one invalid event lands in rejected[] with its reason, and the rest of the batch is unaffected.
Card BIN for BIN-level routing statistics
On CARD events you can send the card’s BIN in payment_method_details.card.bin — the first 6 or 8 digits of the card number, exactly. The BIN is not cardholder data: it identifies the issuer and card range, never the card.
When present, WHITELABEL stores it on the reported payment (payment_method.detail.card.card_data.iin on the transaction) and uses it to segment your statistics per BIN in the Routing Recommendations API, so a payment on the same BIN can be ranked on that BIN’s own history instead of the country-wide one.
payment_method_detailsis keyed by the payment method type — today onlycard, and only on events whosepayment_method_typeisCARD. Acard.binon an event of any other type, or a container with any other key, rejects the event.- The BIN must be exactly 6 or 8 digits. A 7-digit value, a longer value, or anything that is not all digits rejects the event with
INVALID_EVENT. - Omitting
payment_method_details, or sending it empty ({}or{"card": {}}), keeps the event exactly as before: no BIN is stored and the event feeds the country and payment-method statistics only.
CIT / MIT initiation for initiation-level routing statistics
You can tell WHITELABEL how each transaction was initiated by sending initiation at the event level: CIT (cardholder-initiated — the customer was present at checkout) or MIT (merchant-initiated, e.g. a subscription renewal). CIT and MIT approve very differently per provider, so splitting your reported history by initiation lets the Routing Recommendations API rank a payment on the history of its own initiation type.
initiationis optional and flat at the event level, liketoken_type_used. It accepts onlyCITorMIT; any other value rejects that event withINVALID_EVENTand the messageThe field 'initiation' must be CIT or MIT.- Omitting
initiationkeeps the event exactly as before: it feeds the non-initiation statistics only, and a recommendation request that carries nopayment.initiationis unaffected.
The raw provider response
If you include raw_provider_response (the provider’s response payload, verbatim, up to 64 KB), WHITELABEL stores it with defensive card-data redaction applied — primary account numbers and security codes are removed before anything is persisted. It is never returned by any API.
Sending it is recommended: it lets WHITELABEL enrich the reported payment later (network transaction references, decline reasons) without asking you for anything new.
Never send card data in the event fields. Reported events carry references and outcomes, not cardholder data. The BIN in payment_method_details.card.bin is the only card-derived value accepted, and it is not a card number. The only place a card number may transit is inside raw_provider_response, where it is redacted on ingestion.
Operations on reported payments
Reported payments cannot be operated through WHITELABEL — a refund or capture request on a payment with origin: REPORTED returns 403 OPERATION_NOT_ALLOWED_FOR_REPORTED_PAYMENT. Perform the operation at your provider and report it as a new event when lifecycle events become available.
Errors
Errors return a code and a messages array.
| HTTP | code | When |
|---|---|---|
| 400 | INVALID_REQUEST | Malformed body, missing required field, or a batch over 500 events. |
| 400 | INVALID_ACCOUNT_ID | The account_id does not exist or does not belong to your organization. |
| 401 | NOT_AUTHENTICATED / INVALID_CREDENTIALS | Missing or invalid PUBLIC-API-KEY / PRIVATE-SECRET-KEY headers. |
| 403 | PRODUCT_NOT_ENABLED | “The Transaction Reporting API is enabled per organization. Contact your Key Account Manager (KAM) to activate it.” |
Per-event rejections: INVALID_EVENT
INVALID_EVENT is not an HTTP error — the batch itself is accepted (202), and each invalid event is returned individually inside rejected[] with this code and its reason, while the rest of the batch is ingested normally:
{
"accepted": 2,
"duplicates": 0,
"rejected": [
{ "report_id": "merchant-rpt-000124", "code": "INVALID_EVENT", "messages": ["The field 'event_type' must be one of: PURCHASE, AUTHORIZE, VERIFY."] }
]
}Causes: invalid enum value, wrong field type, unknown field, a payment_method_details.card.bin that is not exactly 6 or 8 digits (or sent on a non-CARD event), or raw_provider_response over 64 KB.
/reporting/transactionsReports transactions processed directly with a provider (outside WHITELABEL). Each accepted event is persisted as a regular WHITELABEL payment with origin: REPORTED — visible in the dashboard, listings and analytics, but never routed, retried or charged by WHITELABEL.
Header Parameters
Your public API key.
Your private secret key. Never expose it client-side.
Body application/json
UUID of the WHITELABEL account the reported payments belong to.
One event or a batch of up to 500. Events are processed per item: one invalid event never rejects the batch.
Response
Batch accepted and processed per event.
Events ingested as payments.
Events skipped because their report_id was already ingested.
Events that failed validation, each with its reason. The rest of the batch is unaffected.
Request-level validation failure — malformed body, missing required field, or a batch over 500 events. An account_id that does not exist or does not belong to your organization answers INVALID_ACCOUNT_ID.
Unauthorized — NOT_AUTHENTICATED / INVALID_CREDENTIALS (missing or invalid PUBLIC-API-KEY / PRIVATE-SECRET-KEY headers).
Forbidden — PRODUCT_NOT_ENABLED (the product is not enabled for your organization).