BNPL Postman Collection
π’ GET /health
/health
Request:
GET https://api3.dev.merso.io/health
Description: Health check endpoint to verify the service is running.
π POST /user-approval
/user-approval
Request:
POST https://api3.dev.merso.io/user-approval
Authorization: Bearer <token>
Content-Type: application/json
Body:
{
"userAddress": "VALID_USER_ADDRESS",
"userEmail": "user@email.com",
"gameTokenAddress": "YOUR_GAME_ERC20_ADDRESS",
"tokenPrice": "PRICE_IN_WEI",
"collectionAddress": "YOUR_GAME_NFT_COLLECTION_ADDRESS"
}
πͺ POST /buy-token-with-merso
/buy-token-with-merso
Request:
POST https://api3.dev.merso.io/buy-token-with-merso
Authorization: Bearer <token>
Content-Type: application/json
Body:
{
"userAddress": "VALID_USER_ADDRESS",
"tokenId": "1",
"tokenPrice": "PRICE_IN_WEI",
"nftCollectionAddress": "YOUR_GAME_NFT_COLLECTION_ADDRESS"
}
π‘οΈ POST /auth
/auth
Request:
POST https://api3.dev.merso.io/auth
Content-Type: application/json
Body:
{
"game_id": "YOUR_GAME_ID",
"api_key": "YOUR_API_KEY"
}
π° GET /user-loans
/user-loans
Request:
GET https://api3.dev.merso.io/user-loans?userEmail=USER_EMAIL
Authorization: Bearer <your_jwt_token>
Query parameters:
userEmail: USER_EMAIL
Last updated