question

chandra-m avatar image
chandra-m asked

402 Payment Required

Receiving a '402' response with the message '402 Payment Required.' Interestingly, this issue does not occur when using Visa, Discover, or MC(MasterCard).

ChargesRequestApi Endpoint: https://scl-sandbox.dev.clover.com/v1/charges

Token Request :https://token-sandbox.dev.clover.com/v1/tokens

For AMEX:

=========

Response

=========

{message: "402 Payment Required",…}

error: {code: "card_declined", message: "CVV could not be verified", charge: "KS1DF4QDJCB6M",…}

charge: "KS1DF4QDJCB6M"

code: "card_declined"

declineCode: "issuer_declined"

message: "CVV could not be verified"

message: "402 Payment Required"

Request Payload

===============

{ecomind: "ecom", metadata: {existingDebtIndicator: false}, amount: "45", currency: "USD",…}

amount: "45"

currency: "USD"

ecomind: "ecom"

metadata: {existingDebtIndicator: false}

existingDebtIndicator: false

source: "clv_1TSTSkXPsbmgFu6iyD3E574E"

API Token
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community