Medpaid Plugin API
All public endpoints for integrating HSA/FSA payments into your storefront. Endpoints are grouped by resource. Only /plugin/ endpoints are listed here — internal and admin endpoints are not included.
OnboardingKey and ExternalKey as query parameters on every request. These credentials are issued when your merchant account is set up. Contact support@medpaid.com to retrieve or rotate your keys. Keep keys server-side — do not expose them in client-side code.Clients
Configure platform connection, verify setup, and retrieve merchant account details. Most integrations call configure-platform once during setup, then check-platform to confirm all fields are correct before going live.
POST/plugin/clients/configure-platformConfigure Platform
Set connection settings for a generic plugin integration. Provide your store domain, callback URLs, and plugin key.
Request Body application/json
Response 200 OK
POST/plugin/clients/check-platformCheck Platform
Verify that all required platform settings are in place. Use this after configure-platform to confirm you are ready to accept carts.
Request Body application/json
Response 200 OK
GET/plugin/clients/get-clientGet Client
Retrieve authenticated merchant account details.
Parameters
OnboardingKeyquerystringYesExternalKeyquerystringYesResponse 200 OK
GET/plugin/clients/get-client-statusGet Client Status
Lightweight check to confirm the merchant account is active. Useful for health checks in your integration.
Parameters
OnboardingKeyquerystringYesExternalKeyquerystringYesResponse 200 OK
POST/plugin/clients/log-intakeLog Intake
Submit a new merchant intake form. Used during onboarding to register a merchant before credentials are issued.
Request Body application/json
Response 200 OK
POST/plugin/clients/checkout-champ/configure-platformConfigure Platform (Checkout Champ)
Set connection settings for a Checkout Champ integration. Provide your store domain, callback URLs, and plugin key.
Request Body application/json
Response 200 OK
POST/plugin/clients/checkout-champ/check-platformCheck Platform (Checkout Champ)
Verify all Checkout Champ platform settings are in place.
Request Body application/json
Response 200 OK
POST/plugin/clients/woocommerce/configure-platformConfigure Platform (WooCommerce)
Set connection settings for a WooCommerce integration. This is called automatically by the Medpaid WordPress plugin.
Request Body application/json
Response 200 OK
POST/plugin/clients/woocommerce/check-platformCheck Platform (WooCommerce)
Verify all WooCommerce platform settings are in place.
Request Body application/json
Response 200 OK
GET/plugin/clients/woocommerce/get-clientGet Client (WooCommerce)
Retrieve merchant details for a WooCommerce integration.
Parameters
OnboardingKeyquerystringYesExternalKeyquerystringYesResponse 200 OK
GET/plugin/clients/woocommerce/get-client-statusGet Client Status (WooCommerce)
Check if a WooCommerce merchant account is active.
Parameters
OnboardingKeyquerystringYesExternalKeyquerystringYesResponse 200 OK
POST/plugin/clients/shopify/configure-platformConfigure Platform (Shopify)
Set connection settings for a Shopify integration.
Request Body application/json
Response 200 OK
POST/plugin/clients/shopify/check-platformCheck Platform (Shopify)
Verify all Shopify platform settings are in place.
Request Body application/json
Response 200 OK
Cart
Push cart data from your storefront to Medpaid and retrieve cart status. The push endpoint initiates the HSA/FSA checkout or reimbursement flow and returns a CartReference used for tracking.
POST/plugin/cart/pushPush Cart
Submit a cart for generic plugin integrations. Returns a CartReference to identify this cart through the Medpaid flow.
Request Body application/json
Response 200 OK
POST/plugin/cart/checkout-champ/pushPush Cart (Checkout Champ)
Submit a cart from Checkout Champ. Use Action: "checkout" for in-checkout HSA/FSA payment or Action: "reimburse" for the Medpaid Reimburse post-purchase flow.
Request Body application/json
Response 200 OK
GET/plugin/cart/checkout-champ/get/{CartReference}Get Cart (Checkout Champ)
Retrieve the current status of a Checkout Champ cart by its reference.
Parameters
CartReferencepathstringYesThe CartReference returned from a push.OnboardingKeyquerystringYesExternalKeyquerystringYesResponse 200 OK
POST/plugin/cart/shopify/pushPush Cart (Shopify)
Submit a Shopify cart to Medpaid. Returns a CartReference for the initiated flow.
Request Body application/json
Response 200 OK
POST/plugin/cart/woocommerce/pushPush Cart (WooCommerce)
Submit a WooCommerce cart to Medpaid. Called automatically by the WordPress plugin when a customer selects Medpaid at checkout.
Request Body application/json
Response 200 OK
Products
Retrieve the list of products in your Medpaid catalog along with their HSA/FSA eligibility status and LMN requirements.
GET/plugin/products/get-productsGet Products
Retrieve all products configured for your merchant account with their eligibility and approval status.
Parameters
OnboardingKeyquerystringYesExternalKeyquerystringYesResponse 200 OK
GET/plugin/products/checkout-champ/get-productsGet Products (Checkout Champ)
Retrieve products for a Checkout Champ integration.
Parameters
OnboardingKeyquerystringYesExternalKeyquerystringYesResponse 200 OK
GET/plugin/products/woocommerce/get-productsGet Products (WooCommerce)
Retrieve products for a WooCommerce integration.
Parameters
OnboardingKeyquerystringYesExternalKeyquerystringYesResponse 200 OK
Onboarding
Bulk-import products from your platform into Medpaid for eligibility review. Call import-products during initial setup and when your catalog changes.
POST/plugin/onboarding/import-productsImport Products
Bulk import products for a generic integration. Products are queued for eligibility review.
Request Body application/json
Response 200 OK
POST/plugin/onboarding/checkout-champ/import-productsImport Products (Checkout Champ)
Bulk import products from Checkout Champ into Medpaid.
Request Body application/json
Response 200 OK
POST/plugin/onboarding/shopify/import-productsImport Products (Shopify)
Bulk import products from Shopify into Medpaid.
Request Body application/json
Response 200 OK
POST/plugin/onboarding/shopify/update-productsUpdate Products (Shopify)
Update existing products in Medpaid from Shopify when catalog details change.
Request Body application/json
Response 200 OK
POST/plugin/onboarding/woocommerce/import-productsImport Products (WooCommerce)
Bulk import WooCommerce products into Medpaid. Called automatically by the WordPress plugin.
Request Body application/json
Response 200 OK
Orders
Manage recurring orders and retrieve order status. Recurring endpoints are Checkout Champ-specific; order status retrieval is available for WooCommerce.
POST/plugin/orders/checkout-champ/recurringCreate Recurring Order (Checkout Champ)
Register a new recurring/subscription order in Medpaid for a Checkout Champ customer.
Request Body application/json
Response 200 OK
POST/plugin/orders/checkout-champ/recurring/cancelCancel Recurring Order (Checkout Champ)
Cancel an active recurring/subscription order in Medpaid.
Request Body application/json
Response 200 OK
GET/plugin/orders/woocommerce/get-orderGet Order (WooCommerce)
Retrieve the status of a WooCommerce order in Medpaid.
Parameters
OnboardingKeyquerystringYesExternalKeyquerystringYesOrderIdquerystringYesWooCommerce order ID.Response 200 OK
Refunds
Push refund requests and check refund status. Use the idempotency key to safely retry refund requests without duplication.
POST/plugin/refunds/checkout-champ/pushPush Refund (Checkout Champ)
Submit a refund request for a Checkout Champ cart. Returns a refund ID and initial queue status.
Request Body application/json
Response 200 OK
GET/plugin/refunds/checkout-champ/get/{RefundId}Get Refund (Checkout Champ)
Retrieve the status of a specific refund by its Medpaid ID.
Parameters
RefundIdpathstring (guid)YesOnboardingKeyquerystringYesExternalKeyquerystringYesResponse 200 OK
GET/plugin/refunds/checkout-champ/get-by-idempotencyGet Refund by Idempotency Key
Look up a refund using the idempotency key you provided when pushing the refund. Useful for reconciliation after retries.
Parameters
OnboardingKeyquerystringYesExternalKeyquerystringYesIdempotencyKeyquerystringYesResponse 200 OK
End Users
Query shopper-level data such as active LMN status. Use has-valid-lmn before showing an HSA/FSA CTA to customers who may already be qualified.
POST/plugin/endusers/has-valid-lmnHas Valid LMN
Check whether a specific shopper already has an active Letter of Medical Necessity. If HasValidLmn is true, the shopper can proceed directly to payment without a new assessment.
