Performs a cash-in operation to transfer funds from the CFX Master Account to a customer card account.
This method calls Girasol's POST /v1/accounts/cash-in endpoint and returns the transaction details.
Performs a cash-out operation to transfer funds from a customer card account to the CFX Master Account.
This method calls Girasol's POST /v1/accounts/cash-out endpoint and returns the transaction details.
Creates a new company user account.
This method calls Girasol's POST /v1/accounts/create-company-user endpoint
and returns the created company account details.
Creates a new physical card associated with an account.
This method calls Girasol's POST /v1/cards/create-card endpoint and returns the created card details.
Creates a new virtual card associated with an account.
This method calls Girasol's POST /v1/cards/create-virtual-card endpoint and returns the created card details.
Freezes an account by changing its status to inactive (status: 2).
This method calls Girasol's PATCH /v1/accounts/change-account-status endpoint
and returns the updated account status information. Calling this 'freeze' purely to align
with the terminology used for cards.
Freezes a card by its card ID.
This method calls Girasol's PATCH /v1/cards/{cardId}/freeze endpoint and returns the updated card info.
Retrieves account information by account ID.
This method calls Girasol's GET /v1/accounts/customer-info/{accountNumber} endpoint and returns the account details.
Retrieves card information by card ID.
This method calls Girasol's GET /v1/cards/info-by-card-id/{cardId} endpoint and returns the card details.
Retrieves cards by account ID.
This method calls Girasol's GET /v1/cards/info-by-account/{accountNumber} endpoint and returns the card details.
Get card token by card ID to retrieve card sensitive data.
This method calls the GET /v1/cards/card-token/{cardId} endpoint, and returns the card token.
Retrieves clearing information for a specific date.
This method calls Girasol's GET /v1/clearing?date={date} endpoint and returns the clearing details.
Unfreezes an account by changing its status to active (status: 1).
This method calls Girasol's PATCH /v1/accounts/change-account-status endpoint
and returns the updated account status information. Calling this 'unfreeze' purely to align
with the terminology used for cards.
Unfreezes a card by its card ID.
This method calls Girasol's PATCH /v1/cards/{cardId}/unfreeze endpoint and returns the updated card info.
The status will change from "FREEZED" to "ACTIVE".
Permanently blocks a card by its card ID. This method calls Girasol's
PATCH /v1/cards/{cardId}/blockendpoint and returns the updated card info.