메인 콘텐츠로 건너뛰기
GET
/
v1
/
server
/
payments
/
user
/
{userId}
유저 결제 내역
curl --request GET \
  --url https://sdk-api.playcamp.io/v1/server/payments/user/{userId} \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 123,
      "transactionId": "<string>",
      "userId": "<string>",
      "productId": "<string>",
      "productName": "<string>",
      "amount": 123,
      "currency": "<string>",
      "amountUsd": 123,
      "platform": "iOS",
      "distributionType": "MOBILE_STORE",
      "status": "COMPLETED",
      "campaignId": "<string>",
      "creatorKey": "<string>",
      "purchasedAt": "2023-11-07T05:31:56Z",
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "page": 123,
    "limit": 123,
    "total": 123,
    "totalPages": 123
  }
}

인증

Authorization
string
header
필수

Server API Key (format: {keyId}:{secret})

경로 매개변수

userId
string
필수

쿼리 매개변수

page
integer
기본값:1
limit
integer
기본값:20
필수 범위: x <= 100

응답

200 - application/json

성공

data
object[]
필수
pagination
object
필수