Recurring Contracts

Add a recurring profile

post
Header parameters
AccessTokenstringRequired

access token

Body
IntegrationSourcestring · nullableOptional

internal use - Identifies integrated Product

TokenGuidstringRequired

required - Valid token guid of created tokenized account

Amountstring · max: 7Required

required - Amount to be charged per billing frequency

StartDatestringRequired

required - format yyyy-MM-dd - start date of contract

EndDatestring · nullableOptional

optional - format yyyy-MM-dd - end date of contract (must be after StartDate) if you wish a contract to stop recurring at certain date

NextBillDatestring · nullableOptional

optional - format yyyy-MM-dd - We will calculate if not provided. The date when the first recurrence should begin charging the donor's card. Must be after StartDate. Use our GET api/nextBillDate API to help calculate.

BillingFrequencystringRequired

required - How often the recurrence should occur. Possible values: "Daily", (once per day) "Weekly", (once per week) "Bi-Weekly", (once per 2 weeks) "Monthly", (once per month) "Bi-Monthly", (Once every 2 months) "Semi-Monthly", (twice per month) "Quarterly", (four times per year) "Semi-Annually", (twice per year) "Annually" (once per year)

PreFeeAmountstring · max: 7 · nullableOptional

optional - Pre Fee Amount with the fees not included if using PayFee flag (primary used for Non Profit transactions like Donations)

PayFeeboolean · nullableOptional

optional - cover the fees flag for the transaction (primary used for Non Profit transactions like a donation), if used see Amount and PreFeeAmount info

TransactionSourceGroupIdstring · nullableOptional

optional - For Direct Merchant (For Profit) Api Partners should set to PaymentNoFee (12), other values are for Non Profit transactions - possible values - 1 - Donation Fee, 2 - Peer-to-Peer Fee, 3 - Auction Performance Fee, 4 - Ticket Fee, 5 - Registration Fee, 6 - Quick Sales Fee, 7 - Online Store Fee, 8 - Campaign Fee, 9 - 0% Auction Performance Fee, 10 - ApiPartnerFee, 11 - ExpressPayrollFee; 12 - PaymentNoFee;

ExternalEventIdstring · max: 10 · nullableOptional

optional - Event Id per Product

ExternalEventGuidstring · nullableOptional

optional - Event Guid per Product

ExternalEventNamestring · max: 500 · nullableOptional

optional - Event Name per Product

Surchargestring · max: 7 · nullableOptional

optional - calculated surcharge amount

CommissionRateOverridestring · nullableOptional

optional - The percentage value that you want to set for your commission on the transaction. Minimum value that will be used is the FrontStream Commission Rate as set in your contract, maximum value is the maximum commission rate set in your contract. Passing values outside of the min/max range will not result in a validation error, but will instead default to the min/max value (i.e. if your maximum commission rate in your contract is 10%, and you pass "15.0" for this value, the Payment API will simply use 10%). Not including this field or passing null also defaults to using the maximum commission rate from your contract. Primary used for Non Profit transactions.

CardProcessingFeeOverridestring · nullableOptional

optional - Overrides the default percentage processing fee. Primary used for Non Profit transactions.

Responses
post
/api/recurringProfile

Update a recurring profile

put
Header parameters
AccessTokenstringRequired

access token

Body
IntegrationSourcestring · nullableOptional

internal use - Identifies integrated Product

RecurringProfileGuidstringRequired

required - Valid Recurring Profile Guid for update

Amountstring · max: 7 · nullableOptional

optional if updating existing recurring profile - Amount to be charged per billing frequency

StartDatestring · nullableOptional

optional if updating existing recurring profile - format yyyy-MM-dd - start date of contract to update

EndDatestring · nullableOptional

optional if updating existing recurring profile - format yyyy-MM-dd - end date of contract (must be after StartDate) if you wish a contract to stop recurring at certain date

NextBillDatestring · nullableOptional

optional if updating existing recurring profile - format yyyy-MM-dd - The date when the first recurrence should begin charging the donor's card. Must be after StartDate.

BillingFrequencystring · nullableOptional

optional if updating existing recurring profile - How often the recurrence should occur. Possible values: "Daily", (once per day) "Weekly", (once per week) "Bi-Weekly", (once per 2 weeks) "Monthly", (once per month) "Bi-Monthly", (Once every 2 months) "Semi-Monthly", (twice per month) "Quarterly", (four times per year) "Semi-Annually", (twice per year) "Annually" (once per year)

PreFeeAmountstring · max: 7 · nullableOptional

optional if updating existing recurring profile - Pre Fee Amount with the fees not included if using fee (used for Non Profit transactions like a donation)

PayFeeboolean · nullableOptional

optional if updating existing recurring profile - cover the fees flag for the transaction (primary used for Non Profit transactions like a donation), if used see Amount and PreFeeAmount info

TransactionSourceGroupIdstring · nullableOptional

optional if updating existing recurring profile - For Direct Merchant (For Profit) Api Partners should set to PaymentNoFee (12), other values are for Non Profit transactions - possible values - 1 - Donation Fee, 2 - Peer-to-Peer Fee, 3 - Auction Performance Fee, 4 - Ticket Fee, 5 - Registration Fee, 6 - Quick Sales Fee, 7 - Online Store Fee, 8 - Campaign Fee, 9 - 0% Auction Performance Fee, 10 - ApiPartnerFee, 11 - ExpressPayrollFee; 12 - PaymentNoFee;

ExternalEventIdstring · max: 10 · nullableOptional

optional - Event Id per Product

ExternalEventGuidstring · nullableOptional

optional - Event Guid per Product

ExternalEventNamestring · max: 500 · nullableOptional

optional - Event Name per Product

UseOriginalFeesboolean · nullableOptional

optional - if a Non Profit organization has changed fees then UseOriginalFee = false will update recurring profile to use updated organization fees. Primary used for Non Profit transactions.

CommissionRateOverridestring · nullableOptional

optional - update the percentage value that you want to set for your commission on the transaction. Minimum value that will be used is the FrontStream Commission Rate as set in your contract, maximum value is the maximum commission rate set in your contract. Passing values outside of the min/max range will not result in a validation error, but will instead default to the min/max value (i.e. if your maximum commission rate in your contract is 10%, and you pass "15.0" for this value, the Payment API will simply use 10%). Not including this field or passing null also defaults to using the maximum commission rate from your contract. Primary used for Non Profit transactions.

CardProcessingFeeOverridestring · nullableOptional

optional - update the CardProcessingFeeOverride that Overrides the default percentage processing fee. Primary used for Non Profit transactions.

Responses
chevron-right
200

Success

application/json
put
/api/recurringProfile

Delete/Cancel a recurring profile

delete
Query parameters
IntegrationSourcestringOptional

internal use - Identifies integrated Product

RecurringProfileGuidstringRequired

required - Valid Recurring Profile Guid for delete

Header parameters
AccessTokenstringRequired

access token

Responses
chevron-right
200

Success

application/json
delete
/api/recurringProfile

Get a next bill date calculated using Date and Billing Frequency from request for your recurring contract

get
Query parameters
DatestringRequired

required - format yyyy-MM-dd - Used to help calculate and return NextBillDate based on your Date provided.

BillingFrequencystringRequired

required - How often the recurrence should occur. Used to help calculate NextBillDate based on billing frequency provided. Possible values: "Daily", (once per day) "Weekly", (once per week) "Bi-Weekly", (once per 2 weeks) "Monthly", (once per month) "Bi-Monthly", (Once every 2 months) "Semi-Monthly", (twice per month) "Quarterly", (four times per year) "Semi-Annually", (twice per year) "Annually" (once per year)

Header parameters
AccessTokenstringRequired

access token

Responses
chevron-right
200

Returns next bill date

application/json
get
/api/nextBillDate

Last updated