You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to use DELETE https://payments.bigcommerce.com/api/v2/stores/{STORE_HASH}/shoppers/1/instruments/{INSTRUMENT_ID} endpoint, but we are hitting below error:
Now I think this has something to do with customer login as described at https://developer.bigcommerce.com/api-docs/storefront/customer-login-api . In fact we were able to login through the mechanism mentioned there. But trying any of the below did not result in a successful attempt on the payments API:
Passing the customer's JWT as Authorization: VAT {JWT},
Passing the customer's JWT as Authorization: PAT {JWT},
Passing the customer's JWT as Authorization: {JWT},
For simpler reproduction, you can visit GET https://payments.bigcommerce.com/api/v2/stores/dvhhs2omlh/shoppers/1/instruments to see the error in question.
Though now hitting /internalapi/v1/checkout/payments/vault-access-token gives us an Authentication Required error. So I am trying to now figure out the proper mechanism to authenticate there. I have tried setting X-Auth-Client and X-Auth-Token but that did not work.
Hi, this is a question.
We are trying to use
DELETE https://payments.bigcommerce.com/api/v2/stores/{STORE_HASH}/shoppers/1/instruments/{INSTRUMENT_ID}
endpoint, but we are hitting below error:Now I think this has something to do with customer login as described at https://developer.bigcommerce.com/api-docs/storefront/customer-login-api . In fact we were able to login through the mechanism mentioned there. But trying any of the below did not result in a successful attempt on the payments API:
Authorization: VAT {JWT}
,Authorization: PAT {JWT}
,Authorization: {JWT}
,SHOP_SESSION_TOKEN
cookie's value to https://payments.bigcommerce.com asAuthorization: {Token}
.In short, I need some documentation around how we can login properly for a given customer. Can you advice?
The text was updated successfully, but these errors were encountered: