Dunning v4Copy Pagepost https://api.sticky.io/dunning-hub/v4/dunningRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body ParamssessionIdstringA unique identifier specific to the dunning session. Automatically generated if not provided. This should be submitted in the request to obtain subsequent retry attempts. It informs the system what retry attempt number the dunning session is on.binstringThe Payment Account Number (PAN) or Bank Identification Number (BIN) is linked to the payment method and should consist of a minimum of 6 digits when utilized.paymentProviderstringThe payment provider or gateway used for the transaction. e.g., NMI, StripedeclineCodestringThe reason provided by the payment provider for the payment failure. The parameter is used to input the decline reason string response from the gateway. Should be populated with the decline reason as a string response. This helps in accurately capturing the reason for payment failure as provided by the payment provider. e.g., Do Not Honor, Insufficient FundsnetworkAdviceCodestringAn issuer-provided code that advises whether or not a declined transaction should be retried. Primarily used for Mastercard, this value helps optimize retry behavior by indicating if a retry should be avoided, delayed, or attempted using a different method.processorDeclineCodestringA numeric value (e.g., “51”, “05") returned by the payment processor, not the gateway, indicating the standardized reason for decline per ISO 8583 (e.g., “51” = Insufficient Funds, “05" = Do Not Honor).amountstringActual value of the payment that is being processed.currencystringISO 4217 Code for the type of currency in which the payment is being made. e.g., USD, CAD.emailstringThe email address associated with the payment transaction.phonestringThe phone number associated with the payment transaction.gatewayTransactionIdstringGateway transaction ID of the original decline transaction used for payment recovery.paymentProfileIdstringIdentifier for the payment gateway profile to be used for recovery attempts.responseCodestringThe decline response code returned by the payment gateway, indicating the specific reason the transaction was rejected.avsResultCodestringThe Address Verification Service (AVS) result code returned by the gateway or processor, indicating whether the billing address provided matches the information on file with the card issuer.cvvResultCodestringThe Card Verification Value (CVV) result code returned by the gateway or processor, indicating whether the CVV provided matches the value on file with the card issuer.cavvResultCodestringThe Cardholder Authentication Verification Value (CAVV) result code returned by the gateway or processor, typically used for 3-D Secure transactions to indicate the authentication outcome.processorNamestringThe name of the payment processor handling the transaction.customerId stringUnique identifier for the customer.gatewayPaymentProfileIdstringUnique identifier for the tokenized payment method.retryHoldUntilUTCstringAn ISO 8601 UTC timestamp representing the earliest time a retry may be recommended. When provided, the recommendation engine guarantees the returned retry datetime will be strictly after this value. If omitted, standard retry logic applies. Format: YYYY-MM-DDTHH:mm:ssZ Example: "retryHoldUntilUTC": "2025-08-10T18:00:00Z"externalIdstringAn optional merchant-defined reference ID used to identify the transaction externally.priorAttemptCountintegerIndicates how many recovery attempts were already made by the merchant before sending the transaction to Sticky.priorDeclines array of objectsCaptures the reasons for the decline from previous recovery attempts performed by the merchant.priorDeclines ADD objecttimestampUTCstringUTC timestamp indicating when the original transaction was declined, in ISO 8601 format (YYYY-MM-DDTHH:mm:ssZ), e.g., 2026-06-19T21:05:00Z.HeaderssmartdunningProfileIdint32Optional Smart Dunning Profile IdResponses 200 400400Updated about 1 month ago Integration GuideComplete SessionDid this page help you?YesNo