PutCustomerCallbackRequest class
Request for registering a callback URL to receive KYC status updates.
Allows clients to receive webhook notifications when customer KYC status changes. The anchor will POST updates to the provided URL.
Constructors
Properties
- account ↔ String?
-
(deprecated, optional) The Stellar account ID used to identify this customer.
The server should infer the account from the sub value in the SEP-10 or SEP-45 JWT.
If many customers share the same Stellar account, the memo and memoType parameters should be included as well.
Supported account formats: G... (standard), M... (muxed), or C... (contract) accounts.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
(optional) The ID of the customer as returned in the response of a previous PUT request.
If the customer has not been registered, they do not yet have an id.
getter/setter pair
- jwt ↔ String?
-
JWT token previously received from the anchor via the SEP-10 or SEP-45 authentication flow.
getter/setter pair
- memo ↔ String?
-
(optional) The memo used to create the customer record.
getter/setter pair
- memoType ↔ String?
-
(deprecated, optional) The type of memo used to create the customer record.
One of text, id or hash. Deprecated because memos should always be of type id.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url ↔ String?
-
A callback URL that the SEP-12 server will POST to when the state of the customer changes.
The anchor will send customer status updates to this URL as JSON webhooks.
Callback payloads will be signed with Signature and X-Stellar-Signature headers.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited