Confirmation

Verify wallet signature

Exchanges message signed by wallet for a signed JWT token that can be used to confirm an action on the platform

post/api/v1/confirmation/signature/verify

Request

  • Base URL
    https://api-business.wirexapp.com
  • URL
    https://api-business.wirexapp.com/api/v1/confirmation/signature/verify
  • Auth
    API key in header Authorization

Request body */*

action_type'GetCardDetails' | '3dsChallenge' required
message_signaturestring required

Signature of the predefined payload that was done using the private key of the user who is requesting the token

nonceinteger required

Nonce that was used while forming the predefined payload. This should be the unix timestamp of the moment when the payload was formed

Example request

{
  "message_signature": "0x1234567890abcdeffedcba0987654321...",
  "nonce": 1234567890
}

Response

OK

tokenstring required

Signed JWT token that should be used to confirm authorization of requested action

Example response

{
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJLaXdpIjoiV293LCBkaWRuJ3QgdGhpbmsgc29tZW9uZSB3b3VsZCBhY3R1YWxseSBkZWNvZGUgdGhpcy4gUHJvcHMgZm9yIGN1cmlvc2l0eSBtYXRlIiwiaWF0IjoxNzQ0MDAzNjE5fQ.9dtAkgB2NCP5xnAF0xhfqazoL5UOBBw5xji0r-PzGEU"
}

Changes

No recorded changes to this operation across all 1 revision of this API.