Menu

World's 1st Online Matrimonial Classified Website

Content

const options = { method: 'POST', headers: {accept: 'application/json', 'Content-Type': 'application/json'}, body: JSON.stringify({request: 'string'}) }; fetch('https://api-preprod.phonepe.com/apis/pg-sandbox/pg/v1/pay', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));