I made an oath of not eating from restaurant this month and if I break this oath I will have to donate x amount along with expiation .

Is it okay if I just do the expiation or I have to pay that X amount too ?