POST /v1/test_helpers/issuing/authorizations/{authorization}/finalize_amount

Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount.

Servers

Path parameters

Name Type Required Description
authorization String Yes

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/x-www-form-urlencoded"

Request body fields

Name Type Required Description
expand[] Array No

Specifies which fields in the response should be expanded.

fuel Object No

Information about fuel that was purchased with this transaction.

fuel.industry_product_code String No
fuel.type String No

Possible values:

  • "unleaded_super"
  • "unleaded_regular"
  • "other"
  • "unleaded_plus"
  • "diesel"
fuel.unit_cost_decimal String No
fuel.quantity_decimal String No
fuel.unit String No

Possible values:

  • "us_gallon"
  • "other"
  • "charging_minute"
  • "imperial_gallon"
  • "kilogram"
  • "kilowatt_hour"
  • "liter"
  • "pound"
fleet Object No

Fleet-specific information for authorizations using Fleet cards.

fleet.purchase_type String No

Possible values:

  • "fuel_purchase"
  • "non_fuel_purchase"
  • "fuel_and_non_fuel_purchase"
fleet.cardholder_prompt_data Object No
fleet.cardholder_prompt_data.unspecified_id String No
fleet.cardholder_prompt_data.driver_id String No
fleet.cardholder_prompt_data.vehicle_number String No
fleet.cardholder_prompt_data.user_id String No
fleet.cardholder_prompt_data.odometer Integer No
fleet.reported_breakdown Object No
fleet.reported_breakdown.tax Object No
fleet.reported_breakdown.tax.local_amount_decimal String No
fleet.reported_breakdown.tax.national_amount_decimal String No
fleet.reported_breakdown.non_fuel Object No
fleet.reported_breakdown.non_fuel.gross_amount_decimal String No
fleet.reported_breakdown.fuel Object No
fleet.reported_breakdown.fuel.gross_amount_decimal String No
fleet.service_type String No

Possible values:

  • "full_service"
  • "self_service"
  • "non_fuel_transaction"
final_amount Integer Yes

The final authorization amount that will be captured by the merchant. This amount is in the authorization currency and in the smallest currency unit.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.