Draft a new rule version
Changed onCreates a new draft version of a rule that will be ran in shadow mode.
This can also be utilized to reset the draft parameters, causing a draft version to no longer be ran in shadow mode.
Request
- Base URLhttps://sandbox.lithic.com
- URLhttps://sandbox.lithic.com/v2/auth_rules/{auth_rule_token}/draft
- AuthAPI key in header Authorization
Path parameters
Request body
Example request
{
"parameters": {
"filters": {
"include_mccs": [
"5542"
],
"exclude_mccs": [
"5542"
],
"include_countries": [
"USA"
],
"exclude_countries": [
"USA"
]
},
"limit_amount": 10000,
"limit_cash_amount": 5000
}
}Response
Auth Rule
Example response
{
"current_version": {
"parameters": {
"filters": {
"include_mccs": [
"5542"
],
"exclude_mccs": [
"5542"
],
"include_countries": [
"USA"
],
"exclude_countries": [
"USA"
]
},
"limit_amount": 10000,
"limit_cash_amount": 5000
}
},
"draft_version": {
"parameters": {
"filters": {
"include_mccs": [
"5542"
],
"exclude_mccs": [
"5542"
],
"include_countries": [
"USA"
],
"exclude_countries": [
"USA"
]
},
"limit_amount": 10000,
"limit_cash_amount": 5000
}
}
}Changes
- breaking
removed from the
/request propertyanyOflist - breaking
removed
subschema #1subschema #2from the////request propertyoneOflist - warning
added the new
CARD_AGEenum value to the//////response property for the response status - warning
added the new
CARD_AGEenum value to the//////response property for the response status - warning
added the new
CARD_PROGRAM_FAMILYenum value to the//////response property for the response status - warning
added the new
CARD_PROGRAM_FAMILYenum value to the//////response property for the response status - warning
added the new
CARD_STATEenum value to the//////response property for the response status - warning
added the new
CARD_STATEenum value to the//////response property for the response status - warning
added the new
CARD_TYPEenum value to the//////response property for the response status - warning
added the new
CARD_TYPEenum value to the//////response property for the response status - warning
added the new
IS_DOMESTICenum value to the//////response property for the response status - warning
added the new
IS_DOMESTICenum value to the//////response property for the response status - warning
added the new
IS_DOMESTICenum value to the//////response property for the response status - warning
added the new
IS_DOMESTICenum value to the//////response property for the response status - warning
added the new
PIN_STATUSenum value to the//////response property for the response status - warning
added the new
PIN_STATUSenum value to the//////response property for the response status - info
added
subschema #1subschema #2to the////request propertyanyOflist - info
added the new
CARD_AGEenum value to the request property///// - info
added the new
CARD_PROGRAM_FAMILYenum value to the request property///// - info
added the new
CARD_STATEenum value to the request property///// - info
added the new
CARD_TYPEenum value to the request property///// - info
added the new
IS_DOMESTICenum value to the request property///// - info
added the new
IS_DOMESTICenum value to the request property///// - info
added the new
PIN_STATUSenum value to the request property///// - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added
subschema #1subschema #2to the/////response propertyanyOflist for the response status - info
added
subschema #1subschema #2to the/////response propertyanyOflist for the response status - info
removed from the
//response propertyanyOflist for the response status - info
removed from the
//response propertyanyOflist for the response status - info
response property
account_tokensdeprecated - info
response property
business_account_tokensdeprecated - info
response property
card_tokensdeprecated - info
response property
excluded_account_tokensdeprecated - info
response property
excluded_business_account_tokensdeprecated - info
response property
excluded_card_tokensdeprecated - info
response property
program_leveldeprecated - info
removed the
CONDITIONAL_BLOCKenum value from theresponse property for the response status - info
removed
subschema #1subschema #2from the/////response propertyoneOflist for the response status - info
removed
subschema #1subschema #2from the/////response propertyoneOflist for the response status - info
added the required property
to the response with the status
- breaking
- warning
added the new
OTHERenum value to theresponse property for the response status
- warning