Vouchers, Standing Orders, and Billing
Vouchers
Redeem credit vouchers:
shell
# Check voucher details
curl https://atlas.ripe.net/api/v2/credits/voucher/{code}
# Redeem a voucher
curl -X POST \
-H "Authorization: Key YOUR-KEY" \
https://atlas.ripe.net/api/v2/credits/voucher/redeem/Standing Orders
Manage recurring credit transactions:
shell
# List standing orders
curl -H "Authorization: Key YOUR-KEY" \
https://atlas.ripe.net/api/v2/credits/standing-order/
# Create a standing order
curl -X POST \
-H "Authorization: Key YOUR-KEY" \
-H "Content-Type: application/json" \
-d '{ ... }' \
https://atlas.ripe.net/api/v2/credits/standing-order/Standing orders can be updated (PATCH) at /api/v2/credits/standing-order/{id}/.
Bill-Me Requests
Request billing for credit usage:
shell
# List bill-me requests
curl -H "Authorization: Key YOUR-KEY" \
https://atlas.ripe.net/api/v2/credits/bill-me/Bill-me requests can be created (POST) and updated (PATCH).
For full endpoint details, see the REST API Reference.