razorpay / razorpay-go

Razorpay Go SDK
MIT License
39 stars 25 forks source link

subscription doc correction #73

Closed ankitdas13 closed 2 years ago

ankitdas13 commented 2 years ago

Create a subscription (sdk audit) : update

create a subscription link (sdk audit) : update

cancel subscription link (sdk audit) : you can delete those subscriptions which is in active state got this response when i test //{"auth_attempts":0,"change_scheduled_at":null,"charge_at":null,"created_at":1656594642,"current_end":null,"current_start":null,"customer_notify":true,"end_at":null,"ended_at":null,"entity":"subscription","expire_by":null,"has_scheduled_changes":false,"id":"sub_JniYsiPWiwGEEd","notes":{"notes_key_1":"Tea, Earl Grey, Hot","notes_key_2":"Tea, Earl Grey… decaf."},"paid_count":0,"plan_id":"plan_JcwJfpjN6VHSGv","quantity":1,"remaining_count":2,"short_url":"https://rzp.io/i/ZcxB3w4","source":"api","start_at":null,"status":"created","total_count":3}

update subscrpition (sdk audit) : you can update ony those subscription which is in active state and in payment methods cards has been used . In upi its not work

fetch detail of pending update (sdk audit) : After update subscription you can fetch pending updates

cance an update (sdk audit) : After update subscription you can cancel pending updates