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

このルートではアプリケーショントークンのシークレットは任意です

Request

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

Headers:

Content-Type: application/json
Authorization: Bearer {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 {jwt}'

Response

Code: 200

Headers:

Content-Type: application/json

Body:

{
  "id": "7a3f2ca8-1848-11e7-a15c-e3a489692ad3",
  "store_id": "af857264-180c-11e7-9be2-276aea4fed28",
  "email": "e.montgomery@gyro-n.money",
  "payment_type": "card",
  "mode": "test",
  "metadata": {},
  "created_on": 1491208522575,
  "last_used_on": null,
  "data": {
    "card": {
      "cardholder": "TARO MOMO",
      "exp_month": 12,
      "exp_year": 2018,
      "last_four": "3284",
      "brand": "visa",
      "country": "BR",
      "category": "classic",
      "issuer": "BANCO SANTANDER BRASIL, S.A.",
      "sub_brand": "none"
    },
    "billing": {
      "line1": "123 abc st",
      "line2": "apt 123",
      "state": "OR",
      "city": "Portland",
      "country": "US",
      "zip": "12345",
      "phone_number": {
        "country_code": 1,
        "local_number": "8029854583"
      }
    },
    "cvv_authorize": {
      "enabled": true,
      "status": "current",
      "currency": "JPY",
      "charge_id": "8fb15bae-119b-4e57-8504-ae7230c68139",
      "credentials_id": "e093d719-0c07-4597-b14b-c4a504832aca"
    }
  }
}