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.
{
"$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"
}
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.