Salesforce · Schema

CreatePaymentMethodRequest

Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

Properties

Name Type Description
paymentGatewayId string
cardPaymentMethod object
phone string
email string
additionalData object
View JSON Schema on GitHub

JSON Schema

salesforce-create-payment-method-request-schema.json Raw ↑
{
  "type": "object",
  "properties": {
    "paymentGatewayId": {
      "type": "string",
      "example": "500123"
    },
    "cardPaymentMethod": {
      "type": "object",
      "properties": {
        "cardHolderName": {
          "type": "string",
          "example": "example_value"
        },
        "expiryMonth": {
          "type": "string",
          "example": "example_value"
        },
        "expiryYear": {
          "type": "string",
          "example": "example_value"
        },
        "cardNumber": {
          "type": "string",
          "example": "example_value"
        },
        "cvv": {
          "type": "string",
          "example": "example_value"
        },
        "cardCategory": {
          "type": "string",
          "example": "example_value"
        },
        "cardType": {
          "type": "string",
          "example": "example_value"
        },
        "startYear": {
          "type": "string",
          "example": "example_value"
        },
        "startMonth": {
          "type": "string",
          "example": "example_value"
        },
        "nickName": {
          "type": "string",
          "example": "example_value"
        },
        "accountId": {
          "type": "string",
          "example": "500123"
        }
      },
      "required": [
        "cardHolderName",
        "expiryMonth",
        "expiryYear",
        "cardNumber",
        "cvv",
        "cardCategory",
        "cardType",
        "startYear",
        "startMonth",
        "nickName",
        "accountId"
      ]
    },
    "phone": {
      "type": "string",
      "example": "example_value"
    },
    "email": {
      "type": "string",
      "example": "user@example.com"
    },
    "additionalData": {
      "type": "object",
      "properties": {
        "key1": {
          "type": "string",
          "example": "example_value"
        },
        "key2": {
          "type": "string",
          "example": "example_value"
        }
      },
      "required": [
        "key1",
        "key2"
      ]
    }
  },
  "required": [
    "paymentGatewayId",
    "cardPaymentMethod",
    "phone",
    "email",
    "additionalData"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CreatePaymentMethodRequest"
}