Buy

License one article

Buy a Human republication licence for one article and pay straight away with a saved Stripe payment method (payment: {"method": "stripe_pm", "payment_method_id": "pm_…"}). Identify the article by article_id or article_url. license_type must be human: only Human republication is sold per article; AI licences are licence orders (POST /enterprise-license). terms_accepted_at (when you accepted the terms at opedd.com/terms) is required. Returns the licence key. No account needed. 10 purchases per hour per buyer_email.

post/agent-purchase

Request

  • Base URL: https://api.opedd.com
  • URL: https://api.opedd.com/agent-purchase
  • Auth: none required

Request body

article_idstring uuid

UUID of the article. Either article_id or article_url is required.

article_urlstring uri

The article's web address. Send article_id or article_url.

license_type'human' required

Only human (Human republication) is sold per article. The older value human_per_article is still accepted. AI licences are sold as licence orders (POST /enterprise-license); any other value is refused with 400 LICENCE_NOT_SOLD_PER_ARTICLE.

buyer_emailstring email required

Email for the license certificate. For agents, this is typically the operator's email.

buyer_namestring
buyer_organizationstring
intended_use'personal' | 'editorial' | 'commercial' | 'ai_training' | 'corporate'

How the licensee intends to use the article. Optional; recorded on the licence.

terms_accepted_atstring date-time required

ISO timestamp of the buyer's licence-terms acceptance (opedd.com/terms). REQUIRED since 2026-07-24: purchases are rejected without a genuine acceptance timestamp; never fabricate server-side.

Example request

{
  "payment": {
    "payment_method_id": "pm_1ABC..."
  }
}

Response

License issued — key is ready to use

Changes

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