hilt-pay-api

Create an access payment session

post/v1/access/payment-sessions

Request

  • Base URL: https://api.hilt.so
  • URL: https://api.hilt.so/v1/access/payment-sessions
  • Auth: none declared. Required headers: Idempotency-Key

Headers

Idempotency-Keystring required

Request body

product_idstring uuid nullable
external_product_idstring nullable
external_customer_idstring nullable
walletstring nullable
emailstring nullable
amount_minor_unitsinteger nullable
railstring nullable

Hosted settlement rail for this session. Public live values are solana_usdc and solana_sol.

payment_protocolstring nullable
settlement_railstring nullable
settlement_rail_idstring nullable
metadataobject

Example request

{
  "rail": "solana_usdc"
}

Response

Successful Response

payment_session_optionsobject required
idempotent_replayboolean nullable

Changes

No recorded changes to this operation across all 1 revision of this API.