JavaScript
const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: JSON.stringify({note: '<string>'}) }; fetch('https://prod-payments-api.forebit.io/v1/businesses/{businessId}/payments/{paymentId}/note', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "message": "<string>", "errors": [ "<string>" ] }
Set or overwrite the internal note attached to a payment. Notes are visible only to your team.
Pass your JWT token in the Authorization header as a Bearer token.
The target business ID.
The payment to annotate.
The new note content.
256
Note saved.
Was this page helpful?