gc-ethoca-card-case-connector, which implements the pre-dispute alert operations of the Banking OS card case API. For the details you send to Backbase, see Get started with Ethoca.
Configuration properties
Backbase sets these properties in the connectorvalues.yaml file.
Values to obtain from Ethoca
Obtain the following value from Ethoca and send it to your Backbase support team. The value is environment-specific, so it has no default.Connector properties
The following table lists the other configuration properties of the connector:Credentials
The connector doesn’t store Ethoca credentials, so it has no Secrets OPerationS (SOPS) secret. The bank shares its Ethoca Issuer API username and password with Backbase, and Backbase keeps them in Azure Key Vault. The Banking OS API gateway adds them as anAuthorization: Basic header to each request, and the connector forwards this header to Ethoca. Callers send only the api-key header.
Supported operations
The Ethoca connector exposes the pre-dispute alert operations of the Banking OS card case API. For the operation-to-endpoint table and the alert flow, see Ethoca overview. For the full contract, see the API playground.Raise early warning for pre-dispute alerts
The connector validates the request against the card case API schema, then sends the transactions to Ethoca in one batch. It returns HTTP202 with the batch status from Ethoca.
The connector splits the disputeRecords by preDisputeAlertInformation.disputeType:
The connector sends only the card bank identification number (BIN) and the last four digits (
cardPayment.bin and cardPayment.last4digits), never the full card number. It uses identifier.coreTransactionId as the Ethoca source ID and transaction ID, and returns it as coreTransactionId in the status responses.
Status values
The connector maps Ethoca values to card case API values as follows. The following table lists the submission and alert status values:
The alert status response also returns the merchant outcome in
response.outcome. The connector converts the Ethoca outcome to uppercase with underscores, for example Partially Stopped to PARTIALLY_STOPPED. The connector supports the following outcomes:
STOPPED,PARTIALLY_STOPPED,PREVIOUSLY_CANCELLED,PREVIOUSLY_REFUNDEDTOO_LATE,NOT_FOUND,ACCOUNT_SUSPENDED,SHIPPER_CONTACTEDIN_PROGRESS,RESOLVED,UNRESOLVED_DISPUTE,OTHERNOT_PROVIDED, which the connector also returns when Ethoca sends an empty outcome
response.refundStatus. For the values, see the preceding table. When the merchant refunds the bank customer, the response also includes response.refundTransactionId, response.refundType, and response.refundDatetime. The connector maps response.refundTransactionId from the Ethoca response.id field.
Events
This connector is synchronous and doesn’t publish or consume events. To track an alert, poll the submission status and alert status operations.Error mapping
The connector returns Banking OS error codes. The following table lists the Ethoca-specific cases:
For the full list, see Error codes.
Dependencies
- Ethoca Issuer API (outbound), reachable at
ethoca.baseUrl. - Banking OS card case API (
grandcentral-card-case-api). ethoca-connector-sdk, which removes ingress headers before each Ethoca call.