Create a new payin
Authentication
RootPay API key sent in the x-api-key header. Keys are environment-scoped: live_* for production, test_* for sandbox.
Headers
Request
Amount in the currency’s minor units (e.g. cents for USD).
Payment rail (standard_ach, same_day_ach). Uses default if not provided.
Specific payment method ID (uses default if not provided)
Subaccount to credit to (test entities only)
Deprecated. Use amount_in_minor_units instead. Still accepted and returned for backward compatibility.
Response
Payin retrieved successfully (idempotency retry)