📖
PayPangea Integration Guide
  • 👋PayPangea Integration Guide
  • Product Guides
    • đŸ“ĒGetting Started
    • â„šī¸Integration Options
  • 💰WALLET CREATION
    • â„šī¸Introduction
    • âš™ī¸API Integration
      • ☕Integration steps
      • đŸĒ™Request a wallet
  • LOGIN WITH PAYPANGEA
    • 💾SDK Integration
      • ☕Integration Steps
      • 👨‍đŸ’ģHandling Logins
      • đŸ•ĸEvent Handling
    • âš™ī¸API Integration
      • ☕Integration steps
      • 🧑‍đŸ’ģShow login page
    • đŸ§™â€â™‚ī¸Server-side verification
      • ☕Integration steps
      • đŸĒ™Request authentication
  • CRYPTO PAYMENTS
    • 💾SDK Integration
      • ☕Integration Steps
      • đŸ’ĩHandling Payments
      • đŸ•ĸEvent Handling
    • âš™ī¸API integration
      • ☕Integration steps
      • đŸ•ĩī¸Authentication
      • đŸĒ™Request payment based on crypto
      • đŸ’ĩRequest payment based on fiat
      • 💲Collecting Payments
  • WEBHOOKS
    • đŸĒWebhooks
  • Other
    • Troubleshooting
    • FAQ
Powered by GitBook
On this page
  1. LOGIN WITH PAYPANGEA
  2. Server-side verification

Request authentication

POST /auth/address-check

This endpoint is designed to be executed on the server-side as part of our secure authentication process. It validates the integrity and authenticity of a wallet address using a token received during the frontend login procedure. This verification step is crucial for ensuring that the wallet address in question is legitimately associated with the current user session, enhancing the overall security of our system.

Request format

To initiate the verification process, a POST request should be sent to this endpoint with a JSON payload containing two key pieces of information: the wallet address to be verified and the token received from the frontend after the initial login phase.

Headers

Name
Value

Content-Type

application/json

Body

Name
Type
Description
Required

wallet

string

requested amount

YES

token

string

token for verification

YES

Response

{
  "status": 200,
  "valid": <true/false>
}
{
  "code": 400,
  "message": <error message>
}

Once you obtain the token, follow the instructions on this page:

PreviousIntegration stepsNextSDK Integration

Last updated 1 year ago

đŸ§™â€â™‚ī¸
đŸĒ™