Docs

Environments and testing

Validate behavior before using production credentials.

Environment configuration

Confirmed sandbox and production base URLs, access requirements, and test fixtures are pending publication. Obtain these values from KPPAY before running an integration.

Keep environment URLs and credentials in configuration rather than scattering them throughout application code.

Test scenarios

ScenarioWhat to verify
Valid requestRequired fields, response schema, and stored result
Invalid inputUseful validation errors and no unintended side effects
Rejected credentialsSafe error handling without exposing secrets
Network timeoutAn explicit recovery path for an unknown outcome
Duplicate submissionBehavior matches the documented duplicate-request policy
Repeated eventProcessing does not repeat a business action

Safe test data

Use approved synthetic fixtures. Do not copy production credentials or personal data into local test files.

Before switching environments

Confirm that all endpoint URLs, credentials, event destinations, and data stores point to the intended environment. Review the go-live checklist.

On this page