List of templates for SEPA withdrawal
OK
const response = await fetch('//api.client.nbcgate.tech/api/withdrawal/sepa/template', { method: 'GET', headers: {}, }); const data = await response.json();
[ { "beneficiary_address": "text", "beneficiary_bank_country_id": 0, "beneficiary_city": "text", "beneficiary_country": "text", "beneficiary_iban": "text", "beneficiary_name": "text", "id": 0, "name": "text", "ownerID": 0, "user_id": 0 } ]
Removing a template for SEPA withdrawal
withdrawal sepa template id
No Content
const response = await fetch('//api.client.nbcgate.tech/api/withdrawal/sepa/template/{id}', { method: 'DELETE', headers: {}, }); const data = await response.json();
{ "errors": [ { "code": 0, "field": "text", "message": "text" } ], "message": "text", "statusCode": 0 }
Save SEPA withdrawal template
data
const response = await fetch('//api.client.nbcgate.tech/api/withdrawal/sepa/template', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
Информация о шаблоне на вывод SEPA
const response = await fetch('//api.client.nbcgate.tech/api/withdrawal/sepa/template/{id}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "beneficiary_address": "text", "beneficiary_bank_country_id": 0, "beneficiary_city": "text", "beneficiary_country": "text", "beneficiary_iban": "text", "beneficiary_name": "text", "id": 0, "name": "text", "ownerID": 0, "user_id": 0 }