Payment

Create a Coinbase Commerce charge

Creates a new payment charge in Coinbase Commerce for a subscription plan

post/payments/coinbase/charge

Request

  • Base URL: https://api.tinyhumans.ai
  • URL: https://api.tinyhumans.ai/payments/coinbase/charge
  • Auth: HTTP bearer

Request body

plan'BASIC' | 'PRO' required

Subscription plan (BASIC: $10/month, PRO: $25/month)

interval'annual'

Billing interval (crypto payments are annual-only)

metadataobject

Optional metadata

Example request

{
  "plan": "PRO",
  "interval": "annual"
}

Response

Charge created successfully

successboolean

Example response

{
  "success": true
}

Changes

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