Payment service provider name, default value is “Coda”, but partner can decide the value.
params.isForTest
Integer
A flag to indicate whether this order is for sandbox test or real order. If isForTest=1, this order is a sandbox test order; otherwise if isForTest=0, this order is a real order.
params.signature
String
Generated based on the content of the message. See section on Signature Generation.
params.user.userId
String
The user ID/player ID of the customer account in the partner's system.
params.user.zoneId
String
The zone ID/server ID of the customer account in the partner's system.
If zoneId is not required, the default value is “”.
params.purchaseOrigin
String
Note: purchaseOrigin is a 2 country code ISO standard. This will be the region where the user of codashop did the purchase from. https://www.iban.com/country-codes
id
The id of the message this response is associated with.
jsonrpc
Fixed to “2.0” by json-rpc standard.
result
An Object representing success.
result.username
Player username, nickname, or other identifier that can be used to let the customer confirm they are topping up the intended account. For example, a unique player id may be “123456789”, and their username (not necessarily unique) may be “Terminator123”.
result.metadata
Publisher can use this field to add details such as user’s country of origin, in-game level, list of character or roleInfo of that user etc. (Optional)
result.personalisedSkus
The list of SKUs available to the user. (Optional)
result.personalisedSkus.skuId
SkuId (Optional)
result.personalisedSkus.description
Name of the SkuId (Optional)
result.personalisedSkus.details
The Object that holds sku’s details (Optional)
result.personalisedSkus.details.category
Category or the Sub-type of the SKU (Optional)
result.personalisedSkus.details.price
Price that needs to be send in API to the publishers (Optional)
result.personalisedSkus.details.currency
Currency that needs to be sent in API to the publishers during top-up (Optional)
result.personalisedSkus.metadata.imageUrl
Image source for a specific SKU in Partner’s CDN (optional)
id
The ID of the message this response is associated with.