トランザクショントークン: Get
このリクエストでは、アプリトークン・シークレット・店舗IDを指定することで作成したトランザクショントークンの情報を取得することができます。
このルートではアプリケーショントークンのシークレットは必須です
Request
GET https://api.univapay.com/stores/{storeId}/tokens/{id}
Headers:
Content-Type: application/json
Authorization: Bearer {secret}.{jwt}
Body:
curl --request GET \
--url https://api.univapay.com/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": "7a3f2ca8-1848-11e7-a15c-e3a489692ad3",
"store_id": "af857264-180c-11e7-9be2-276aea4fed28",
"email": "e.montgomery@univapay.com",
"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"
}
}
}