Skip to main content

Message Type Index

Complete reference for all message types defined in SSF-SPEC-004. For full field definitions, see the formal specification.


Client → Gateway Messages

TypeSectionDescription
GET_NONCE§8.1Retrieve the current permit nonce for a given wallet and token.
GET_FEES§8.2Retrieve the fee breakdown for a given principal amount and acquirer.
GET_BALANCE§8.3Retrieve current balances for one or more tokens.
GET_HISTORY§8.4Retrieve transfer history for one or more tokens.
SUBMIT_PAYMENT§8.5Submit a signed TransferRequest payload for processing.
SUBMIT_ACQUIRING§8.6Submit a signed BuyAcquiringPackRequest payload for processing.
SUBSCRIBE_BALANCE§9.1Register to receive balance update notifications.
SUBSCRIBE_TRANSFERS§9.2Register to receive transfer notifications.
UNSUBSCRIBE§9.3Cancel an active subscription for specified tokens on a channel.

Gateway → Client Messages

Responses to Requests

TypeSectionDescription
NONCE_RESULT§8.1Current permit nonce.
FEES_RESULT§8.2BrokenDownAmount with fees and remaining fields.
BALANCE_RESULT§8.3Array of { domainSeparator, balance } objects.
HISTORY_RESULT§8.4Array of TransferRecord objects, paginated.
SUBMIT_PAYMENT_ACK§8.5Acknowledgement with initial ENQUEUING status and echoed payloadId.
SUBMIT_ACQUIRING_ACK§8.6Acknowledgement with initial ENQUEUING status.
SUBSCRIBE_BALANCE_ACK§9.1Confirms which tokens are now subscribed on the balance channel.
SUBSCRIBE_TRANSFERS_ACK§9.2Confirms which tokens are now subscribed on the transfer channel.
UNSUBSCRIBE_ACK§9.3Confirms which tokens were removed from a subscription channel.
ERROR§12Error response for any failed request.

Push Notifications

TypeSectionTrigger
BALANCE_UPDATE§9.1A subscribed token's balance changed for the connected wallet.
TRANSFER_NOTIFICATION§9.2A new confirmed transfer was indexed for the connected wallet on a subscribed token.
SUBMISSION_STATUS§10.2A submission's status changed. Delivered at each transition through ENQUEUING → PENDING → BROADCASTING → SUCCESS/FAILURE.

Submission Status Values

Used in SUBMIT_PAYMENT_ACK, SUBMIT_ACQUIRING_ACK, and SUBMISSION_STATUS messages.

StatusTerminalDescription
ENQUEUINGNoAccepted by the gateway; being handed to broadcast-service.
PENDINGNoReceived by broadcast-service; full validation in progress.
BROADCASTINGNoValidation passed; transaction being submitted to the network.
SUCCESSYesNetwork accepted the transaction without revert. Not final settlement.
FAILUREYesSubmission failed. See failureCategory and failureReason.

Error Categories

Used in ERROR messages and the failureCategory field of SUBMISSION_STATUS (failure case).

CategoryDescription
STRUCTURAL_ERRORA required field is absent or malformed.
AUTHENTICATION_ERRORSignature invalid, address mismatch, or expired deadline.
SEMANTIC_ERRORStructurally valid but a business rule was violated.
NOT_FOUNDReferenced resource does not exist.
RATE_LIMITRequest rate exceeded.
INTERNAL_ERRORUnexpected gateway-side failure.

For the full error code list, see Error Codes.