Get Transaction
Retrieves information about specific transaction(s).
![]() | How to use Mobage Bank API For more details on how to use the Mobage Bank API, please refer to the following pages. ngCore SDK | Native SDK | Unity SDK |
URI Fragment
/bank/debit/@app/{-list|,|transactionId}
Supported Signing Methods
OAuth2 Authorization
![]() | Please refer here for the details of authentication flow and here for how to sign request to generate the Authorization header. |
HTTP Method
GET
Request Header
- The Authorization header is necessary for this call to succeed. Use "Authorization: bearer oauth2_token" as shown in below samples for this API.
URL Query Parameters
None.
Request Body
None.
Response Status Code
HTTP Status Code |
HTTP Status Message |
Meaning |
---|---|---|
200 |
OK |
Data successfully acquired |
400 |
Bad Request |
Corrupt request data on the client side |
401 |
Unauthorized |
Authorization error |
403 |
Forbidden |
The resource exists, but access is not possible due to a reason other than an authorization error. |
404 |
Not Found |
The resource does not exist. |
500 |
Internal Server Error |
An error on the API server side |
503 |
Service Unavailable |
The API cannot be used temporarily |
Response Body
- The transaction object(s) with following parameters in JSON format for the specified transaction if successful.
- Content-Type: application/json; charset=utf-8
Parameter Name |
Description |
---|---|
published |
The date and time when the transaction is created |
comment |
Comment for the transaction |
id |
The transaction ID |
updated |
The date and time when the transaction is updated |
items |
An array containing items in this transaction. Only one item is allowed currently. |
items[].item |
An object with following details |
items[].item.imageUrl |
URL to an image file that represents the item |
items[].item.name |
The item name |
items[].item.id |
The item ID. |
items[].item.price |
The item price. |
items[].item.description |
Description of the item. |
items[].quantity |
Number of items to purchase in this transaction. |
state |
The current state of the transaction. |