Payment Methods

Get a payment method

The method without its credentials. A method is resolved within the project: a method id that does not belong to the project, or a project outside the caller's tenant, is 404 RESOURCE_NOT_FOUND, so foreign rows never leak.

  • provider is the stored provider key: a gateway slug (stripe, paypal, razorpay, paystack, ceypay, skrill, coinpayments, accesscode) or a connector:provider key for a currency a connector brings (telegram:stars for Telegram Stars). A project carries one method per provider key and mode, so two connectors can each bring their own currency to the same project. Rows created before provider keys existed carried platformcurrency; the connector's data migration rewrites them, and until it has run that word still reads as the native method of the project's connector.
  • connector is the connector behind a native payment method (telegram for a telegram:stars row), null for every gateway and for access codes. A connector declares its native providers through its manifest's native_payments capability, and the dashboard offers one option per provider of every connector that is connected on the project.
  • mode is test or live. Drives which set of provider credentials is used.
  • linked is true once the provider handshake (OAuth callback, API-key verify, etc.) has completed successfully.
  • active is the creator's toggle. A linked-but-inactive method cannot be used to charge subscribers.

Credentials never leave. Provider credentials (API keys, webhook secrets, connected account ids, Stripe Connect onboarding state) live in the encrypted configuration and are never serialised through REST or MCP, even for tokens with view ability. The dashboard is the only surface that reveals them, and only to the creator.

get/v1/projects/{project}/payment-methods/{method}

Request

  • Base URL: https://api.subscriby.net
  • URL: https://api.subscriby.net/v1/projects/{project}/payment-methods/{method}
  • Auth: HTTP bearer

Path parameters

projectstring uuid required

The project, resolved by the route binder.

methodstring uuid required

The method, resolved within the project by the route binder.

Response

The method without its credentials.

Example response

{
  "data": {
    "id": "a15d70c8-3e46-4b92-b70f-58c9d2140e63",
    "project_id": "7f3d1c92-8b45-4e6a-9d21-5c8e0a4b6f13",
    "provider": "stripe",
    "mode": "live",
    "linked": true,
    "active": true,
    "created_at": "2026-05-18T10:05:00Z",
    "updated_at": "2026-05-18T10:05:00Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.