Grain · Schema

ListConversionsResponseBody

FintechPaymentsCurrencyEmbedded

Properties

Name Type Description
conversions array A list of conversions matching the search criteria.
pagination object
View JSON Schema on GitHub

JSON Schema

grainfinance-co-list-conversions-response-body-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/grainfinance-co/json-schema/grainfinance-co-list-conversions-response-body-schema.json",
  "title": "ListConversionsResponseBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/grainfinance-co-conversions-api-openapi.yml#/components/schemas/ListConversionsResponseBody",
  "properties": {
    "conversions": {
      "items": {
        "$ref": "#/$defs/OrganizationConversion"
      },
      "type": "array",
      "description": "A list of conversions matching the search criteria."
    },
    "pagination": {
      "$ref": "#/$defs/PaginationResponse"
    }
  },
  "required": [
    "conversions",
    "pagination"
  ],
  "type": "object",
  "additionalProperties": false,
  "$defs": {
    "GrainDateFormat": {
      "type": "string",
      "format": "YYYY-MM-DD",
      "description": "The date format accepted by Grain's API. We accept dash separated ISO-8601 date-only strings.",
      "pattern": "\\d{4}-\\d{2}-\\d{2}"
    },
    "OrganizationConversion": {
      "properties": {
        "id": {
          "$ref": "#/$defs/UUID",
          "description": "The id of the conversion within the Grain platform."
        },
        "organizationId": {
          "$ref": "#/$defs/UUID",
          "description": "The id of the organization that perform the conversion within the Grain platform."
        },
        "fromCurrency": {
          "type": "string",
          "description": "The currency in which the transaction should be paid at by your customer."
        },
        "toCurrency": {
          "type": "string",
          "description": "The currency in which the inventory item is listed at on your platform."
        },
        "toCurrencyAmount": {
          "type": "number",
          "format": "double",
          "description": "The amount to transfer in the toCurrency"
        },
        "fromCurrencyAmount": {
          "type": "number",
          "format": "double",
          "description": "The amount to transfer in the fromCurrency"
        },
        "quote": {
          "type": "number",
          "format": "double",
          "description": "The rate locked by this conversion."
        },
        "acceptedAtTs": {
          "type": "number",
          "format": "double",
          "description": "The unix timestamp in which the conversion offer was accepted (if it was)."
        },
        "issuedAt": {
          "$ref": "#/$defs/GrainDateFormat",
          "description": "The date in which the conversion was issued, denoted in `YYYY-MM-DD` format."
        },
        "completedAt": {
          "description": "The date in which the conversion was completed, denoted in `YYYY-MM-DD` format.",
          "oneOf": [
            {
              "$ref": "#/$defs/GrainDateFormat"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "id",
        "organizationId",
        "fromCurrency",
        "toCurrency",
        "toCurrencyAmount",
        "fromCurrencyAmount",
        "quote",
        "acceptedAtTs",
        "issuedAt",
        "completedAt"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "Page": {
      "type": "number",
      "format": "double",
      "description": "The page indicating which set of items are returned",
      "minimum": 1
    },
    "PaginationResponse": {
      "description": "Pagination parameters of the returned results.",
      "properties": {
        "page": {
          "$ref": "#/$defs/Page"
        },
        "perPage": {
          "$ref": "#/$defs/PerPage"
        },
        "totalResults": {
          "type": "number",
          "format": "double",
          "description": "The total amount of results available"
        }
      },
      "required": [
        "page",
        "perPage",
        "totalResults"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "PerPage": {
      "type": "number",
      "format": "double",
      "description": "number of items in a page",
      "minimum": 1,
      "maximum": 100
    },
    "UUID": {
      "type": "string",
      "format": "uuid",
      "pattern": "[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}"
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/grainfinance-co-list-conversions-response-body"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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