トランザクション: List

Request

GET https://api.univapay.com/stores/{storeId}/transaction_history
すべての店舗を表示する
GET https://api.univapay.com/transaction_history

Parameters:

Parameters
fromstring (ISO-8601)
指定された日時以降で絞り込み。

例)2024年1月23日の場合
2024-01-23T00:00:00Z
tostring (ISO-8601)
指定された日時以前で絞り込み。

例)2024年1月23日の場合
2024-01-23T00:00:00Z
searchstring
課金ID, 返金ID, メタデータの情報、カード名義人名、カード名義人メールアドレス、カード番号下4桁のいずれかで絞り込み。
typestring
charge refundのいずれか
statusstring
状態で絞り込み。課金 もしくは 返金 の状態のいずれか
modestring
実行モードで絞り込み。liveまたはtest

Headers:

Authorization: Bearer {secret}.{jwt}

Body:

curl --request GET \
--url https://api.univapay.com/stores/37ff5664-18c6-11e7-8221-ff4914d76afc/transaction_history?from=2024-03-25T00:00:00Z&to=2024-03-26T00:00:00Z \
--header 'Authorization: Bearer {secret}.{jwt}'
List charges for all stores
curl --request GET \
--url https://api.univapay.com/transaction_history?from=2024-03-25T00:00:00Z&to=2024-03-26T00:00:00Z \
--header 'Authorization: Bearer {secret}.{jwt}'

Response

Code: 200

Headers:

Content-Type: application/json

Body:

{
    "items": [
        {
            "store_id": "11edf541-c42d-653c-8c3d-dfe0a55f95c0",
            "resource_id": "11eeeb30-ff1a-52aa-a152-e399e2b169bb",
            "charge_id": null,
            "amount": 100,
            "currency": "JPY",
            "amount_formatted": 100,
            "type": "charge",
            "status": "successful",
            "metadata": {},
            "created_on": "2024-03-25T05:23:36.59345Z",
            "mode": "test",
            "merchant_name": "Univapaycast_DEMO",
            "store_name": "Univapaycast_DEMOSTORE",
            "payment_type": "card",
            "user_data": {
                "type": "charge",
                "cardholder_name": "taro univa",
                "cardholder_email_address": "test.test1@univapay.com",
                "brand": "visa",
                "gateway": "test",
                "service_provider": "test",
                "refunds": []
            },
            "bank_transfer_payment_status": null,
            "bank_transfer_latest_deposit_date": null
        },
        {
            "store_id": "11edf541-c42d-653c-8c3d-dfe0a55f95c0",
            "resource_id": "11eeeb03-ded1-fbf6-ba30-1bce3009ad21",
            "charge_id": null,
            "amount": 100,
            "currency": "JPY",
            "amount_formatted": 100,
            "type": "charge",
            "status": "successful",
            "metadata": {},
            "created_on": "2024-03-26T05:23:36.59345Z",
            "mode": "test",
            "merchant_name": "Univapaycast_DEMO",
            "store_name": "Univapaycast_DEMOSTORE",
            "payment_type": "card",
            "user_data": {
                "type": "charge",
                "cardholder_name": "hanako univa",
                "cardholder_email_address": "test.test2@univapay.com",
                "brand": "master",
                "gateway": "test",
                "service_provider": "test",
                "refunds": []
            },
            "bank_transfer_payment_status": null,
            "bank_transfer_latest_deposit_date": null
        },

<中略>

    "has_more": true,
    "total_hits": 50
}