curl --request GET \
--url https://api.platform.dakota.xyz/mandates/{mandate_id} \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.platform.dakota.xyz/mandates/{mandate_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.platform.dakota.xyz/mandates/{mandate_id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.platform.dakota.xyz/mandates/{mandate_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"id": "2vWxMandate00000000000000000",
"status": "pending",
"bound_signer_id": "2vWxSigner000000000000000000",
"instruction_id": "2vWxInstruction0000000000000",
"rule": {
"target_type": "recipient",
"targets": [
"2vWxRecipient000000000000000"
],
"network_id": "base-sepolia",
"asset": "USDC",
"max_per_tx": "10000",
"window": "MONTHLY",
"max_count_per_target_in_window": 1
},
"valid_until": 1798761599
}{
"type": "https://docs.dakota.xyz/api-reference/errors#invalid-identifier",
"title": "Invalid Identifier",
"status": 400,
"detail": "invalid mandate id"
}{
"type": "https://docs.dakota.xyz/api-reference/errors#not-found",
"title": "Not Found",
"status": 404,
"detail": "agentic payments are not enabled"
}Get a mandate (BETA)
Beta — early access.
Returns the mandate - the signer it binds, its rule exactly as the customer approves it, validity, and status.
curl --request GET \
--url https://api.platform.dakota.xyz/mandates/{mandate_id} \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.platform.dakota.xyz/mandates/{mandate_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.platform.dakota.xyz/mandates/{mandate_id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.platform.dakota.xyz/mandates/{mandate_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"id": "2vWxMandate00000000000000000",
"status": "pending",
"bound_signer_id": "2vWxSigner000000000000000000",
"instruction_id": "2vWxInstruction0000000000000",
"rule": {
"target_type": "recipient",
"targets": [
"2vWxRecipient000000000000000"
],
"network_id": "base-sepolia",
"asset": "USDC",
"max_per_tx": "10000",
"window": "MONTHLY",
"max_count_per_target_in_window": 1
},
"valid_until": 1798761599
}{
"type": "https://docs.dakota.xyz/api-reference/errors#invalid-identifier",
"title": "Invalid Identifier",
"status": 400,
"detail": "invalid mandate id"
}{
"type": "https://docs.dakota.xyz/api-reference/errors#not-found",
"title": "Not Found",
"status": 404,
"detail": "agentic payments are not enabled"
}Authorizations
Path Parameters
Response
Mandate
expired is DERIVED, never stored - a pending or active mandate whose valid_until has passed. It cannot authorize payments and cannot be approved; it can still be cancelled.
pending, active, expired, rejected, revoked, done The customer this mandate is anchored to - approval requires a recognized signer of this customer other than the bound one (§8), and recipient targets belong to it. Absent only on rows created before the anchor existed.
DERIVED, display-only - the rule's recipient targets resolved to names, parallel to rule.targets (raw id on a miss). Absent for address/any target kinds. The ids in the rule remain the grant.
The CURRENT version number (1 for a mandate that has never been amended). rule below is this version's rule — the one the gate governs on. Each version is immutable and independently signed; the full history is at GET /mandates/{mandate_id}/versions.
Show child attributes
Show child attributes
Unix time of the §8 approval; absent until approved.
The signer that cancelled the mandate while it was still pending (§8); absent otherwise.
The signer that cancelled the mandate after activation (§8); absent otherwise.
Was this page helpful?

