Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Process First Payment Billing for Subscriptions Action
Special Access Rules
This action is available in API version 63.0 and later for users with system administrator access or the BillingTransactionToBSApiUser, InvoiceOrErrorRecoveryAPI, and RLMBilliingAccess users permissions assigned, along with any of these licenses enabled:
- B2B Commerce or D2C Commerce and Salesforce Payments
- Revenue Lifecycle Management and Salesforce Pricing
Supported REST HTTP Methods
URI: /services/data/vXX.X/actions/standard/processFirstPaymentBilling
Formats: JSON, XML
HTTP Methods: GET, HEAD, POST
Authentication: Authorization: Bearer token
Inputs
| Input | Type | Description |
|---|---|---|
| correlationId | String | The request correlation ID used for tracking the request. |
| orderSummaryId | String | The ID of the order summary record. |
Outputs
| Output | Type | Description |
|---|---|---|
| correlationId | STRING | The request correlationID used for tracking the request. |
| requestId | STRING | The ID of the request. |
Example
Sample Request
Here's a sample request with correlationId and orderSummaryId:
1{
2 "inputs": [
3 {
4 "orderSummaryId": "1OsLT0000098gcu0AA",
5 "correlationId": "4869bd78-3af4-40ff-8475-899d711b5db4"
6 }
7 ]
8}Sample Response
1[
2 {
3 "actionName": "processFirstPaymentBilling",
4 "errors": null,
5 "invocationId": null,
6 "isSuccess": true,
7 "outcome": null,
8 "outputValues": {
9 "requestId": "fcec4cff-3f26-45fd-8193-0a599dbb7d03",
10 "correlationId": "4869bd78-3af4-40ff-8475-899d711b5db4"
11 },
12 "sortOrder": -1,
13 "version": 1
14 }
15]