Generate Payment Instructions Action
Generates payment instructions, based on source record IDs. Supports claims, payment requests, and benefit disbursements as source records.
This action is available in API version 67.0 and later.
To access the Generate Payment Instructions action, there are required org settings and permission set licenses. For details, see Outbound Payment Prerequisites.
URI: /services/data/vXX.X/actions/standard/generatePaymentInstruction
Where XX.X is the latest API version.
Formats: JSON
HTTP Methods: GET, POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is a variable.
| Input | Type | Description |
|---|---|---|
customValues | Apex-defined variable | Required. The custom field values to apply to the payment instruction. |
paymentInstrumentId | string | The ID of the associated payment instrument record. |
recordId | ID | Required. ID of the source record. Source records can be claims, payment requests, or benefit disbursements. |
| Output | Type | Description |
|---|---|---|
errorMessage | string | If payment instruction record creation fails, an error message displays. If record creation succeeds, this field is null. |
paymentInstructionId | string | The ID of the payment instruction record. |
successStatus | string | The status indicating the successful creation of payment instruction. |
GET
This example shows how to get the details of the Generate Payment Instructions action type.
POST
Here’s a request for the Generate Payment Instructions action.
Here’s a response for the Generate Payment Instructions action.