Payment API (

New Member
1 0 0

I am having trouble when posting payments to this URL: using a request it redirects me to just the address page, i.e. ( I try and post to and then send the rest of the data to the payment method page like order total, payment gateway, and session id, but nothing is working and I get redirected to the address page

It seems like I am able to get the session Id, i.e. (west-005f5339bc28813a3700d8b76f8c2d17) but when posting order total, authenticity token, session ID, and payment gateway, I get redirected to the address page.

Shopify Staff
Shopify Staff
491 97 88

Hey @stimpani18 

As stated in the docs, the only information you should be posting to the /sessions endpoint is the following: 

  "credit_card": {
    "number": "1",
    "first_name": "John",
    "last_name": "Smith",
    "month": "5",
    "year": "15",
    "verification_value": "123"

 The response will be the ID such as west-0... as you've mentioned. 


Can you let me know what your call / response is? 

Vix | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution