Skip to content
1 viewer
View

Payment reference

0 pages, 23 routes, 23 connections and 0 CLI commands, generated from the declarations of Payment without reading storage or running anything.

AboutCode

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.

Calls and output
  • 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.

Payment.BankExchange input
FieldTypeRequiredDescriptionAllowed
public_tokenstringrequiredShort-lived token returned by the bank-link client.
1 row
Calls and output
  • 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.

Calls and output
  • Output keypayment.result
  • Classificationreal
  • POST /payment/bank/linkHTTP route

Payment.BankSmokeTest

Exercise the bank provider end to end against its sandbox.

Calls and output
  • Output keypayment.result
  • Classificationreal
  • POST /payment/bank/smoke-testHTTP route

Payment.BankSnapshots

List stored bank balance/transaction snapshots.

Calls and output
  • Output keypayment.result
  • Classificationroute_handler
  • GET /payment/bank/snapshotsHTTP route

Payment.BankSync

Pull fresh balances and transactions from linked banks.

Calls and output
  • 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.

Payment.CreateSession input
FieldTypeRequiredDescriptionAllowed
amount_minorintegerrequiredAmount in the currency's MINOR units (cents for USD). 1999 is $19.99, not $1999.
currencystringrequiredISO 4217 currency code.USD, EUR, GBP, CAD, AUD
payer_peer_idstringoptionalPeer being charged.
recipient_peer_idstringoptionalPeer being paid.
payment_flow_idstringoptionalCorrelates the session back to its originating flow.
5 rows
Calls and output
  • 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.

Payment.Donate input
FieldTypeRequiredDescriptionAllowed
recipient_peer_idstringrequiredRecipient CRE8 account.
amount_minorintegerrequiredCRE8 minor units; 2500 is 25 CRE8.
idempotency_keystringrequiredUnique gift key, retained for retries.
3 rows
Calls and output
  • Output keypayment.result
  • Classificationreal
  • POST /payment/donateHTTP route

Payment.ExternalAcknowledge

Mark a provider event handled so reconciliation stops retrying it. Operator action.

Payment.ExternalAcknowledge input
FieldTypeRequiredDescriptionAllowed
event_idstringrequiredProvider event to acknowledge.
1 row
Calls and output
  • Output keypayment.result
  • Classificationreal
  • POST /payment/external/acknowledgeHTTP route

Payment.ExternalEvents

List raw provider events received.

Calls and output
  • Output keypayment.result
  • Classificationroute_handler
  • GET /payment/external/eventsHTTP route

Payment.ExternalInbox

List provider events still awaiting reconciliation.

Calls and output
  • 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.

Calls and output
  • Output keypayment.result
  • Classificationreal
  • POST /payment/external/reconcileHTTP route

Payment.ExternalRepair

Force-repair one mismatched provider event. MOVES VALUE. Operator action.

Payment.ExternalRepair input
FieldTypeRequiredDescriptionAllowed
event_idstringrequiredProvider event to repair.
1 row
Calls and output
  • Output keypayment.result
  • Classificationreal
  • POST /payment/external/repairHTTP route

Payment.Get

Read one payment record.

Payment.Get input
FieldTypeRequiredDescriptionAllowed
idstringrequiredPayment id.
1 row
Calls and output
  • 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.

Calls and output
  • Output keypayment.result
  • Classificationreal
  • POST /payment/onboardHTTP route

Payment.ProviderCatalog

List the payment providers this runtime can use and whether each is credentialed.

Calls and output
  • 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).

Payment.ProviderRegister input
FieldTypeRequiredDescriptionAllowed
provider_idstringrequiredProvider to bind.stripe, plaid, fake
asset_idstringrequiredAsset the provider settles.
2 rows
Calls and output
  • Output keypayment.result
  • Classificationreal
  • POST /payment/provider/registerHTTP route

Payment.Query

Query payment records with filters.

Calls and output
  • Output keypayment.result
  • Classificationroute_handler
  • GET /paymentHTTP route

Payment.Refund

Reverse a captured payment, in whole or in part. MOVES VALUE and is irreversible.

Payment.Refund input
FieldTypeRequiredDescriptionAllowed
payment_idstringrequiredCaptured payment to reverse.
amount_minorintegeroptionalAmount to refund in MINOR units. Omit to refund the full captured amount.
reasonstringoptionalReason recorded on the refund.
3 rows
Calls and output
  • Output keypayment.result
  • Classificationunclassified
  • POST /payment/refundHTTP route

Payment.SmokeTest

Exercise the payment provider end to end against its sandbox.

Calls and output
  • Output keypayment.result
  • Classificationreal
  • POST /payment/smoke-testHTTP route

Payment.Status

Payment app health, provider wiring and counters.

Calls and output
  • 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.

Payment.Webhook input
FieldTypeRequiredDescriptionAllowed
provider_idstringoptionalProvider that sent the callback.
raw_bodystringrequiredVerbatim provider request body, for signature checks.
2 rows
Calls and output
  • 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).

Payment.WebhookRegister input
FieldTypeRequiredDescriptionAllowed
provider_idstringrequiredProvider to register with.
webhook_urlstringrequiredPublicly reachable callback URL.
2 rows
Calls and output
  • Output keypayment.result
  • Classificationunclassified

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
  • Authoritysql_compat
  • Preferred truthsql_compat
  • App ownerPayment
  • SQL projectionlegacy_truth_until_hyper_model · DDL declarations: 20
Hyper vertex kinds read
  • None declared.
Hyper vertex kinds written
  • None declared.
Hyper edge kinds written
  • None declared.
Asset namespaces read
  • None declared.
Asset namespaces minted
  • None declared.
Model warnings
  • warningApp still declares SQL DDL without a declared Hyper graph model. (sql_without_hyper_model)
SQL tables
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
7 rows

Capabilities and dependencies

Depends on
  • Passport
  • Asset
  • Wallet
  • ExternalAsset
  • Attention