payment-gateway - 如何在 opayo pi 中获取保存的 cardIdentifier?
问题描述
我正在使用 opayo pi https://developer-eu.elavon.com/docs/opayo为付款进行后端开发
我有个疑问。在他们说的文档中,我们需要cardIdentifier
在进行交易之前创建一个。看到这个。https://developer-eu.elavon.com/docs/opayo/spec/api-reference-0#tag/Card-Identifiers
"save": true
我们可以在创建交易时
将其作为可重复使用的卡。https://developer-eu.elavon.com/docs/opayo/tokens-reusable-identifiers#reusing-the-token
https://developer-eu.elavon.com/docs/opayo/spec/api-reference-0 #操作/创建事务
并且,下次我们可以通过仅提供cvv
(securityCode) 来使用它。我们不需要提供卡的详细信息,例如cardholderName, cardNumber, expiryDate
。
他们说,
If you are using a reusable card identifier and require a security code check, you will need to link the reusable card identifier with the security code.
请参阅此处https://developer-eu.elavon.com/docs/opayo/spec/api-reference-0#operation/linkCi。
我的问题是,
我们如何知道它是一张可重复使用的卡片,以及如何在cardIdentifier
不发送卡片详细信息的情况下获取(已保存)。因为链接卡标识符的 POST 请求是 https://pi-test.sagepay.com/api/v1/card-identifiers/{cardIdentifier}/security-code所以需要{cardIdentifier}
.
如果有人在使用此 API,请清除我的疑问。
解决方案
推荐阅读
- android - 串行或并行:机器人测试实验室的设备测试订单
- c# - 安装的 nuget 包缺少文件
- python - 如何找到字符串中的所有Occurance
- java - Docker-compose 与 MySql 的容器连接不起作用
- javascript - 当我单击关闭表单的按钮时,为什么我的 HTML 网页会刷新
- visual-studio-2017 - VS2017 - 尝试将 nuget 包保存到 Xamarin 文件夹中 - 为什么?
- neo4j - 与 Cypher 中的聚合函数 min() 匹配最短距离
- google-sheets - 具有多个和空白(忽略)条件的 Google 表格查询功能
- loops - 带有循环的 Anylogic 状态图可将 3 个套件设置为空闲或计划
- javascript - 在数组中,将每个元素与每个元素进行比较并显示差异