FILTER BY TAG

Update Batch Group Using the PECS API

This section shows you how to update a batch group.

Endpoint

Production:
POST
https://api.cybersource.com
/products/v1/product-setups
Test:
POST
https://apitest.cybersource.com
/products/v1/product-setups

Required Fields for Updating a Batch Group Using the PECS API

Use these required fields to update the configuration of a product.
organizationId
payments.cardProcessing.configurationInformation.configurations.common. processors.[processorName].batchGroup
Where
[processorName]
is the payment processor.
payments.cardProcessing.configurationInformation.configurations.common. processors.[processorName].paymentTypes.[paymentType].enabled
Where
[processorName]
is the payment processor and
[paymentType]
is the payment type.
payments.cardProcessing.subscriptionInformation.enabled
payments.cardProcessing.subscriptionInformation.features.cardPresent.enabled

Example: Updating a Batch Group Using the API

Request
{ "payments": { "cardProcessing": { "subscriptionInformation": { "enabled": true, "features": { "cardPresent": { "enabled": true } } }, "configurationInformation": { "configurations": { "common": { "processors": { "barclayshiso": { "paymentTypes": { "VISA": { "enabled": true } }, "batchGroup": "barclays_hiso_03" } } } } } } }, "organizationId": "davestestguitarsaad009" }
Response to a Successful Request
{ "setups": { "payments": { "cardProcessing": { "configurationStatus": { "status": "SUCCESS", "message": "Configuration Instance updated successfully" }, "subscriptionStatus": { "status": "SUCCESS", "message": "success" } } } }, "status": "PROCESSED", "submitTimeUtc": "2023-11-14T06:33:34+0000" }