Skip to main content
POST
/
v1
/
transactions
Create a transaction
curl --request POST \
  --url https://api.givebutter.com/v1/transactions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "method": "ach",
  "transacted_at": "2023-11-07T05:31:56Z",
  "amount": "<string>",
  "campaign_code": "<string>",
  "campaign_title": "<string>",
  "campaign_team_id": 123,
  "team_member_id": 123,
  "contact_id": 123,
  "contact_external_id": "<string>",
  "fund_code": "<string>",
  "mark_deposited": true,
  "timezone": "<string>",
  "acknowledged_at": "2023-11-07T05:31:56Z",
  "external_label": "<string>",
  "external_id": "<string>",
  "contact_contact_since": "2023-11-07T05:31:56Z",
  "fee_covered": "<string>",
  "platform_fee": "<string>",
  "processing_fee": "<string>",
  "check_number": "<string>",
  "check_deposited_at": "2023-11-07T05:31:56Z",
  "company": "<string>",
  "internal_note": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "email": "<string>",
  "phone": "<string>",
  "address_1": "<string>",
  "address_2": "<string>",
  "city": "<string>",
  "state": "<string>",
  "zipcode": "<string>",
  "country": "<string>",
  "dedication_type": "in_memory_of",
  "dedication_name": "<string>",
  "dedication_recipient_name": "<string>",
  "dedication_recipient_email": "<string>",
  "giving_space_message": "<string>",
  "appeal_code": "<string>",
  "appeal_name": "<string>",
  "appeal_status": "<string>"
}
'
{
  "id": "<string>",
  "plan_id": "<string>",
  "pledge_id": "<string>",
  "amount": 123,
  "fee": 123,
  "fee_covered": 123,
  "donated": 123,
  "payout": 123,
  "captured": "<string>",
  "captured_at": "<string>",
  "timezone": "<string>",
  "refunded": "<string>",
  "refunded_at": "<string>",
  "line_items": [
    {
      "type": "<string>",
      "subtype": "<string>",
      "description": "<string>",
      "quantity": 123,
      "price": 123,
      "discount": 123,
      "total": 123,
      "created_at": "<string>",
      "updated_at": "<string>"
    }
  ],
  "fair_market_value_amount": "<string>",
  "tax_deductible_amount": "<string>",
  "is_recurring": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
method
enum<string>
required
Available options:
ach,
card,
cash,
check,
digital_wallet,
donor_advised_fund,
paypal,
venmo,
cashapp,
terminal,
stock,
in-kind,
property,
other,
none
transacted_at
string<date-time>
required
amount
string
required
campaign_code
string | null
campaign_title
string
Maximum string length: 255
campaign_team_id
integer | null
team_member_id
integer | null
contact_id
integer | null
contact_external_id
string | null
Maximum string length: 255
fund_code
string | null
Maximum string length: 255
mark_deposited
boolean | null
timezone
string | null
acknowledged_at
string<date-time> | null
external_label
string | null
Maximum string length: 255
external_id
string | null
Maximum string length: 255
contact_contact_since
string<date-time> | null
fee_covered
string | null
platform_fee
string | null
processing_fee
string | null
check_number
string | null
Maximum string length: 255
check_deposited_at
string<date-time> | null
company
string | null
Maximum string length: 255
internal_note
string | null
Maximum string length: 255
first_name
string | null
Maximum string length: 255
last_name
string | null
Maximum string length: 255
email
string | null
Maximum string length: 255
phone
string | null
address_1
string | null
Maximum string length: 255
address_2
string | null
Maximum string length: 255
city
string | null
Maximum string length: 255
state
string | null
Maximum string length: 255
zipcode
string | null
Maximum string length: 255
country
string | null
dedication_type
enum<string>
Available options:
in_memory_of,
in_honor_of
dedication_name
string | null
Maximum string length: 255
dedication_recipient_name
string | null
Maximum string length: 255
dedication_recipient_email
string | null
giving_space_message
string | null
Maximum string length: 65535
appeal_code
string | null
Maximum string length: 255
appeal_name
string | null
Maximum string length: 255
appeal_status
string | null

Response

TransactionResource

id
string
required
plan_id
string
required
pledge_id
string
required
amount
number
required
fee
number
required
fee_covered
number
required
donated
number
required
payout
number
required
captured
string
required
captured_at
string
required
timezone
string
required
refunded
string
required
refunded_at
string
required
line_items
TransactionLineItemResource · object[]
required
fair_market_value_amount
string | null
required
tax_deductible_amount
string | null
required
is_recurring
string
required