cURL
curl --request POST \ --url https://api.givebutter.com/v1/contacts/{contact}/activities \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "type": "<string>", "source": "<string>", "data": "<string>", "resource": { "id": "<string>", "plan_id": "<string>", "pledge_id": 123, "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": true }, "resource_type": "<unknown>", "occurred_at": "<string>", "created_at": "<string>", "updated_at": "<string>", "created_by": { "id": "<string>", "first_name": "<string>", "last_name": "<string>", "email": "<string>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The contact ID
ContactActivityResource
Show child attributes
transaction
plan
ticket
message
mail_piece
soft_credit
subscription_log
Was this page helpful?