Ruby on Rails Background Jobs with Sidekiq: making PaymentsServiceWrapper idempotent (p34)

I’ve looked at PaymentsServiceWrapper and can’t see support for an idempotency key nor a third party API call to see if the charge_id has already been used. So how do you make it idempotent?