# Receive an OKPay notification 

**POST**`https://pay.example.com/payments/okpay/v1/notify`

[Request example ↓](https://epusdt.com/api/endpoints/okpay-notify#request-example)

Configure this URL in OKPay. The provider sends its signed payload; EPUSDT checks it with the shop `token`. The plain-text acknowledgement is success (200) or fail (400).

## Related resources 

* [Select a network or provider](https://epusdt.com/api/endpoints/switch-network)
* [Merchant callbacks](https://epusdt.com/api/payment#callbacks)

## Responses

text/plain`success`

text/plain`fail`

[error-codes.json ↓](https://epusdt.com/agent-setup/error-codes.json)

**Request example**

Gateway URL 

```
curl -i -X POST \
  'https://pay.example.com/payments/okpay/v1/notify' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "code": 200,
  "id": "okpay-shop-test",
  "status": "success",
  "data": {
    "order_id": "okpay-order-test-001",
    "unique_id": "20260523171652123456001",
    "pay_user_id": 1234567890,
    "amount": "0.15000000",
    "coin": "USDT",
    "status": 1,
    "type": "deposit"
  },
  "sign": "PROVIDER_SIGNATURE"
}'
```

**Example response**200 · Success400 · Notification rejected

text/plain

```
success
```
