Get all currencies of the owner
OK
const response = await fetch('//api.client.nbcgate.tech/api/owner/currency', { method: 'GET', headers: {}, }); const data = await response.json();
{ "currency": [ { "id": 0, "name": "text" } ] }
Add currency to owner
data
No Content
const response = await fetch('//api.client.nbcgate.tech/api/owner/currency', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify([ {} ]), }); const data = await response.json();
{ "errors": [ { "code": 0, "field": "text", "message": "text" } ], "message": "text", "statusCode": 0 }
Remove Owner Currency
const response = await fetch('//api.client.nbcgate.tech/api/owner/currency', { method: 'DELETE', headers: { "Content-Type": "application/json" }, body: JSON.stringify([ {} ]), }); const data = await response.json();