Player Item Management - Get Purchase
Retrieves a purchase along with its current PlayFab status. Returns inventory items from the purchase that are still active.
POST https://titleId.playfabapi.com/Client/GetPurchase
Request Header
Name | Required | Type | Description |
---|---|---|---|
X-Authorization | True |
|
This API requires a client session ticket, available from any Client Login function. |
Request Body
Name | Required | Type | Description |
---|---|---|---|
OrderId | True |
|
Purchase order identifier. |
Responses
Name | Type | Description |
---|---|---|
200 OK | ||
400 Bad Request |
This is the outer wrapper for all responses with errors |
Security
X-Authorization
This API requires a client session ticket, available from any Client Login function.
Type:
apiKey
In:
header
Definitions
Api |
The basic wrapper around every failed API response |
Get |
|
Get |
ApiErrorWrapper
The basic wrapper around every failed API response
Name | Type | Description |
---|---|---|
code |
|
Numerical HTTP code |
error |
|
Playfab error code |
errorCode |
|
Numerical PlayFab error code |
errorDetails |
|
Detailed description of individual issues with the request object |
errorMessage |
|
Description for the PlayFab errorCode |
status |
|
String HTTP code |
GetPurchaseRequest
Name | Type | Description |
---|---|---|
OrderId |
|
Purchase order identifier. |
GetPurchaseResult
Name | Type | Description |
---|---|---|
OrderId |
|
Purchase order identifier. |
PaymentProvider |
|
Payment provider used for transaction (If not VC) |
PurchaseDate |
|
Date and time of the purchase. |
TransactionId |
|
Provider transaction ID (If not VC) |
TransactionStatus |
|
PlayFab transaction status |
Error Codes
Name | Code |
---|---|
PurchaseDoesNotExist | 1080 |