BNPL Postman Collection
π’ GET /health
/healthRequest:
GET https://api3.dev.merso.io/healthDescription: Health check endpoint to verify the service is running.
π POST /merso-user-approval
/merso-user-approvalRequest:
POST https://api3.dev.merso.io/merso-user-approval
Authorization: Bearer <token>
Content-Type: application/jsonBody:
{
"userAddress": "VALID_USER_ADDRESS",
"userEmail": "user@email.com",
"tokenPrice": "PRICE_IN_WEI",
"collectionAddress": "YOUR_GAME_NFT_COLLECTION_ADDRESS"
}πͺ POST /merso-buy-token
/merso-buy-tokenRequest:
POST https://api3.dev.merso.io/merso-buy-token
Authorization: Bearer <token>
Content-Type: application/jsonBody:
{
"userAddress": "VALID_USER_ADDRESS",
"tokenId": "1",
"tokenPrice": "PRICE_IN_WEI",
"collectionAddress": "YOUR_GAME_NFT_COLLECTION_ADDRESS"
}π΅ POST /merso-buy-token-with-fiat
/merso-buy-token-with-fiatRequest:
POST https://api3.dev.merso.io/merso-buy-token-with-fiat
Authorization: Bearer <token>
Content-Type: application/jsonBody:
{
"tokenPriceInUSD": "PRICE_IN_USD",
"tokenId": "1",
"tokenName": "NFT_NAME"
"userAddress": "VALID_USER_ADDRESS",
"userEmail": "VALID_USER_EMAIL"
"collectionAddress": "YOUR_GAME_NFT_COLLECTION_ADDRESS"
}π‘οΈ POST /auth
/authRequest:
POST https://api3.dev.merso.io/auth
Content-Type: application/jsonBody:
{
"game_id": "YOUR_GAME_ID",
"api_key": "YOUR_API_KEY"
}π° GET /user-loans
/user-loansRequest:
GET https://api3.dev.merso.io/user-loans?userEmail=USER_EMAIL
Authorization: Bearer <your_jwt_token>Query parameters:
userEmail: USER_EMAIL Last updated