Payment, Sale
- リソース
-
1/commerce/payments/sales - 使用可能なバージョン
- 54.0
- HTTP のメソッド
- POST
- POST のリクエストボディ
-
- JSON の例 (羃等なし)
-
1{ 2 "accountId":"", 3 "amount":"5000", 4 "comments":"Sale of 20 renewed licenses", 5 "currencyIsoCode:"USD", 6 "effectiveDate":"05-01-2020", 7 "paymentGatewayId":"0000000", 8 "paymentGroup":"", 9 "paymentMethod":"SamplePaymentMethod" 10} - JSON の例 (JSON ペイロード内に羃等キー)
-
1{ 2"accountId":"", 3"amount":"5000", 4"idempotencyKey":"qw", 5"comments":"Sale of 20 renewed licenses", 6"currencyIsoCode:"USD", 7"effectiveDate":"05-01-2020", 8"paymentGatewayId":"0000000", 9"paymentGroup":"", 10"paymentMethod":"SamplePaymentMethod" 11} - JSON の例 (ヘッダー内に羃等キー)
-
1{ 2"accountId":"", 3"amount":"5000", 4"comments":"Sale of 20 renewed licenses", 5"currencyIsoCode:"USD", 6"effectiveDate":"05-01-2020", 7"paymentGatewayId":"0000000", 8"paymentGroup":"", 9"paymentMethod":"SamplePaymentMethod" 10} - ヘッダー
- 名前: sfdc-Payments-Idempotency-Key
- データ型: 文字列
- 最大長: 255
- 例:
1Content-Type: application/json; charset=UTF-8 2Accept: application/json 3sfdc-Payments-Idempotency-Key: UniqueIdempotencyKey - プロパティ
-
名前 型 説明 必須か省略可能 使用可能なバージョン accountId String 販売要求の支払が含まれる Salesforce アカウント。 省略可能 54.0 additionalData Map<String, String> 支払要求が必要な場合は、追加のデータを入力できます。additionalData オブジェクトは、エントリから構成されます。各エントリには、キーと値が含まれます。サポートされるキーと値のペアは、最大 5 つです。それぞれのキーと値には、255 文字まで入力できます。 省略可能 54.0 amount Double 販売の金額。 必須 54.0 comments String 支払販売要求の省略可能なコメント。 省略可能 54.0 currencyIsoCode String 支払グループレコードに関連付けられている 3 文字の ISO 4217 通貨コード。 マルチ通貨が有効化されている場合は必須です。 54.0 effectiveDate String 販売要求が有効になる日付。 省略可能 54.0 email String 要求を開始したクライアントのメール。 省略可能 54.0 idempotencyKey String 支払要求で使用される羃等キー。ペイロードまたはヘッダーに指定できますが、その両方に同時に指定することはできません。 省略可能 54.0 ipAddress String 要求を行ったクライアントの IP アドレス。 省略可能 54.0 macAddress String 要求を行ったクライアントの MAC アドレス。 省略可能 54.0 paymentGatewayId String 支払販売要求を評価するゲートウェイ。 必須 54.0 paymentGroup Payment Group Input 支払要求のグループを表します。 省略可能 54.0 paymentMethod Sale API Payment Method Input 支払販売トランザクションの支払方法を表します。 必須 54.0 phone String 要求を開始したクライアントの電話番号。 省略可能 54.0
- POST のレスポンスボディ
- Sale Output