v1

latestOpenAPI 3.0.02026-08-062903562.2 MB
Hard Credit Transfer

createHardCreditTransfer

Creates a Hard Credit Transfer for the specified Transaction, thereby re-attributing it to the new Fundraising Entity

post/transactions/{transaction}/hard-credit-transfers

Path parameters

transactioninteger required
Example:8734

Primary identifier of specified Transaction

Request body

notestring

Memo describing details of / reason for Transfer

Example request

{
  "note": "Fixed an error",
  "to": {
    "type": "campaign",
    "id": 227362
  }
}

Response

Success

idinteger

Primary identifier of record

member_idinteger

Primary identifier of associated Member

transaction_idinteger

Primary identifier of associated Transaction

from_creditable_type'campaign' | 'fundraising_page' | 'fundraising_team'

Type of Fundraising Entity from which the Transaction was transferred

from_creditable_idinteger

Primary identifier of associated Fundraising Entity

to_creditable_type'campaign' | 'fundraising_page' | 'fundraising_team'

Type of Fundraising Entity to which the Transaction was transferred

to_creditable_idinteger

Primary identifier of associated Fundraising Entity

notestring

Memo describing details of / reason for Transfer

created_atstring date-time

Date/time of initial record creation

updated_atstring date-time

Date/time of last record update

Example response

{
  "id": 6579,
  "member_id": 2012,
  "transaction_id": 1427264,
  "from_creditable_type": "fundraising_page",
  "from_creditable_id": 2173528,
  "to_creditable_type": "fundraising_team",
  "to_creditable_id": 209745,
  "note": "Fixed an error",
  "created_at": "2021-04-23T08:23:21Z",
  "updated_at": "2021-04-23T10:25:03Z"
}