Flow
Create Payment
Request- cURL
- Node SDK
- Go SDK
Required Parameters
Optional Parameters
Distribution Type
distributionType is used for settlement calculation. When omitted, it is inferred from platform.
Inference rules
Settlement Calculation:
Net Amount = Payment Amount × (1 - Store Fee), then PlayCamp platform fee and creator fee are applied separately.If your game server already knows the net amount it receives after store fees, you can send it as netAmount/netCurrency.Payment Timestamp (purchasedAt)
Settlement is always attributed to the moment the SDK API recorded the payment.- When
purchasedAtis provided, that value is stored. - When omitted, the server stores the time it received the request.
- Refunds always use the server receive time (the value cannot be supplied).
Currency Conversion
For non-USD currencies, amount is automatically converted to USD (amountUsd field).
Refund Payment
- cURL
- Node SDK
- Go SDK
Error Handling
Bulk Payment
Register up to 1,000 payments at once. Request- cURL
- Node SDK
- Go SDK
Bulk Payment Parameters
Result Status
Bulk payments support partial success. Even if some items fail, the remaining items are processed normally. A
payment.bulk_created webhook event is triggered when the bulk payment completes.