> ## Documentation Index
> Fetch the complete documentation index at: https://developers.referralful.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Report a conversion (no Stripe)

> Record a sale from any billing system and create the affiliate commission. Provide at least one of referral_id, email, or coupon.



## OpenAPI

````yaml /openapi.json post /conversions
openapi: 3.1.0
info:
  title: Referralful API
  version: 1.0.0
  description: Rewardful-compatible REST API for affiliate programs built on Stripe.
servers:
  - url: https://api.referralful.com/v1
security:
  - basicAuth: []
paths:
  /conversions:
    post:
      summary: Report a conversion (no Stripe)
      description: >-
        Record a sale from any billing system and create the affiliate
        commission. Provide at least one of referral_id, email, or coupon.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - amount_cents
              properties:
                referral_id:
                  type: string
                email:
                  type: string
                coupon:
                  type: string
                amount_cents:
                  type: integer
                currency:
                  type: string
                external_id:
                  type: string
                  description: Idempotency key (e.g. invoice id).
                customer_name:
                  type: string
                occurred_at:
                  type: string
                  format: date-time
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                  duplicate:
                    type: boolean
                  sale_id:
                    type: string
                  commission:
                    $ref: '#/components/schemas/Commission'
        '422':
          description: No matching referral / validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Commission:
      type: object
      properties:
        id:
          type: string
        object:
          type: string
          example: commission
        currency:
          type: string
        amount:
          type: integer
          description: Amount in cents.
        state:
          type: string
          enum:
            - pending
            - due
            - paid
            - void
        due_at:
          type: string
          format: date-time
          nullable: true
        paid_at:
          type: string
          format: date-time
          nullable: true
        campaign_id:
          type: string
        affiliate_id:
          type: string
    Error:
      type: object
      properties:
        error:
          type: string
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: Use your API secret as the username, with an empty password.

````