Skip to content

Bank Transaction Object

Info

This section describes the integration with the figo banking service.

The Bank Transaction object is a direct equivalent of the figo Connect Transaction Object.

Conversion

The JustOn Banking Connector automatically converts the retrieved JSON data to the custom Salesforce object Bank Transaction. Upon conversion, each JSON value is processed in the following way:

(1) The JSON field name is converted to a Salesforce field name, where

  • underscores are removed,
  • if the JSON value belongs to a sub object, the field name is prefixed with the field name of the parent object, connected by an underscore,
  • the string __c is appended.

(2) If there is a matching field on the Bank Transaction object, the field value is written to this field.

(3) The type of the Bank Transaction object field must match the type of the JSON field value, like Text (255) for Bank Name, Currency for Amount or Date for Booking Date. The JustOn Banking Connector automatically converts the JSON value to the type of the Salesforce Transaction field.

Example field conversions
JSON Field Salesforce field name Type
amount Amount__c Currency (13,5)
booking_date BookingDate__c Date
end_to_end_reference EndToEndReference__c Text (255)
additional_info.gross_amount AdditionalInfo_GrossAmount__c Currency (13,5)

Fields

The Bank Transaction object requires the following fields:

Field Type Description
Name Text Internal figo Connect transaction ID.
Transaction ID Text (255) (External Id) Internal figo Connect transaction ID.
Account ID Text (255) Internal figo Connect account ID.

The other fields of the Bank Transaction object are optional. The Bank Transaction object already includes a number of additional fields that correspond to the figo Connect Transaction Object. You can add further fields as required using the naming convention explained above.

Data Field

In addition to the automatically processed JSON values, the JustOn Banking Connector stores the complete JSON response of a transaction in the field Data__c. This allows to access the JSON data for which no dedicated field has been created on the Bank Transaction record.

Info

By default, this field is not displayed on the Bank Transaction layout.