This sample task is provided for illustration only. The scores may not reflect a model's overall performance within this domain. Overall domain scores represent the average across 200 held out prompts.
Provided with API documentation and requirements.
Design an integration between Stripe payment system and a custom e-commerce platform.
Task objectives:
Design the integration architecture including webhook handling.
Implement error handling and retry logic.
Handle payment status updates and refunds.
Ensure PCI compliance and secure data handling.
Write integration tests covering happy path and edge cases.