Setup

To enable notifications, please reach out to ChargeAfter support with the following info:

  • A dedicated URL that can receive the notification. (ChargeAfter will use this URL to POST the notification.)
  • Authorization header that will be attached to the HTTP POST call.

Link Application Status Update

This notification is sent using a webhook when a link associated with an application status has changed.

Currently supported application status changes:

  • Started- the consumer started the application experience

Payload

{
  "linkId": "string",
  "applicationId": "string",
  "applicationStatus": "Started",
  "correlationId": "string"
}

Field descriptions

  • linkId (type: string)
    Unique identifier used to identify the link.
  • applicationId (type: string)
    Unique identifier used to identify the application. The application ID may be used later to retrieve application information.
  • applicationStatus (type: string)
    The link application status.
  • correlationId (type: string, optional)
    Optional identifier that the merchant can attach to the link.
    If this is not set by the merchant, then the notification will have the linkId value.

Consumer Confirmation

This notification is used to identify that the consumer confirmed the selected offer (Apply or Checkout) and used the outcome of it for further actions such as charge creation, getting application details, etc.

Payload

{  
  "applicationId":"string",
  "accountToken":"string",
  "confirmationToken":"string"
}

Field descriptions

  • applicationId (type: string)
    ChargeAfter identifier of the consumer application (session).
  • confirmationToken (type: string, optional)
    Used for calling charge creation after checkout using post-sale API
  • accountToken (type: string, optional)
    Returned for Apply flow. Used for calling charge creation API together with cart and merchant details.
    *Supported by some of the lenders.