Payment Intent
GET {{host_gateway}}/api/partner/orders/{{order_number}}/payment/intent
This is used when you do not have (or do not wish to have) direct access to the customer's payment details. It will prepare a page for the transaction to occur. Passing the client_secret
to Stripe when sending the customer there to pay will associate it with this payment intent. The client will then enter their details on the Stripe website completing the payment.
RESPONSES
status: OK
{"data":{"id":"pi_3MAHwMEeHpjs5LRo15IXvxlS","merchantToken":"b184dffab372bea2a7694bd7cda39c78","customerToken":"15ec31d3048456084acc9dc0f7faaca2","name":"Stripe","status":"Approved","client_secret":"pi_3MAHwMEeHpjs5LRo15IXvxlS_secret_6YCwSKGcYLml9ahaOcFcmbvW2"}}