Adyen · JSON Structure

Binlookup Cost Estimate Response Structure

CostEstimateResponse schema from Adyen API

Type: object Properties: 5
PaymentsFinancial ServicesFintech

CostEstimateResponse is a JSON Structure definition published by Adyen, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

cardBin costEstimateAmount costEstimateReference resultCode surchargeType

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/binlookup-cost-estimate-response-structure.json",
  "description": "CostEstimateResponse schema from Adyen API",
  "type": "object",
  "properties": {
    "cardBin": {
      "description": "Card BIN details.",
      "$ref": "#/components/schemas/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": "#/components/schemas/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"
    }
  },
  "name": "CostEstimateResponse"
}