Get default payment method

View as Markdown
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.

Path parameters

payee_idstringRequiredformat: "uuid"

Response

Default payment method retrieved successfully
dataobject
warningstring or null