Hey folks,
I'm wondering if anyone could help. I'm getting a generic 500 error when sending this payload to /gift/v1/gifts.
I've been through every item and I can't see anything that is malformed, or any required fields that are missing. Any values that are required to match to values in tables all seem to match (and would return an error if they didn't I assume).
Can anyone with a keen eye see anything wrong with the below?:
{
"subtype": "Gifts & Donations: Individuals",
"type": "Donation",
"amount": {
"value": 10
},
"payments": [
{
"payment_method": "Cash"
}
],
"constituent_id": "114134",
"date": "2024-06-26T12:49:42+01:00",
"reference": "Stripe - Appeal",
"acknowledgements": [
{
"date": "2024-06-26T12:49:42+01:00",
"status": "ACKNOWLEDGED"
}
],
"custom_fields": [
{
"category": "Bank Statement Income Category",
"value": "Stripe",
"date": "2024-06-26T12:50:30+01:00",
"comment": "Website"
},
{
"category": "Month End Category",
"value": "Bank Statement",
"date": "2024-06-26T12:50:30+01:00",
"comment": "Website"
},
{
"category": "Transaction ID/Ref",
"value": "ch_3PVuMsD8B8Wl5nLS0b7qHp1J",
"date": "2024-06-26T12:49:42+01:00",
"comment": "Website"
},
{
"category": "Website URL",
"value": "https://royalfreecharity.ddev.site/get-involved/donate",
"date": "2024-06-26T12:49:42+01:00",
"comment": "Website"
},
{
"category": "RFC Website Entry ID",
"value": 21897,
"date": "2024-06-26T12:49:42+01:00",
"comment": "Website"
},
{
"category": "Website - Relationship to trust",
"value": "I have no connection",
"date": "2024-06-26T12:49:42+01:00",
"comment": "Website"
},
{
"category": "Website - Reason for donation",
"value": "A general donation",
"date": "2024-06-26T12:49:42+01:00",
"comment": "Website"
},
{
"category": "Website - Type of donation",
"value": "personal",
"date": "2024-06-26T12:49:42+01:00",
"comment": "Website"
}
],
"gift_splits": [
{
"amount": {
"value": 10
},
"fund_id": "684"
}
]
}