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.