1
Save your credentials
Put your credentials in environment variables so they stay out of your code and shell history.
2
List your customers
Every request sends both headers. This one returns the first page of customers.You get the customers and a Amounts are integers in cents, so
meta object for paging through the rest:113996 is $1,139.96.If you get a 401, check that both headers are set and that you’re using Sandbox credentials with the Sandbox URL.3
Create a customer
Send the customer’s details inside a A
customer object.201 returns the new customer, including its uuid. Use the uuid to look up, update or invoice the customer later.Next steps
Handle errors
What each status code means and what to do about it.
Set up webhooks
Hear about payments instead of polling for them.