課金 – GET(銀行振込)
銀行振込の課金オブジェクトに対するGETリクエストには以下が必要です。(括弧内は入力箇所)
- 店舗ID(URLの
{storeId}
部分) - 課金ID(URLの
{chargeId}
部分) - シークレット(Headerの
{secret}
部分) - 加盟店種類のアプリトークン(Headerの
{jwt}
部分)
リクエスト
CommandとHeader
curl --request GET \
--url https://api.univapay.com/stores/{storeId}/charges/{chargeId}/bank_transfer_ledgers \
--header 'Authorization: Bearer {secret}.{jwt}'
記述例
curl --request GET \
--url https://api.univapay.com/stores/11edf541-c42d-653c-8c3d-dfe0a55f95c0/charges/11ef32c4-9ea8-169c-a6c8-bfc29867a226/bank_transfer_ledgers \
--header 'Authorization: Bearer {secret}.{jwt}'
レスポンス
下記は記述例でリクエストした場合の例です。
CodeとHeader
- Code:
200
- Header:
Content-Type: application/json
Body
{
"items": [
{
"bank_ledger_type": "payment",
"amount": 1000,
"balance": 0,
"virtual_bank_account_holder_name": "test holder name",
"virtual_bank_account_number": "1234567",
"virtual_account_id": "test account id",
"transaction_date": "2024-06-25",
"transaction_timestamp": "2024-06-25T07:29:16.367347Z",
"mode": "test",
"created_on": "2024-06-25T07:29:16.373181Z"
},
{
"bank_ledger_type": "deposit",
"amount": 1000,
"balance": 1000,
"virtual_bank_account_holder_name": "test holder name",
"virtual_bank_account_number": "1234567",
"virtual_account_id": "test account id",
"transaction_date": "2024-06-25",
"transaction_timestamp": "2024-06-25T07:29:16.36731Z",
"mode": "test",
"created_on": "2024-06-25T07:29:16.368093Z"
}
],
"has_more": false,
"total_hits": 2
}