Skip to main content

Test Mercury Connection

POST 

/api/mercury/instances/:instance/test-connection

Test the connection for a Mercury instance.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

A successful test also refreshes the stored Mercury accounts and their balances. It also re-checks the token's permissions. Mercury has no endpoint that lists a token's permissions, so each is checked with a harmless call; the payment checks use a recipient that does not exist, so no money can move.

Request​

Responses​

OK

Response Headers
    Content-Type