POST

Decode base64 string to raw data. Native implementation

/v1/base64-decode

Conversions · natif

Request → Response

Examples from schemas.json.

Requestapplication/json
POST /v1/base64-decode
Content-Type: application/json

{
  "base64": "SGVsbG8="
}
Responseapplication/json
HTTP/1.1 200 OK
Content-Type: application/json

// Endpoint-specific body after 402 settlement

Overview

Decode base64 string to raw data. Native implementation.

Request schema

Body: JSON · application/json

FieldTypeDescription
base64stringrequired
IMPLEMENTATION
curl -X POST https://api.tools402.dev/v1/base64-decode \
  -H "Content-Type: application/json" \
  -d '{
  "base64": "SGVsbG8="
}'

402 payment flow omitted — see Integrations for settlement.