app.ocho.payment.getStripeIntent

ocho-lexicons.ocho.app

Documentation

main query

No description available.

Parameters

amount integer Required

The amount to charge in cents

id string Required

An identifier linking the payment intent to the user / transaction / payment. Provided by the plugin.

iss string did Required

A decentralized identifier (DID).

token string Optional

The token for the user, optional.

Output

Encodingapplication/json
customer string Required

The customer ID for the payment intent

customerSession string Required

The customer session ID for the payment intent

ephemeralKey string Required

The ephemeral key for the payment intent

paymentIntent string Required

The payment intent ID

publishableKey string Required

The publishable key for the payment intent

Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
The amount to charge in cents
An identifier linking the payment intent to the user / transaction / payment. Provided by the plugin.
A decentralized identifier (DID).
The token for the user, optional.
View raw schema
{
  "type": "query",
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "paymentIntent",
        "ephemeralKey",
        "customer",
        "customerSession",
        "publishableKey"
      ],
      "properties": {
        "customer": {
          "type": "string",
          "description": "The customer ID for the payment intent"
        },
        "ephemeralKey": {
          "type": "string",
          "description": "The ephemeral key for the payment intent"
        },
        "paymentIntent": {
          "type": "string",
          "description": "The payment intent ID"
        },
        "publishableKey": {
          "type": "string",
          "description": "The publishable key for the payment intent"
        },
        "customerSession": {
          "type": "string",
          "description": "The customer session ID for the payment intent"
        }
      }
    },
    "encoding": "application/json",
    "description": "The intent data"
  },
  "parameters": {
    "type": "params",
    "required": [
      "iss",
      "amount",
      "id"
    ],
    "properties": {
      "id": {
        "type": "string",
        "description": "An identifier linking the payment intent to the user / transaction / payment. Provided by the plugin."
      },
      "iss": {
        "type": "string",
        "format": "did"
      },
      "token": {
        "type": "string",
        "description": "The token for the user, optional."
      },
      "amount": {
        "type": "integer",
        "minimum": 0,
        "description": "The amount to charge in cents"
      }
    }
  }
}

Lexicon Garden

@