Create decision
The request of Firstoken Decision Manager request, has the following attributes
transaction_info {object}
Required: true
Represents the information details of the request in a JSON object. The object has the following attributes:
type: string Type value represent the type of request that is sent.
Example: “authorization”
Required: true
card {object}
Required: true
Represents the credit card JSON object. The object has the attributes:
number: int Represents a Luhm compliant credit card value. Example: "4242424242424242" Required: true
expiration_date: string Represents the expiration date of the card. Example: "01/27" | "01/2027" Required: true
order_info {object}
Required: true
This object represents the order information details with the attributes:
amount_details: {object} Represents the amount information details for the transaction, must contain these attributes:
total_amount: integer Represents the total of the transaction. Example: 1000 Required: true
currency: string Represents the currency. Use the three-character ISO Standard Currency Codes. Example: "COP" Required: true
bill_to {object}
Required: true
Represents the billing JSON object with the following the attributes:
first_name: string
Example: “Steve”
Required: true.
last_name: string
Example: “Jobs”
Required: true.
country: string
Example: “United States”
Required: true.
address_1: string
Example: “412 W, Flower Village”
Required: true.
address_2: string
Example: “apartment 54”
Required: true.
city: string
Example: “Miami”
Required: true.
states: string
Example: “Florida”
Required: true.
phone_number: string
Example: “2561234567”
Required: true.
email: string
Example: “steve.jobs@test.com”
Required: true.
postal_code: string
Example: “33125”
Required: true
device_info {object}
Required: false
Represents the device information JSON object, provide information about the device like the following attribute:
fingerprint_session_id: string A unique identifier for the session associated with the device (received in the capture data step).
Example: “577686797679”
Required: false
ip_address: string IP address of the device.
Example: “181.98.78.6”
Required: false
http_browser_color_depth: string The color depth supported by the browser in bits.
Example: “24”
Required: false
http_browser_java_enabled: string Indicates whether Java is enabled in the browser (true/false).
Example: “false”
Required: false
http_browser_js_enabled: string Indicates whether JavaScript is enabled in the browser (true/false). Example: “true” Required: false
http_browser_screen_height: string The height of the browser screen in pixels. Example: “1080" Required: false
http_browser_screen_width: string Indicates whether JavaScript is enabled in the browser (true/false). Example: “1920” Required: false
http_browser_time_offset: string The time offset in minutes from UTC. Example: “300” Required: false
user_agent: string The user agent string that identifies the browser and operating system. Example: “Mozilla/5.0” Required: false
cookies_accepted: string Indicates whether cookies are accepted by the browser (true/false). Example: “true” Required: false
http_browser_language: string The language preference of the browser. Example: “en-US” Required: false
device_info [array]
Required: false
Represents custom merchant information array of objects of key/value defined by the merchant for additional information.
Last updated
Was this helpful?