Adyen · Schema
CostEstimateResponse
PaymentsFinancial ServicesFintechAgentic CommercePoint-of-SalePayment Processing
Properties
| Name | Type | Description |
|---|---|---|
| cardBin | object | Card BIN details. |
| costEstimateAmount | object | The estimated cost (scheme fee + interchange) in the settlement currency. If the settlement currency cannot be determined, the fee in EUR is returned. |
| costEstimateReference | string | Adyen's 16-character reference associated with the request. |
| resultCode | string | The result of the cost estimation. |
| surchargeType | string | Indicates the way the charges can be passed on to the cardholder. The following values are possible: * `ZERO` - the charges are not allowed to pass on * `PASSTHROUGH` - the charges can be passed on * |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/adyen/main/json-schema/adyen-cost-estimate-response-schema.json",
"title": "CostEstimateResponse",
"x-generated": "2026-10-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/adyen-cost-api-openapi.yml#/components/schemas/CostEstimateResponse",
"properties": {
"cardBin": {
"description": "Card BIN details.",
"$ref": "#/$defs/CardBin"
},
"costEstimateAmount": {
"description": "The estimated cost (scheme fee + interchange) in the settlement currency. If the settlement currency cannot be determined, the fee in EUR is returned.",
"$ref": "#/$defs/Amount"
},
"costEstimateReference": {
"x-addedInVersion": "52",
"description": "Adyen's 16-character reference associated with the request.",
"type": "string"
},
"resultCode": {
"description": "The result of the cost estimation.",
"type": "string"
},
"surchargeType": {
"description": "Indicates the way the charges can be passed on to the cardholder. The following values are possible:\n* `ZERO` - the charges are not allowed to pass on\n* `PASSTHROUGH` - the charges can be passed on\n* `UNLIMITED` - there is no limit on how much surcharge is passed on",
"type": "string"
}
},
"type": "object",
"$defs": {
"Amount": {
"properties": {
"currency": {
"description": "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).",
"maxLength": 3,
"minLength": 3,
"type": "string"
},
"value": {
"description": "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).",
"format": "int64",
"type": "integer"
}
},
"required": [
"value",
"currency"
],
"type": "object"
},
"CardBin": {
"properties": {
"bin": {
"description": "The first 6 digit of the card number. Enable this field via merchant account settings.",
"type": "string"
},
"commercial": {
"description": "If true, it indicates a commercial card. Enable this field via merchant account settings.",
"type": "boolean"
},
"fundingSource": {
"description": "The card funding source. Valid values are:\n* CHARGE\n* CREDIT\n* DEBIT\n* DEFERRED_DEBIT\n* PREPAID\n* PREPAID_RELOADABLE\n* PREPAID_NONRELOADABLE\n> Enable this field via merchant account settings.",
"type": "string"
},
"fundsAvailability": {
"description": "Indicates availability of funds.\n\nVisa:\n* \"I\" (fast funds are supported)\n* \"N\" (otherwise)\n\nMastercard:\n* \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list)\n* \"N\" (otherwise)\n> Returned when you verify a card BIN or estimate costs, and only if `payoutEligible` is different from \"N\" or \"U\".",
"type": "string"
},
"issuerBin": {
"x-addedInVersion": "54",
"description": "The first 8 digit of the card number. Enable this field via merchant account settings.",
"type": "string"
},
"issuingBank": {
"description": "The issuing bank of the card.",
"type": "string"
},
"issuingCountry": {
"description": "The country where the card was issued from.",
"type": "string"
},
"issuingCurrency": {
"description": "The currency of the card.",
"type": "string"
},
"paymentMethod": {
"description": "The payment method associated with the card (e.g. visa, mc, or amex).",
"type": "string"
},
"payoutEligible": {
"description": "Indicates whether a payout is eligible or not for this card.\n\nVisa:\n* \"Y\"\n* \"N\"\n\nMastercard:\n* \"Y\" (domestic and cross-border)\n* \"D\" (only domestic)\n* \"N\" (no MoneySend)\n* \"U\" (unknown)\n> Returned when you verify a card BIN or estimate costs, and only if `payoutEligible` is different from \"N\" or \"U\".",
"type": "string"
},
"summary": {
"description": "The last four digits of the card number.",
"type": "string"
}
},
"type": "object"
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/adyen-cost-estimate-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.