Fee models
Get fee model
Get a fee model given its ID in the path.
get/v1/fee/models/{model_id}
Request
- Base URLhttps://sandbox.pismolabs.io/rates
- URLhttps://sandbox.pismolabs.io/rates/v1/fee/models/{model_id}
- AuthHTTP bearer
Path parameters
model_idstring required
Fee model ID
Query parameters
withAttachmentsResumeboolean
Allows you to add information relating to model attachments to the query result
Headers
Authorizationstring required
Access token, not an account-specific token. Tokens can expire quickly, which can result in an <b>401 Unauthorized</b> message
Response
OK
Example response
{
"model_description": "Fee model applied to org",
"fees": [
{
"description": "Fee wdl",
"id": "sellos_baires",
"type": "sellos",
"deduct_from_transaction_value": true,
"calculation_basis": "PRINCIPAL_AMOUNT",
"calculation": {
"value": 2.5
},
"filters": {
"processing_codes": [
"02",
"0040"
],
"operation_types": [
"authorization"
],
"amount_range": {
"minimum": 10,
"maximum": 1000
},
"merchant_category": {
"include": [
"7995",
"5411"
],
"exclude": [
"9999"
]
}
},
"additional_fees": [
{
"description": "Foreign currency surchange.",
"type": "sellos",
"id": "sellos_baires",
"calculation": {
"value": 2.5
}
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.