トランザクショントークン: Get

このリクエストでは、アプリトークン・シークレット・店舗IDを指定することで作成したトランザクショントークンの情報を取得することができます。
このルートではアプリケーショントークンのシークレットは必須です

Request

GET https://api.gyro-n.money/stores/{storeId}/tokens/{id}

Headers:

Content-Type: application/json
Authorization: Bearer {secret}.{jwt}

Body:

curl --request GET \
--url https://api.gyro-n.money/stores/af857264-180c-11e7-9be2-276aea4fed28/tokens/7a3f2ca8-1848-11e7-a15c-e3a489692ad3 \
--header 'Authorization: Bearer {secret}.{jwt}
'

Response

Code: 200

Headers:

Content-Type: application/json

Body:

{
 "id": "eda2b8-5a51-18e2-bb4c-0798abfbaa",
 "merchant_id": "11e3-ed43-3ba4-a6da-0b476d41",
 "store_id": "1da54-17a0-1c78-bd0f-770d700f",
 "email": "test@gyro-n.money",
 "payment_type": "card",
 "active": false,
 "mode": "test",
 "type": "one_time",
 "ip_address": "124.37.114.34",
 "usage_limit": null,
 "confirmed": null,
 "metadata":{
  "univapay-link-id": "11ed10d45-47f-bd92-a8ff-23ba004d9954",
  "univapay-phone-number": "0364413400",
  "univapay-product-names": ""
 },

 "created_on": "2023-02-02T05:13:39.128839Z",
 "updated_on": "2023-02-02T05:13:39.401862Z",
 "last_used_on": "2023-02-02T05:13:39.407991Z",
 "data":{
  "card":{
   "cardholder": "TEST TEST",
   "exp_month": 12,
   "exp_year": 2023,
   "card_bin": "400002",
   "last_four": "0000",
   "brand": "visa",
   "card_type": "credit",
   "country": "US",
   "category": "classic",
   "issuer": "RIVER VALLEY C.U.",
   "sub_brand": "none"
   },

   "billing":{
   "line1": null,
   "line2": null,
   "state": null,
   "city": null,
   "country": null,
   "zip": null,
   "phone_number":{"country_code": 81, "local_number": "0364413400"}
   },

  "cvv_authorize":{
  "enabled": false,
  "status": null,
  "charge_id": null,
  "credentials_id": null,
  "currency": null
  },

  "cvv_authorize_check":{
  "status": null,
  "charge_id": null,
  "date": null
  }
 }
}