Overview
This endpoint is used to manually link a user’s merchant account in the development environment for testing purposes without the need to install or invoke the client-side SDK. Calling this endpoint will generate a linked merchant account on the Knot platform for a specific user & merchant and optionally generate new or updated transactions (using thetransactions object in the request).
Usage
- TransactionLink
- Shopping
You can test all of the following without use of the client-side SDK:
- Link a merchant account to the Knot platform
- Receive notification of the link via the
AUTHENTICATEDevent to your webhook - Generate sample transactions
- Receive notification of the transactions via the
NEW_TRANSACTIONS_AVAILABLEorUPDATED_TRANSACTIONS_AVAILABLEevents to your webhook
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password. Use your client_id as the username and your secret as the password value.
Body
application/json
The input parameters required for linking a merchant account in development.
Response
Successful request.
Success message.
Example:
"Success"