Top
KatFacil Developers

Issue, fund, verify and monitor Digital MasterCards

This page documents the KatFacil API surface for Digital MasterCards. Third-party providers stay hidden behind the platform, so integrators work only with KatFacil authentication, KatFacil endpoints, and KatFacil webhook delivery.

KatFacil-issued Digital MasterCards 3DS and wallet OTP ready KatFacil webhook delivery
KatFacil Developers Digital MasterCard / KatFacil API

Create Card Request

[]
Base URL KatFacil API
Webhook Route Ready
Coverage Create / Fund / 3DS
Authentication

Headers and base URL used for KatFacil Digital MasterCard requests

Clients authenticate only against KatFacil. The platform handles the provider communication internally and exposes a simpler Digital MasterCard API surface to apps and partners.

Base URL

Every endpoint below is a KatFacil API route intended for authenticated client applications.

KatFacil API Base https://katfacil.com/api/user
Login Endpoint https://katfacil.com/api/user/login

Required Headers

Use the bearer token returned by the KatFacil login endpoint. Provider secrets stay private on the server side.

{
    "Authorization": "Bearer YOUR_ACCESS_TOKEN",
    "Accept": "application/json"
}

Your Webhook Endpoint

Use your own server webhook URL here. KatFacil sends business card events to the callback endpoint you configure from your business webhook settings.

Example Callback URL https://your-domain.com/webhooks/katfacil
Endpoints

Digital MasterCard endpoints already exposed by KatFacil

These are the KatFacil API routes available for issuing, listing, details, transactions, funding, wallet OTP, card controls, and 3DS approval for Digital MasterCard.

List Digital MasterCards

Returns the authenticated user digital Mastercard collection from KatFacil.

Path /api/user/digital-mastercards
GET
[]

Get Card Charges

Returns issue and funding charge rules used by KatFacil for Digital MasterCard.

Path /api/user/digital-mastercards/charges
GET
[]

Create Digital MasterCard

Creates a Digital MasterCard through KatFacil after wallet balance and KYC checks.

Path /api/user/digital-mastercards/create
POST
{
    "firstname": "Jean",
    "lastname": "Die",
    "dob": "2002-03-13",
    "address1": "59 Rue Sicot Prol",
    "postalcode": "6110",
    "city": "Port-au-Prince",
    "country": "HT",
    "state": "Ouest",
    "countrycode": "+509",
    "phone": "37000000"
}

Get One Card

Returns one authenticated user card by KatFacil local card id.

Path /api/user/digital-mastercards/details/{id}
GET
[]

Get Transactions

Returns remote Digital MasterCard transactions for one local card id.

Path /api/user/digital-mastercards/transactions/{id}
GET
[]

Fund Card

Funds a digital Mastercard using one authenticated user wallet.

Path /api/user/digital-mastercards/fund
POST
{
    "id": 12,
    "amount": "50",
    "fund_amount": "50",
    "from_currency": "USD"
}

Freeze Card

Freezes one authenticated user Digital MasterCard.

Path /api/user/digital-mastercards/freeze/{id}
POST
[]

Unfreeze Card

Unfreezes one authenticated user Digital MasterCard.

Path /api/user/digital-mastercards/unfreeze/{id}
POST
[]

Check Wallet OTP

Returns wallet activation OTP from KatFacil for Google Pay or Apple Pay.

Path /api/user/digital-mastercards/wallet-otp/{id}
GET
[]

Check 3DS

Checks whether the authenticated user card has a pending 3DS verification.

Path /api/user/digital-mastercards/check-3ds/{id}
GET
[]

Approve 3DS

Approves a pending 3DS request with the eventId returned by KatFacil.

Path /api/user/digital-mastercards/approve-3ds/{id}
POST
{
    "eventId": "evn-34234-erte45-joor3663",
    "event_id": "evn-34234-erte45-joor3663"
}

Webhook events for Digital MasterCard

KatFacil already stores and reacts to these provider events internally for Digital MasterCard lifecycle, OTP, 3DS, transaction and funding updates.

digitalcard.newcard

New card issued and deposit addresses returned.

digitalcard.cardauthorization

3DS authorization requested for merchant approval.

digitalcard.transaction

Transaction completed or declined.

digitalcard.blockchain

Blockchain settlement, deposit, refund, transfer or withdrawal activity.

digitalcard.xpayactivation

Google Pay or Apple Pay activation code sent for the card.

digitalcard.fundrequest

Funding request accepted and processing.

digitalcard.funded

Funding approved and card ready to use.

Integration notes

This implementation is currently focused on Digital MasterCard only. KatFacil creates the card, stores the local card record, receives provider webhook events in the background, exposes OTP and 3DS approval endpoints, and listens for funding request and funding approval updates.

Authenticate through KatFacil login first, then send the bearer token on every Digital MasterCard request. For wallet activation, call the KatFacil wallet OTP endpoint instead of querying the provider directly. For 3DS, first call the KatFacil check 3DS route, then approve with the returned event id. Funding state can be read from KatFacil responses while webhook synchronization stays internal to the platform.
Integrators do not need to know which card provider sits behind KatFacil. Your application should call only the KatFacil API routes above. KatFacil handles provider issuing, webhook ingestion, 3DS state, wallet OTP state, and funding synchronization internally.