{"repo":"killbill/killbill-client-ruby","free":true,"listed":false,"github":"https://github.com/killbill/killbill-client-ruby","clone":"git clone https://github.com/killbill/killbill-client-ruby.git","description":"Ruby client library for Kill Bill","language":"Ruby","stars":26,"topics":["killbill","subscriptions","billing","payments"],"license":null,"category":"auth-billing-email","readme_excerpt":"killbill-client-ruby ==================== Kill Bill Ruby client library. Kill Bill compatibility ----------------------- Client version Kill Bill version -------------: ----------------: 0.x.y 0.16.z 1.x.y 0.18.z 2.x.y 0.20.z 3.x.y 0.22.z 4.x.y 0.24.z Installation ------------ Get the killbill-client gem: Alternatively, add the dependency in your Gemfile: Authentication -------------- A username and password can be set directly in the options hash (accepted by each API method): These credentials are validated by Kill Bill either directly (users managed by Kill Bill) or via a third-party (LDAP, Okta, Auth0, etc.). Alternatively, a bearer token can be passed as such: The security token would be validated by Kill bill via a third-party (e.g. Auth0). By default, Kill Bill won't maintain sessions, except when calling the API /1.0/kb/security/permissions ( JSESSIONID , present in the Set-Cookie response header). This session id can be passed instead: Using this session mechanism is recommend for user interfaces or to minimize the runtime dependency with a third-party provider. Note: if a timed out session is re-used ( last access time older than 60 minutes by default), a HTTP/1.1 401 Unauthorized is returned with Set-Cookie: JSESSIONID=deleteMe , and the session is deleted from the database (and cache) on the server side. Examples -------- Here is a snippet creating your first account and subscription: The following script will tag a list of accounts with OVERDUE ENFORCEMENT OFF an","default_branch":null,"files":null,"tree":[],"storefront":"/r/killbill","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/killbill/killbill-client-ruby/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}