Get payment method by ID
Retrieves a specific payment method by its unique identifier.
**Path Parameters**
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `payee_id` | UUID | Yes | ID of the payee |
| `payment_method_id` | UUID | Yes | ID of the payment method to retrieve |
**Success Responses**
| Status Code | Description |
|-------------|-------------|
| 200 | OK - The payment method was successfully retrieved |
**Error Responses**
| Status Code | Error Code | Description |
|-------------|------------|-------------|
| 401 | AUTHENTICATION_ERROR | Authentication credentials are invalid or missing |
| 403 | AUTHORIZATION_ERROR | You do not have permission to perform this action |
| 404 | NOT_FOUND | The specified payment method or payee was not found |
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_id
payment_method_id
Response
Payment method retrieved successfully
data
warning