Transaction Api

Highlighted
New Member
1 0 0

Hi EveryBody

I am new in Shopify Api and I am building a mobile app with Shopify backend. 

I was trying to make payment for an order already created.

So I was using the transaction API after creating an order with "financial_status""pending".

{
  "transaction": {
    "currency""AUD",
    "amount""18.00",
    "kind""capture",
    "parent_id"3390294884514,
    "payment_details": {
        "cvv_result_code""333",
        "credit_card_number""4242 4242 4242 4242",
        "credit_card_company""Visa"
    }
  }
}
But transaction always successfully whatever I put into the card number field.
I don't know this is the correct way to transaction money for order and need help on how to complete the payment with a credit card for an order using REST API.
I really want someone to help me.
Thanks
0 Likes