This endpoint requires authentication. Include your Bearer token in the Authorization header.
 
Code Examples
const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/payment-request/example-id', {
  method: 'PUT',
  headers: {
    'Authorization': `Bearer ${token}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "PaymentSettingId": "sample-PaymentSettingId",
    "currency": "sample-currency",
    "amountUSD": 1,
    "amount": 1,
    "memo": "sample-memo"
  })
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
ID of the payment setting to update
Amount in the specified currency