Actalink Docs
Acta billings/Subscription

Challenge Auth

API to generate a SIWE message for user signing, used for authentication.

POST
/api/challenge_auth

Request Body

application/jsonRequired
addressRequiredstring

The address of the consumer's connected EOA (Externally Owned Account) wallet.

Minimum length: 42
domainRequiredstring

The domain name of the dApp.

curl -X POST "http://localhost:4000/api/challenge_auth" \
  -H "Content-Type: application/json" \
  -d '{
    "address": "0xb29A5DADea20f1610423134cAe92197BD19A7606",
    "domain": "docs.acta.link"
  }'

Auth message generated successfully

{
  "address": "0xb29A5DADea20f1610423134cAe92197BD19A7606",
  "message": "https://example.com wants you to sign in with your Ethereum account:\n0xb29A5DADea20f1610423134cAe92197BD19A7606\n\nSign in with Ethereum to the app.\n\nURI: https://payment.acta.link\nVersion: 1\nChain ID: 1\nNonce: ht7AvEge3EBfwOASI\nIssued At: 2025-03-25T09:53:05.254Z"
}