Testing Scenarios

Recommended scenarios to validate before launch.

Before going live, test the full Factoring Decline v1 flow from API submission to postback delivery.

Required test scenarios

ScenarioWhat to verify
Valid API requestThe API accepts a properly formatted request.
Missing API keyRequests without X-Api-Key are rejected.
Invalid API keyRequests with an invalid key are rejected.
Missing required fieldThe API returns a validation error.
Processor successYour system records a successful payment result.
Processor declineYour system records a failed payment result and stores the error message.
Postback successYour endpoint receives the postback and returns HTTP 200.
Postback failureA non-200 response appears in Postback Attempts.
Refund resultRefund postback is received and matched to the original transaction.

Matching test

For every test order:

  1. Generate a unique tracking2 value.
  2. Store it in your system as the merchant order reference.
  3. Submit the API request.
  4. Confirm the postback returns the same value as clickID.
  5. Update the same order record using clickID, orderID, and transactionID.

Portal checks

Confirm that:

PageCheck
API CredentialsBoth Live and Sandbox settings are visible: API URL, API Key, Campaign ID, Offer IDs, and Website ID.
API SettingsPostback URL and Statement Descriptor are configured separately for each website. Select a website to edit its API settings.
Postback AttemptsTest postbacks appear with request and response details.


Did this page help you?