Seeds
Generate test payment requests and transactions for a specific merchant
Changed onGenerate test payment requests and transactions for a specific merchant
post/api/v1/seeds/merchant/{merchantId}/test-data
Request
- Base URLhttps://core.quidkey.com
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/banqzinc/apis/quidkey-api/docs/api/v1/seeds/merchant/:merchantId/test-data/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
merchantIdstring uuid required
The merchant ID to generate test data for
Example:934eef9d-2ea7-4a83-9646-cb8ecdc54947
Request body
Example request
{
"options": {
"paymentRequestCount": 120,
"customerCount": 15,
"dateRangeInDays": 730,
"includeRefunds": true,
"includeFailures": true,
"includePayouts": true
}
}Response
Success
Example response
{
"success": true,
"data": {
"message": "Test data generated successfully for merchant",
"summary": {
"merchantId": "934eef9d-2ea7-4a83-9646-cb8ecdc54947",
"paymentRequestsCreated": 120,
"transactionsCreated": 120,
"customersCreated": 15,
"timeElapsed": "5.5s"
},
"details": {
"paymentRequestsByStatus": {
"completed": 84,
"pending": 18,
"failed": 12,
"cancelled": 6
},
"transactionsByType": {
"payment": 120,
"refund": 0
},
"transactionsByStatus": {
"completed": 84,
"pending": 18,
"failed": 12,
"cancelled": 6
},
"amountDistribution": {
"small": 48,
"medium": 48,
"large": 24
},
"currencyDistribution": {
"EUR": 60,
"GBP": 30,
"USD": 18,
"DKK": 12
}
}
}
}Changes
- breaking
the
/response's property type changed fromstringto no type for status - warning
removed the optional property
/from the response with the status - info
added the new optional request property
/ - info
added the optional property
//to the response with the status - info
added the optional property
/to the response with the status - info
added
subschema #1subschema #2to the/response propertyallOflist for the response status
- breaking
- info
endpoint added
- info