QorePay logo
QorePay logo

Delete a billing template by ID

DELETE

https://gate.qorepay.com/api/v1/billing_templates/{id}

HEADER PARAMS

  • authorization

    String

    required

    Set value to BEARER SECRET_KEY

  • content-type

    String

    required

    Set value to JSON

PATH PARAMS

  • id

    string

    required

    ID associated with the billing template.

RESPONSES

  • 204

    OK

Query

Javascript


  const options = {
    method: 'DELETE',
    headers: {
      accept: 'application/json'
    }
  };

  fetch('https://gate.qorepay.com/api/v1/billing_templates/{id}', options)
    .then(response => response.json())
    .then(response => console.log(response))
    .catch(err => console.error(err));

Sample Response

JSON

OK