Salesforce Gift API

The Gift API from Salesforce — 1 operation(s) for gift.

Operations 1

POST /data/v64.0/connect/fundraising/transactions/payment-updates Salesforce Update Gift Transaction Payments #

Documentation

Specifications

Schemas & Data

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/salesforce-gift-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

salesforce-gift-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Salesforce Gift API
  description: 'Find the resources you need to start building. '
  contact: {}
  version: '1.0'
servers:
- url: https://login.salesforce.com
  variables: {}
- url: https://id
  variables: {}
- url: https://services
  variables: {}
- url: '{{url}}{{site}}/services/oauth2'
  variables:
    url:
      default: DefaultParameterValue
    site:
      default: DefaultParameterValue
security:
- oauth2:
  - api
tags:
- name: Gift
paths:
  /data/v64.0/connect/fundraising/transactions/payment-updates:
    parameters: []
    post:
      tags:
      - Gift
      summary: Salesforce Update Gift Transaction Payments
      description: "Update the gateway and processor metadata for gift transactions.\n\n## Required Attributes:\n\n- giftTransactionId\n    \n- transactionStatus"
      operationId: UpdateGiftTransactionPayments
      parameters: []
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/UpdateGiftTransactionPaymentsRequest'
              - examples:
                - updates:
                  - giftTransactionId: <SFDC_GIFT_TRANSACTION_ID>
                    transactionStatus: Paid
                    processorReference: string
                    gatewayReference: string
                    lastGatewayResponseCode: invalid_cvc
                    lastGatewayErrorMessage: The card’s security code is invalid. Check the card’s security code or use a different card.
                    lastGatewayProcessedDateTime: '2023-07-06T21:57:51.000Z'
                    processorTransactionFee: 0.5
                    gatewayTransactionFee: 0.25
                    donorCoverAmount: 10.5
                  - giftTransactionId: <SFDC_GIFT_TRANSACTION_ID>
                    transactionStatus: Paid
                    processorReference: string
                    gatewayReference: string
                    lastGatewayResponseCode: invalid_cvc
                    lastGatewayErrorMessage: The card’s security code is invalid. Check the card’s security code or use a different card.
                    lastGatewayProcessedDateTime: '2023-07-06T21:57:51.000Z'
                    processorTransactionFee: 1
                    gatewayTransactionFee: 0.45
                    donorCoverAmount: 20
              contentMediaType: application/json
            example:
              updates:
              - giftTransactionId: <SFDC_GIFT_TRANSACTION_ID>
                transactionStatus: Paid
                processorReference: string
                gatewayReference: string
                lastGatewayResponseCode: invalid_cvc
                lastGatewayErrorMessage: The card’s security code is invalid. Check the card’s security code or use a different card.
                lastGatewayProcessedDateTime: '2023-07-06T21:57:51.000Z'
                processorTransactionFee: 0.5
                gatewayTransactionFee: 0.25
                donorCoverAmount: 10.5
              - giftTransactionId: <SFDC_GIFT_TRANSACTION_ID>
                transactionStatus: Paid
                processorReference: string
                gatewayReference: string
                lastGatewayResponseCode: invalid_cvc
                lastGatewayErrorMessage: The card’s security code is invalid. Check the card’s security code or use a different card.
                lastGatewayProcessedDateTime: '2023-07-06T21:57:51.000Z'
                processorTransactionFee: 1
                gatewayTransactionFee: 0.45
                donorCoverAmount: 20
        required: true
      responses:
        '201':
          description: Created
          headers: {}
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/Status201-UpdateTransactionPaymentSuccess'
                - examples:
                  - successes: 2
                    failures: 0
                    notProcessed: 0
                    details:
                    - success: true
                      links:
                        gifttransaction:
                          href: /services/data/vXX.X/sobjects/sObject/<SFDC_GIFT_TRANSACTION_ID>
                          id: <SFDC_GIFT_TRANSACTION_ID>
                    - success: true
                      links:
                        gifttransaction:
                          href: /services/data/vXX.X/sobjects/sObject/<SFDC_GIFT_TRANSACTION_ID>
                          id: <SFDC_GIFT_TRANSACTION_ID>
                contentMediaType: application/json
              example:
                successes: 2
                failures: 0
                notProcessed: 0
                details:
                - success: true
                  links:
                    gifttransaction:
                      href: /services/data/vXX.X/sobjects/sObject/<SFDC_GIFT_TRANSACTION_ID>
                      id: <SFDC_GIFT_TRANSACTION_ID>
                - success: true
                  links:
                    gifttransaction:
                      href: /services/data/vXX.X/sobjects/sObject/<SFDC_GIFT_TRANSACTION_ID>
                      id: <SFDC_GIFT_TRANSACTION_ID>
        '400':
          description: Bad Request
          headers: {}
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/Status201-UpdateTransactionPaymentWithExternalIds1'
                - examples:
                  - successes: 1
                    failures: 0
                    notProcessed: 0
                    details:
                    - success: true
                      links:
                        gifttransaction:
                          href: /services/data/vXX.X/sobjects/sObject/<SFDC_GIFT_TRANSACTION_ID>
                          id: <SFDC_GIFT_TRANSACTION_ID>
                contentMediaType: application/json
              example:
                successes: 1
                failures: 0
                notProcessed: 0
                details:
                - success: true
                  links:
                    gifttransaction:
                      href: /services/data/vXX.X/sobjects/sObject/<SFDC_GIFT_TRANSACTION_ID>
                      id: <SFDC_GIFT_TRANSACTION_ID>
      deprecated: false
      servers:
      - url: https://services
        variables: {}
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    Status201-UpdateTransactionPaymentSuccess:
      title: Status201-UpdateTransactionPaymentSuccess
      required:
      - successes
      - failures
      - notProcessed
      - details
      type: object
      properties:
        successes:
          type: integer
          contentEncoding: int32
          example: 10
        failures:
          type: integer
          contentEncoding: int32
          example: 10
        notProcessed:
          type: integer
          contentEncoding: int32
          example: 10
        details:
          type: array
          items:
            $ref: '#/components/schemas/Detail3'
          description: ''
          example: []
      examples:
      - successes: 2
        failures: 0
        notProcessed: 0
        details:
        - success: true
          links:
            gifttransaction:
              href: /services/data/vXX.X/sobjects/sObject/<SFDC_GIFT_TRANSACTION_ID>
              id: <SFDC_GIFT_TRANSACTION_ID>
        - success: true
          links:
            gifttransaction:
              href: /services/data/vXX.X/sobjects/sObject/<SFDC_GIFT_TRANSACTION_ID>
              id: <SFDC_GIFT_TRANSACTION_ID>
    Status201-UpdateTransactionPaymentWithExternalIds1:
      title: Status201-UpdateTransactionPaymentWithExternalIds1
      required:
      - successes
      - failures
      - notProcessed
      - details
      type: object
      properties:
        successes:
          type: integer
          contentEncoding: int32
          example: 10
        failures:
          type: integer
          contentEncoding: int32
          example: 10
        notProcessed:
          type: integer
          contentEncoding: int32
          example: 10
        details:
          type: array
          items:
            $ref: '#/components/schemas/Detail3'
          description: ''
          example: []
      examples:
      - successes: 1
        failures: 0
        notProcessed: 0
        details:
        - success: true
          links:
            gifttransaction:
              href: /services/data/vXX.X/sobjects/sObject/<SFDC_GIFT_TRANSACTION_ID>
              id: <SFDC_GIFT_TRANSACTION_ID>
    UpdateGiftTransactionPaymentsRequest:
      title: UpdateGiftTransactionPaymentsRequest
      required:
      - updates
      type: object
      properties:
        updates:
          type: array
          items:
            $ref: '#/components/schemas/Update'
          description: ''
          example: []
      examples:
      - updates:
        - giftTransactionId: <SFDC_GIFT_TRANSACTION_ID>
          transactionStatus: Paid
          processorReference: string
          gatewayReference: string
          lastGatewayResponseCode: invalid_cvc
          lastGatewayErrorMessage: The card’s security code is invalid. Check the card’s security code or use a different card.
          lastGatewayProcessedDateTime: '2023-07-06T21:57:51.000Z'
          processorTransactionFee: 0.5
          gatewayTransactionFee: 0.25
          donorCoverAmount: 10.5
        - giftTransactionId: <SFDC_GIFT_TRANSACTION_ID>
          transactionStatus: Paid
          processorReference: string
          gatewayReference: string
          lastGatewayResponseCode: invalid_cvc
          lastGatewayErrorMessage: The card’s security code is invalid. Check the card’s security code or use a different card.
          lastGatewayProcessedDateTime: '2023-07-06T21:57:51.000Z'
          processorTransactionFee: 1
          gatewayTransactionFee: 0.45
          donorCoverAmount: 20
    Gifttransaction:
      title: Gifttransaction
      required:
      - href
      - id
      type: object
      properties:
        href:
          type: string
          example: example_value
        id:
          type: string
          example: abc123
      examples:
      - href: /services/data/vXX.X/sobjects/sObject/<SFDC_GIFT_TRANSACTION_ID>
        id: <SFDC_GIFT_TRANSACTION_ID>
    Detail3:
      title: Detail3
      required:
      - success
      - links
      type: object
      properties:
        success:
          type: boolean
          example: true
        links:
          $ref: '#/components/schemas/Links3'
      examples:
      - success: true
        links:
          gifttransaction:
            href: /services/data/vXX.X/sobjects/sObject/<SFDC_GIFT_TRANSACTION_ID>
            id: <SFDC_GIFT_TRANSACTION_ID>
    Links3:
      title: Links3
      required:
      - gifttransaction
      type: object
      properties:
        gifttransaction:
          $ref: '#/components/schemas/Gifttransaction'
      examples:
      - gifttransaction:
          href: /services/data/vXX.X/sobjects/sObject/<SFDC_GIFT_TRANSACTION_ID>
          id: <SFDC_GIFT_TRANSACTION_ID>
    Update:
      title: Update
      required:
      - giftTransactionId
      - transactionStatus
      - processorReference
      - gatewayReference
      - lastGatewayResponseCode
      - lastGatewayErrorMessage
      - lastGatewayProcessedDateTime
      - processorTransactionFee
      - gatewayTransactionFee
      - donorCoverAmount
      type: object
      properties:
        giftTransactionId:
          type: string
          example: '500123'
        transactionStatus:
          type: string
          example: example_value
        processorReference:
          type: string
          example: example_value
        gatewayReference:
          type: string
          example: example_value
        lastGatewayResponseCode:
          type: string
          example: example_value
        lastGatewayErrorMessage:
          type: string
          example: example_value
        lastGatewayProcessedDateTime:
          type: string
          example: '2026-01-15T10:30:00Z'
        processorTransactionFee:
          type: number
          example: 42.5
        gatewayTransactionFee:
          type: number
          example: 42.5
        donorCoverAmount:
          type: number
          example: 42.5
      examples:
      - giftTransactionId: <SFDC_GIFT_TRANSACTION_ID>
        transactionStatus: Paid
        processorReference: string
        gatewayReference: string
        lastGatewayResponseCode: invalid_cvc
        lastGatewayErrorMessage: The card’s security code is invalid. Check the card’s security code or use a different card.
        lastGatewayProcessedDateTime: '2023-07-06T21:57:51.000Z'
        processorTransactionFee: 0.5
        gatewayTransactionFee: 0.25
        donorCoverAmount: 10.5
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        implicit:
          authorizationUrl: '{DefaultParameterValue}{DefaultParameterValue}/services/oauth2/authorize'
          scopes:
            api: ''