Newer Version Available
Apply Payment Action
Applies a payment record to an invoice header by creating a PaymentLineInvoice record
with a type of Applied.
To access Commerce Payments resources, you need the following permissions.
- Salesforce Order Management License or Salesforce B2B Commerce License
- PaymentsAPIUser user permission. This permission is available with the Salesforce Order Management or B2B Commerce License. Your Salesforce admin assigns it to your user profile.
This object is available in API version 54.0 and later.
Supported REST HTTP Methods
- URI
- /services/data/v54.0/actions/standard/applyPayment
- Formats
- JSON
- HTTP Methods
- POST
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| amount |
|
| appliedToId |
|
| associatedAccountId |
|
| comments |
|
| effectiveDate |
|
| paymentId |
|
Outputs
| Output | Details |
|---|---|
| appliedDate |
|
| paymentLineInvoiceId |
|