Skip to navigation

Get payment method by ID for payer

View as Markdown
Retrieve a specific payment method for a payer by its ID.

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

payer_idstringRequiredformat: "uuid"
payment_method_idstringRequiredformat: "uuid"

Response

Payment method retrieved successfully
dataobject

Shared response model for bank payment methods (both payee and payer).

warningstring or nullOptional

Errors

404
Not Found Error