v1

latestOpenAPI 3.0.1MIT2026-07-261190449.2 KB
Test Data Generator (Sandbox-only)

Generate Test Transactions

Generate one or multiple test transactions to test certain endpoints and/or callbacks which deal with transactions. This endpoint is ONLY available on our sandbox environment and NOT on production. See documentation for details.

Hint: The Pliant web app shows confirmed transactions as pending, since we only switch this status if the transaction is booked/settled. Keep this in mind when using this generator!

post/test-data-generator/transactions

Request body

cardTokenstring required

The 9-digit token value from the credit card the transaction(s) should be generated for. You can obtain this token from the card details endpoint. This is NOT the UUID of the card (cardId).

numberOfTransactionsinteger

How many transactions should be generated?

status'PENDING' | 'CONFIRMED' | 'DECLINED' | 'REVERSED'

Status of the transaction(s).

type'PURCHASE' | 'CASH_WITHDRAWAL' | 'PURCHASE_CHARGEBACK' | 'PURCHASE_REFUND' | 'STATUS_INQUIRY'

Type of the transaction(s).

transactionCategory'ADVERTISING_AND_MARKETING' | 'COMPUTING_AND_SOFTWARE' | 'EDUCATION_AND_TRAINING' | 'ELECTRONICS_AND_IT_EQUIPMENT' | 'ENTERTAINMENT_AND_WELLNESS' | 'FOOD_AND_DRINKS' | 'GIFTS_AND_VOUCHERS' | 'MATERIALS_AND_PACKAGING' | 'OFFICE_SUPPLIES_AND_EQUIPMENT' | 'SERVICES' | 'TRAVEL_AND_ACCOMMODATION' | 'HEALTHCARE' | 'OTHER'

Category of the transaction(s).

Response

Ok