question

bobbygill avatar image
bobbygill asked cmobley-1 sent

Getting Error when calling Payment Charge Rest API: INV TERM ID-911

We are using Clover Payment on our website with Clover Iframe token implementation. We can generate Payment tokens successfully, but when try to charge a card using Rest API. We are getting the error INV TERM ID-911.

We are using this API endpoint:
https://scl.clover.com/v1/charges


REST APIPayments
1 comment
10 |2000

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

bryanvargas avatar image bryanvargas ♦♦ commented ·
can you securely provide me your test merchant ID
0 Likes 0 ·
essentialsclothing24 avatar image
essentialsclothing24 answered

The simplest way we handle errors is to respond with an appropriate status code. Here are some common response codes: 400 Bad Request – client sent an invalid request, such as lacking required request body or parameter.

10 |2000

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

essentialsclothing24 avatar image
essentialsclothing24 answered

The simplest way we handle errors is to respond with an appropriate status code. Here are some common response codes: 400 Bad Request – client sent an invalid request, such as lacking required request body or parameter.

10 |2000

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

bobbygill avatar image
bobbygill answered

@EssentialsClothing24 , We are not getting 400 Bad Request Error. But we are getting a status code as "PaymentRequired".

10 |2000

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

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