FrontStream Docs
FrontStream Payments
FrontStream Payments
  • Introducing our Embedded Form
    • Overview and Features
    • Payment Methods process
    • How to implement
    • Compare Embedded Form and Direct API integration
  • Welcome to our Payment API
    • Overview
    • Quick Start
    • API references
      • Search for a Charity for your Donation
      • Make a Payment
      • Learn how to cover Fees
      • Test Payment API Features
        • CharitySearch
        • Payment
        • Fee
      • Temp - Make a Payment - API specification
      • Temp - Charity Search API specification
      • Payment - Specification
      • Calculate Fees - Specification
    • Specification
    • CharitySearch - Specification
Powered by GitBook
On this page
Export as PDF
  1. Welcome to our Payment API
  2. API references

Learn how to cover Fees

Payment API - Fee - API specification calculates fees based on the transaction amount and source grouping, with various optional parameters affecting the fee calculation.

Key Details:

  • API Version: v1

  • Endpoint: /api/fee

  • Method: GET

  • Tags: Fees

  • Summary: Calculates fees based on amount and transaction source.

  • Required Parameters:

    • Amount: Transaction amount (required).

    • TransactionSourceGroupId: Transaction type (10 = api partner fee).

    • PayFee: A flag indicating whether the transaction fee is covered.

  • Optional Parameters:

    • ProcessorGuid, CharityId, OrganizationGuid, IntegrationSourceGuid, TokenGuid: Used to specify the processor, charity, and integration details.

    • CommissionRateOverride: Allows setting a custom commission rate (within contract limits).

    • CardProcessingFeeOverride: Overrides default card processing fees.

    • Tip: Donor's tip amount (if applicable).

    • CreditCardTypeId: Used for card-specific fee calculation. (possible values - 1 - AMEX, 2 - MC, 3 - VISA, 4 - DISCOVER, 5 - DINERSCLUB, 7 - MAESTRO

Responses:

  • 200 (Success): Returns the calculated fees in JSON format.

  • 400 (Bad Request): If there's an exception in fee calculation.

  • 404 (Not Found): If the fees cannot be found.

Components:

  • FeeResponse: Describes the calculated fee details (e.g., commission rates, card fees, total fees, and overrides).

  • BrokenRule: Represents an error in fee calculation with an error code and message.

  • ProblemDetails: Details for any error response, including status, title, and description.

The API enables fee calculations with flexibility to account for various factors such as commission overrides, card type fees, and tips.

Calculate Fees

See how to cover and calculate your fees here:

PreviousMake a PaymentNextTest Payment API Features

Last updated 4 months ago

Fee
Page cover image