cardscan_client 1.1.1 copy "cardscan_client: ^1.1.1" to clipboard
cardscan_client: ^1.1.1 copied to clipboard

Official CardScan API client

cardscan_client #

The official documentation for the CardScan API Clients.

This Dart package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0
  • Generator version: 7.13.0
  • Build package: org.openapitools.codegen.languages.DartDioClientCodegen

Requirements #

Installation & Usage #

pub.dev #

To use the package from pub.dev, please include the following in pubspec.yaml

dependencies:
  cardscan_client: 1.0.0

Github #

If this Dart package is published to Github, please include the following in pubspec.yaml

dependencies:
  cardscan_client:
    git:
      url: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
      #ref: main

Local development #

To use the package from your local drive, please include the following in pubspec.yaml

dependencies:
  cardscan_client:
    path: /path/to/cardscan_client

Getting Started #

Please follow the installation procedure and then run the following:

import 'package:cardscan_client/cardscan_client.dart';


final api = CardscanClient().getCardScanApi();
final String cardId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String | 
final JsonObject body = Object; // JsonObject | 

try {
    final response = await api.cardPerformance(cardId, body);
    print(response);
} catch on DioException (e) {
    print("Exception when calling CardScanApi->cardPerformance: $e\n");
}

Documentation for API Endpoints #

All URIs are relative to https://sandbox.cardscan.ai/v1

Class Method HTTP request Description
CardScanApi cardPerformance POST /cards/{card_id}/performance Card - Send performance data
CardScanApi createCard POST /cards Creates a new card
CardScanApi createEligibility POST /eligibility Create Eligibility Record
CardScanApi deleteCardById DELETE /cards/{card_id} Delete Card
CardScanApi directUpload POST /cards/{card_id}/upload Direct Upload
CardScanApi generateCardUploadUrl POST /cards/{card_id}/generate-upload-url Card - Generate Upload URL
CardScanApi generateMagicLink GET /generate-magic-link Generate Magic Link
CardScanApi generateUploadUrl GET /generate-upload-url Generate an upload URL
CardScanApi getAccessToken GET /access-token Access Token
CardScanApi getCardById GET /cards/{card_id} Get Card by ID
CardScanApi getEligibilityById GET /eligibility/{eligibility_id} Get Eligibility
CardScanApi listCards GET /cards List Cards
CardScanApi listEligibility GET /eligibility List Eligibility
CardScanApi searchCards GET /cards/search Search Cards (200) OK
CardScanApi setScanMetadata POST /scans/{scan_id}/metadata Set Scan Metadata
CardScanApi validateMagicLink GET /validate-magic-link Validate Magic Link

Documentation For Models #

  • Address
  • AddressResultInner
  • AddressType
  • ApiErrorResponse
  • CHCPayerRecord
  • CardApiResponse
  • CardApiResponseDetails
  • CardApiResponseImages
  • CardApiResponseImagesBack
  • CardApiResponseImagesFront
  • CardPerformance200Response
  • CardResponseMetadata
  • CardState
  • CardWebsocketEvent
  • CoInsurance
  • CoPayment
  • CopayCategory
  • CopayDeductibleService
  • CopayResultInner
  • CoverageSummary
  • CreateCardRequest
  • CreateCardRequestBackside
  • CreateEligibilityRequest
  • CustomPayerRecord
  • Deductible
  • DirectUpload200Response
  • DirectUpload200ResponseMetadata
  • DirectUploadRequest
  • EligibilityApiResponse
  • EligibilityApiResponseEligibilityRequest
  • EligibilityApiResponseEligibilityRequestProvider
  • EligibilityApiResponseEligibilityRequestSubscriber
  • EligibilityError
  • EligibilityInfo
  • EligibilityState
  • EligibilitySummarizedResponse
  • EligibilityWebsocketEvent
  • GenerateCardUploadUrl200Response
  • GenerateCardUploadUrlRequest
  • GenerateMagicLink200Response
  • GetAccessToken200Response
  • GetAccessToken500Response
  • ListEligibility200Response
  • MatchScore
  • ModelError
  • OOP
  • PayerDetails
  • PayerMatch
  • PayerMatchMatchesInner
  • PayerMatchMatchesInnerMetadata
  • PhoneNumberResultInner
  • PhoneNumberType
  • PlanDetails
  • ProviderDto
  • ResponseMetadata
  • ScanCaptureType
  • ScanMetadata
  • ScanMetadataCameraCapabilities
  • ScanMetadataCameraCapabilitiesAspectRatio
  • ScanMetadataCaptureCanvas
  • ScanMetadataCaptureScore
  • ScanMetadataCaptureScoreScoresInner
  • ScanMetadataGuides
  • ScanMetadataVideoBackground
  • ScanMetadataVideoTrack
  • ScanMetadataWindowInner
  • ScanOrientation
  • SearchCards200Response
  • Service
  • SubscriberDetails
  • SubscriberDto
  • UploadParameters
  • ValidateMagicLink200Response
  • WebhookCardCompletedEvent
  • WebhookCardCompletedEventConfiguration
  • WebhookCardCreatedEvent
  • WebhookCardDeletedEvent
  • WebhookCardEnrichedEvent
  • WebhookCardErrorEvent
  • WebhookCardErrorEventError
  • WebhookEligibilityCompletedEvent
  • WebhookEligibilityCreatedEvent
  • WebhookEligibilityDeletedEvent
  • WebhookEligibilityErrorEvent
  • WebhookEligibilityErrorEventError
  • WebsocketError

Documentation For Authorization #

Authentication schemes defined for the API:

bearerAuth #

  • Type: HTTP Bearer Token authentication

Author #

2
likes
115
points
882
downloads

Publisher

verified publishercardscan.ai

Weekly Downloads

Official CardScan API client

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

built_collection, built_value, dio, one_of, one_of_serializer

More

Packages that depend on cardscan_client