API Reference
Last updated
Last updated
All calls must be authenticated with the header Authorization: llamapay_sk_YOUR_API_KEY
.
You can obtain the required API Key in the Developer tab on LlamaPay's interface.
Pagination is handled by querying the urls returned in pagination.previous_uri and pagination.next_uri or by using the query parameters ending_before and starting_after directly with payment ids. In other words, to see all results keep querying pagination.next_uri until its null.
Optional and for pagination, filters results to those whose id parameters are higher than the id sent
Optional and for pagination, filters results to those whose id parameters are lower than the id sent
Creates a new payment that users can then pay
fixed_price
, no_price
, subscription
{"amount":"10.00","currency":"USD"}
{"userId":"0xngmi"}
https://mypage.com/success
https://mypage.com/failure