LogoLogo
NymCardAPI catalogContact usnFront catalog
  • NYMCARD DOCUMENTATION
  • Get Started
    • nCore API Quick Tutorial
    • API Core Principles
    • Program management
      • Manage documents by APIs
      • User KYB process
      • Necessary parameters per user type
      • User ID verification by SDK
      • User KYC process
    • Issuance
      • Users
      • Cards
    • Issuing Physical Cards
      • Individual card issuance
      • Bulk card issuance
      • Card fulfillment
      • Card PIN management
      • Card replacement
      • Proxy number usage
    • Issuing Virtual Cards
      • Migration of virtual to physical card
    • Funding and transfers
      • Funding
      • Internal funding source
      • External funding source
        • From card
        • From bank account
        • Lean API flow
        • DAPI direct API flow
      • Transfers
      • Western Union APIs
    • Product Management
      • Card product
      • Balance limits
      • Velocity limits
      • Fees
      • Charges
      • Multi-currency
      • Authorization controls
        • Enhancements for MCC list management
    • Transactions
      • Payment ecosystem
      • Transaction lifecycle
      • Transaction types
      • Transaction endpoints scenarios
      • Multi-clearing process
    • Webhooks
      • Introduction to webhooks
      • nCore webhook events
      • Steps to configure a webhook
      • Webhooks samples
      • Webhook changes for simulation
      • Webhooks management
    • Security
      • PCI widget
      • 3D Secure
      • OTP SMS templates
    • Release announcements
      • Embedded Lending Release Notes
      • Changes in the release on 13/07/2023
      • Changes in the release on 23/05/2023
      • Changes in the release on 04/04/2023
  • For developers
    • nCore API catalog
    • nFront API catalog
Powered by GitBook
On this page
  • Create bulk card request
  • Retrieve bulk card requests
  • Update a bulk issuance request
  • Link a bulk card to a user

Was this helpful?

  1. Get Started
  2. Issuing Physical Cards

Bulk card issuance

PreviousIndividual card issuanceNextCard fulfillment

Last updated 9 months ago

Was this helpful?

You can place a request for issuing a bulk of non-personalized physical cards. For this you need to provide the card product, the number of cards to be created in the bulk request and the shipping address to deliver the bulk cards. The bulk can be delivered to a centralized location (e.g. a branch or a retail outlet). Amount can optionally be provided when creating the bulk card request which will serve as the preloaded amount for the non-personalized cards. A walk-in customer can be enrolled as a user and a non-personalized card taken from the bulk can be assigned to the newly registered user.

Create bulk card request

You can order non-personalized physical cards in bulk by sending POST request to /bulkissuances endpoint as given below.

{ "card_product_id": "f4947edd-0dc1-4d60-af5a-f0dcb01d141c", "number_of_cards": 50, "amount": 100, "currency": "USD", "name_on_card": "Gift Card", "dry_run": false

}

Please note that the create bulk card request API supports maximum 5000 cards creation per call. It is advisable to create ≤ 5000 cards in one call.

Retrieve bulk card requests

nCore offers two bulk card request retrieval options.

  • Retrieve existing bulk card requests

You can retrieve all existing bulk card requests by sending a GET request to /bulkissuances endpoint shown below.

  • Retrieve a specific bulk card request

You can retrieve a specific bulk card request by sending a GET request to /bulkissuances/{id} endpoint, where id is the bulk id.

Update a bulk issuance request

You can update an existing bulk issuance request by sending a PUT request to /bulkissuances/{id} endpoint as shown below. In the below sample let's suppose you want to update the status of an existing request from “draft” to “submitted”.

Link a bulk card to a user

A non-personalized card created using bulk issuance needs to be linked to a user before it can be used to perform transactions. nCore supports secure card linking and activation to link a bulk card with a user. You can link a bulk card to an existing user or a newly created user. Please refer to section Users for further info on how to create and manage users.

To link a bulk card to a user, send a POST request to /cards:link endpoint as shown below. The API endpoint requires an activation_token which can be created by performing a SHA-512 hash on the card information.

Steps to calculate activation token

1. To calculate an activation token for a particular card, you need card information as given below.

  • Card PAN (Primary Account Number)

  • Card Expiry Date (YYMM)

  • CVV2

Example:

  • Card PAN: 4122432442321234

  • Card Expiry Date: 2112

  • CVV2: 453

Concatenate the card information in the following sequence:

String format: <Card PAN><Card Expiry Date><CVV2>

String result: 41224324423212342112453

2. Apply SHA-512 hash algorithm to the above string. SHA-512 is a hashing algorithm that performs a hashing function on the data given to it. Hashing algorithms are used in many things such as internet security, digital certificates, and etc.

Result in hash format: 4E8AACE317CBF21390FA7F9DB3F772E724DB1A50609F5592F3007E3AD54A463F9BD0B45A8EC1BC204C32655E8AE 1B3964B67C2DAADFA0DA95B49C1CE83F86946

Please ensure that the SHA-512 hash result passed to the API in activation_token has the hexadecimal letters (A-F) in uppercase.

{

"currency": "USD", "status": "SUBMITTED"

}

{

“activation_token”: “4E8AACE317CBF21390FA7F9DB3F772E724DB1A50609F5592F3007E3AD54A463F9BD0B45A8EC1BC204C32655E8AE 1B3964B67C2DAADFA0DA95B49C1CE83F86946”, “user_id”: “8009ace0-c16e-4d03-8a89-36010cf30b87”

}

POST /bulkissuances
GET /bulkissuances
GET /bulkissuances/{id}
PUT /bulkissuances/{id}
POST /cards:link