Skip to main content
POST
/
v2
/
cards
Create New Card
curl --request POST \
  --url https://qa-lynx.nayax.com/operational/v2/cards \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "CardDetails": {
    "ActorID": 123,
    "CardUniqueIdentifier": "<string>",
    "CardDisplayNumber": "<string>",
    "CardTypeID": 31,
    "PhysicalTypeID": 30000528,
    "Notes": "<string>",
    "Status": 1,
    "ExternalApplicationUserID": "<string>"
  },
  "CardHolderDetails": {
    "CardHolderName": "<string>",
    "UserIdentity": "<string>",
    "CountryID": 123,
    "MobileNumber": "<string>",
    "Email": "<string>",
    "MemberTypeID": 800
  },
  "CardCreditAttributes": {
    "CurrencyID": 123,
    "Credit": 123,
    "RevalueCredit": 123,
    "CreditTypeMoneyBit": true,
    "CreditAccumulateBit": true,
    "CreditSingleUseBit": true,
    "RevalueCashBit": true,
    "RevalueCreditCardBit": true,
    "AmountMonthlyReload": 123,
    "TransactionsMonthlyReload": 123,
    "DiscountTypeBit": 123,
    "DiscountValue": 123
  },
  "CardCreditLimits": {
    "AmountDailyLimit": 123,
    "AmountWeeklyLimit": 123,
    "TransactionsDailyLimit": 123,
    "TransactionsWeeklyLimit": 123,
    "AmountMonthlyLimit": 123,
    "TransactionsMonthlyLimit": 123,
    "DiscountTransactionsTotalLimit": 123,
    "MaxRevalueAmountLimit": 123,
    "WeekDayLimitEnabledBit": true,
    "WeekDayAmountLimit": "<string>",
    "WeekDayTransactionLimit": "<string>"
  },
  "CardDateRules": {
    "ActivationDate": "2023-11-07T05:31:56Z",
    "ExpirationDate": "2023-11-07T05:31:56Z",
    "RevalueExpirationDate": "2023-11-07T05:31:56Z",
    "SetSingleUseDate": "2023-11-07T05:31:56Z",
    "RemoveSingleUseDate": "2023-11-07T05:31:56Z"
  },
  "CardRevalueRewardRules": [
    {
      "RuleID": 123,
      "RewardActorID": 123,
      "Status": true,
      "RevalueAmount": 123,
      "RewardValueTypeBit": true,
      "RewardValue": 123
    }
  ],
  "GroupLocationLimits": [
    {
      "CardGroupEnabledBit": true,
      "GroupName": "<string>",
      "CardGroupId": 123,
      "GroupDailyLimit": 123
    }
  ]
}
'
{
  "CardDetails": {
    "CardID": 123,
    "ActorID": 123,
    "CardUniqueIdentifier": "<string>",
    "CardDisplayNumber": "<string>",
    "CardTypeID": 123,
    "PhysicalTypeID": 123,
    "Notes": "<string>",
    "Status": 123,
    "ExternalApplicationUserID": "<string>",
    "CreatedBy": 123,
    "CreatedDT": "2023-11-07T05:31:56Z",
    "UpdatedBy": 123,
    "UpdatedDT": "2023-11-07T05:31:56Z"
  },
  "CardHolderDetails": {
    "CardHolderName": "<string>",
    "UserIdentity": "<string>",
    "CountryID": 123,
    "MobileNumber": "<string>",
    "Email": "<string>",
    "MemberTypeID": 123,
    "ImageUrl": "<string>"
  },
  "CardCreditAttributes": {
    "CurrencyID": 123,
    "Credit": 123,
    "RevalueCredit": 123,
    "CreditTypeMoneyBit": true,
    "CreditAccumulateBit": true,
    "CreditSingleUseBit": true,
    "RevalueCashBit": true,
    "RevalueCreditCardBit": true,
    "AmountMonthlyReload": 123,
    "TransactionsMonthlyReload": 123,
    "DiscountTypeBit": 123,
    "DiscountValue": 123
  },
  "CardCreditLimits": {
    "AmountDailyLimit": 123,
    "AmountWeeklyLimit": 123,
    "TransactionsDailyLimit": 123,
    "TransactionsWeeklyLimit": 123,
    "AmountMonthlyLimit": 123,
    "TransactionsMonthlyLimit": 123,
    "DiscountTransactionsTotalLimit": 123,
    "MaxRevalueAmountLimit": 123,
    "WeekDayLimitEnabledBit": true,
    "WeekDayAmountLimit": "<string>",
    "WeekDayTransactionLimit": "<string>"
  },
  "CardDateRules": {
    "ActivationDate": "2023-11-07T05:31:56Z",
    "ExpirationDate": "2023-11-07T05:31:56Z",
    "RevalueExpirationDate": "2023-11-07T05:31:56Z",
    "SetSingleUseDate": "2023-11-07T05:31:56Z",
    "RemoveSingleUseDate": "2023-11-07T05:31:56Z"
  },
  "CardCreditUsage": {
    "AmountDailyUsage": 123,
    "AmountWeeklyUsage": 123,
    "TransactionsDailyUsage": 123,
    "TransactionsWeeklyUsage": 123,
    "AmountMonthlyUsage": 123,
    "TransactionsMonthlyUsage": 123,
    "AmountTotalUsage": 123,
    "TransactionsTotalUsage": 123,
    "AmountCapture": 123,
    "TransactionsCapture": 123,
    "CaptureDate": "2023-11-07T05:31:56Z"
  },
  "CardRevalueRewardRules": [
    {
      "RuleID": 123,
      "RewardActorID": 123,
      "Status": true,
      "RevalueAmount": 123,
      "RewardValueTypeBit": true,
      "RewardValue": 123,
      "UpdatedDT": "2023-11-07T05:31:56Z",
      "UpdatedBy": 123
    }
  ],
  "GroupLocationLimits": [
    {
      "CardGroupEnabledBit": true,
      "GroupName": "<string>",
      "CardGroupId": 123,
      "GroupDailyLimit": 123,
      "UpdatedBy": 123,
      "LastUpdated": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Enter your API key. It's required to authenticate API requests.

Body

application/json

The details of the card to be created.

Represents the data required to create a new card, including details, holder information, credit attributes, and limits.

CardDetails
object

Detailed information about the card being created.

CardHolderDetails
object

Information about the cardholder.

CardCreditAttributes
object

Attributes related to the card's credit, such as currency and limits.

CardCreditLimits
object

Credit limits associated with the card.

CardDateRules
object

Date-related rules for the card, including activation and expiration dates.

CardRevalueRewardRules
object[] | null

Rules for revalue rewards associated with the card.

GroupLocationLimits
object[] | null

Location-based limits for the card groups.

Response

200 - application/json

Card created successfully.

Represents the comprehensive details of a card, including its attributes, limits, usage, and associated rewards and location limits.

CardDetails
object

Detailed information about the card.

CardHolderDetails
object

Information about the cardholder.

CardCreditAttributes
object

Credit attributes associated with the card.

CardCreditLimits
object

Credit limits associated with the card.

CardDateRules
object

Date-related rules applied to the card.

CardCreditUsage
object

Information on the credit usage of the card.

CardRevalueRewardRules
object[] | null

A list of revalue reward rules associated with the card.

GroupLocationLimits
object[] | null

A list of location limits associated with the card's group.