This page will help you get started with Pagar.me API - Register V5.
This is where you show your users how to set it up. You can use code samples, like this:
$http.post('/someUrl', data).success(successCallback);
alert('test');
Try typing /
to see how easy it is to add more content!