SerenAI

Pay Per Call Agentic Commerce

PaymentRecord

Individual payment record

Properties

PropertyTypeRequiredDescription
amount_usd string Yes
attempted_at string Yes
currency CurrencyCode Yes
failed_at string,null No
failure_code string,null No
failure_message string,null No
id string Yes
status string Yes
stripe_charge_id any No
stripe_payment_intent_id StripePaymentIntentId Yes
succeeded_at string,null No
View JSON Schema
{
  "type": "object",
  "description": "Individual payment record",
  "required": [
    "id",
    "stripe_payment_intent_id",
    "amount_usd",
    "currency",
    "status",
    "attempted_at"
  ],
  "properties": {
    "amount_usd": {
      "type": "string"
    },
    "attempted_at": {
      "type": "string"
    },
    "currency": {
      "$ref": "#/components/schemas/CurrencyCode"
    },
    "failed_at": {
      "type": [
        "string",
        "null"
      ]
    },
    "failure_code": {
      "type": [
        "string",
        "null"
      ]
    },
    "failure_message": {
      "type": [
        "string",
        "null"
      ]
    },
    "id": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "stripe_charge_id": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/StripeChargeId"
        }
      ]
    },
    "stripe_payment_intent_id": {
      "$ref": "#/components/schemas/StripePaymentIntentId"
    },
    "succeeded_at": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}