Skip to main content
Copy-paste, set your ACCESS_KEY and PRIVATE_KEY, run. Every example below builds the canonical request string, signs it with ECDSA secp256k1, attaches the four headers, and sends a real request to the Bloobank API.
Replace placeholders with values from your secret store. Never commit the private key — use environment variables or a secret manager.
The signed {pathname} includes the /txengine/v1 API prefix. The clients below keep the base URL host-only (https://txengine.bloobank.com) so that url = baseUrl + pathname sends exactly the path that was signed. See Sign a request.

Complete signer client

The example below signs a POST /txengine/v1/wallets/{wallet}/paymentOrders request and returns the created payment order.

Handling errors in code

Branch on error.status, never on error.message. See Handling errors for the full pattern.

What’s next

Troubleshooting

11-step SIGNATURE_INVALID checklist.

Idempotency

Make every retry safe.

API reference

Every endpoint with try-it playground.