Get Payment Token
NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for version 2. For payments flows where the provider requires playfab (the fulfiller) to initiate the transaction, but the client completes the rest of the flow. In the Xsolla case, the token returned here will be passed to Xsolla by the client to create a cart. Poll GetPurchase using the returned OrderId once you’ve completed the payment.
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| InvalidPaymentProvider | 1063 |
| NoPartnerEnabled | 1192 |
| ProductDisabledForTitle | 1609 |
Authorizations
This API requires a client session ticket, available from any Client Login function.
Body
The name of service to provide the payment token. Allowed Values are: xsolla
