Cards

Create and manage Card programs

The Card API allows you to create and manage your VeendHQ Cards.

Create a Card Program

Create a Card Program

POST {{BASE_URL}}/cardprograms?accountId={{ACCOUNT_ID}}

Request Body

Name
Type
Description

numberOfCards*

100

The number of cards to create

programName*

FGN28

A unique name for the Card program

location

Lagos

Update a Card Program

Update a card program

PATCH {{BASE_URL}}/cardprograms/{{CARD_ID}}?accountId={{ACCOUNT_ID}}

Request Body

Name
Type
Description

numberOfCards*

String

Number of cards for the card program

location*

String

Location

Generate Cards

Generate Card files

POST {{BASE_URL}}/cardprograms/generate-card-files?accountId={{ACCOUNT_ID}}

Query Parameters

Name
Type
Description

accountId*

String

Request Body

Name
Type
Description

programName*

String

Card Program Name

Get All Card Programs

Get all card programs

GET {{BASE_URL}}/cardfiles/{{CARD_ID}}?accountId={{ACCOUNT_ID}}

Query Parameters

Name
Type
Description

accountId*

_id

populate

cardOwnerId,

Get All Card Request

Get all card request

GET {{BASE_URL}}/cardfiles?accountId={{ACCOUNT_ID}}

Fund a Card

Fund a Card

POST {{BASE_URL}}/cardfiles/{{CARD_ID}}/fund?accountId={{ACCOUNT_ID}}

Request Body

Name
Type
Description

amount*

2000

Amount

Withdraw Fund

Withdraw fund from a Card to account.

POST {{BASE_URL}}/cardfiles/{{CARD_ID}}/withdraw-fund?accountId={{ACCOUNT_ID}}

Set Card Limit

Set single transaction limit, daily, weekly and/or monthly limit

GET {{BASE_URL}}/cardfiles/{{CARD_ID}}/setlimit?accountId={{ACCOUNT_ID}}

Query Parameters

Name
Type
Description

accountId*

String

dailyLimit

20000

Maximum amount daily transactions

monthlyLimit

1000000

singleTransaction

5000

Block a Card

Block a Card

GET {{BASE_URL}}/cardfiles/{{CARD_ID}}/blockcard?accountId={{a}}

Block a Card

Query Parameters

Name
Type
Description

accountId*

{{ACCOUNT_ID}}

Card Transactions

Get all transactions for a particular Card.

GET {{BASE_URL}}/cardfiles/{{CARD_ID}}/transactions?accountId={{ACCOUNT_ID}}

Last updated