Card Details Encryption
All card details are encrypted follows the AES standard with the following parameters:- Algorithm: AES (RijndaelManaged)
- Mode: CBC (Cipher Block Chaining)
- Padding: PKCS7
- Block Size: 128-bit
- Key & IV: Derived from your registered Business ID:
- Key: The first 16 characters of your Business ID
- IV (Initialization Vector): The last 16 characters of your Business ID
Encrypted Card Details Payload
📇 Create a Card
Initiate the creation of a virtual or physical card by sending a request to the create card endpoint. ParametersCard type: default (
DEFAULT), lite (LITE), or corporate (currently sent as COOPERATE in API requests). LITE cards cannot be topped up after issuance; use amount to set their initial balance. Choose a supported DEFAULT card for repeat funding.Note:
customer_id is required for DEFAULT card typeNGN cards use
currency: "NGN", issuer: "VERVE", and type: "DEFAULT". Set the four-digit PIN after issuance using the Set Card PIN endpoint.💳➕ Fund Card
Add funds to an eligible existing card using the Fund Card endpoint. Parameters BodyThe amount to fund in the currency’s major unit. Decimals are supported; for example,
2.5 means USD 2.50.🔍 Get a Card
Retrieve information about a specific card with its unique identifier using the get card endpoint. Parameters🧾 Get Card Transactions
List transactions for a card with the card transactions endpoint. Use the card ID to review transaction amounts, statuses, fees, and merchant details.🛠️ Regularize a Card
Use the regularize card endpoint when Swervpay instructs you to regularize a card. The endpoint accepts the card ID in the path and returns the operation result.❄️ Freeze a Card
Temporarily disable a card to prevent new transactions by using the freeze card endpoint. Path Parameters🚫 Terminate a Card
Permanently disable a card and remove it from your account with the terminate card endpoint. Path Parameters💸 Withdraw from Card
Withdraw funds from the card back to your business account using the withdraw-from-card endpoint. Path Parameters BodyThe amount to withdraw in the currency’s major unit. Decimals are supported; for example,
2.5 means USD 2.50.