# Code samples in Go, Java, PHP and Ruby

- Date: 2026-10-25
- Type: New
- Surface: Developer portal and CLI
- What you need to do: Nothing.
- Address: https://developers.rivr.io/changelog/2026-10-25-code-samples-go-java-php-ruby

Every call in the guides and in the API reference now has a sample in Go, Java, PHP and Ruby too, besides cURL, Node, Python and C#. The calls use the standard library (net/http, java.net.http, PHP's curl extension and Net::HTTP; the Java token sample reads the answer with Jackson), send an Idempotency-Key where the operation takes one, and Rivr's CI compiles or syntax-checks every one of them. Ask for them in Markdown with ?code=go, java, php or ruby, or ?code=all. The guides' refund samples now send an Idempotency-Key in every language, like the reference.

