Setup
For notification, please reach out to ChargeAfter support with the following info
- A dedicated URL which will receive the notification. (ChargeAfter will use this URL to POST the notification)
- Authorization header that will be attached to the HTTP POST call.
List of notifications
Consumer Confirmation
When it should be used?
To identify that the consumer confirmed the selected offer (Apply or Checkout) and use the outcome of it for further actions like charge creation, get application details API, etc.
{
"applicationId":"vdfdf212c63833e9",
"accountToken":"sdsdsdsdsd",
"confirmationToken":"8BDD4CC21AD"
}
- applicationId
ChargeAfter identifier of the consumer application (session). - confirmationToken (optional)
Used for calling charge creation after checkout using post-sale API - accountToken (optional)
Returned for apply flow. Used for calling charge creation API together with cart and merchant details.
*Supported by some of the lenders.
Consumer Declined
When should it be used?
To identify that the consumer was declined for financing.
{
"applicationId":"vdfdf212c63833e9",
}