Skip to content

SDKs

Every Oura SDK is official, small and follows the same shape: payments.create / retrieve / list / cancel, webhook verification with constructEvent and verify, and one typed error class. Most have no third-party dependencies.

Server SDKs

These hold your secret key. Run them only on a server.

Language Package Requires Source
Node.js / TypeScript @oura/sdk Node 18+ oura-js
Next.js @oura/nextjs Next.js App Router oura-js
Python oura Python 3 oura-python
PHP oura/oura PHP 7.4+ oura-php
Go github.com/oura-pay/oura-go Go 1.21+ oura-go
Java money.oura:oura-java Java 11+ oura-java
.NET Oura .NET 8 oura-dotnet
Ruby oura Ruby 2.6+ oura-ruby

Frontend components

These never see a secret key. Your server creates the payment and passes checkout_url to the component, which redirects the customer.

Framework Package
React @oura/react
Vue 3 @oura/vue
Angular @oura/angular

Anything else

Use the REST API directly. To verify webhooks yourself, follow the signature scheme.