Link
Authorize one-time wallet spending and pay MPP resources through your local Link session. Tokens remain inside the official Link CLI.
4 implemented operations
connector.yamlspend.readRead the original spend request without retrieving a token.payment.link.read
- LocalReadyA trusted host process runs it.
- Runx scope
payment.link.read- Target
{"$argument":"/spend_request_id"}- Local implementation
- Trusted host process:
tool link.payment
| Field and constraints | Type / values | Required |
|---|---|---|
action | "read" | Yes |
spend_request_idPattern: ^[A-Za-z0-9_-]{1,200}$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"action",
"spend_request_id"
],
"properties": {
"action": {
"const": "read"
},
"spend_request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,200}$"
}
},
"additionalProperties": false
}Result fields spend_request_idamount_minorcurrencystatuspayment_method_idnetwork_idapproval_urltransaction_idpayment_outcomepaid_amount_minorpaid_currencyrefund_amount_minorrefund_currencyrefund_statusresource_binding
Operation digest sha256:c6a73a6f3b858bc3529b0610b4558414268bf1e6db1160579ec112708c24b1cfImplementation sha256:63addefbb88c4c2164e90bbec6bd4e670fcd134da01fd9f626b7ca4c70ce8341
payment.mppPay one pinned Stripe MPP charge with an approved Link spend request, then independently read its payment outcome.payment.link.pay
- LocalReadyA trusted host process runs it.Each call needs approval evidence or standing approval.
- Runx scope
payment.link.pay- Target
{"$argument":"/resource_url"}- Amount
- Each call binds its amount to
{"$argument":"/amount_minor"}smallest units of{"$argument":"/currency"}, which the run's authority must cover. - Local implementation
- Trusted host process:
tool link.payment
| Field and constraints | Type / values | Required |
|---|---|---|
bodyMax. 65536 characters | string | No |
action | "pay" | Yes |
method | "GET" · "POST" | Yes |
currencyPattern: ^[A-Z]{3}$ | string | Yes |
challengeMin. 1 characterMax. 16384 characters | string | Yes |
network_idMin. 1 characterMax. 200 characters | string | Yes |
amount_minorMinimum 1Maximum 9007199254740991 | integer | Yes |
resource_urlFormat: uriPattern: ^https://Max. 2048 characters | string | Yes |
spend_request_idPattern: ^[A-Za-z0-9_-]{1,200}$ | string | Yes |
payment_method_idPattern: ^[A-Za-z0-9_-]{1,200}$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"action",
"amount_minor",
"currency",
"payment_method_id",
"network_id",
"spend_request_id",
"resource_url",
"challenge",
"method"
],
"properties": {
"body": {
"type": "string",
"maxLength": 65536
},
"action": {
"const": "pay"
},
"method": {
"enum": [
"GET",
"POST"
],
"type": "string"
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$"
},
"challenge": {
"type": "string",
"maxLength": 16384,
"minLength": 1
},
"network_id": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"amount_minor": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1
},
"resource_url": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 2048
},
"spend_request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,200}$"
},
"payment_method_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,200}$"
}
},
"additionalProperties": false
}Result fields spend_request_idamount_minorcurrencystatuspayment_method_idnetwork_idapproval_urltransaction_idpayment_outcomepaid_amount_minorpaid_currencyrefund_amount_minorrefund_currencyrefund_statusresource_binding
Operation digest sha256:848855d95cc8a262850f5a9f31cf0f4fbe3d683ad6b8e68aeafd6a14c5ec9594Implementation sha256:5b71b422faf1c0fd8b89cd582e1d524dbf8ccf56c6038665fb8485995b75d659
account.readRead the pinned local Link account without returning personal information.payment.link.account
- LocalReadyA trusted host process runs it.
- Runx scope
payment.link.account- Target
link://account- Local implementation
- Trusted host process:
tool link.payment
| Field and constraints | Type / values | Required |
|---|---|---|
action | "account" | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"action"
],
"properties": {
"action": {
"const": "account"
}
},
"additionalProperties": false
}Result fields account_idresource_binding
Operation digest sha256:53b15622a2c73d005e0bffc486fc77c44a2d072d625dccddb870ec73135ed2beImplementation sha256:63addefbb88c4c2164e90bbec6bd4e670fcd134da01fd9f626b7ca4c70ce8341
spend.requestRequest one-time wallet authorization bound to the original resource, method, body and MPP challenge. Approval is not payment.payment.link.request
- LocalReadyA trusted host process runs it.
- Runx scope
payment.link.request- Target
{"$argument":"/resource_url"}- Local implementation
- Trusted host process:
tool link.payment
| Field and constraints | Type / values | Required |
|---|---|---|
bodyMax. 65536 characters | string | No |
action | "request" | Yes |
method | "GET" · "POST" | Yes |
contextMin. 100 charactersMax. 2000 characters | string | Yes |
currencyPattern: ^[A-Z]{3}$ | string | Yes |
challengeMin. 1 characterMax. 16384 characters | string | Yes |
network_idMin. 1 characterMax. 200 characters | string | Yes |
amount_minorMinimum 1Maximum 9007199254740991 | integer | Yes |
resource_urlFormat: uriPattern: ^https://Max. 2048 characters | string | Yes |
payment_method_idPattern: ^[A-Za-z0-9_-]{1,200}$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"action",
"amount_minor",
"currency",
"payment_method_id",
"network_id",
"context",
"resource_url",
"challenge",
"method"
],
"properties": {
"body": {
"type": "string",
"maxLength": 65536
},
"action": {
"const": "request"
},
"method": {
"enum": [
"GET",
"POST"
],
"type": "string"
},
"context": {
"type": "string",
"maxLength": 2000,
"minLength": 100
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$"
},
"challenge": {
"type": "string",
"maxLength": 16384,
"minLength": 1
},
"network_id": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"amount_minor": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1
},
"resource_url": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 2048
},
"payment_method_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,200}$"
}
},
"additionalProperties": false
}Result fields spend_request_idamount_minorcurrencystatuspayment_method_idnetwork_idapproval_urltransaction_idpayment_outcomepaid_amount_minorpaid_currencyrefund_amount_minorrefund_currencyrefund_statusresource_binding
Operation digest sha256:d251d1af7eb2d663f7ebccc05a38cbc1f7bcf24cfbb056979e96f8071f11445fImplementation sha256:4ea579958323bdd663774018bc59bc72496842c2bf231f4b9bbec942bf1899d1
Authentication
Commands here are for runx 0.11.1.
Link accepts a signed-in browser session.
Authentication methods describe what the provider requires. They do not imply Runx supports every way the provider authenticates, and they do not grant access to your account.
Permissions
Each operation requires every Runx scope it declares. The account or key behind an instance must also reach the target on Link’s side; setting one up adds no Link permissions.
Approval
These operations need approval evidence on every call, which a grant alone never replaces: payment.mpp.