从Globalcollect Payment Gateway Api创建信用卡令牌

时间:2016-07-20 11:30:44

标签: c# json paypal payment-gateway

我正在尝试在Globalcollect支付网关上创建token。我无法弄清楚我的问题。

我的请求为JSON:

{
    "paymentProductId": 705,
    "card": {
        "alias": null,
        "customer": {
            "billingAddress": {
                "additionalInfo": null,
                "city": "fasdfasdf",
                "countryCode": "MX",
                "houseNumber": null,
                "state": null,
                "stateCode": null,
                "street": null,
                "zip": "23423"
            }
        },
        "data": {
            "cardWithoutCvv": {
                "cardNumber": "4567-3500-0042-7977",
                "cardholderName": "test",
                "expiryDate": "1220",
                "issueNumber": null
            }
        }
    }
}

但我得到UNKNOWN DATATYPE CREDITCARDNUMBER问题: -

  {
       "errorId" : "589ea6d9-9047-4b20-bd33-41f06d27e52b",
       "errors" : [ {
          "code" : "21000000",
          "requestId" : "388215",
          "message" : "UNKNOWN DATATYPE CREDITCARDNUMBER",
          "httpStatusCode" : 500
       } ]
    }

谢谢..!

0 个答案:

没有答案