@codeforge-main/safepay-nordic-ts-fetch-v2
v9.0.0
Published
This right here is some good README instructions! Some moresssshhds
Downloads
1,045
Readme
This right here is some good README instructions! Some moresssshhds
@codeforge-main/safepay-nordic-ts-fetch-v2
Version 9.0.0
Install
npm install @codeforge-main/safepay-nordic-ts-fetch-v2yarn add @codeforge-main/safepay-nordic-ts-fetch-v2pnpm add @codeforge-main/safepay-nordic-ts-fetch-v2Usage
This SDK is exposed as a single, fully typed client class. Construct it once with your shared configuration and call any API operation as a method — each returns the deserialized response alongside HTTP metadata.
import { SafepayApiV2Client } from '@codeforge-main/safepay-nordic-ts-fetch-v2'
const client = new SafepayApiV2Client({
server: 'https://api.example.com',
auth: { type: 'bearer', token: process.env.API_TOKEN ?? '' },
})
const response = await client.getV2Documents()
console.log(response.status) // HTTP status code
console.log(response.data) // typed as GetV2DocumentsResponse_200The client holds the shared configuration (server, auth, hooks, retry, pagination).
Each method accepts a per-call context extending HttpClientContext — supply the
operation-specific payload / parameters, and override any shared field per call.
Available operations
postV2ConnectgetV2ConnectReferenceIdpostV2ConnectReferenceIdGuestgetV2DocumentspostV2DocumentsgetV2DocumentsDocumentIdpostV2DocumentsDocumentIdSigngetV2DocumentsDocumentIdDownloadgetV2UsersgetV2UsersSafepayAccountIdgetV2UsersSafepayAccountIdBanksgetV2UsersSafepayAccountIdBankAccountsgetV2UsersSafepayAccountIdBankAccountsInitializepostV2UsersSafepayAccountIdBankAccountsInitializegetV2TransactionspostV2TransactionsMarketplacepostV2TransactionsAutogetV2TransactionsTransactionIdpostV2TransactionsTransactionIdUpdatepostV2TransactionsTransactionIdReimbursePayergetV2TransactionsTransactionIdDebtInformationDownloadpostV2PaymentspostV2PaymentsPaymentIdInitializegetV2WebhooksExamples
Generated by
@the-codegen-project/cliv0.74.3.
