BSICARDS API Documentation
Welcome to the BSICARDS API. Integrate card issuance capabilities into your application.
Features: Create MasterCard/Visa/Digital cards - Fund cards - Track transactions - Webhooks - Admin endpoints
Authentication
Include these headers in every request:
publickey: pk_test_16tl64hqs6fazd9q5j96
secretkey: sk_test_izaov8rek6e04gu8d0j9
Base URL: https://cards.bsigroup.tech/api/MasterCard Issuance
Create and manage MasterCard virtual cards with 3DS authentication and GPay/Apple Pay support.
Create Card
{"useremail":"test@bsigroup.tech","nameoncard":"John Doe","pin":"1234"}Get All Cards
{"useremail":"test@bsigroup.tech"}Get Pending
{"useremail":"test@bsigroup.tech"}Get Card
{"useremail":"test@bsigroup.tech","cardid":"card_id"}Transactions
{"useremail":"test@bsigroup.tech","cardid":"card_id"}Change Pin
{"useremail":"test@bsigroup.tech","cardid":"card_id","pin":"5678"}Freeze Card
{"useremail":"test@bsigroup.tech","cardid":"card_id"}Unfreeze Card
{"useremail":"test@bsigroup.tech","cardid":"card_id"}Fund Card
{"useremail":"test@bsigroup.tech","cardid":"card_id","amount":"50.00"}Min: $10
Visa Card Issuance
Create Card
multipart/form-data: useremail, nameoncard, pin, nationalid[file], photo[file]
Get All
{"useremail":"test@bsigroup.tech"}Get Pending
{"useremail":"test@bsigroup.tech"}Get Card
{"useremail":"test@bsigroup.tech","cardid":"card_id"}Fund Card
{"useremail":"test@bsigroup.tech","cardid":"card_id","amount":"50.00"}Digital Wallet Cards
Virtual and physical cards with 3DS, GPay/Apple Pay support.
Create Virtual
{"useremail":"test@bsigroup.tech","firstname":"John","lastname":"Doe","dob":"1979-12-17","address1":"128 city road","postalcode":"ec1v2nx","city":"london","country":"GB","state":"london","countrycode":"44","phone":"911266016115"}Create Physical
Same fields as virtual card
Activate Physical
{"useremail":"test@bsigroup.tech","activationcode":"0059","cardid":"crd-xxx"}Check 3DS
{"useremail":"test@bsigroup.tech","cardid":"crd-xxx"}Check Wallet OTP
Get OTP for GPay/ApplePay verification
{"useremail":"test@bsigroup.tech","cardid":"crd-xxx"}Approve 3DS
{"useremail":"test@bsigroup.tech","cardid":"crd-xxx","eventId":"3ds-xxx"}Get All
{"useremail":"test@bsigroup.tech"}Get Card
{"useremail":"test@bsigroup.tech","cardid":"crd-xxx"}Transactions
{"useremail":"test@bsigroup.tech","cardid":"crd-xxx"}Fund Card
{"useremail":"test@bsigroup.tech","cardid":"crd-xxx","amount":50.00}Block Card
{"useremail":"test@bsigroup.tech","cardid":"crd-xxx"}Unblock Card
{"useremail":"test@bsigroup.tech","cardid":"crd-xxx"}Terminate Card
{"useremail":"test@bsigroup.tech","cardid":"crd-xxx"}Loyalty Points
{"useremail":"test@bsigroup.tech","cardid":"crd-xxx"}Redeem Points
{"useremail":"test@bsigroup.tech","cardid":"crd-xxx"}Reseller Digital Wallet Cards
Endpoints for reseller partners to manage digital wallet cards. All endpoints are available on the reseller API endpoint.
Create Virtual Card
{"useremail":"test11@bsigroup.com","firstname":"John","lastname":"Doe","dob":"1979-12-17","address1":"128 city road","postalcode":"ec1v2nx","city":"london","country":"GB","state":"london","countrycode":"44","phone":"93266016111"}Check 3DS
{"useremail":"nash821@xenio.in","cardid":"crd-687f4d1c-a294-4fa6-a66c-f2ba1a4e724f"}Check Wallet OTP
Get OTP for GPay/ApplePay verification
{"useremail":"nash821@xenio.in","cardid":"crd-687f4d1c-a294-4fa6-a66c-f2ba1a4e724f"}When users add their card manually to GPay/ApplePay for verification, they need to select Email OTP. This endpoint retrieves the OTP which you can send via email or display on screen.
Approve 3DS
{"useremail":"nash821@xenio.in","cardid":"crd-687f4d1c-a294-4fa6-a66c-f2ba1a4e724f","eventId":"3ds-3f41728f-cfd1-4cca-8404-bc8f5e9d71d6"}Get All Digital Cards
{"useremail":"test11@bsigroup.com"}Get Digital Card
{"useremail":"test11@bsigroup.com","cardid":"crd-fdb421af-4fd9-4f51-9a2c-1c1fe916e929"}Block Digital Card
{"useremail":"test11@bsigroup.com","cardid":"crd-ec1b9481-a6b8-44bf-8c17-8eb75e7b83b1"}Unblock Digital Card
{"useremail":"test11@bsigroup.com","cardid":"crd-ec1b9481-a6b8-44bf-8c17-8eb75e7b83b1"}Terminate Card
{"useremail":"test11@bsigroup.com","cardid":"crd-ec1b9481-a6b8-44bf-8c17-8eb75e7b83b1"}Note: Reseller credentials are different from standard API keys. Ensure you use the correct URL for your reseller account and share the API keys with your merchants.
Administrator Endpoints
Wallet Balance
Returns wallet balance
Deposits
All deposits
Transactions
All transactions
Visa Cards
All Visa cards
Mastercards
All Mastercards
Digital Cards
All digital cards
SDKs
Error Codes
200 OK
Success
400 Bad Request
Invalid parameters
401 Unauthorized
Invalid credentials
404 Not Found
Resource not found
422 Unprocessable Content
Response Has Error
Support
Email: cs@bsigroup.tech
Website: www.bsigroup.tech