REST

offlineOrganizationGiftCheckout

Record organization gifts donated with cash, check, or third party processing. This method does not process donation transactions.
Client ServletServer ServletHTTP Methods SupportedRequires Authentication
None.SRDonationAPIPOSTNo.

Server API Syntax

https://secure2.convio.net/organization/site/SRDonationAPI?method=offlineOrganizationGiftCheckout &api_key=value &v=value
[ &center_id=value ] [ &response_format=xml | json ] [ &source=value ] [ &sub_source=value ]
[ &suppress_response_codes=value ] &billing.name.first=value &billing.name.last=value &donor.email =value &form_id=value
&level_id=value &login_name=value &login_password=value &offline_payment_method=cash | check | credit
&org_gift_payment_method=cash | check | credit | ach [ &additional_amount=value ] [ &anonymous=value ]
[ &billing.address.city=value ] [ &billing.address.country=value ] [ &billing.address.county =value ]
[ &billing.address.state=value ] [ &billing.address.street1=value ] [ &billing.address.street2=value ]
[ &billing.address.street3=value ] [ &billing.address.zip=value ] [ &billing.name.middle=value ]
[ &billing.name.profSuffix=value ] [ &billing.name.suffix=value ] [ &billing.name.title =value ] [ &check_number=value ]
[ &designated.X.amount=value ] [ &designated.X.id=value ] [ &designated_write_in.X.amount=value ]
[ &designated_write_in.X.contact=value ] [ &designated_write_in.X.name=value ] [ &donor.address.city=value ]
[ &donor.address.country=value ] [ &donor.address.county=value ] [ &donor.address.state=value ]
[ &donor.address.street1=value ] [ &donor.address.street2=value ] [ &donor.address.street3 =value ]
[ &donor.address.zip =value ] [ &donor.cons_id=value ] [ &donor.email_opt_in=value ] [ &donor.employer=value ]
[ &donor.name.first=value ] [ &donor.name.last=value ] [ &donor.name.middle=value ] [ &donor.name.profSuffix=value ]
[ &donor.name.suffix=value ] [ &donor.name.title=value ] [ &donor.occupation=value ] [ &donor.phone=value ]
[ &donor.phone_type=home | work | other ] [ &gift_aid=value ] [ &joint_donor.name.first=value ]
[ &joint_donor.name.last=value ] [ &joint_donor.name.middle=value ] [ &joint_donor.name.suffix=value ]
[ &joint_donor.name.title=value ] [ &matching_eligible=value ] [ &org_gift_batch_id=value ]
[ &org_gift_do_not_display_amount=value ] [ &org_gift_gift_category_id=value ] [ &org_gift_note=value ]
[ &org_gift_recognition_name=value ] [ &organization_id=value ] [ &organization_name=value ]
[ &other_amount=value ] [ &premium_id=value ] [ &record_only=value ] [ &send_receipt=value ]
[ &send_registration_email=value ] [ &shipping.address.city=value ] [ &shipping.address.country=value ]
[ &shipping.address.county=value ] [ &shipping.address.state=value ] [ &shipping.address.street1=value ]
[ &shipping.address.street2=value ] [ &shipping.address.street3=value ] [ &shipping.address.zip=value ]
[ &shipping.email=value ] [ &shipping.name.first=value ] [ &shipping.name.last=value ] [ &shipping.name.middle=value ]
[ &shipping.name.profSuffix=value ] [ &shipping.name.suffix=value ] [ &shipping.name.title=value ]
[ &shipping.phone=value ] [ &transactiontoken=value ] [ &validate=value ]

Usage Notes

Transactions processed with your Blackbaud Payment Services accounts are automatically recorded in your database. This method is to record all other transactions not automatically recorded such as cash and check donations.

This method requires two donation forms. The first is your API donation form. The second is a shadow form used to validate data, associate donations with a Donation Campaign, and update your database. Each field on your API donation form must have a corresponding field on the shadow form. Link your API donation form to the shadow form with the required form_id parameter.

Designated Giving Parameters

Designated giving allows donors to direct their donation to a focus within the greater mission. For example, a donor to a hospital may want to direct money to the pediatrics or cancer ward. A donor to a school may want to direct funds to the art, music, or STEM programs.

  • getDesignationTypes returns a list of designation types.

  • getDesignees returns a list of valid designees.

  • Gifts can be designated to one entity or multiple entities.

    • Allowing a single designee

      • When allowing a single designee you must include the Single Gift Designation data element in your standard donation form. See Donation Form Data Elements for more details.

      • When allowing only a single designee for a donation, include the single_designated_id parameter instead of the designated.X parameters in your call. The designated.x parameters, if included, are ignored when a single_designated_id has been assigned.

    • Allowing multiple designees

      • When allowing multiple designees you must include the Designated Gift Donation Level data element in your standard donation form. See Donation Form Data Elements for more details.

      • When allowing a donor to assign specific donation amounts to multiple designees, you may add an Add a designee button that inserts fields for the designee selection, or write in designee information, and amount onto the form. The code for that button should start with an integer and be incremented for each additional designee. That integer identifies which designation is being referenced, and is the X value inserted in parameters such as designated.X.id.

    • Designees may be pre-configured or write-in.

      • Pre-configured designee information is passed in a pair of parameters: designated.X.id and designated.X.amount.

      • Write-in designee information is passed in set of three parameters: designated_write_in.X.name, designated_write_in.X.contact, designated_write_in.X.amount.

Error Responses

Common API errors return a common error response.

An XML example:

<errorResponse xmlns="http://convio.com/crm/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://convio.com/crm/v1.0 http://service.convio.net/xmlschema/crm.public.v1.xsd">
  <code>2</code>
  <message>Incorrect API key.  Verify that the value of the parameter api_key matches the value of the SDP CONVIO_API_KEY.</message>
</errorResponse>

A JSON example:

JSON
{"errorResponse":{
  "code": "2",
  "message": "Incorrect API key.  Verify that the value of the parameter api_key matches the value of the SDP CONVIO_API_KEY.",
}}

For donation-specific errors, the "donationResponse" returns a list of the error messages.

An XML example:

<donationResponse xmlns="http://convio.com/crm/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://convio.com/crm/v1.0 http://service.convio.net/xmlschema/crm.public.v1.xsd">
  <errors>
    <code>101</code>
    <message>Error: There was a problem encountered while processing your donation.</message>
    <reason>FIELD_VALIDATION</reason>
    <pageError>There was a problem processing your request.  Please see below.</pageError>
    <fieldError>An email address is required.</fieldError>
    <fieldError>Billing state or province is required.</fieldError>
    <fieldError>Billing last name is required.</fieldError>
    <fieldError>Billing zip or postal code is required.</fieldError>
    <fieldError>Billing street address is required.</fieldError>
    <fieldError>Billing first name is required.</fieldError>
    <fieldError>Billing city is required.</fieldError>
  </errors>
</donationResponse>

A JSON example:

JSON
{"donationResponse":
  {"errors":
    {"code":"101",
    "reason":"FIELD_VALIDATION",
    "message":"Error: There was a problem encountered while processing your donation.",
    "fieldError":["An email address is required.",
                "Billing state or province is required.",
                "Billing last name is required.",
                "Billing zip or postal code is required.",
                "Billing street address is required.",
                "Billing first name is required.",
                "Billing city is required."],
    "pageError":"There was a problem processing your request.  Please see below."}
  }
}

Server API Parameters

Common Server Parameters

See topic Common Parameters.

billing.name.first
Required. The billing name of the credit card owner. If not supplied, defaults to donor.name.first.
Type xsd:string.
billing.name.last
Required. The billing name of the credit card owner. If not supplied, defaults to donor.name.last.
Type xsd:string.
donor.email
Required. The donor's email address.
Type xsd:string.
form_id
Required. The ID of the donation form.
Type xsd:nonNegativeInteger.
level_id
Required. The ID of the donation level.
Type xsd:nonNegativeInteger.
offline_payment_method
Required. Payment method for this offline transaction.
Type xsd:string.
Default is cash.
Options are:
  • cash
  • check
  • credit
org_gift_payment_method
Required. Payment method for this organization offline donation.
Type xsd:string.
Default is cash.
Options are:
  • cash
  • check
  • credit
  • ach
additional_amount
Optional. Donation amount in addition to level amount.
Type xsd:string.
anonymous
Optional. Whether to mark the donation as anonymous.
Type xsd:boolean.
billing.address.city
Optional. The billing address of the credit card owner. If not supplied, defaults to donor.address.city.
Type xsd:string.
billing.address.country
Optional. The billing address of the credit card owner.
Type xsd:string.
billing.address.county
Optional. The billing address of the credit card owner.
Type xsd:string.
billing.address.state
Optional. The billing address of the credit card owner. If not supplied, defaults to donor.address.state.
Type xsd:string.
billing.address.street1
Optional. The billing address of the credit card owner. If not supplied, defaults to donor.address.street1.
Type xsd:string.
billing.address.street2
Optional. The billing address of the credit card owner.
Type xsd:string.
billing.address.street3
Optional. The billing address of the credit card owner.
Type xsd:string.
billing.address.zip
Optional. The billing address of the credit card owner. If not supplied, defaults to donor.address.zip.
Type xsd:string.
billing.name.middle
Optional. The billing name of the credit card owner.
Type xsd:string.
billing.name.profSuffix
Optional. The billing name of the credit card owner.
Type xsd:string.
billing.name.suffix
Optional. The billing name of the credit card owner.
Type xsd:string.
billing.name.title
Optional. The billing name of the credit card owner.
Type xsd:string.
check_number
Optional. Check number for an offline donation made by check.
Type xsd:string.
designated.X.amount
Optional. The amount of a donation to designate to a designation. See Designated Giving Parameters above.
Type xsd:nonNegativeInteger.
designated.X.id
Optional. The ID of a designation to which to designate all or part of a donation. See Designated Giving Parameters above.
Type xsd:nonNegativeInteger.
designated_write_in.X.amount
Optional. The ID of a designation to which to designate all or part of a donation. See Designated Giving Parameters above.
Type xsd:nonNegativeInteger.
designated_write_in.X.contact
Optional. The contact information of an organization to which to designate all or part of a donation. See Designated Giving Parameters above.
Type xsd:string.
max length 512 characters
designated_write_in.X.name
Optional. The name of an organization to which to designate all or part of a donation. See Designated Giving Parameters above.
Type xsd:string.
max length 255 characters
donor.address.city
Optional. The donor's address.
Type xsd:string.
donor.address.country
Optional. The donor's address.
Type xsd:string.
donor.address.county
Optional. The donor's address.
Type xsd:string.
donor.address.state
Optional. The donor's address.
Type xsd:string.
donor.address.street1
Optional. The donor's address.
Type xsd:string.
donor.address.street2
Optional. The donor's address.
Type xsd:string.
donor.address.street3
Optional. The donor's address.
Type xsd:string.
donor.address.zip
Optional. The donor's address.
Type xsd:string
donor.cons_id
Optional. The constituent ID of the donor.
Type xsd:integer.
donor.email_opt_in
Optional. The donor's email opt-in selection.
Type xsd:string.
donor.employer
Optional. The donor's employer.
Type xsd:string.
donor.name.first
Optional. The donor's name.
Type xsd:string.
donor.name.last
Optional. The donor's name.
Type xsd:string.
donor.name.middle
Optional. The donor's name.
Type xsd:string.
donor.name.profSuffix
Optional. The donor's name.
Type xsd:string.
donor.name.suffix
Optional. The donor's name.
Type xsd:string.
donor.name.title
Optional. The donor's name.
Type xsd:string.
donor.occupation
Optional. The donor's occupation.
Type xsd:string.
donor.phone

Optional. The donor's phone number.
Type xsd:string.

donor.phone_type
Optional. The type of the donor's phone number.
Type xsd:string.
Options are:
  • home
  • work
  • other
gift_aid
Optional. Gift aid status (UK Only).
Type xsd:string.
joint_donor.name.first
Optional. The name for a joint donor.
Type xsd:string.
joint_donor.name.last
Optional. The name for a joint donor.
Type xsd:string.
joint_donor.name.middle
Optional. The name for a joint donor.
Type xsd:string.
joint_donor.name.suffix
Optional. The name for a joint donor.
Type xsd:string.
joint_donor.name.title
Optional. The name for a joint donor.
Type xsd:string.
matching_eligible
Optional. Whether or not the donation is eligible for a matching gift.
Type xsd:boolean.
org_gift_batch_id
Optional. Specifies the batch id for TeamRaiser Company gifts.
Type xsd:string.
org_gift_do_not_display_amount
Optional. Specifies whether or not to display the amount of the gift in thermometers and top lists for TeamRaiser Company gifts.
Type xsd:boolean.
org_gift_gift_category_id
Optional. Specifies the gift category for TeamRaiser Company gifts.
Type xsd:string.
org_gift_note
Optional. Specifies the text note for TeamRaiser Company gifts.
Type xsd:string.
org_gift_recognition_name
Optional. Specifies the recognition name for TeamRaiser Company gifts.
Type xsd:string.
organization_id
Optional. User specified organization id.
Type xsd:string.
organization_name
Optional. User specified organization name.
Type xsd:string.
other_amount
Optional. User specified donation amount.
Type xsd:string.
premium_id
Optional. Unique ID of premium.
Type xsd:nonNegativeInteger.
record_only
Optional. Specifies whether credit or ach payments should be only recorded in Luminate as opposed to being processed.
Type xsd:boolean.
Default is false.
send_receipt
Optional. Whether to send a receipt email to the donor. The default behavior is to send a receipt.
Type xsd:boolean.
Default is true.
send_registration_email
Optional. If a new constituent record is created for the donor, this specifies whether to send a registration "welcome" email to the donor. The default behavior is to send it.
Type xsd:boolean.
Default is true.
shipping.address.city
Optional. Shipping address for premium.
Type xsd:string.
shipping.address.country
Optional. Shipping address for premium.
Type xsd:string.
shipping.address.county
Optional. Shipping address for premium.
Type xsd:string.
shipping.address.state
Optional. Shipping address for premium.
Type xsd:string.
shipping.address.street1
Optional. Shipping address for premium.
Type xsd:string.
shipping.address.street2
Optional. Shipping address for premium.
Type xsd:string.
shipping.address.street3
Optional. Shipping address for premium.
Type xsd:string.
shipping.address.zip
Optional. Shipping address for premium.
Type xsd:string.
shipping.email
Optional. Email address of the recipient.
Type xsd:string.
shipping.name.first
Optional. Premium recipient's name.
Type xsd:string.
shipping.name.last
Optional. Premium recipient's name.
Type xsd:string.
shipping.name.middle
Optional. Premium recipient's name.
Type xsd:string.
shipping.name.profSuffix
Optional. Premium recipient's name.
Type xsd:string.
shipping.name.suffix
Optional. Premium recipient's name.
Type xsd:string.
shipping.name.title
Optional. Premium recipient's name.
Type xsd:string.
shipping.phone
Optional. Phone number of the recipient.
Type xsd:string.
transactiontoken
Optional. The authorization token pre-approved to make a secure payment.
Type xsd: string
validate
Optional. Whether to enforce validation of every field according to the specification in the ghost form ("true" or "false"). Some validation is always in effect, such as ensuring that the campaign, form, and level IDs reference published entities and that there is sufficient information to process the transaction.
Type xsd:boolean.
Default is false.

Where do I find the Checkout integration parameters?

See Checkout API integration parameters for full details.

environmentId
Returned in getDonationFormInfo and getTeamraiserConfig responses as environmentId.
Also available in the URL of your Blackbaud account Admin portal as envid. See Get your environment id.
paymentConfigurationId
Returned in getDonationFormInfo and getTeamraiserConfig responses as merchantAccountConfigurationId.
applicationName
Returned in getDonationFormInfo and getTeamraiserConfig responses.
The value is TeamRaiser for processRegistration, addGiftCheckout, and donateCheckout calls made on behalf of a TeamRaiser participant, team, or event. Use the value Luminate for everything else. These values apply to transactions made via API forms, custom forms, and standards forms.
workflowMode
Enter the value that corresponds to the checkout data element on the form. Enter either modal or inline.
paymentMethodOptions
Returned in getDonationFormInfo and getTeamraiserConfig responses as nested boolean values in paymentTypes.
For an example returned response see getDonationFormInfo. For example integration code, see Payment methods in the Integration Guide.
languageLocale
To override the browser locale setting, use either en_US for United States English or fr_CA for French Canadian.