Skip to main content

Refund Scenarios

Refund Entire Cart

  1. The customer requests a refund.
  2. The merchant sends the status request to OmniCart.

    OmniCart supports callbacks for payment and timer status changes. Contact our technical support for more information.

  3. OmniCart returns the response to the status request to the merchant.

status (optional)

curl -L 'https://api.omnicart.scripsi.io/status/:6f891edb-1e1f-48bb-b042-2cb790a0f402' \
-H 'Accept: application/json' \
-H 'Api-Access-Token: <Api-Access-Token>'
  1. The merchant sends the refund request with the updated settings to OmniCart.
  2. The customer's funds are refunded.
  3. OmniCart returns the response to the refund request to the merchant.
  4. The merchant displays the success message to the customer.

refund

{
"cartId": "6f891edb-1e1f-48bb-b042-2cb790a0f402"
}

Refund by Tags or Items

  1. The customer requests a refund.
  2. The merchant sends the status request to OmniCart.

    OmniCart supports callbacks for payment and timer status changes. Contact our technical support for more information.

  3. OmniCart returns the response to the status request to the merchant.

status (optional)

curl -L 'https://api.omnicart.scripsi.io/status/:6f891edb-1e1f-48bb-b042-2cb790a0f402' \
-H 'Accept: application/json' \
-H 'Api-Access-Token: <Api-Access-Token>'
  1. The merchant sends the refund request with the updated settings to OmniCart.
  2. The customer's funds are refunded.
  3. OmniCart returns the response to the refund request to the merchant.
  4. The merchant displays the success message to the customer.

refund

{
"cartId": "6f891edb-1e1f-48bb-b042-2cb790a0f402",
"filterBox": {
"tags": [
"rampart"
]
}
}
  1. The merchant sends the status request to OmniCart.

    OmniCart supports callbacks for payment and timer status changes. Contact our technical support for more information.

  2. OmniCart returns the response to the status request to the merchant.

status (optional)

curl -L 'https://api.omnicart.scripsi.io/status/:6f891edb-1e1f-48bb-b042-2cb790a0f402' \
-H 'Accept: application/json' \
-H 'Api-Access-Token: <Api-Access-Token>'

Partial Refund

  1. The customer requests a refund.
  2. The merchant sends the status request to OmniCart.

    OmniCart supports callbacks for payment and timer status changes. Contact our technical support for more information.

  3. OmniCart returns the response to the status request to the merchant.

status (optional)

curl -L 'https://api.omnicart.scripsi.io/status/:6f891edb-1e1f-48bb-b042-2cb790a0f402' \
-H 'Accept: application/json' \
-H 'Api-Access-Token: <Api-Access-Token>'
  1. The merchant sends the modify request with the updated settings to OmniCart.
  2. The customer's funds are refunded.
  3. OmniCart returns the response to the modify request to the merchant.
  4. The merchant displays the success message to the customer.

modify

{
"cartId": "6f891edb-1e1f-48bb-b042-2cb790a0f402",
"modifyBox": {
"items": [
{
"pegasus": {
"modifyAmount": {
"amount": 150,
"amountMode": "declared"
}
}
}
]
}
}
  1. The merchant sends the status request to OmniCart.

    OmniCart supports callbacks for payment and timer status changes. Contact our technical support for more information.

  2. OmniCart returns the response to the status request to the merchant.

status (optional)

curl -L 'https://api.omnicart.scripsi.io/status/:6f891edb-1e1f-48bb-b042-2cb790a0f402' \
-H 'Accept: application/json' \
-H 'Api-Access-Token: <Api-Access-Token>'