Logoelepay
Customer

List sources by customer ID

カスタマソース情報を一覧で取得します。

GET
/customers/{customerId}/sources
AuthorizationBearer <token>

API呼出すの認証は、秘密鍵を認証トークンとして扱い、Bearer 認証経由で行われます。 秘密鍵は、全ての API リクエスト操作が可能となる重要なキーなので、取扱いにご注意ください。

In: header

Path Parameters

customerId*string

Customer ID

Query Parameters

paymentMethod?string

決済方法

Value in"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" | "auto"

Response Body

application/json;charset=utf-8

curl -X GET "https://api.elepay.io/customers/string/sources"
{
  "total": 0,
  "sources": [
    {
      "id": "string",
      "object": "source",
      "liveMode": true,
      "paymentMethod": "alipay",
      "resource": "web",
      "description": "string",
      "extra": {
        "property1": "string",
        "property2": "string"
      },
      "info": {
        "property1": {},
        "property2": {}
      },
      "cardInfo": {
        "brand": "string",
        "last4": "string",
        "expMonth": 0,
        "expYear": 0,
        "name": "string",
        "wallet": "string",
        "walletApp": "string",
        "repaymentType": "string",
        "approvalCode": "string",
        "threeDSecure": true,
        "threeDSecureVersion": "string",
        "threeDSecureDetail": "string",
        "businessType": "string",
        "konbiniScanTime": 0,
        "konbiniType": "string",
        "receivedAmount": 0,
        "receivedTime": 0,
        "bankUserCode": "string",
        "bankUserName": "string",
        "bankName": "string",
        "bankBranchName": "string",
        "bankAccountNo": "string"
      },
      "metadata": {
        "property1": "string",
        "property2": "string"
      },
      "credential": "string",
      "status": "pending"
    }
  ]
}