チェックアウト情報: Get
このリクエストはウィジェットを開いた際に自動的に送られ、店舗の支払いのための設定を確認することができます。
ウィジェットを開かなくても、アプリトークンを指定して下記リクエストを送ることで確認可能です。
Request
GET https://api.univapay.com/checkout_info
Headers:
Authorization: Bearer {jwt}
Body:
curl --request GET \
--url https://api.univapay.com/checkout_info \
--header 'Authorization: Bearer {jwt}'
Response
Code: 200
Headers:
Content-Type: application/json
Body:
{
"recurring_card_charge_cvv_confirmation": {
"threshold": null,
"enabled": false
},
"theme": {
"colors": {
"base_text": "#000000",
"secondary_text": "#222222",
"primary_text": "#fafafa",
"main_text": "#838383",
"main_color": "#fafafa",
"secondary_background": "#ee7a00",
"main_background": "#fafafa"
}
},
"logo_image": "https://example.com/logo.png",
"convenience_configuration": {
"enabled": true
},
"qr_scan_configuration": {
"forbidden_qr_scan_gateways": null,
"enabled": false
},
"card_configuration": {
"allow_empty_cvv": null,
"card_limit": null,
"fail_on_new_email": false,
"foreign_cards_allowed": true,
"allowed_countries_by_ip": null,
"forbidden_card_brands": [],
"prepaid_enabled": true,
"debit_enabled": true,
"enabled": true
},
"name": "Test Store",
"recurring_token_privilege": "none",
"mode": "test"
}