Get default payment method
Retrieves the default payment method for a payee. This will return either a bank account or card payment method that is marked as default.
Authentication
x-api-keystring
RootPay API key sent in the x-api-key header. Keys are environment-scoped: live_* for production, test_* for sandbox.
OR
AuthorizationBearer
Short-lived session JWT from the Session Tokens API. Send as Authorization: Bearer <token>. Accepted on payment-method endpoints for a specific payee or payer; mint tokens with an API key.
Path parameters
payee_id
Response
Default payment method retrieved successfully
data
warning