Skip to main content
POST
Create a Realtime Collections Session

Authorizations

X-Meridian-Signature
string
header
required

Meridian HMAC header authentication.

Required headers:

  • X-Meridian-Api-Key
  • X-Meridian-Timestamp
  • X-Meridian-Signature

X-Meridian-Signature is the HMAC SHA-256 signature of the canonical request string, computed per request as HMAC-SHA256(apiKey + timestamp + method + request URI including any query string + body). See Authentication for how to construct it.

Headers

X-Meridian-Api-Key
string
required

API key issued by Meridian during provisioning.

X-Meridian-Timestamp
string
required

Current time in milliseconds since the Unix epoch. Must be within 10 seconds of the request.

Body

application/json

Operator context used for auditing when creating a Realtime Collections API session.

Operator context used for auditing when creating a Realtime Collections API session.

operatorId
string
required

Unique identifier of the operator (user) initiating the session in the merchant system. Used for audit and traceability; must be present and non-blank but is not otherwise validated.

operatorName
string
required

Human-readable name of the operator (user) initiating the session, stored for audit logs so actions can be attributed to a specific person.

Response

Created the session and stored the contents for later use

Session key issued for the Realtime Collections API, valid for 15 minutes.

sessionKey
string
required

Unique session key to pass in the body of the create-payment-link request.

expiresAt
string<date-time>
required

ISO-8601 datetime (UTC) at which the session key expires, 15 minutes after it was issued.