用于卡支付的 Paysafe POSTMAN 404
Paysafe POSTMAN 404 for cardpayments
我无法运行进行适当的交易。我不会马上编码。我想先用 POSTMAN 测试它,但我似乎 运行 遇到了问题。
我正在使用以下端点
https://api.test.paysafe.com/cardpayments/v1/accounts/89994061
示例请求(代码)
> {
> "merchantRefNum": "ORDER_ID:12312",
> "amount": 10098,
> "settleWithAuth": true,
> "card": {
> "cardNum": "4111111111111111",
> "cardExpiry": {
> "month": 2,
> "year": 2017
> },
> "cvv":111
> },
> "billingDetails": {
> "zip": "M5H 2N2"
> } }
示例响应(代码)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">
<HTML>
<HEAD>
<TITLE>Error 404--Not Found</TITLE>
</HEAD>
<BODY bgcolor="white">
<FONT FACE=Helvetica>
<BR CLEAR=all>
<TABLE border=0 cellspacing=5>
<TR>
<TD>
<BR CLEAR=all>
<FONT FACE="Helvetica" COLOR="black" SIZE="3">
<H2>Error 404--Not Found</H2>
</FONT>
</TD>
</TR>
</TABLE>
<TABLE border=0 width=100% cellpadding=10>
<TR>
<TD VALIGN=top WIDTH=100% BGCOLOR=white>
<FONT FACE="Courier New">
<FONT FACE="Helvetica" SIZE="3">
<H3>From RFC 2068
<i>Hypertext Transfer Protocol -- HTTP/1.1</i>:
</H3>
</FONT>
<FONT FACE="Helvetica" SIZE="3">
<H4>10.4.5 404 Not Found</H4>
</FONT>
<P>
<FONT FACE="Courier New">The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
</p>
<p>If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
</FONT>
</P>
</FONT>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
端点似乎不正确。我从你们的开发者中心收到了这个。哪里不对?
您的端点似乎缺少一些参数。您拥有的是卡支付的基本格式 API。如果您希望处理实际付款,则需要在末尾添加某些参数。请看下面的例子。
权限
https://api.test.netbanx.com/cardpayments/v1/accounts/89994061/auths
定居点
https://api.test.netbanx.com/cardpayments/v1/accounts/89994061/settlements
还有更多,但您可以在 Paysafe 开发人员中心找到它们。
我无法运行进行适当的交易。我不会马上编码。我想先用 POSTMAN 测试它,但我似乎 运行 遇到了问题。
我正在使用以下端点
https://api.test.paysafe.com/cardpayments/v1/accounts/89994061
示例请求(代码)
> {
> "merchantRefNum": "ORDER_ID:12312",
> "amount": 10098,
> "settleWithAuth": true,
> "card": {
> "cardNum": "4111111111111111",
> "cardExpiry": {
> "month": 2,
> "year": 2017
> },
> "cvv":111
> },
> "billingDetails": {
> "zip": "M5H 2N2"
> } }
示例响应(代码)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">
<HTML>
<HEAD>
<TITLE>Error 404--Not Found</TITLE>
</HEAD>
<BODY bgcolor="white">
<FONT FACE=Helvetica>
<BR CLEAR=all>
<TABLE border=0 cellspacing=5>
<TR>
<TD>
<BR CLEAR=all>
<FONT FACE="Helvetica" COLOR="black" SIZE="3">
<H2>Error 404--Not Found</H2>
</FONT>
</TD>
</TR>
</TABLE>
<TABLE border=0 width=100% cellpadding=10>
<TR>
<TD VALIGN=top WIDTH=100% BGCOLOR=white>
<FONT FACE="Courier New">
<FONT FACE="Helvetica" SIZE="3">
<H3>From RFC 2068
<i>Hypertext Transfer Protocol -- HTTP/1.1</i>:
</H3>
</FONT>
<FONT FACE="Helvetica" SIZE="3">
<H4>10.4.5 404 Not Found</H4>
</FONT>
<P>
<FONT FACE="Courier New">The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
</p>
<p>If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
</FONT>
</P>
</FONT>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
端点似乎不正确。我从你们的开发者中心收到了这个。哪里不对?
您的端点似乎缺少一些参数。您拥有的是卡支付的基本格式 API。如果您希望处理实际付款,则需要在末尾添加某些参数。请看下面的例子。
权限
https://api.test.netbanx.com/cardpayments/v1/accounts/89994061/auths
定居点
https://api.test.netbanx.com/cardpayments/v1/accounts/89994061/settlements
还有更多,但您可以在 Paysafe 开发人员中心找到它们。