POST
/
enrichments
/
{enrichmentId}
/
decline
curl --request POST \
  --url https://east.sandbox.spade.com/enrichments/{enrichmentId}/decline \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '{
  "declineCode": "51",
  "declineDescription": "Insufficient funds",
  "declineNotes": "Unknown reason for decline.",
  "occurredAt": "2022-06-15 18:27:51Z",
  "isFraud": false,
  "fraudType": "card_not_present",
  "fraudNotes": "Merchant is believed to commonly be used for card testing."
}'
{
  "details": "Chargeback successfully reported."
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

enrichmentId
string
required

The enrichmentId of enrichment associated with the transaction where a card decline occurred.

Body

application/json

Response

200
application/json

Decline reported successfully.

Response for reporting any kind of enrichment feedback.