In-app Purchase Delivery Notify Interface Description
Description:
- After The User completes The Recharge, The ULU Platform Server Will Post Data To Game Develop Server.Game Develop Server Should Verify The Data,Then Distribute Relevant Game Props To User.
- Game Develop Server Should Determine Whether The Props Are Issued Repeatedly. If They Have Been Issued, They Cannot Be Issued Again.
- After Receiving And Processing Successfully, The Game Develop Server Should Response Json {"result": "SUCCESS"} And ULU Platform Server Will Not Notify Again. Otherwise, The ULU Platform Server Will Notify Three Times In A Row Within A Period Of Time.
- If The Game Develop Server Response Something Other Than {"result": "SUCCESS"} Or The Request Times Out, The ULU Platform Server Will Retry The Request After A While.
- Signature Type:MD5 Signature With UpperCase.
Request URL:
Request Method:
Content-Type:
Request Body:
Parameter Name |
Required |
Type |
Describe |
orderNo |
true |
String(100) |
Order Number, Unique. |
channelReceipt |
true |
String(255) |
The Order Number Provided By The Payment Channel.Exp,Google:GPA.xxxxx.xxxx . |
gameId |
true |
Int(10) |
GameId. |
uid |
true |
String(50) |
Uid. |
payChannel |
true |
Int(2) |
PayChannelCode . |
amount |
true |
String(20) |
The Actual Amount Paid By The User. |
currency |
true |
String(20) |
The Actual Currency Paid By The User. |
areaAmount |
true |
String(20) |
Goods Fixed Price. |
areaCurrency |
true |
String(20) |
Goods Fixed Currency. |
sandbox |
true |
Int(1) |
Whether The Payment Was Made Using Real Money Code.1:Fake Money,0:Real Money.Applies To Google Pay. |
extraData |
true |
String(500) |
The extraData Passed By Game Develop When Apply The Order,Will Be Returned As Is. |
signature |
true |
String(50) |
Signature Information, Sorted By Parameter Name a-z (Signature Is Not Encrypted), Concatenated Parameter Values + Secret (key) To Get FinalString, Then Encrypted With md5(), For Example: md5 (amount+channelReceipt+currency+...+uid+secret) |
Request Body Demo:
{
"orderNo":"GOOGLE1184043905927725057",
"channelReceipt":"GPA.3327-1284-7588-11689",
"gameId":1,
"uid":"dh62457163",
"amount":"9",
"currency":"CNY",
"amount":"6",
"areaAmount":"1500",
"areaCurrency":"KRW",
"sandbox":1,
"signture":"fdb070c71f988ff3c9f996cae6f5d83d",
"extraData":"extraData",
"payChannel":2
}
Successful Response Demo:
{"result": "SUCCESS" }
PayChannel Code:
Code |
Value |
1 |
iOS |
2 |
Google |
3 |
Onestore |
4 |
Galaxy |
5 |
Amazon |
9 |
PC |
11 |
WEB |
14 |
ULU |
18 |
Ustore |