Chargeback Messages

postChargebackMessages

POST
/chargebackMessages

Create a chargebackMessage. A chargebackMessage resource represents a message that is sent by a Merchant, processor, or bank in relation to a Chargeback.

Authorization

APIKEY<token>

In: header

Header Parameters

token?string

A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.

request-token?string

A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.

Request Body

application/json

Create Chargeback Message Request

Create Chargeback Message Request

chargeback*string

The identifier of the Chargeback resource that this chargebackMessage relates to.

date?string

The date of this chargebackMessage. The date is specified as an eight digit string in YYYYMMDD format, for example, '20160120' for January 20, 2016.

type*chargebackMessageType

The type of this chargebackMessage.

  • assign - Assign the chargeback.
  • notate - Add a note to the chargeback.
  • acceptLiability - Accept Liability for the Chargeback amount.
  • createPreArbitration - Create a pre-arbitration case.
  • represent - Represent the chargeback.
  • respond - Respond to the chargeback.
  • requestArbitration - Request Arbitration. The Merchant wishes to enter arbitration to determine the outcome of the Chargeback.
  • createArbitration - Create an arbitration case.
  • requestPreArbitration - Request a pre-arbitration case.
  • requestResolutionToPreArbitration - Request resolution to a pre-arbitration case.
  • respondToDispute - Respond to a dispute.
  • respondToPreArbitration - Respond to a pre-arbitration case.
  • unaccept - Unaccept the chargeback.

Value in

  • "assign"
  • "notate"
  • "acceptLiability"
  • "createPreArbitration"
  • "represent"
  • "respond"
  • "requestArbitration"
  • "createArbitration"
  • "requestPreArbitration"
  • "requestResolutionToPreArbitration"
  • "respondToDispute"
  • "respondToPreArbitration"
  • "unaccept"
fromQueue?string

The fromQueue element that specifies the queue in which the chargeback resided prior to the performance of the specified activity.

toQueue?string

The toQueue element that specifies queue to which the chargeback moved after the performance of the specified activity.

contact?string

The identifier of the Contact for this chargebackMessage.

amount?|

The amount that this chargebackMessage corresponds to. For example, if the 'type' is set to '3' (Accept Liability), then this amount indicates that the liability should be for this amount. This field is specified as an integer in cents.

currency?|
note?string

A free-text note relating to this chargebackMessage.

status?chargebackMessageStatus

The current status of the Chargeback.

  • requested - The chargeback has been requested.
  • processing - The chargeback is currently being processed.
  • failed - The chargeback process has failed.
  • denied - The chargeback has been denied.
  • processed - The chargeback has been successfully processed.

Value in

  • "requested"
  • "processing"
  • "failed"
  • "denied"
  • "processed"
imported?chargebackMessageImported

Whether the chargeback message was imported.

  • 0 - Not imported.
  • 1 - Imported.

Value in

  • 0
  • 1
inactive?inactive

Whether this resource is marked as inactive.

  • 0 - Active
  • 1 - Inactive

Value in

  • 0
  • 1
frozen?frozen

Whether this resource is marked as frozen.

  • 0 - Not Frozen
  • 1 - Frozen

Value in

  • 0
  • 1

Response Body

application/json

application/json

curl -X POST "https://example.com/chargebackMessages" \  -H "Content-Type: application/json" \  -d '{    "chargeback": "t1_chb_2c2443d86f1c94d3846f85b",    "type": "respond",    "status": "processed",    "imported": 1,    "date": "20190908",    "fromQueue": "specifies queue",    "toQueue": "specifies queue",    "contact": "identifier of Contact",    "amount": 1,    "currency": "USD",    "note": "Charge Merchant",    "inactive": 0,    "frozen": 0  }'
{  "response": {    "data": [      {        "id": "t1_chm_fd94438bed7d5e80f0000ea",        "created": "2019-09-08 22:30:00.0000",        "modified": "2019-09-08 22:30:00.0000",        "creator": "t1_log_6564b6476c2015fa1c04ec7",        "modifier": "t1_log_6564b6476c2015fa1c04ec7",        "chargeback": "t1_chb_2c2443d86f1c94d3846f85b",        "date": "20190908",        "type": "respond",        "fromQueue": "",        "toQueue": "",        "contact": "",        "amount": 1,        "currency": "USD",        "note": "Charge Merchant",        "status": "processed",        "inactive": 0,        "frozen": 0,        "imported": 1      }    ],    "details": {      "requestId": 1,      "totals": [],      "page": {        "current": 1,        "last": 1,        "hasMore": false      }    },    "errors": []  }}