<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Hi Paul,<div><br></div><div>First off, yes, the form should work. Do you see an error of some kind in your console?<br><div><br></div><div>Apologies for the documentation on that endpoint. It needs some more clarification I think.</div><div><br></div><div>This call will work:</div><div><br></div><div><div>## Request (2)</div><div>curl -X "POST" "https://atlas.ripe.net/api/v2/credits/transfers/" \</div><div> -H 'Authorization: key <your-key>' \</div><div> -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \</div><div> --data-urlencode "amount=10000" \</div><div> --data-urlencode “recipient=<atlasuser email>”</div><div><br></div><div>Hope this helps, we will work on the docs to make this more clear soon.</div><div><br></div><div>The key needs to have the ’Transfer credits to another user’ grant of course.</div><div><br></div><div>Kind regards,</div><div>Johan ter Beest</div><div><br></div><div><br></div><div><br><blockquote type="cite"><div>On 11 Jul 2023, at 11:09, Paul Emmons <paul@ninja-ix.net> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr">Hello all.<div>First off, does the standing order for transferring credits form work? I have tried it a few times with no success on chrome and firefox. I submit it and nothing happens.</div><div><br></div><div>And I can't seem to get a transfer done via a curl method - just get a invalid method response. A sample of the code we were trying is:</div><div>curl -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{ "amount":"1999999" , "recipient":"paul@somedomain" }' <a href="https://atlas.ripe.net/api/v2/credits/transfer/?key=a-real-key">https://atlas.ripe.net/api/v2/credits/transfer/?key=a-real-key</a><br></div><div><br></div><div>Thanks<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Paul</div></div></div></div></div></div></div></div></div>
-- <br>ripe-atlas mailing list<br>ripe-atlas@ripe.net<br>https://mailman.ripe.net/<br></div></blockquote></div><br></div></div></body></html>