---
updatedAt: 2026-05-11T10:32:40.000Z
agentTools:
  projectIndex: https://guides.sterasmartone.com/llms.txt
---

# Retrieve source

カスタマ情報を取得します。

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "version": "1.3.0",
    "title": "elepay API リファレンス",
    "description": "elepay APIはRESTをベースに構成された決済APIです。支払い処理、返金処理など、決済に関わる運用における様々なことができます。",
    "contact": {
      "name": "ELESTYLE, INC",
      "url": "https://elepay.io",
      "email": "support@elestyle.jp"
    }
  },
  "servers": [
    {
      "url": "https://api.elepay.io"
    }
  ],
  "tags": [
    {
      "name": "Customer"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    },
    {
      "basicAuth": []
    }
  ],
  "paths": {
    "/customers/{customerId}/sources/{sourceId}": {
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "Retrieve source",
        "description": "カスタマ情報を取得します。",
        "operationId": "retrieveSource",
        "parameters": [
          {
            "name": "customerId",
            "description": "Customer ID",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sourceId",
            "description": "Source ID",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json;charset=utf-8": {
                "schema": {
                  "$ref": "#/components/schemas/SourceDto"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic",
        "description": "API呼出すの認証は、秘密鍵をユーザーネームとして扱い、パスワードは省略して、Basic 認証経由で行われます。\n秘密鍵は、全ての API リクエスト操作が可能となる重要なキーなので、取扱いにご注意ください。\n"
      },
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "API呼出すの認証は、秘密鍵を認証トークンとして扱い、Bearer 認証経由で行われます。\n秘密鍵は、全ての API リクエスト操作が可能となる重要なキーなので、取扱いにご注意ください。\n"
      }
    },
    "schemas": {
      "PaymentMethodType": {
        "description": "決済方法\n- auto 自動識別(CPM決済のみ利用可能)\n- alipay アリペイ\n- alipayhk アリペイHK\n- alipayplus Alipay+\n- amazonpay Amazon Pay\n- applepay Apple Pay\n- applepay_cn Apple Pay(中国)\n- atokara アトカラ\n- atone atone(コンビニで翌月払い)\n- aupay au Pay\n- clicktopay Click To Pay\n- banktransfer 銀行振込\n- creditcard クレジットカード\n- dana DANA\n- docomopay d払い\n- ezlink EZ-Link\n- felica 電子マネー\n- felica_id iD\n- felica_quickpay QUICPay\n- felica_transport_ic 交通系ICカード\n- gcash GCash\n- ginkopay 銀行Pay\n- googlepay Google Pay\n- jcoinpay J-Coin Pay\n- jkopay JKOPAY\n- kakaopay Kakao Pay\n- konbini コンビニ決済\n- linepay LINE Pay\n- merpay メルペイ\n- origamipay Origami Pay\n- paidy Paidy 翌月払い\n- paypal PayPal\n- paypay PayPay\n- pxpayplus 全支付\n- rakutenpay 楽天ペイ\n- smartcode スマートコード\n- tng Touch 'n Go eWallet\n- truemoney TrueMoney\n- unionpay 雲閃付\n- wechatpay Wechat Pay\n- aeonpay AEON Pay\n- rabbitlinepay Rabbit LINE Pay\n- bpi BPI\n- boost Boost\n- hellomoney HelloMoney by AUB\n- tosspay Toss Pay\n- naverpay Naver Pay\n- wellwa WellWa Points\n- grabpay Grab Pay\n- momopay Momo Pay\n- promptpay Prompt Pay\n- wovenpay Woven City Pay\n- ezopay EZO Pay\n",
        "type": "string",
        "enum": [
          "alipay",
          "alipayhk",
          "alipayplus",
          "amazonpay",
          "applepay",
          "applepay_cn",
          "atokara",
          "atone",
          "aupay",
          "clicktopay",
          "banktransfer",
          "creditcard",
          "dana",
          "docomopay",
          "ezlink",
          "felica",
          "felica_id",
          "felica_quickpay",
          "felica_transport_ic",
          "gcash",
          "ginkopay",
          "googlepay",
          "jcoinpay",
          "jkopay",
          "kakaopay",
          "konbini",
          "linepay",
          "merpay",
          "origamipay",
          "paidy",
          "paypal",
          "paypay",
          "pxpayplus",
          "rakutenpay",
          "smartcode",
          "tng",
          "truemoney",
          "unionpay",
          "wechatpay",
          "aeonpay",
          "rabbitlinepay",
          "bpi",
          "boost",
          "hellomoney",
          "tosspay",
          "naverpay",
          "wellwa",
          "grabpay",
          "momopay",
          "promptpay",
          "wovenpay",
          "ezopay",
          "auto"
        ]
      },
      "ResourceType": {
        "description": "決済リソース\n- web WEBブラウザ\n- ios iOS Nativeアプリ\n- android Android Nativeアプリ\n- liff Line LIFFアプリ\n- mini WeChatミニプログラム\n- cpm CPM決済、利用者提示型QRコード\n- mpm MPM決済、店舗側提示型QRコード\n- reader カードリーダー決済(リーダー設備が必要)\n- posapp POSアプリ決済(POSアプリが連携必要)\n",
        "type": "string",
        "enum": [
          "web",
          "ios",
          "android",
          "liff",
          "mini",
          "cpm",
          "mpm",
          "reader",
          "posapp"
        ]
      },
      "CardBrandType": {
        "description": "- unknown\n- visa\n- mastercard\n- amex\n- jcb\n- diners\n- unionpay\n- discover\n- felica\n- seven_eleven\n- lawson\n- familymart\n- ministop\n- seicomart\n",
        "type": "string"
      },
      "SourceStatusType": {
        "description": "カスタマソースステータス\n- pending 未承認\n- active 承認済み\n- failed 承認失敗\n- inactive 承認済みだが、現在は利用不可\n- deleted 削除済みあるいは失効\n",
        "type": "string",
        "enum": [
          "pending",
          "active",
          "failed",
          "inactive",
          "deleted"
        ]
      },
      "SourceDto": {
        "description": "カスタマソースオブジェクト",
        "properties": {
          "id": {
            "description": "Source ID",
            "type": "string",
            "maxLength": 32
          },
          "object": {
            "description": "対象種類の表記",
            "type": "string",
            "default": "source"
          },
          "liveMode": {
            "description": "本番モードかどうか\n- false テストモード\n- true 本番モード\n",
            "type": "boolean"
          },
          "paymentMethod": {
            "$ref": "#/components/schemas/PaymentMethodType"
          },
          "resource": {
            "$ref": "#/components/schemas/ResourceType"
          },
          "description": {
            "description": "カスタマソースに関する説明",
            "type": "string",
            "maxLength": 255
          },
          "extra": {
            "description": "カスタマソースエキストラデータ",
            "type": "object",
            "maxProperties": 20,
            "propertyNames": {
              "type": "string",
              "maxLength": 20
            },
            "additionalProperties": {
              "type": "string"
            }
          },
          "info": {
            "description": "カスタマソース情報",
            "type": "object",
            "additionalProperties": {
              "type": "object"
            }
          },
          "cardInfo": {
            "$ref": "#/components/schemas/CardInfo"
          },
          "metadata": {
            "description": "メタデータ",
            "type": "object",
            "maxProperties": 20,
            "propertyNames": {
              "type": "string",
              "maxLength": 20
            },
            "additionalProperties": {
              "type": "string"
            }
          },
          "credential": {
            "description": "Client SDK の認証情報",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/SourceStatusType"
          }
        }
      },
      "CardInfo": {
        "type": "object",
        "description": "カード情報やウォレット情報",
        "properties": {
          "brand": {
            "$ref": "#/components/schemas/CardBrandType"
          },
          "last4": {
            "description": "カード番号の下四桁",
            "type": "string"
          },
          "expMonth": {
            "description": "有効期限月",
            "type": "integer"
          },
          "expYear": {
            "description": "有効期限年",
            "type": "integer"
          },
          "name": {
            "description": "カード保有者名",
            "type": "string"
          },
          "issuerCode": {
            "description": "カード発行会社コード（GMO決済のみ）\nGMO-PG「仕向先カード会社コード」に準拠\n",
            "type": "string"
          },
          "issuerName": {
            "description": "カード発行会社名（GMO決済のみ）\nGMO-PG「仕向先カード会社コード」に対応する会社名\n",
            "type": "string"
          },
          "wallet": {
            "description": "ウォレット情報",
            "type": "string"
          },
          "walletApp": {
            "description": "ウォレットアプリ情報(paymentMethodはalipayplusやsmartcodeの場合は、実際利用しているアプリ名)",
            "type": "string"
          },
          "repaymentType": {
            "description": "リペイメントタイプ\n- 1 一括払い\n- revolving リボ払い\n- bonus_one_time ボーナス一括払い\n- 2 分割2回払い\n- 3 分割3回払い\n",
            "type": "string"
          },
          "approvalCode": {
            "description": "承認コード",
            "type": "string"
          },
          "threeDSecure": {
            "description": "3Dセキュア有無",
            "type": "boolean"
          },
          "threeDSecureVersion": {
            "description": "3Dセキュアバージョン",
            "type": "string"
          },
          "threeDSecureDetail": {
            "description": "3Dセキュア詳細情報",
            "type": "string"
          },
          "businessType": {
            "description": "ビジネスタイプ",
            "type": "string"
          },
          "konbiniScanTime": {
            "description": "コンビニがラストスキャンする日時",
            "type": "integer",
            "format": "int64"
          },
          "konbiniType": {
            "description": "実際支払い時のコンビニタイプ\n- unknown\n- seven_eleven\n- lawson\n- familymart\n- ministop\n- seicomart\n",
            "type": "string"
          },
          "receivedAmount": {
            "description": "コンビニ、または銀行から実際入金の金額",
            "type": "integer"
          },
          "receivedTime": {
            "description": "コンビニ、または銀行に実際入金の日時、この数値が年月日のみ（零時）の可能性もある",
            "type": "integer",
            "format": "int64"
          },
          "bankUserCode": {
            "description": "銀行、振り込んだユーザーのコード",
            "type": "string"
          },
          "bankUserName": {
            "description": "銀行、振り込んだユーザーの名義",
            "type": "string"
          },
          "bankName": {
            "description": "振り込められた銀行名",
            "type": "string"
          },
          "bankBranchName": {
            "description": "振り込められた銀行支店名",
            "type": "string"
          },
          "bankAccountNo": {
            "description": "振り込められた銀行番号",
            "type": "string"
          },
          "billingNo": {
            "description": "請求番号（決済ステーション用）",
            "type": "string"
          }
        }
      }
    }
  }
}
```