Reconcilation Report

In this guide, we will look at how to retrieve reconcilation report using the token obtained from the previous step.


This endpoint allows you to retrieve reconcilation report with the provided token.

Request attributes

  • Name
    operatorId
    Type
    string
    Description

    Unique identifier for the operator. The operator can get the operator id from the support team

  • Name
    gameType
    Type
    string
    Description

    The game that need to be launched. Please refer the additional description page to get the gameType. Additional Description

  • Name
    userId
    Type
    string
    Description

    The user's id from the operator side

  • Name
    currency
    Type
    string
    Description

    The user's currency. Please refer the additional description page to see the supportive currency. Additional Description

  • Name
    timezone
    Type
    string
    Description

    The timezone for the report

  • Name
    startDateTime
    Type
    string
    Description

    The start time of the transactions (ISO format)

  • Name
    endDateTime
    Type
    string
    Description

    The end time of the transaction (ISO format)

  • Name
    apiSecret
    Type
    string
    Description

    The operator secret key. The operator can get the key from the interaction support

  • Name
    page
    Type
    number
    Description

    Pagination

  • Name
    limit
    Type
    number
    Description

    The number of record in a page.

Response attributes

  • Name
    errCode
    Type
    number
    Description

    The errCode

  • Name
    vals
    Type
    object
    Description

    The result parent data

  • Name
    vals.id
    Type
    number
    Description

    The random number for tracing

  • Name
    vals.type
    Type
    number
    Description

    The response type

  • Name
    vals.data
    Type
    Object
    Description

    The main information of response

Request

POST
{BASE_URL}/reconcile
curl --location '{BASE_URL}/reconcile' \
--header 'Content-Type: application/json' \
--data '{
    "currency": "USD",
    "timezone": "+8",     
    "startDateTime": "2024-11-10",     
    "endDateTime": "2024-11-11",     
    "apiSecret": "xxx",     
    "operatorId": "xx",
    “userId”: “xx”,
    “gameType”: “minesweeper”,
    "page": 1,   
    "limit": 5 
}'

Response

{
"errCode": 0,
"vals": {
    "type": 30,
    "id": 9386,
    "data": [
        {
            "id": 9229,
            "transaction_id": "xxxxe-c8d9-4ecb-8d3e-1ea2b2a1486e",
            "tx_type": "CREDIT",
            "reference_id": "xxxx-b2e4-47e0-9ead-e4121e5b3de6",
            "game_type": "minesweeper",
            "game_id": "xxx-b2e4-47e0-9ead-e4121e5b3de6",
            "user_id": "xxx",
            "operator_id": "xxx",
            "invoice_date": "2024-11-10T16:56:45.173Z",
            "status": "COMPLETED",
            "amount": "0.0000",
            "memo": null,
            "game_session": "xxxxx-15df-4e2e-bff0-258a6237ee36",
            "currency": "USD"
        },
    ],
    "totalCredit": 0,
    "totalDebit": 0.2,
    "net": -0.2,
    "page": 1,
    "limit": 5,
    "totalPages": 1
    }
}

Was this page helpful?