user_payments

Create User Payment Provider

Connect a creator's own Stripe/Razorpay account to one of their channels.

post/v1/user_integrations/user_payments/provider

Request

  • Base URL
    https://api.linktodm.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

channel_idstring required
provider'STRIPE' | 'RAZORPAY' required

A creator's gateway.

Deliberately NOT app.constants.PaymentGateway — that enum is LinktoDM's own gateways, and its RAZORPAY member is annotated "legacy, no new checkouts" because of the Dodo migration. That annotation is false for a creator's Razorpay account, which is fully supported here.

provider_key_idstring nullable
provider_key_secretstring required

Response

Successful Response

idinteger required
provider'STRIPE' | 'RAZORPAY' required

A creator's gateway.

Deliberately NOT app.constants.PaymentGateway — that enum is LinktoDM's own gateways, and its RAZORPAY member is annotated "legacy, no new checkouts" because of the Dodo migration. That annotation is false for a creator's Razorpay account, which is fully supported here.

provider_key_idstring required
webhook_registeredboolean required
created_atstring date-time required
updated_atstring date-time required

Changes

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