Socket
Book a DemoInstallSign in
Socket

credo-types

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

credo-types

TypeScript definitions for the Credo payment integration API.

1.0.0
latest
Source
npmnpm
Version published
Weekly downloads
68
Maintainers
1
Weekly downloads
 
Created
Source

Credo Types

TypeScript type definitions for Credo payment integration.
This package provides strict, reusable type definitions to help developers integrate Credo payments with better type safety and IntelliSense support.

Check out the Official Credo Payment Integration Docs.

Features

  • Strongly typed payloads for Credo payment initialization
  • Support for FeeBearer, Currency, PaymentChannel, and metadata structures
  • Works with any TypeScript-based project
  • Lightweight – no runtime code, types only

Installation

Install as a dev dependency:

npm install -D credo-types

or using Yarn:

yarn add -D credo-types

Types Included

  • CredoPaymentInitializationPayload – Main payload structure for payment requests.
  • FeeBearer – Who pays the transaction fee (Customer or Merchant).
  • Currency – Supported currencies (NGN, USD).
  • PaymentChannel – Supported payment channels.
  • MetaData, SplitConfiguration, etc.

Why Use This Package?

  • Avoid guesswork when building payloads
  • Get IntelliSense in VSCode and other editors
  • Minimize runtime errors caused by incorrect payloads

Contributing

Contributions are welcome! If you notice missing fields or updates in Credo's API, please open a PR or create an issue.

License

MIT License. Use freely in personal and commercial projects.

Keywords

credo

FAQs

Package last updated on 23 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.