Payment Charge
POST {{host}}/api/partner/orders/{{order_number}}/payment/charge
This is used to charge the customer's card for the order created. The amount charged will come from the total amount of the order. When the payment is received, the order will automatically become approved.
Request Body
{"payment_type"=>"card", "card_exp_month"=>"12", "card_exp_year"=>"2024", "card_number"=>"371449635398431", "card_cvc"=>"1234"}
RESPONSES
status: OK
{"data":{"id":"ch_3MAHxPEeHpjs5LRo0LAeEOJV","merchantToken":"b184dffab372bea2a7694bd7cda39c78","customerToken":"15ec31d3048456084acc9dc0f7faaca2","name":"Stripe","status":"Approved"}}