Outdoorsy User Cards API
The userCards API from Outdoorsy — 2 operation(s) for usercards.
The userCards API from Outdoorsy — 2 operation(s) for usercards.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/outdoorsy-usercards-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Outdoorsy User Cards API
version: 0.0.1
description: 'Operations tagged userCards across 2 of this provider''s published API definitions: outdoorsy-openapi-original.json, outdoorsy-usercards-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /v0
security:
- Bearer:
- '[]'
- API-Key:
- '[]'
tags:
- name: userCards
paths:
/users/{user_id}/cards:
get:
description: Retrieve user cards
tags:
- userCards
operationId: getUserCards
parameters:
- x-go-name: UserID
name: user_id
in: path
required: true
schema:
type: integer
format: int64
responses:
'200':
$ref: '#/components/responses/cardsResponse'
'401':
$ref: '#/components/responses/unauthorizedError'
'404':
$ref: '#/components/responses/notFoundError'
default:
$ref: '#/components/responses/genericError'
post:
description: Create a credit card and assigns to user
tags:
- userCards
operationId: createCard
parameters:
- x-go-name: UserID
name: user_id
in: path
required: true
schema:
type: integer
format: int64
responses:
'201':
$ref: '#/components/responses/cardResponse'
'401':
$ref: '#/components/responses/unauthorizedError'
'404':
$ref: '#/components/responses/notFoundError'
default:
$ref: '#/components/responses/genericError'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateCard'
servers:
- url: /v0
/users/{user_id}/cards/{card_id}:
delete:
description: Retrieve user cards
tags:
- userCards
operationId: deleteUserCard
parameters:
- x-go-name: UserID
name: user_id
in: path
required: true
schema:
type: integer
format: int64
- x-go-name: CardID
name: card_id
in: path
required: true
schema:
type: integer
format: int64
- x-go-name: ReplacementCardId
name: replacement_id
in: query
schema:
type: integer
format: int64
responses:
'204':
$ref: '#/components/responses/noContentResponse'
'400':
$ref: '#/components/responses/badRequestError'
'401':
$ref: '#/components/responses/unauthorizedError'
'404':
$ref: '#/components/responses/notFoundError'
default:
$ref: '#/components/responses/genericError'
patch:
description: Set default card for the user
tags:
- userCards
operationId: updateUserCard
parameters:
- x-go-name: UserID
name: user_id
in: path
required: true
schema:
type: integer
format: int64
- x-go-name: CardID
name: card_id
in: path
required: true
schema:
type: integer
format: int64
responses:
'200':
$ref: '#/components/responses/cardResponse'
'400':
$ref: '#/components/responses/badRequestError'
'401':
$ref: '#/components/responses/unauthorizedError'
'404':
$ref: '#/components/responses/notFoundError'
servers:
- url: /v0
components:
responses:
badRequestError:
description: Invalid input or state means you're bad
headers:
Error:
schema:
type: string
cardResponse:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/UserCard'
genericError:
description: An unknown, unexpected error.
cardsResponse:
description: ''
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/UserCard'
unauthorizedError:
description: Unauthorized error
noContentResponse:
description: Everything went as planned
notFoundError:
description: Not found error
schemas:
UserCard:
type: object
properties:
brand:
type: string
x-go-name: Brand
created:
type: string
x-go-name: Created
x-go-type: github.com/outdoorsy/api/clocks.RfcTime
default:
type: boolean
x-go-name: Default
exp_month:
type: integer
format: int64
x-go-name: ExpMonth
exp_year:
type: integer
format: int64
x-go-name: ExpYear
id:
type: integer
format: int64
x-go-name: ID
last_four:
type: string
x-go-name: LastFour
latest_setup_intent_id:
type: string
x-go-name: LatestSetupIntentID
owner_id:
type: integer
format: int64
payment_processor:
$ref: '#/components/schemas/PaymentProcessor'
stripe_token:
description: internal
type: string
x-go-name: StripeID
updated:
type: string
x-go-name: Updated
x-go-type: github.com/outdoorsy/api/clocks.RfcTime
x-go-package: github.com/outdoorsy/api/model
PaymentProcessorName:
type: string
x-go-package: github.com/outdoorsy/api/controller/broker
PaymentProcessor:
description: 'Typically this object is composed into a struct, but embedded into the
same table using the `db:",embed"` struct tag.'
type: object
title: 'PaymentProcessor is a struct defining identifiers so objects can know which
payment processor should be used when communicating with a payment processor.'
properties:
country:
type: string
x-go-name: Country
external_processor:
type: string
x-go-name: ExternalProcessor
external_processor_id:
type: string
x-go-name: ExternalProcessorID
name:
$ref: '#/components/schemas/PaymentProcessorName'
x-go-package: github.com/outdoorsy/api/model
CreateCard:
type: object
properties:
default:
type: boolean
x-go-name: Default
payment_processor:
$ref: '#/components/schemas/PaymentProcessor'
stripe_token:
type: string
x-go-name: StripeToken
x-go-package: github.com/outdoorsy/api/types
securitySchemes:
API-Key:
type: apiKey
name: API-Key
in: header
Bearer:
type: apiKey
name: Authorization
in: header
x-refined-from:
- outdoorsy-openapi-original.json
- outdoorsy-usercards-api-openapi.yml