Saltar al contenido principal
POST
Pay For Purchase

Autorizaciones

X-Authorization
string
header
requerido

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

Cuerpo

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
requerido

Currency to use to fund the purchase.

OrderId
string
requerido

Purchase order identifier returned from StartPurchase.

ProviderName
string
requerido

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.

Respuesta

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.

Ejemplo:
Última modificación el 6 de octubre de 2026