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.

InputTypeDescription
customValuesApex-defined variableRequired.
The custom field values to apply to the payment instruction.
paymentInstrumentIdstringThe ID of the associated payment instrument record.
recordIdIDRequired.
ID of the source record. Source records can be claims, payment requests, or benefit disbursements.
OutputTypeDescription
errorMessagestringIf payment instruction record creation fails, an error message displays. If record creation succeeds, this field is null.
paymentInstructionIdstringThe ID of the payment instruction record.
successStatusstringThe 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.