메인 콘텐츠로 건너뛰기
POST
Pay For Purchase

인증

X-Authorization
string
header
필수

This API requires a client session ticket, available from any Client Login function.

본문

application/json

This is the second step in the purchasing process, initiating the purchase transaction with the payment provider (if applicable). For payment provider scenarios, the title should next present the user with the payment provider'sinterface for payment. Once the player has completed the payment with the provider, the title should call ConfirmPurchase tofinalize the process and add the appropriate items to the player inventory.

This is the second step in the purchasing process, initiating the purchase transaction with the payment provider (if applicable). For payment provider scenarios, the title should next present the user with the payment provider'sinterface for payment. Once the player has completed the payment with the provider, the title should call ConfirmPurchase tofinalize the process and add the appropriate items to the player inventory.

Currency
string
필수

Currency to use to fund the purchase.

OrderId
string
필수

Purchase order identifier returned from StartPurchase.

ProviderName
string
필수

Payment provider to use to fund the purchase.

CustomTags
object

The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

ProviderTransactionId
string

Payment provider transaction identifier. Required for Facebook Payments.

응답

For web-based payment providers, this operation returns the URL to which the user should be directed inorder to approve the purchase. Items added to the user inventory as a result of this operation will be marked as unconfirmed.

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object

For web-based payment providers, this operation returns the URL to which the user should be directed inorder to approve the purchase. Items added to the user inventory as a result of this operation will be marked as unconfirmed.

예시:
마지막 수정일 2026년 10월 6일