Actalink Docs
Acta billings/Subscription

Auth

API for authenticating the consumer on the Actalink Billing service.

POST
/api/auth

Request Body

application/jsonRequired
messageRequiredstring

The SIWE message signed by the consumer, in previous step the message was obtained from the challenge_auth API.

signatureRequiredstring

The signature of the SIWE message signed by the consumer.

curl -X POST "http://localhost:4000/api/auth" \
  -H "Content-Type: application/json" \
  -d '{
    "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",
    "signature": "0x"
  }'

Merchant Authenticated successfully

{
  "message": "OK"
}