Salesforce · JSON Structure

Salesforce Create Payment Method Request Structure

Type: object Properties: 5 Required: 5
Fortune 500Artificial IntelligenceAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

CreatePaymentMethodRequest is a JSON Structure definition published by Salesforce, describing 5 properties, of which 5 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

paymentGatewayId cardPaymentMethod phone email additionalData

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "CreatePaymentMethodRequest",
  "properties": {
    "paymentGatewayId": {
      "type": "string"
    },
    "cardPaymentMethod": {
      "type": "object",
      "properties": {
        "cardHolderName": {
          "type": "string"
        },
        "expiryMonth": {
          "type": "string"
        },
        "expiryYear": {
          "type": "string"
        },
        "cardNumber": {
          "type": "string"
        },
        "cvv": {
          "type": "string"
        },
        "cardCategory": {
          "type": "string"
        },
        "cardType": {
          "type": "string"
        },
        "startYear": {
          "type": "string"
        },
        "startMonth": {
          "type": "string"
        },
        "nickName": {
          "type": "string"
        },
        "accountId": {
          "type": "string"
        }
      },
      "required": [
        "cardHolderName",
        "expiryMonth",
        "expiryYear",
        "cardNumber",
        "cvv",
        "cardCategory",
        "cardType",
        "startYear",
        "startMonth",
        "nickName",
        "accountId"
      ]
    },
    "phone": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "additionalData": {
      "type": "object",
      "properties": {
        "key1": {
          "type": "string"
        },
        "key2": {
          "type": "string"
        }
      },
      "required": [
        "key1",
        "key2"
      ]
    }
  },
  "required": [
    "paymentGatewayId",
    "cardPaymentMethod",
    "phone",
    "email",
    "additionalData"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • 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 JSON Structure
curl "https://apis.io/api/v1/json-structures/salesforce-create-payment-method-request-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.