Payment reference
0 pages, 23 routes, 23 connections and 0 CLI commands, generated from the declarations of Payment without reading storage or running anything.
Code · 0 files
No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.
Connections · 23
Payment.BankConnections
List linked bank connections.
- Output keypayment.result
- Classificationroute_handler
- GET /payment/bank/accountsHTTP route
Payment.BankExchange
Exchange a public bank-link token for a durable account connection. Handles a credential.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| public_token | string | required | Short-lived token returned by the bank-link client. |
- Output keypayment.result
- Classificationreal
- POST /payment/bank/exchangeHTTP route
Payment.BankLinkCreate
Mint a bank-link token the caller's client exchanges for a connection on the caller's own account.
- Output keypayment.result
- Classificationreal
- POST /payment/bank/linkHTTP route
Payment.BankSmokeTest
Exercise the bank provider end to end against its sandbox.
- Output keypayment.result
- Classificationreal
- POST /payment/bank/smoke-testHTTP route
Payment.BankSnapshots
List stored bank balance/transaction snapshots.
- Output keypayment.result
- Classificationroute_handler
- GET /payment/bank/snapshotsHTTP route
Payment.BankSync
Pull fresh balances and transactions from linked banks.
- Output keypayment.result
- Classificationreal
- POST /payment/bank/syncHTTP route
Payment.CreateSession
Open a checkout session with the configured payment provider. MOVES VALUE: the session is what charges the payer.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| amount_minor | integer | required | Amount in the currency's MINOR units (cents for USD). 1999 is $19.99, not $1999. | |
| currency | string | required | ISO 4217 currency code. | USD, EUR, GBP, CAD, AUD |
| payer_peer_id | string | optional | Peer being charged. | |
| recipient_peer_id | string | optional | Peer being paid. | |
| payment_flow_id | string | optional | Correlates the session back to its originating flow. |
- Output keypayment.result
- Classificationreal
- POST /payment/sessionHTTP route
Payment.Donate
Donate CRE8 from the verified caller's wallet. MOVES VALUE; retries with the same donor, recipient, amount and key settle once.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| recipient_peer_id | string | required | Recipient CRE8 account. | |
| amount_minor | integer | required | CRE8 minor units; 2500 is 25 CRE8. | |
| idempotency_key | string | required | Unique gift key, retained for retries. |
- Output keypayment.result
- Classificationreal
- POST /payment/donateHTTP route
Payment.ExternalAcknowledge
Mark a provider event handled so reconciliation stops retrying it. Operator action.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| event_id | string | required | Provider event to acknowledge. |
- Output keypayment.result
- Classificationreal
- POST /payment/external/acknowledgeHTTP route
Payment.ExternalEvents
List raw provider events received.
- Output keypayment.result
- Classificationroute_handler
- GET /payment/external/eventsHTTP route
Payment.ExternalInbox
List provider events still awaiting reconciliation.
- Output keypayment.result
- Classificationroute_handler
- GET /payment/external/exceptionsHTTP route
- GET /payment/external/inboxHTTP route
Payment.ExternalReconcile
Recheck the caller's provider events against local payment records and the exception inbox. Settles nothing; Payment.ExternalRepair does.
- Output keypayment.result
- Classificationreal
- POST /payment/external/reconcileHTTP route
Payment.ExternalRepair
Force-repair one mismatched provider event. MOVES VALUE. Operator action.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| event_id | string | required | Provider event to repair. |
- Output keypayment.result
- Classificationreal
- POST /payment/external/repairHTTP route
Payment.Get
Read one payment record.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| id | string | required | Payment id. |
- Output keypayment.result
- Classificationroute_handler
- GET /payment/{id}HTTP route
Payment.Onboard
Store provider credentials in the credential vault for this runtime. Operator action, or a shop owner's for their own shop's provider (shop_id), whose secrets land in the shop's own vault entries.
- Output keypayment.result
- Classificationreal
- POST /payment/onboardHTTP route
Payment.ProviderCatalog
List the payment providers this runtime can use and whether each is credentialed.
- Output keypayment.result
- Classificationroute_handler
- GET /payment/providersHTTP route
Payment.ProviderRegister
Bind a payment provider to an asset so that asset can be charged. Operator action, or a shop owner's for their own shop's provider (shop_id).
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| provider_id | string | required | Provider to bind. | stripe, plaid, fake |
| asset_id | string | required | Asset the provider settles. |
- Output keypayment.result
- Classificationreal
- POST /payment/provider/registerHTTP route
Payment.Query
Query payment records with filters.
- Output keypayment.result
- Classificationroute_handler
- GET /paymentHTTP route
Payment.Refund
Reverse a captured payment, in whole or in part. MOVES VALUE and is irreversible.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| payment_id | string | required | Captured payment to reverse. | |
| amount_minor | integer | optional | Amount to refund in MINOR units. Omit to refund the full captured amount. | |
| reason | string | optional | Reason recorded on the refund. |
- Output keypayment.result
- Classificationunclassified
- POST /payment/refundHTTP route
Payment.SmokeTest
Exercise the payment provider end to end against its sandbox.
- Output keypayment.result
- Classificationreal
- POST /payment/smoke-testHTTP route
Payment.Status
Payment app health, provider wiring and counters.
- Output keypayment.result
- Classificationroute_handler
- GET /payment/statusHTTP route
Payment.Webhook
Provider callback. MOVES VALUE: this is what marks a session captured. Signature-verified; not an agent-facing call.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| provider_id | string | optional | Provider that sent the callback. | |
| raw_body | string | required | Verbatim provider request body, for signature checks. |
- Output keypayment.result
- Classificationreal
- POST /payment/webhookHTTP route
Payment.WebhookRegister
Register this runtime's webhook URL with a provider and vault its signing secret. Operator action, or a shop owner's for their own shop's provider (shop_id).
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| provider_id | string | required | Provider to register with. | |
| webhook_url | string | required | Publicly reachable callback URL. |
- Output keypayment.result
- Classificationunclassified
Schema and data model
Declared storage and kinds. Linked kinds open their app pages.
- Authoritysql_compat
- Preferred truthsql_compat
- App ownerPayment
- SQL projectionlegacy_truth_until_hyper_model · DDL declarations: 20
- None declared.
- None declared.
- None declared.
- None declared.
- None declared.
- warningApp still declares SQL DDL without a declared Hyper graph model. (sql_without_hyper_model)
| Table |
|---|
| payment_provider_runtime |
| payment_provider_scope_runtime |
| payment_intent_runtime |
| payment_bank_connection_runtime |
| payment_bank_snapshot_runtime |
| payment_event_runtime |
| payment_settlement_runtime |
Capabilities and dependencies
- Passport
- Asset
- Wallet
- ExternalAsset
- Attention