How to connect
There are two general steps to connect to PayWithTerra:
Create an account and receive the API key in the "My Account" section.
The API key is needed for our server API to differ your requests from others and for prevent spam requests.
Basic (pay as you go)
You have the Balance, which is used as fuel in two cases:
- making the "Create order" API-requests ($0.05 / order)
- receiving the "Payment received" notifications (only while using the Stream service)
Just pay for the key monthly without worrying about the transaction count.
Limitation: you can not use the Pro plan for building your own payment aggregator and reselling the PaywithTerra services.
Change your eCommerce website behaviour:
- to send signals to the Pay with Terra API when new orders created
- to listen signals from the Pay with Terra API when these orders was paid
We have the detailed instructions about interaction with the Pay with Terra API.