カテゴリー:
Stripe
閲覧数:360 配信日:2019-02-10 11:37
Sourceオブジェクトのidプロパティ
The source object の idプロパティ
・支払元のid
’src_xxxx’
sourceオブジェクトの例
{
"id": "src_1AhIN74iJb0CbkEwmbRYPsd4",
"object": "source",
"amount": null,
"client_secret": "src_client_secret_xxxx",
"created": 1500471469,
"currency": null,
"flow": "none",
"livemode": false,
"metadata": {
},
"owner": {
"address": {
"city": "Berlin",
"country": "DE",
"line1": "Nollendorfstraße 27",
"line2": null,
"postal_code": "10777",
"state": null
},
"email": "jenny.rosen@example.com",
"name": "Jenny Rosen",
"phone": null,
"verified_address": null,
"verified_email": null,
"verified_name": null,
"verified_phone": null
},
"status": "chargeable",
"type": "card",
"usage": "reusable",
"card": {
"exp_month": 4,
"exp_year": 2024,
"address_line1_check": "unchecked",
"address_zip_check": "unchecked",
"brand": "Visa",
"country": "US",
"cvc_check": "unchecked",
"funding": "credit",
"last4": "4242",
"three_d_secure": "optional",
"tokenization_method": null,
"dynamic_last4": null
}
}
Cardオブジェクトのidプロパティ
The card object の idプロパティ
・cardオブジェクトのid
’card_xxxx’
cardオブジェクトの例
{
"id": "card_1EBXBSDuWL9wT9brGOaALeD2",
"object": "card",
"address_city": "San Francisco",
"address_country": "US",
"address_line1": "1234 Fake Street",
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"customer": "#{customer_id}",
"cvc_check": null,
"dynamic_last4": null,
"exp_month": 8,
"exp_year": 2024,
"fingerprint": "53v265akSHAnIk1X",
"funding": "credit",
"last4": "4242",
"metadata": {
},
"name": null,
"tokenization_method": null
}
Chargeオブジェクトのidプロパティ
The charge object の idプロパティ
・「\Stripe\Chargeオブジェクト」の一意の識別子
・1回限りの決済の情報を管理するid番号
’ch_xxxx’