we integrate the payment gateway api in laravel but how can we make that web api into api for mobile and ios? what is the way to integrate payment gateways in apps thru backend api's?
@belalmajeed The same way you would make an API for anything else. Have endpoints that read and write data, and ensure they’re using authentication, especially with something as sensitive as payment information. Or just use something like Stripe.
@belalmajeed Read Stripe’s docs. They have plenty of them.
You’ll need to use Stripe’s API to create a payment intent for the amount you want to charge, and then use Stripe’s mobile SDKs to capture payment method details to be able to complete the payment.