Transfer Donation Item
Request
POST /v1/donation/transfer HTTP/1.1
Host: mimillandcity-dev.api.mimiland.io
mm-client-id: mml
Content-Type: application/json
Authorization: bearer v4.public.eyJhZC*****5xTtpdbQI
mm-user-id: 65326348d995b4f348456dce
Content-Length: 119
{
"sendTo": "650ad4aa7f60e4b804d96bda",
"items": {
"ITEM_CAFE":1
},
"sessionId": "ScMbpomTywaX1Sc3"
}const myHeaders = new Headers();
myHeaders.append("mm-client-id", "mml");
myHeaders.append("Content-Type", "application/json");
myHeaders.append("Authorization", "bearer v4.public.eyJhZC*****5xTtpdbQI");
myHeaders.append("mm-user-id", "65326348d995b4f348456dce");
const raw = JSON.stringify({
"sendTo": "650ad4aa7f60e4b804d96bda",
"items": {
"ITEM_CAFE": 1
},
"sessionId": "ScMbpomTywaX1Sc3"
});
const requestOptions = {
method: "POST",
headers: myHeaders,
body: raw,
redirect: "follow"
};
fetch("https://mimillandcity-dev.api.mimiland.io/v1/donation/transfer", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));Parameter
Key
Type
Description
userKey *required
String
id of friend you want request
donationType *required
Int
message make friend
Last updated