GuideLab API

Get clinic autopay consent

Returns the clinic-owned saved-card autopay state for a partnership. Both partnership parties may read it; labs cannot mutate it.

GET
/clinic-payment-methods/autopay/{partnershipId}

Returns the clinic-owned saved-card autopay state for a partnership. Both partnership parties may read it; labs cannot mutate it.

Authorization

__Secure-guidelab-prod.session_token<token>

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

In: cookie

Path Parameters

partnershipId*string
Length1 <= length

Response Body

application/json

curl -X GET "https://example.com/clinic-payment-methods/autopay/string"
{  "enabled": true,  "status": "active",  "consentedAt": "2019-08-24T14:15:22Z",  "revokedAt": "2019-08-24T14:15:22Z",  "suspendedAt": "2019-08-24T14:15:22Z"}
Empty