💳 Payment

❗️

This API is being retired on September 30th, 2026, and is replaced by the new Cloud API. Please see here for details on how to get started on the Cloud API.

Payments for registrations and donations can all be found in the Payments endpoints.

Refunds can also be found through the Payments endpoints which will come through as a negative value and transaction_type will be 'refund'.

The payment_transaction_guid or payment_guid is the unique ID for that payment and can be linked to other data types such as registrations.

The following table contains the fields that are returned within the response call of the payment endpoints.

KeyLabelTypeDescription
address_line_1Address Line 1StringAddress line 1
address_line_2Address Line 2StringAddress line 2
amount_with_feesAmount With FeesLongTotal amount paid
amount_without_feesAmount Without FeesLongTotal amount paid minus the total fees
charity_account_guidCharity Account GUIDUUIDCharity account GUID
company_account_guidCompany Account GUIDUUIDCompany account GUID
country_codeCountry CodeStringCountry code
currencyCurrencyStringCurrency
donation_messageDonation MessageStringDonation message
donor_fee_covered_amountDonor Fee Covered AmountLongDonor fee covered amount
emailEmailStringEmail
fee_modelFee ModelStringFee model
first_nameFirst NameStringFirst name
fundraise_checkout_idFundraise Checkout IdLongFundraise checkout Id
fundraise_event_page_idFundraise Event Page IdLongFundraise event page Id
fundraise_page_or_team_page_idsFundraise Page or Team Page IdsArray[Integer]Fundraise page or team page Ids
fundraise_payment_idFundraise Payment IdLongFundraise payment Id
fundraise_schedule_idFundraise Schedule IdLongFundraise schedule Id
gift_aid_amountGift Aid AmountLongGift aid amount
gift_aid_feeGift Aid FeeLongGift aid fee
gifting_amountGifting AmountLongGifting amount
house_nameHouse NameStringHouse name
is_anonymousIs AnonymousBooleanThe donor has opted to be anonymous
is_guestIs GuestBooleanThe payment is made by a guest
is_submitted_to_hmrc_statusIs Submitted to HMRC StatusBooleanIf the payment has been submitted to HMRC
last_nameLast NameStringLast name
parent_payment_transaction_guidParent Payment Transaction GUIDUUIDParent payment transaction GUID
payment_datePayment DateDateDate of payment
payment_method_referencePayment Method ReferenceStringPayment method reference
payment_provider_feePayment Provider FeeLongPayment provider fee
payment_systemPayment SystemStringPayment system
payment_transaction_guidPayment Transaction GUIDUUIDPayment transaction GUID
payment_typePayment TypeStringPayment type, values can be:
-Donation
-Purchase
-Ticket
platform_feePlatform FeeLongTotal fees charged
post_codePost CodeStringPost code
product_typeProduct TypeStringProduct type, values can be:
-EventRegistration
-Fundraising
registrations_event_idRegistrations Event IdLongRegistrations event Id
registrations_order_idRegistrations Order IdLongRegistrations order Id
service_feeService FeeLongEnthuse platform fees
shared_campaign_guidShared Campaign GUIDUUIDShared campaign GUID
supporter_idSupporter IdLongSupporter Id
titleTitleStringTitle
townTownStringTown
transaction_typeTransaction TypeStringTransaction type, values can be:
-Payment
-Refund
checkoutReferenceCodeCheckout Reference CodeStringCheckout Reference Code
purchaseInformationPurchase InformationStringPurchase Information

🚀 Return a list of payments within your account

/payments

Get a list of payment objects filterable by the attributes below:

KeyLabelTypeDescription
date_fromDate FromStringStart date from which to filter by
date_toDate ToStringEnd date from which to filter by
first_nameFirst NameStringFirst name associated with payment
last_nameLast NameStringLast name associated with payment
limitLimitIntegerNumber of records to be returned in the response
order_byOrder ByStringUsed to order the response by chosen value, values can be:
-FIRSTNAME
-LASTNAME
-TRANSACTIONTYPE
-(Default) PAYMENTDATE
pagePageIntegerThe number of pages to skip before starting to collect the result set
typeTypeStringTransaction type, values can be:
-PAYMENT
-REFUND

Sample Request

GET - http://dataapi.enthuse.com/payments/access_token=rR5_kQN_TVZMwqz4tyc8vzJ0ltc
&date_from=2020-02-25%2000%3A00%3A00
&date_to=2020-02-25%2000%3A00%3A00
&first_name=Shaun
&last_name=Reid
&limit=25
&order_by=firstname
&page=1
&type=Payment

Sample Responses:

200 - OK call was successful and returned data

"paymentList": [
    {
      "payment_transaction_guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "charity_account_guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "company_account_guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "shared_campaign_guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "registrations_event_id": 0,
      "registrations_order_id": 0,
      "fundraise_event_page_id": 0,
      "fundraise_checkout_id": 0,
      "fundraise_payment_id": 0,
      "payment_method_reference": "string",
      "payment_system": "string",
      "first_name": "string",
      "last_name": "string",
      "transaction_type": "string",
      "product_type": "string",
      "payment_date": "2022-08-30T13:01:26.630Z",
      "fundraise_page_or_team_page_ids": [
        0
      ],
      "payment_type": "string",
      "currency": "string",
      "platform_fee": 0,
      "gift_aid_fee": 0,
      "service_fee": 0,
      "payment_provider_fee": 0,
      "amount_without_fees": 0,
      "amount_with_fees": 0,
      "gift_aid_amount": 0,
      "gifting_amount": 0,
      "donor_fee_covered_amount": 0,
      "fee_model": "string",
      "is_submitted_to_hmrc_status": true,
      "fundraise_schedule_id": 0,
      "parent_payment_transaction_guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "title": "string",
      "house_name": "string",
      "address_line_1": "string",
      "address_line_2": "string",
      "town": "string",
      "post_code": "string",
      "country_code": "string",
      "supporter_id": 0,
      "is_guest": true,
      "is_anonymous": true,
      "donation_message": "string",
      "email": "string",
      "checkoutReferenceCode": "string",
      "purchaseInformation": "string"
    }
]

401 - Access token has expired or is incorrect

{
  "message": "Unauthorized.",
  "status": 401
}

403 - The account linked to the token does not match the account of the records attempting to retrieve

{
  "message": "Forbidden.",
  "status": 403
}

404 - Call authenticated but no records match the searched criteria

{
  "message": "No records found.",
  "status": 404
}

500 - Error occurred within Service, data could not be returned

{
  "message": "Internal Server Error.",
  "status": 500
}

🚀 Retrieves an existing payment record

/payments/{payment_guid}

Get a payment object filterable by a known 'payment_guid'.

KeyLabelTypeDescription
payment_guidPayment GUIDUUIDPayment GUID

Sample Request

GET - http://dataapi.enthuse.com/payments/00000000-0000-0000-0000-000000000000/?access_token=rR5_kQN_TVZMwqz4tyc8vzJ0ltc

Sample Responses

200 - OK call was successful and returned data

{
  "payment_transaction_guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "charity_account_guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "company_account_guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "shared_campaign_guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "registrations_event_id": 0,
  "registrations_order_id": 0,
  "fundraise_event_page_id": 0,
  "fundraise_checkout_id": 0,
  "fundraise_payment_id": 0,
  "payment_method_reference": "string",
  "payment_system": "string",
  "first_name": "string",
  "last_name": "string",
  "transaction_type": "string",
  "product_type": "string",
  "payment_date": "2022-08-30T13:02:25.169Z",
  "fundraise_page_or_team_page_ids": [
    0
  ],
  "payment_type": "string",
  "currency": "string",
  "platform_fee": 0,
  "gift_aid_fee": 0,
  "service_fee": 0,
  "payment_provider_fee": 0,
  "amount_without_fees": 0,
  "amount_with_fees": 0,
  "gift_aid_amount": 0,
  "gifting_amount": 0,
  "donor_fee_covered_amount": 0,
  "fee_model": "string",
  "is_submitted_to_hmrc_status": true,
  "fundraise_schedule_id": 0,
  "parent_payment_transaction_guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "title": "string",
  "house_name": "string",
  "address_line_1": "string",
  "address_line_2": "string",
  "town": "string",
  "post_code": "string",
  "country_code": "string",
  "supporter_id": 0,
  "is_guest": true,
  "is_anonymous": true,
  "donation_message": "string",
  "email": "string",
  "checkoutReferenceCode": "string",
  "purchaseInformation": "string"
}

401 - Access token has expired or is incorrect

{
  "message": "Unauthorized.",
  "status": 401
}

403 - The account linked to the token does not match the account of the records attempting to retrieve

{
  "message": "Forbidden.",
  "status": 403
}

404 - Call authenticated but no records match the searched criteria

{
  "message": "No records found.",
  "status": 404
}

500 - Error occurred within Service, data could not be returned

{
  "message": "Internal Server Error.",
  "status": 500
}