razorpay / razorpay-go

Razorpay Go SDK
MIT License
39 stars 25 forks source link

registernach doc correction #85

Closed ankitdas13 closed 2 years ago

ankitdas13 commented 2 years ago

Create a customer (sdk audit) : Use different unique receipt and email address

Create a registration link (sdk audit) : receipt should be unique , expire_by & expire_at should be 15 min after current time

Create an order (sdk audit) : working {"amount":0,"amount_due":0,"amount_paid":0,"attempts":0,"created_at":1656873250,"currency":"INR","entity":"order","id":"order_Jozfws8G585Jhj","notes":{"notes_key_1":"Beam me up Scotty","notes_key_2":"Engage"},"offer_id":null,"offers":{"count":0,"entity":"collection","items":[]},"payments":{"count":0,"entity":"collection","items":[]},"receipt":"Receipt No. 1","status":"created","token":{"auth_type":"physical","bank_account":{"account_number":"11214311215411","account_type":"savings","bank_name":"HDFC Bank","beneficiary_email":"gorav.kumar@example.com","beneficiary_mobile":"9123456780","ifsc":"HDFC0000001","name":"Gaurav Kumar"},"currency":"INR","expire_at":2709971120,"failure_reason":null,"first_payment_amount":10000,"max_amount":10000000,"method":"nach","nach":{"create_form":true,"description":"Paper NACH Gaurav Kumar","form_reference1":"Recurring Payment for Gaurav Kumar","form_reference2":"Method Paper NACH","prefilled_form":"https://rzp.io/i/KtpxTztI5w","prefilled_form_transient":"https://rzp.io/i/xKJv3LU","upload_form_url":"https://rzp.io/i/UL8UJO2Yk"},"notes":{"notes_key_1":"Tea, Earl Grey, Hot","notes_key_2":"Tea, Earl Grey… decaf."},"recurring_status":null}}

Create a order to charge customer (sdk audit) : update

Fetch token by customer id (sdk audit) : update