Last active
January 21, 2022 11:16
-
-
Save shubham-mcsam/b7ceb20544511b3e737d5787583013c1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"webfront_type": 0, | |
"merchant_info_json": { | |
"website_info": { | |
"page_title": "Test Title", | |
"website_name": "www.mcsam.in" | |
}, | |
"get_in_touch": { | |
"phone": "8860505544", | |
"address": "gurgaon, india", | |
"email": "[email protected]" | |
}, | |
"page_content": "test description", | |
"pay_btn_text": "Pay Now" | |
}, | |
"payment_info_json": { | |
"payee_information": [ | |
{ | |
"defaultValue": "", | |
"isFixed": false, | |
"isRequired": false, | |
"label": "Name", | |
"type": { | |
"id": "text", | |
"name": "Text", | |
"validations": [ | |
{ | |
"id": "alphabet", | |
"name": "Alphabet", | |
"regex": {} | |
}, | |
{ | |
"id": "numeric", | |
"name": "Numeric", | |
"regex": {} | |
}, | |
{ | |
"id": "email", | |
"name": "Email", | |
"regex": {} | |
}, | |
{ | |
"id": "alphanumeric", | |
"name": "Alphanumeric", | |
"regex": {} | |
}, | |
{ | |
"id": "alphanumericWSpaces", | |
"name": "Alphanumeric with Spaces", | |
"regex": {} | |
} | |
] | |
}, | |
"validation": { | |
"id": "alphanumericWSpaces", | |
"name": "Alphanumeric with Spaces", | |
"regex": "/^[ws]+$/" | |
} | |
}, | |
{ | |
"defaultValue": "", | |
"isFixed": false, | |
"isRequired": false, | |
"label": "Email", | |
"type": { | |
"id": "text", | |
"name": "Text", | |
"validations": [ | |
{ | |
"id": "alphabet", | |
"name": "Alphabet", | |
"regex": "/^[a-zA-Z]*$/" | |
}, | |
{ | |
"id": "numeric", | |
"name": "Numeric", | |
"regex": "/^[0-9]+$/" | |
}, | |
{ | |
"id": "email", | |
"name": "Email", | |
"regex": "/^(([^<>()[]\\.,;:s@\"]+(.[^<>()[]\\.,;:s@\"]+)*)|(\".+\"))@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}])|(([a-zA-Z-0-9]+.)+[a-zA-Z]{2,}))$/" | |
}, | |
{ | |
"id": "alphanumeric", | |
"name": "Alphanumeric", | |
"regex": "/^[0-9a-zA-Z]+$/" | |
}, | |
{ | |
"id": "alphanumericWSpaces", | |
"name": "Alphanumeric with Spaces", | |
"regex": "/^[ws]+$/" | |
} | |
] | |
}, | |
"validation": { | |
"id": "email", | |
"name": "Email", | |
"regex": "/^(([^<>()[]\\.,;:s@\"]+(.[^<>()[]\\.,;:s@\"]+)*)|(\".+\"))@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}])|(([a-zA-Z-0-9]+.)+[a-zA-Z]{2,}))$/" | |
} | |
}, | |
{ | |
"defaultValue": "", | |
"isFixed": false, | |
"isRequired": false, | |
"label": "Phone Number", | |
"type": { | |
"id": "text", | |
"name": "Text", | |
"validations": [ | |
{ | |
"id": "alphabet", | |
"name": "Alphabet", | |
"regex": "/^[a-zA-Z]*$/" | |
}, | |
{ | |
"id": "numeric", | |
"name": "Numeric", | |
"regex": "/^[0-9]+$/" | |
}, | |
{ | |
"id": "email", | |
"name": "Email", | |
"regex": "/^(([^<>()[]\\.,;:s@\"]+(.[^<>()[]\\.,;:s@\"]+)*)|(\".+\"))@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}])|(([a-zA-Z-0-9]+.)+[a-zA-Z]{2,}))$/" | |
}, | |
{ | |
"id": "alphanumeric", | |
"name": "Alphanumeric", | |
"regex": "/^[0-9a-zA-Z]+$/" | |
}, | |
{ | |
"id": "alphanumericWSpaces", | |
"name": "Alphanumeric with Spaces", | |
"regex": "/^[ws]+$/" | |
} | |
] | |
}, | |
"validation": { | |
"id": "numeric", | |
"name": "Numeric", | |
"regex": "/^[0-9]+$/" | |
} | |
} | |
], | |
"amount_collection": [ | |
{ | |
"defaultValue": "", | |
"isFixed": false, | |
"isRequired": false, | |
"label": "Amount", | |
"type": { | |
"id": "amount", | |
"name": "Amount", | |
"validations": [ | |
{ | |
"id": "numeric", | |
"name": "Numeric", | |
"regex": {} | |
} | |
] | |
}, | |
"validation": { | |
"id": "numeric", | |
"name": "Numeric", | |
"regex": {} | |
} | |
} | |
], | |
"latefees": { | |
"latefees": false, | |
"amount": "", | |
"type": "fixed", | |
"laterecurringfee": [], | |
"latefeefrquency": [], | |
"recurringupto": [] | |
}, | |
"pdfenable": "on" | |
}, | |
"promotional_styles_json": { | |
"facebookurl": "", | |
"twitterurl": "", | |
"pinteresturl": "", | |
"linkedinurl": "" | |
}, | |
"webfront_styles_json": { | |
"webfront_type": "basic", | |
"introduction": {} | |
}, | |
"webfront_id": "", | |
"key": "3fb0698a4b4ef81a46071a74e1c74e8f827a004f" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment