Salesforce · JSON Structure
Salesforce Gift Structure
Type: object
Properties: 20
Required: 20
Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales
Gift is a JSON Structure definition published by Salesforce, describing 20 properties, of which 20 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.
Properties
amount
currencyIsoCode
receivedDate
donorCoverAmount
transactionStatus
commitmentId
paymentIdentifier
gatewayTransactionFee
processorTransactionFee
processorReference
gatewayReference
lastGatewayResponseCode
lastGatewayErrorMessage
lastGatewayProcessedDateTime
campaign
outreachSourceCode
donor
paymentInstrument
designations
giftTransactionCustomFields
Meta-schema: https://json-structure.org/draft/2020-12/schema
JSON Structure
{
"type": "object",
"name": "Gift",
"properties": {
"amount": {
"type": "number"
},
"currencyIsoCode": {
"type": "string"
},
"receivedDate": {
"type": "string"
},
"donorCoverAmount": {
"type": "number"
},
"transactionStatus": {
"type": "string"
},
"commitmentId": {
"type": "string"
},
"paymentIdentifier": {
"type": "string"
},
"gatewayTransactionFee": {
"type": "number"
},
"processorTransactionFee": {
"type": "number"
},
"processorReference": {
"type": "string"
},
"gatewayReference": {
"type": "string"
},
"lastGatewayResponseCode": {
"type": "string"
},
"lastGatewayErrorMessage": {
"type": "string"
},
"lastGatewayProcessedDateTime": {
"type": "string"
},
"campaign": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
]
},
"outreachSourceCode": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"sourceCode": {
"type": "string"
}
},
"required": [
"id",
"sourceCode"
]
},
"donor": {
"type": "object",
"properties": {
"donorType": {
"type": "string"
},
"id": {
"type": "string"
},
"organizationName": {
"type": "string"
},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"phone": {
"type": "string"
},
"email": {
"type": "string"
},
"address": {
"type": "array",
"description": "",
"items": {
"type": "object",
"properties": {
"addressType": {
"type": "string"
},
"street": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"country": {
"type": "string"
}
},
"required": [
"addressType",
"street",
"city",
"state",
"postalCode",
"country"
]
}
},
"accountCustomFields": {
"type": "array",
"description": "",
"items": {
"type": "object",
"properties": {
"fieldName": {
"type": "string"
},
"fieldValue": {
"type": "string"
}
},
"required": [
"fieldName",
"fieldValue"
]
}
}
},
"required": [
"donorType",
"id",
"organizationName",
"firstName",
"lastName",
"phone",
"email",
"address",
"accountCustomFields"
]
},
"paymentInstrument": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"accountHolderName": {
"type": "string"
},
"expiryMonth": {
"type": "string"
},
"expiryYear": {
"type": "string"
},
"last4": {
"type": "string"
},
"cardBrand": {
"type": "string"
},
"bankName": {
"type": "string"
},
"digitalWalletProvider": {
"type": "string"
},
"bankAccountHolderType": {
"type": "string"
},
"bankAccountType": {
"type": "string"
},
"bankAccountNumber": {
"type": "string"
},
"bankCode": {
"type": "string"
},
"gatewayName": {
"type": "string"
},
"processorName": {
"type": "string"
},
"processorPaymentReference": {
"type": "string"
},
"gatewayReference": {
"type": "string"
}
},
"required": [
"type",
"accountHolderName",
"expiryMonth",
"expiryYear",
"last4",
"cardBrand",
"bankName",
"digitalWalletProvider",
"bankAccountHolderType",
"bankAccountType",
"bankAccountNumber",
"bankCode",
"gatewayName",
"processorName",
"processorPaymentReference",
"gatewayReference"
]
},
"designations": {
"type": "array",
"description": "",
"items": {
"type": "object",
"properties": {
"designationId": {
"type": "string"
},
"percent": {
"type": "integer"
},
"amount": {
"type": "number"
}
},
"required": [
"designationId",
"percent",
"amount"
]
}
},
"giftTransactionCustomFields": {
"type": "array",
"description": "",
"items": {
"type": "object",
"properties": {
"fieldName": {
"type": "string"
},
"fieldValue": {
"type": "string"
}
},
"required": [
"fieldName",
"fieldValue"
]
}
}
},
"required": [
"amount",
"currencyIsoCode",
"receivedDate",
"donorCoverAmount",
"transactionStatus",
"commitmentId",
"paymentIdentifier",
"gatewayTransactionFee",
"processorTransactionFee",
"processorReference",
"gatewayReference",
"lastGatewayResponseCode",
"lastGatewayErrorMessage",
"lastGatewayProcessedDateTime",
"campaign",
"outreachSourceCode",
"donor",
"paymentInstrument",
"designations",
"giftTransactionCustomFields"
],
"$schema": "https://json-structure.org/draft/2020-12/schema"
}