GuideLab API

List Clinic Payment Methods

List saved payment methods for the authenticated clinic with a specific lab. Clinic-owner only. Requires labId query parameter to identify the lab's Stripe Connect account.

GET
/clinic-payment-methods

List saved payment methods for the authenticated clinic with a specific lab. Clinic-owner only. Requires labId query parameter to identify the lab's Stripe Connect account.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Query Parameters

labId*string

Lab ID to retrieve payment methods for

Length1 <= length

Response Body

application/json

application/json

curl -X GET "https://example.com/clinic-payment-methods?labId=550e8400-e29b-41d4-a716-446655440000"
{  "paymentMethods": [    {      "id": "string",      "type": "string",      "brand": "string",      "last4": "string",      "expMonth": 0,      "expYear": 0,      "isDefault": true    }  ]}
{  "error": "string"}
Empty