List Pi wallet payment history
get_account_paymentsRetrieve payment history for a Pi wallet address, newest first, to verify incoming payments, account funding, and recent outbound activity on the Pi Testnet ledger.
Instructions
List payments sent to or from a Pi wallet address, newest first. Call this to answer questions about an address's transaction history — whether a payment arrived, who funded an account, or what it recently sent. Covers payments, account creations, path payments, and account merges. Results are paginated: pass the returned next_cursor back as cursor for the next page. Reads public ledger data only. An address never funded on this chain returns a not-found error rather than an empty list, so an empty payments array means you have paged past the end of the history — not that the account is unused. This server reads Pi Testnet, and every result repeats that in its "network" field — always report which chain a figure came from. Pi Mainnet and Pi Testnet are separate ledgers sharing one address format, and the same address can hold different balances on each, so a result from the wrong chain looks entirely normal. Testnet Pi has no monetary value: never present a testnet balance as real holdings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many records to return (1-200). Defaults to 10. | |
| order | No | `desc` returns newest records first (the default); `asc` returns oldest first. | desc |
| cursor | No | Paging cursor from a previous call's `next_cursor`. Omit for the first page. | |
| address | Yes | Pi wallet address (a Stellar public key): exactly 56 upper-case characters, starting with G, the rest base32 — A-Z and 2-7 only, never 0, 1, 8 or 9. Example: GATQBZLIAUVMND2OCPOKWGPUCNXIGKMNUU7E67YQI2MODSMCMLXBAIJA — that is a format sample, not a default. Pass the address you were actually given: a valid address that is not the intended one returns someone else's balance, not an error. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| network | Yes | ||
| payments | Yes | ||
| account_id | Yes | ||
| next_cursor | No |