<!-- Public page: https://payeast.app/developers/docs/#security · version 2026-12-05 -->

# Security and data handling

## Protect credentials

Keep client secrets, webhook secrets and customer tokens on your server, in a managed secret store. Do not include them in browser bundles, mobile apps, logs, analytics, source repositories or support messages. Rotate credentials if exposure is suspected.

Do not give your PayEast credentials, test or live, to an AI agent or other automated tool that can read them or call PayEast on its own. Run such tools without access to your secret store.

## Obtain customer consent

Application credentials identify your merchant application. Obtain an accepted customer mandate before creating a charge. Customers control whether they accept a mandate and enable autopay. Never ask for a PayEast password, PIN or authentication code in your application.

## Confirm outcomes

Use idempotency keys for supported creation calls. Verify the payment status and expected amount, currency and reference before fulfilling an order. A return URL alone is not proof of payment.

Verify webhook signatures against the raw request body, reject stale or invalid signatures, and deduplicate by event ID. Make handlers safe to retry.

## Respect customer data

Collect only the fields needed for the approved feature. Retain data only as necessary, protect it against unauthorized access, and honor applicable deletion and retention obligations. Follow the data-protection laws that apply to your service.

## Report a security concern

Contact [support@payeast.app](mailto:support@payeast.app) promptly if credentials may have been exposed or a payment appears unauthorized. Include relevant request IDs but no secrets. Do not test against accounts or data you are not authorized to access.
