Skip to main content
POST
Create a Virtual Account 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 + path + 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

Request body to create a Virtual Account Session

customerId
string
required

A non-sensitive string that uniquely identifies your customer across all Meridian sessions. Must be consistent and never change — Meridian uses this to detect whether to route a customer to onboarding or Account Home. Note: this value is case-sensitive; inconsistent casing will cause a returning customer to be treated as new.

receiver
Receiver · object
required

This data is separate from KYC information, as this will not be changed by the customer during onboarding. All details provided here must match the information associated with the receiver of funds withdrawn from the virtual account.

redirectUrl
string
required
deprecated

Deprecated. Any valid URL is still required here, but the value is ignored. This field will be removed in a future release.

customer
KYC · object | null

All fields in this data structure should be populated on a best-efforts basis. No field is required but this data helps to provide a seamless user experience for the customer so that they don’t need to re-enter information already provided to the partner.

Response

Created the session and stored the contents for later use

expiresAt
string
required

ISO8601 datetime string for the expiration of the session

sessionKey
string
required

Unique session key assigned to this transaction payload