# 10. Pay-in and payout differences

| Detail | Pay-in | Payout |
|---|---|---|
| Create endpoint | `/merchant/initial-payment` | `/payout/merchant/api/generate-payout` |
| POST credentials | JSON body | HTTP headers |
| GET credentials | Query parameters | HTTP headers |
| Where you may call from | Any server | Whitelisted server IPs; creation also needs the authorised `Origin` |
| Top-level response flag | `success` | `status` |
| Create success code | `200` | `201` |
| Initial status | `progress` | `processing` (`progress` in the webhook) |
| Confirmed success status | `approved` | `completed` |
| Other final statuses | `rejected`, `cancelled` | `failed`, `cancelled`, `rejected`, `reversed` (after `completed`) |
| Callback configuration | `webhookUrl` (required) | `callbackUrl` (optional) |
| Webhook time field | `updatedAt` | `timestamp` |
| Bank reference | `utrNumber` | `utr` |
| Status lookup | `transactionId` | `transactionId` or `orderId` |
| Idempotent on | `orderId` | `orderId` |
| Webhook signature | `X-Signature` (HMAC-SHA256, signing key) | Same |

---

Source: https://docs.royalpe.site/notes/differences · All docs: https://docs.royalpe.site/llms-full.txt · Updated 2026-11-30
