Payment in Lyft API

2019-07-25 07:06发布

Once dropped off how do i make payment to lyft.

I am using stripe as payment mechanism but cannot find any endpoint wherein i can pass the charge to actually make payment to lyft.

I do see that i can make a tip through this endpoint https://developer.lyft.com/reference#ride-request-rating-and-tipping

and also ride receipt is generated after payment Ride receipt but what i cannot figure out is where exactly the payment is made

1条回答
虎瘦雄心在
2楼-- · 2019-07-25 07:42

Lyft automatically charged the user's default personal payment. At this time, they don't allow you to select different payment methods. You must call the PUT /rides/:id endpoint with the rating and tip amount to close out the ride and grab the ride receipt via the webhook.

Online reference: https://developer.lyft.com/v1/reference

enter image description here

查看更多
登录 后发表回答