Postback Configs Endpoint
This purpose of this endpoint is to allow for configuration of a Postback Configuration via the API. Visit Postback Configs for more information about what these are and how they can be used.
Fields
The following table defines the fields that are utilized in configuring the postback.
Parameter | Type | Description |
---|---|---|
attempt_interval | integer | Number of seconds before another retry is submitted |
basic_auth_username | string | The Basic authorization username for the URL, if not supplied, the postback will be submitted without Basic authorization headers, Note: this is only expandable for response but settable in the POST/PUT request |
basic_auth_password | string | The basic authorization password Note: this is only expandable for response but settable in the POST/PUT request |
expands | string | An option list of expanded data to send with base data. (i.e. set this field to “contact,account_vault” to get the contact an accountvault used to run a transaction.) |
format | string | Options include: "api-default" |
is_active | boolean | Flag to indicate whether configuration is active (in effect). |
location_id | string | The location identifier of the resource you want to recieve postbacks from. |
on_create | boolean | To receive postbacks on the creation of a resource |
on_update | boolean | To receive postbacks on the updating of a resource |
on_delete | boolean | To receive postbacks when the record is deleted |
product_transaction_id | string | Required when using "transaction" or "transactionbatch" resource |
number_of_attempts | integer | Maximum number of attempts on failure |
resource | string | The resource you want to subscribe the postbacks to. Possible values include: “contact”, “transaction”, "transactionbatch", "accountvault" |
url | string | The URL where the postback will be submitted |
Endpoint Actions
Create Postback Config
POST /v2/postbackconfigs
Contact
Transaction
Transaction Batch
Account Vault
Update Postback Config
PUT /v2/postbackconfigs/{id}