var options = {
"method": "put",
"headers": {
"Authorization": "Bearer " + secret_key,
"content-type": "application/json",
"accept": "application/json"
},
"payload": JSON.stringify({
amount: {
currency: 'RUB',
value: '1.00'
},
expirationDateTime: '2022-07-20T00:16:50.632+03:00'
}),
"muteHttpExceptions": true
};