支払区分情報取得
POST
/api_v1_system_paymentmethod/info
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" \ -d 'access_token=xxxxxxxxxxxxxx&refresh_token=xxxxxxxxxxxxxx&wait_flag=1' \ "https://api.next-engine.org/api_v1_system_paymentmethod/info"// POST /api_v1_system_paymentmethod/info - 支払区分情報取得const params = new URLSearchParams({ access_token: '<access_token>',})const res = await fetch('https://api.next-engine.org/api_v1_system_paymentmethod/info', { method: 'POST', headers: { 'content-type': 'application/x-www-form-urlencoded' }, body: params,})const json = await res.json()if (json.result !== 'success') throw new Error(json.message ?? json.code)console.log(json.data)# POST /api_v1_system_paymentmethod/info - 支払区分情報取得import requests
params = { 'access_token': '<access_token>',}res = requests.post( 'https://api.next-engine.org/api_v1_system_paymentmethod/info', data=params,)json = res.json()if json['result'] != 'success': raise RuntimeError(json.get('message') or json.get('code'))print(json.get('data'))Request Body required
Section titled “Request Body required ” Media type application/x-www-form-urlencoded
ネクストエンジン API 共通リクエストパラメータ
object
access_token
required
OAuth2 アクセストークン (必須)
string
refresh_token
OAuth2 リフレッシュトークン (access_token 期限切れ時の自動更新に使用)
string
wait_flag
同期実行フラグ。“1” 指定で処理完了を待つ
string
fields
取得するフィールドをカンマ区切りで指定 (search 系のみ)
string
offset
検索開始位置 (search 系のみ)
integer
limit
取得件数 (search 系のみ)
integer
Responses
Section titled “ Responses ”実行結果 (result が success / error / redirect のいずれか)
Media type application/json
object
result
required
実行結果ステータス
string
code
エラー時のエラーコード
string
message
One of:
string
Array<object>
object
access_token
更新後のアクセストークン
string
access_token_end_date
アクセストークン有効期限 (YYYY-MM-DD HH:MM:SS)
string
refresh_token
更新後のリフレッシュトークン
string
refresh_token_end_date
リフレッシュトークン有効期限
string
data
エンドポイント固有のレスポンスデータ
count
Count/search 系のヒット件数 (form-urlencoded レスポンスでは文字列で返ることがある)
integer | string
data
Array<object>
object
payment_method_id
支払区分 / 文字列型
string | integer | number | boolean | null
payment_method_name
支払名 / 文字列型
string | integer | number | boolean | null
payment_method_deleted_flag
非表示フラグ / 数値型 / 1:非表示になっている区分 0:表示されている区分
string | integer | number | boolean | null
key
additional properties
any
Example
{ "result": "success", "count": "47", "data": [ { "payment_method_id": "0", "payment_method_name": "クレジットカード" }, { "payment_method_id": "1", "payment_method_name": "代金引換" }, { "payment_method_id": "15", "payment_method_name": "銀行振込前払い" }, { "payment_method_id": "16", "payment_method_name": "銀行振込後払い" }, { "payment_method_id": "20", "payment_method_name": "郵便振替" }, { "payment_method_id": "21", "payment_method_name": "現金書留" }, { "payment_method_id": "51", "payment_method_name": "auかんたん決済" }, { "payment_method_id": "30", "payment_method_name": "まとめてau支払い" }, { "payment_method_id": "31", "payment_method_name": "モバイルSuica" }, { "payment_method_id": "32", "payment_method_name": "コンビニ決済" }, { "payment_method_id": "33", "payment_method_name": "ペイジー決済" }, { "payment_method_id": "34", "payment_method_name": "NP後払い" }, { "payment_method_id": "35", "payment_method_name": "ローソン前払" }, { "payment_method_id": "36", "payment_method_name": "セブンイレブン前払" }, { "payment_method_id": "40", "payment_method_name": "楽天バンク決済" }, { "payment_method_id": "41", "payment_method_name": "S!まとめて支払い" }, { "payment_method_id": "42", "payment_method_name": "ドコモケータイ払い" }, { "payment_method_id": "43", "payment_method_name": "iD決済" }, { "payment_method_id": "44", "payment_method_name": "Yahoo!かんたん決済" }, { "payment_method_id": "45", "payment_method_name": "ウェブマネー決済" }, { "payment_method_id": "46", "payment_method_name": "楽天銀行" }, { "payment_method_id": "47", "payment_method_name": "Edy決済 " }, { "payment_method_id": "48", "payment_method_name": "Amazonペイメント" }, { "payment_method_id": "49", "payment_method_name": "ジャパンネット銀行" }, { "payment_method_id": "50", "payment_method_name": "後払い.com" }, { "payment_method_id": "52", "payment_method_name": "ペイジェント決済" }, { "payment_method_id": "53", "payment_method_name": "クレジットカード(pg)" }, { "payment_method_id": "54", "payment_method_name": "コンビニ決済(pg)" }, { "payment_method_id": "55", "payment_method_name": "銀行ネット決済(pg)" }, { "payment_method_id": "56", "payment_method_name": "ATM決済(pg)" }, { "payment_method_id": "57", "payment_method_name": "携帯キャリア決済(pg)" }, { "payment_method_id": "58", "payment_method_name": "ペーパーレス決済" }, { "payment_method_id": "59", "payment_method_name": "Qoo10" }, { "payment_method_id": "60", "payment_method_name": "Paypal" }, { "payment_method_id": "61", "payment_method_name": "@払い" }, { "payment_method_id": "63", "payment_method_name": "ソフトバンクまとめて支払い" }, { "payment_method_id": "64", "payment_method_name": "アトディーネ" }, { "payment_method_id": "65", "payment_method_name": "Yahoo!マネー/預金払い" }, { "payment_method_id": "66", "payment_method_name": "クロネコ代金後払い" }, { "payment_method_id": "80", "payment_method_name": "前払決済" }, { "payment_method_id": "85", "payment_method_name": "ポイント全額支払い" }, { "payment_method_id": "90", "payment_method_name": "サンプル・貸し出し" }, { "payment_method_id": "91", "payment_method_name": "国際取引決済" }, { "payment_method_id": "95", "payment_method_name": "掛売" }, { "payment_method_id": "96", "payment_method_name": "その他" }, { "payment_method_id": "70", "payment_method_name": "その他2" }, { "payment_method_id": "99", "payment_method_name": "支払済" } ], "access_token": "xxxxxxxxxxx", "access_token_end_date": "2017-04-13 18:24:53", "refresh_token": "xxxxxxxxxxx", "refresh_token_end_date": "2017-04-15 18:24:53"}クライアントエラー (HTTP ステータス自体は 200 + result=error で返ることが多い)
Media type application/json
object
result
required
実行結果ステータス
string
code
エラー時のエラーコード
string
message
One of:
string
Array<object>
object
access_token
更新後のアクセストークン
string
access_token_end_date
アクセストークン有効期限 (YYYY-MM-DD HH:MM:SS)
string
refresh_token
更新後のリフレッシュトークン
string
refresh_token_end_date
リフレッシュトークン有効期限
string
data
エンドポイント固有のレスポンスデータ
count
Count/search 系のヒット件数 (form-urlencoded レスポンスでは文字列で返ることがある)
integer | string
Example
{ "result": "success"}