{
"merchantId": 1,
"productId": 1,
"amount": 0,
"buyerNote": "string",
"peerImUserId": "string",
"imCardId": "string",
"userGameRoleId": 1
}curl --location '/user-api/v1/miniapp/orders/create-from-im' \
--header 'Authorization: Bearer jl-test-token-user-43' \
--header 'Content-Type: application/json' \
--data '{
"merchantId": 1,
"productId": 1,
"amount": 0,
"buyerNote": "string",
"peerImUserId": "string",
"imCardId": "string",
"userGameRoleId": 1
}'{
"code": 0,
"message": "string",
"data": {
"order": {
"id": 0,
"orderNo": "string",
"merchantId": 0,
"buyerAccountId": 0,
"productId": 0,
"productTypeId": 0,
"productName": "string",
"productTypeName": "string",
"productSnapshot": "string",
"amount": 0,
"couponId": 0,
"discountAmount": 0,
"payableAmount": 0,
"status": "string",
"source": "string",
"peerImUserId": "string",
"imCardId": "string",
"buyerNote": "string",
"merchantNote": "string",
"role": {
"userGameRoleId": 0,
"gameCategoryId": 0,
"gameCode": "string",
"gameAccount": "string",
"serverId": 0,
"serverName": "string",
"region": "string",
"roleName": "string",
"roleExtra": "string"
},
"paidAt": "string",
"confirmedAt": "string",
"createdAt": "string",
"updatedAt": "string"
},
"imCard": {
"type": "string",
"orderId": 0,
"orderNo": "string",
"status": "string",
"statusText": "string",
"productName": "string",
"productTypeName": "string",
"amount": 0,
"priceText": "string",
"roleName": "string",
"serverName": "string",
"gameAccount": "string",
"buyerNote": "string",
"createdAt": 0
}
}
}