List(リスト) オブジェクト
いくつかのAPIリクエストはオブジェクトのリストを返し、大量の結果セット をページングできるようにします。 リストはデフォルトで古い順に配信され ます。
Attributes
| Name | Type | Description | 
|---|---|---|
| object | string | 固定値   | 
        
| location | string | 現在の  | 
        
| data | array | 返されたオブジェクトの配列(課金、カード等)。  | 
        
| from | string | ISO 8601 形式(  | 
        
| limit | integer | 返されるレコードの数。  | 
        
| offset | integer | 返される最初のレコードのオフセット(先頭からスキップするレコードの数)。  | 
        
| order | string | listのオーダーが  | 
        
| to | string | ISO 8601形式 (  | 
        
| total | integer | 
  | 
        
Example
- 
        
JSON Response
{ "object": "list", "from": "1970-01-01T00:00:00Z", "to": "2019-07-23T01:19:35Z", "offset": 0, "limit": 20, "total": 0, "order": "chronological", "location": "/customers/cust_test_no1t4tnemucod0e51mo/cards", "data": [ { "object": "card", "id": "card_test_5fvso3hd5sdlh2n47u1", "livemode": false, "location": "/customers/cust_test_5fvso4s8fo3tluea6lb/cards/card_test_5fvso3hd5sdlh2n47u1", "created_at": "2019-05-13T04:36:56Z", "deleted": false, "street1": null, "street2": null, "city": "Bangkok", "state": null, "postal_code": "10320", "country": "gb", "phone_number": null, "financing": "credit", "bank": "Bank of the Unbanked", "last_digits": "4242", "brand": "Visa", "expiration_month": 12, "expiration_year": 2022, "fingerprint": "XjOdjaoHRvUGRfmZacMPcJtm0U3SEIIfkA7534dQeVw=", "name": "Somchai Prasert", "security_code_check": true } ] }