/
5 minute read
May 23, 2022

SDKs

Hidden

You can use the SDK for Ruby to access the Marqeta Core API.

Marqeta SDK for Ruby

Elan Dubrofsky of Financeit built this Ruby SDK: Marqeta.

Generate your own client library

You can reduce the effort required to integrate your code with the Marqeta API by automatically generating your client library for the language of your choice. When Marqeta updates the API definition, simply regenerate the library to update your code.

The following is the basic procedure to generate your library:

  • In the Swagger Editor, import the URL of the API definition file, as described in Choosing an API definition file below.

  • Generate the client library by selecting Generate Client and the language you prefer, such as Java or Go.

For information on tools you can use to create an automatic build process, see OpenAPI.Tools.

Choosing an API definition file

You have two options when choosing an API definition file to import:

The OpenAPI definition is currently in beta, and subject to change. It offers greater accuracy than the Swagger v2.0 definition file because it is generated directly from source code. It might, however, be missing some endpoints. For details on what to expect, see Marqeta’s blog post announcing this beta release.

Note
To import the tokenization endpoints, you must use the Swagger v2.0 definition file URL.
Join our developer newsletter