Bango uses cookies to give you the best website experience. By using this website you agree to let Bango use cookies. More info
OK
Bango Developer
  1. Bango Subscriptions API
  2. Key concepts
  3. Idempotency

Idempotency

Avoiding accidental duplications

The Bango Subscriptions API supports idempotency. With idempotency, the API guarantees to return the same response given a duplicate request. This helps avoid accidental duplications, especially when creating a subscription.

For example, if you make an API request to create a subscription, and then make the same API request again, the response to the second request will be identical to the response to the first request. The second request does not create a new subscription.

To use idempotency, include the header X-RequestIdentifier in every API request. The header must have a globally unique value. This lets the Bango Subscriptions API identify repeated requests.

Copyright © 2000–2023 Bango.net Limited