Block · Example Payload

Block Payment Example

CommerceCryptocurrencyE-CommerceFintechPaymentsPoint-of-SaleSquare

Block Payment Example is an example object payload from Block, with 14 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

idstatussource_typecard_detailsamount_moneytotal_moneyapproved_moneylocation_idorder_idreceipt_numberreceipt_urlcreated_atupdated_atversion_token

Example Payload

Raw ↑
{
  "id": "GQTFp1ZlXdpoW4o6eGiZhbjosiDFf",
  "status": "COMPLETED",
  "source_type": "CARD",
  "card_details": {
    "status": "CAPTURED",
    "card": {
      "card_brand": "VISA",
      "last_4": "1111",
      "exp_month": 11,
      "exp_year": 2026,
      "fingerprint": "sq-1-Hxim77tbdcbGejOejnoAklBVJed2YFLTmirfl8Q5XZzObTc8qY_U8RkwzoNL8dCEcg",
      "card_type": "CREDIT",
      "prepaid_type": "NOT_PREPAID",
      "bin": "411111"
    },
    "entry_method": "KEYED"
  },
  "amount_money": {
    "amount": 1500,
    "currency": "USD"
  },
  "total_money": {
    "amount": 1500,
    "currency": "USD"
  },
  "approved_money": {
    "amount": 1500,
    "currency": "USD"
  },
  "location_id": "L1234567890",
  "order_id": "CAISENgvlJ6jLWAzERDzjyHVybY",
  "receipt_number": "GQTF",
  "receipt_url": "https://squareup.com/receipt/preview/GQTFp1ZlXdpoW4o6eGiZhbjosiDFf",
  "created_at": "2026-01-15T10:00:00Z",
  "updated_at": "2026-01-15T10:00:05Z",
  "version_token": "FPnudR6q"
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/block-payment-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.