Secret | Create https://docs.herald-api.rare-able.com/api/secrets
POST

This endpoint generates a secret key for a specific service associated with a merchant. The service is identified using its unique ID (merchant_service_unique_id). The generated key is used for secure communication and authentication between the merchant and the platform.

BODY PARAMS

name string required
Required | Min : 3 | Max : 50 | Regex : ^[A-Za-z0-9 ]+$ | Letters, numbers and spaces
description string required
Required | Min : 3 | Max : 255
merchant_service string required
Required | Accepted Values : onramp, offramp, onramp_offramp, crypto_payment, stream, exchange, otc

HEADERS

Accept "string"
application/json
x-api-key (Secret Key) "string"
To know how to generate please use Merchant Secret

RESPONSES

success "boolean"
message "string"
code "integer"
data "object"

secret "object"

unique_id "string"
name "string"
description "string"
secret "string"
created_at "string"
updated_at "string"

success "boolean"
message "string"
code "integer"
data "array"