diff --git a/openrpc/src/anchor-platform/contentDescriptors/customer.json b/openrpc/src/anchor-platform/contentDescriptors/customer.json new file mode 100644 index 000000000..abd7a63be --- /dev/null +++ b/openrpc/src/anchor-platform/contentDescriptors/customer.json @@ -0,0 +1,18 @@ +{ + "customer_id": { + "name": "customer_id", + "description": "The SEP-12 ID of the customer", + "required": "false", + "schema": { + "type": "string" + } + }, + "customer_type": { + "name": "customer_type", + "description": "The SEP-12 type of the customer", + "required": "false", + "schema": { + "type": "string" + } + } +} diff --git a/openrpc/src/anchor-platform/examples/customer.json b/openrpc/src/anchor-platform/examples/customer.json new file mode 100644 index 000000000..c22b04683 --- /dev/null +++ b/openrpc/src/anchor-platform/examples/customer.json @@ -0,0 +1,10 @@ +{ + "customer_id": { + "name": "customer_id", + "value": "45f8884d-d6e1-477f-a680-503179263359" + }, + "customer_type": { + "name": "customer_type", + "value": "sep31-receiver" + } +} diff --git a/openrpc/src/anchor-platform/examples/message.json b/openrpc/src/anchor-platform/examples/message.json index d8c6c1690..0e17b1a1f 100644 --- a/openrpc/src/anchor-platform/examples/message.json +++ b/openrpc/src/anchor-platform/examples/message.json @@ -1,94 +1,90 @@ { - "message": { - "name": "message", - "value": "Transaction status message" - }, - "do_stellar_payment_message": { - "name": "message", - "value": "Do Stellar payment" - }, - "do_stellar_refund_message": { - "name": "message", - "value": "Do Stellar refund" - }, - "notify_amounts_updated_message": { - "name": "message", - "value": "Amounts updated" - }, - "notify_customer_info_updated_message": { - "name": "message", - "value": "Customer info updated" - }, - "notify_interactive_flow_completed_message": { - "name": "message", - "value": "Interactive flow completed successfully." - }, - "notify_offchain_funds_available_message": { - "name": "message", - "value": "Offchain funds available" - }, - "notify_offchain_funds_pending_message": { - "name": "message", - "value": "Offchain funds pending" - }, - "notify_offchain_funds_received_message": { - "name": "message", - "value": "Funds received successfully" - }, - "notify_offchain_funds_sent_message": { - "name": "message", - "value": "Offchain funds sent" - }, - "notify_onchain_funds_received_message": { - "name": "message", - "value": "Onchain funds received" - }, - "notify_onchain_funds_sent_message": { - "name": "message", - "value": "Onchain funds sent" - }, - "notify_refund_pending_message": { - "name": "message", - "value": "Refund pending" - }, - "notify_refund_sent_message": { - "name": "message", - "value": "Refund sent" - }, - "notify_transaction_error_message": { - "name": "message", - "value": "Transaction error" - }, - "notify_transaction_expired_message": { - "name": "message", - "value": "Transaction expired" - }, - "notify_transaction_on_hold_message": { - "name": "message", - "value": "Transaction on hold, please contact customer service to lift the hold." - }, - "notify_transaction_recovery_message": { - "name": "message", - "value": "Transaction recovered" - }, - "notify_trust_set_message": { - "name": "message", - "value": "Trustline set" - }, - "request_customer_info_update_message": { - "name": "message", - "value": "Customer info requested" - }, - "request_offchain_funds_message": { - "name": "message", - "value": "Request offchain funds" - }, - "request_onchain_funds_message": { - "name": "message", - "value": "Requesting onchain funds" - }, - "request_trust_message": { - "name": "message", - "value": "Request trust" - } + "message": { + "name": "message", + "value": "Transaction status message" + }, + "do_stellar_payment_message": { + "name": "message", + "value": "Do Stellar payment" + }, + "do_stellar_refund_message": { + "name": "message", + "value": "Do Stellar refund" + }, + "notify_amounts_updated_message": { + "name": "message", + "value": "Amounts updated" + }, + "notify_customer_info_updated_message": { + "name": "message", + "value": "Customer info updated" + }, + "notify_interactive_flow_completed_message": { + "name": "message", + "value": "Interactive flow completed successfully." + }, + "notify_offchain_funds_available_message": { + "name": "message", + "value": "Offchain funds available" + }, + "notify_offchain_funds_pending_message": { + "name": "message", + "value": "Offchain funds pending" + }, + "notify_offchain_funds_received_message": { + "name": "message", + "value": "Funds received successfully" + }, + "notify_offchain_funds_sent_message": { + "name": "message", + "value": "Offchain funds sent" + }, + "notify_onchain_funds_received_message": { + "name": "message", + "value": "Onchain funds received" + }, + "notify_onchain_funds_sent_message": { + "name": "message", + "value": "Onchain funds sent" + }, + "notify_refund_pending_message": { + "name": "message", + "value": "Refund pending" + }, + "notify_refund_sent_message": { + "name": "message", + "value": "Refund sent" + }, + "notify_transaction_error_message": { + "name": "message", + "value": "Transaction error" + }, + "notify_transaction_expired_message": { + "name": "message", + "value": "Transaction expired" + }, + "notify_transaction_on_hold_message": { + "name": "message", + "value": "Transaction on hold, please contact customer service to lift the hold." + }, + "notify_transaction_recovery_message": { + "name": "message", + "value": "Transaction recovered" + }, + "notify_trust_set_message": { + "name": "message", + "value": "Trustline set" + }, + "request_offchain_funds_message": { + "name": "message", + "value": "Request offchain funds" + }, + "request_onchain_funds_message": { + "name": "message", + "value": "Requesting onchain funds" + }, + "request_trust_message": { + "name": "message", + "value": "Request trust" + } } diff --git a/openrpc/src/anchor-platform/methods/notify_customer_info_updated.json b/openrpc/src/anchor-platform/methods/notify_customer_info_updated.json index 12502bfaf..ae6e7a9e3 100644 --- a/openrpc/src/anchor-platform/methods/notify_customer_info_updated.json +++ b/openrpc/src/anchor-platform/methods/notify_customer_info_updated.json @@ -1,14 +1,18 @@ { "name": "notify_customer_info_updated", "summary": "Customer info updated", - "description": "Additional customer information was received and updated.", + "description": "The customer's status for the transaction has been updated. Use this method to notify the wallet of the status change. If `customer_id` and `customer_type` are provided, the transaction status will reflect the customer's status. If not, the transaction status will default to the standard pending status for the SEP.", "paramStructure": "by-name", - "tags": [ - { "name": "SEP-31" } - ], + "tags": [{ "name": "SEP-6" }, { "name": "SEP-31" }], "params": [ { "$ref": "#/components/contentDescriptors/transaction_id" }, - { "$ref": "#/components/contentDescriptors/message" } + { "$ref": "#/components/contentDescriptors/message" }, + { + "$ref": "#/components/contentDescriptors/customer_id" + }, + { + "$ref": "#/components/contentDescriptors/customer_type" + } ], "result": { "name": "notify_customer_info_updatedResponse", @@ -22,7 +26,15 @@ "description": "Example request to the `notify_customer_info_updated` method.", "params": [ { "$ref": "#/components/examples/transaction_id" }, - { "$ref": "#/components/examples/notify_customer_info_updated_message" } + { + "$ref": "#/components/examples/notify_customer_info_updated_message" + }, + { + "$ref": "#/components/examples/customer_id" + }, + { + "$ref": "#/components/examples/customer_type" + } ], "result": { "$ref": "#/components/examples/AnchorPlatformResponse" } } diff --git a/openrpc/src/anchor-platform/methods/request_customer_info_update.json b/openrpc/src/anchor-platform/methods/request_customer_info_update.json deleted file mode 100644 index e8741195c..000000000 --- a/openrpc/src/anchor-platform/methods/request_customer_info_update.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "name": "request_customer_info_update", - "summary": "Customer info needed", - "description": "Additional customer information is required", - "paramStructure": "by-name", - "tags": [ - { "name": "SEP-6" }, - { "name": "SEP-31" } - ], - "params": [ - { "$ref": "#/components/contentDescriptors/transaction_id" }, - { "$ref": "#/components/contentDescriptors/message" } - ], - "result": { - "name": "request_customer_info_updateResponse", - "schema": { - "$ref": "#/components/schemas/response" - } - }, - "examples": [ - { - "name": "request_customer_info_updateExample", - "description": "Example request to the `request_customer_info_update` method.", - "params": [ - { "$ref": "#/components/examples/transaction_id" }, - { "$ref": "#/components/examples/request_customer_info_update_message" } - ], - "result": { "$ref": "#/components/examples/AnchorPlatformResponse" } - } - ] -} diff --git a/platforms/anchor-platform/admin-guide/sep10/README.mdx b/platforms/anchor-platform/admin-guide/sep10/README.mdx index 485e404be..1db24083f 100644 --- a/platforms/anchor-platform/admin-guide/sep10/README.mdx +++ b/platforms/anchor-platform/admin-guide/sep10/README.mdx @@ -61,8 +61,17 @@ clients: # If the type is `custodial`, # - signing_keys: (required) the custodial SEP-10 signing key of the client. # - callback_url: (optional) the URL of the client's callback API endpoint. + # If one of SEP-specific URLs is also provided, then this URL will be used as a fallback. + # For example, if `callback_url_sep6` is not provided, but `callback_url_sep24` is, + # SEP-6 transactions will use the `callback_url` as the callback URL. This field is + # deprecated and will be removed in 3.0. + # - callback_url_sep6: (optional) the URL of the client's SEP-6 callback API endpoint. + # - callback_url_sep24: (optional) the URL of the client's SEP-24 callback API endpoint. + # - callback_url_sep31: (optional) the URL of the client's SEP-31 callback API endpoint. + # - callback_url_sep12: (optional) the URL of the client's SEP-10 callback API endpoint. # - allow_any_destination: (optional) default to false. If set to true, allows any destination for deposits. - # - destination_accounts: (optional) list of accounts allowed to be used for the deposit. If allows_any_destinations set to true, this configuration option is ignored. + # - destination_accounts: (optional) list of accounts allowed to be used for the deposit. + # If allows_any_destinations set to true, this configuration option is ignored. # # If the type is `noncustodial`, # - domains: (required) the domains of the client. @@ -73,6 +82,8 @@ clients: type: custodial signing_keys: "the signing key 1 of the client1","the signing key 2 of the client1" callback_url: https://callback.custodial-client1.com/api/v1/anchor/callback + callback_url_sep6: https://callback.custodial-client1.com/api/v1/anchor/callback/sep6 + callback_url_sep12: https://callback.custodial-client1.com/api/v1/anchor/callback/sep12 allow_any_destination: false destination_accounts: destAccount1,destAccount2 - name: custodial-client2 @@ -84,6 +95,8 @@ clients: type: noncustodial domains: noncustodial-client1.co,noncustodial-client1.com callback_url: https://callback.noncustodial-client1.co/api/v2/anchor/callback + callback_url_sep6: https://callback.noncustodial-client1.co/api/v2/anchor/callback/sep6 + callback_url_sep12: https://callback.noncustodial-client1.co/api/v2/anchor/callback/sep12 - name: noncustodial-client2 type: noncustodial domains: noncustodial-client2.com diff --git a/platforms/anchor-platform/admin-guide/sep31/integration.mdx b/platforms/anchor-platform/admin-guide/sep31/integration.mdx index 9637da113..bf6109fbd 100644 --- a/platforms/anchor-platform/admin-guide/sep31/integration.mdx +++ b/platforms/anchor-platform/admin-guide/sep31/integration.mdx @@ -355,42 +355,11 @@ To execute this, you need to run: -### Customer Info Needed +### Verifying Customer Information In some cases, the Receiving Anchor might need to request an updated information from the Sending Anchor. For example, the bank tells the Receiving Anchor that the provided Receiving Client's name is incorrect or missing a middle initial. Since this information was sent via SEP-12, the transaction should go into the `pending_customer_info_update` status until the Sending Anchor makes another SEP-12 `PUT /customer` request to update. The Sending Anchor can check which fields need to be updated by making a SEP-12 `GET /customer` request including the id or account & memo parameters. The Receiving Anchor should respond with a `NEEDS_INFO` status and `last_name` included in the fields described. - - -```json -// pending-customer-info-update.json -[ - { - "id": 1, - "jsonrpc": "2.0", - "method": "pending_customer_info_update", - "params": { - "transaction_id": "", - "message": "Customer info needed" - } - } -] -``` - - - -To execute this, you need to run: - - - -```bash -./call-json-rpc.sh pending-customer-info-update.json -``` - - - -### Customer Info Updated - -After the Sending Anchor has made another SEP-12 `PUT /customer` request to update customer info, the Receiving Anchor should change the status of the transaction to `pending_receiver`. +After the Sending Anchor makes a SEP-12 `PUT /customer` request, call the `notify_customer_info_updated` JSON-RPC method againto update the transaction status. Additionally, call this method whenever the SEP-12 status for a customer changes, such as when the customer's information is being validated and the status changes from `NEEDS_INFO` to `PROCESSING`. This ensures that any clients configured with a callback URL are notified of the latest customer status, allowing the client to prompt the user to update their information. @@ -403,7 +372,9 @@ After the Sending Anchor has made another SEP-12 `PUT /customer` request to upda "method": "notify_customer_info_updated", "params": { "transaction_id": "", - "message": "Customer info updated" + "message": "Customer info updated", + "customer_id": "45f8884d-d6e1-477f-a680-503179263359", + "customer_type": "sep31-receiver" // or sep31-sender } } ] diff --git a/platforms/anchor-platform/admin-guide/sep6/integration.mdx b/platforms/anchor-platform/admin-guide/sep6/integration.mdx index fae2ab0c8..2d2414061 100644 --- a/platforms/anchor-platform/admin-guide/sep6/integration.mdx +++ b/platforms/anchor-platform/admin-guide/sep6/integration.mdx @@ -84,18 +84,22 @@ Statuses in red mean the transaction is in a Although Anchor Platform does not require a customer to have their KYC information collected before initiating a deposit, your business may want to collect this information before the customer makes a transfer. By listening to transaction created events, or by polling the [`GET /transactions`][get-transactions] endpoint, you can require determine if a transaction requires the customer to update their information. The required SEP-9 fields can be communicated to the user by returning a `NEEDS_INFO` status with the required fields in the `fields` attribute. +After the user has submitted their KYC information, call the `notify_customer_info_updated` JSON-RPC method againto update the transaction status. Additionally, call this method whenever the SEP-12 status for a customer changes, such as when the customer's information is being validated and the status changes from `NEEDS_INFO` to `PROCESSING`. This ensures that any clients configured with a callback URL are notified of the latest customer status, allowing the client to prompt the user to update their information. + ```json -// reuest-customer-info-update.json +// notify-customer-info-updated.json [ { - "id": "1", + "id": 1, "jsonrpc": "2.0", - "method": "request_customer_info_update", + "method": "notify_customer_info_updated", "params": { - "id": "", - "message": "Please update your information to continue" + "transaction_id": "", + "message": "Customer info updated", + "customer_id": "45f8884d-d6e1-477f-a680-503179263359", + "customer_type": "sep6-deposit" // or sep6-withdrawal } } ] @@ -108,7 +112,7 @@ To execute this, you need to run: ```bash -./call-json-rpc.sh request-customer-info-update.json +./call-json-rpc.sh notify-customer-info-updated.json ``` diff --git a/platforms/anchor-platform/api-reference/platform/rpc/anchor-platform.openrpc.json b/platforms/anchor-platform/api-reference/platform/rpc/anchor-platform.openrpc.json index 55ce262fa..ddf3da6bb 100644 --- a/platforms/anchor-platform/api-reference/platform/rpc/anchor-platform.openrpc.json +++ b/platforms/anchor-platform/api-reference/platform/rpc/anchor-platform.openrpc.json @@ -1324,9 +1324,12 @@ { "name": "notify_customer_info_updated", "summary": "Customer info updated", - "description": "Additional customer information was received and updated.", + "description": "The customer's status for the transaction has been updated. Use this method to notify the wallet of the status change. If `customer_id` and `customer_type` are provided, the transaction status will reflect the customer's status. If not, the transaction status will default to the standard pending status for the SEP.", "paramStructure": "by-name", "tags": [ + { + "name": "SEP-6" + }, { "name": "SEP-31" } @@ -1353,6 +1356,22 @@ "description": "A human readable message.", "type": "string" } + }, + { + "name": "customer_id", + "description": "The SEP-12 ID of the customer", + "required": "false", + "schema": { + "type": "string" + } + }, + { + "name": "customer_type", + "description": "The SEP-12 type of the customer", + "required": "false", + "schema": { + "type": "string" + } } ], "result": { @@ -1660,6 +1679,14 @@ { "name": "message", "value": "Customer info updated" + }, + { + "name": "customer_id", + "value": "45f8884d-d6e1-477f-a680-503179263359" + }, + { + "name": "customer_type", + "value": "sep31-receiver" } ], "result": { @@ -7668,383 +7695,6 @@ } ] }, - { - "name": "request_customer_info_update", - "summary": "Customer info needed", - "description": "Additional customer information is required", - "paramStructure": "by-name", - "tags": [ - { - "name": "SEP-6" - }, - { - "name": "SEP-31" - } - ], - "params": [ - { - "name": "transaction_id", - "summary": "ID of the transaction.", - "description": "The unique identifier of this transaction.", - "required": true, - "schema": { - "title": "transaction_id", - "description": "A unique transaction identifier.", - "type": "string" - } - }, - { - "name": "message", - "summary": "Human readable explanation.", - "description": "Human readable explanation of transaction status.", - "required": false, - "schema": { - "title": "message", - "description": "A human readable message.", - "type": "string" - } - } - ], - "result": { - "name": "request_customer_info_updateResponse", - "schema": { - "name": "response", - "type": "object", - "properties": { - "id": { - "title": "transaction_id", - "description": "A unique transaction identifier.", - "type": "string" - }, - "sep": { - "title": "sep", - "description": "Protocol of the transaction.", - "type": "integer", - "enum": [ - 6, - 24, - 31 - ] - }, - "kind": { - "title": "kind", - "description": "The kind of transaction that is desired.", - "type": "string", - "enum": [ - "undefined", - "receive", - "deposit", - "deposit-exchange", - "withdrawal", - "withdrawal-exchange" - ] - }, - "status": { - "title": "status", - "description": "Processing status of the transaction.", - "type": "string", - "enum": [ - "pending_anchor", - "pending_trust", - "pending_user", - "pending_user_transfer_start", - "pending_user_transfer_complete", - "incomplete", - "no_market", - "too_small", - "too_large", - "pending_sender", - "pending_receiver", - "pending_transaction_info_update", - "pending_customer_info_update", - "completed", - "refunded", - "expired", - "error", - "pending_external", - "pending_stellar" - ] - }, - "amount_expected": { - "type": "object", - "title": "amount_expected", - "description": "The amount expected in the payment.", - "properties": { - "amount": { - "title": "amount", - "description": "A stringified amount of an asset.", - "type": "string" - }, - "asset": { - "title": "asset", - "description": "An asset.", - "type": "string" - } - } - }, - "amount_in": { - "type": "object", - "title": "amount_in", - "description": "Amount expected/received by anchor.", - "properties": { - "amount": { - "title": "amount", - "description": "A stringified amount of an asset.", - "type": "string" - }, - "asset": { - "title": "asset", - "description": "An asset.", - "type": "string" - } - } - }, - "amount_out": { - "type": "object", - "title": "amount_out", - "description": "The amount expected to be sent by anchor to user at end of transaction.", - "properties": { - "amount": { - "title": "amount", - "description": "A stringified amount of an asset.", - "type": "string" - }, - "asset": { - "title": "asset", - "description": "An asset.", - "type": "string" - } - } - }, - "amount_fee": { - "type": "object", - "title": "amount_fee", - "description": "DEPRECATED in favour of fee_details. The total amount charged in fees for processing all refund payments, in units of amount_in_asset.", - "deprecated": true, - "properties": { - "amount": { - "title": "amount", - "description": "A stringified amount of an asset.", - "type": "string" - }, - "asset": { - "title": "asset", - "description": "An asset.", - "type": "string" - } - } - }, - "fee_details": { - "title": "fee_details", - "description": "Description of fee charged by the anchor.", - "type": "object", - "required": [ - "total", - "asset" - ], - "properties": { - "total": { - "type": "number" - }, - "asset": { - "type": "string" - }, - "details": { - "type": "array", - "description": "Details about fee charged.", - "items": { - "properties": { - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "amount": { - "type": "number" - } - } - } - } - } - }, - "quote_id": { - "title": "quote_id", - "description": "The id returned from a SEP-38 POST /quote response", - "type": "string" - }, - "started_at": { - "title": "started_at", - "description": "Start date and time of transaction.", - "type": "string" - }, - "updated_at": { - "title": "updated_at", - "description": "The date and time of transaction reaching the current status.", - "type": "string" - }, - "completed_at": { - "title": "completed_at", - "description": "The date and time of transaction reaching completed or refunded status.", - "type": "string" - }, - "transfer_received_at": { - "title": "transfer_received_at", - "description": "The date and time of receiving transfer.", - "type": "string" - }, - "message": { - "title": "message", - "description": "Human readable explanation of transaction status", - "type": "string" - }, - "refunds": { - "title": "refunds", - "description": "An object describing any on or offchain refund associated with this transaction.", - "type": "object", - "properties": { - "amount_refunded": { - "type": "object", - "description": "The total amount refunded in units of amount_in_asset.", - "properties": { - "amount": { - "title": "amount", - "description": "A numerical representation of an amount of some asset.", - "type": "string" - }, - "asset": { - "title": "asset", - "description": "An asset.", - "type": "string" - } - } - }, - "amount_fee": { - "type": "object", - "description": "The total amount charged in fees for processing all refund payments, in units of amount_in_asset.", - "properties": { - "amount": { - "title": "amount", - "description": "A numerical representation of an amount of some asset.", - "type": "string" - }, - "asset": { - "title": "asset", - "description": "An asset.", - "type": "string" - } - } - }, - "payments": { - "type": "array", - "description": "A list of objects containing information on the individual payments made back as refunds.", - "items": { - "properties": { - "id": { - "title": "id", - "description": "The Stellar transaction hash of the transaction that included the refund payment.", - "type": "string" - }, - "id_type": { - "type": "string" - }, - "amount": { - "type": "object", - "description": "The amount sent back for the payment identified by id, in units of amount_in_asset.", - "properties": { - "amount": { - "title": "amount", - "description": "A numerical representation of an amount of some asset.", - "type": "string" - }, - "asset": { - "title": "asset", - "description": "An asset.", - "type": "string" - } - } - }, - "fee": { - "type": "object", - "description": "The amount charged as a fee for processing the refund, in units of amount_in_asset.", - "properties": { - "amount": { - "title": "amount", - "description": "A numerical representation of an amount of some asset.", - "type": "string" - }, - "asset": { - "title": "asset", - "description": "An asset.", - "type": "string" - } - } - }, - "requested_at": { - "title": "datetime", - "description": "The date and time of requesting refund.", - "type": "string" - }, - "refunded_at": { - "title": "datetime", - "description": "The date and time of making refund.", - "type": "string" - } - } - } - } - } - } - } - } - }, - "examples": [ - { - "name": "request_customer_info_updateExample", - "description": "Example request to the `request_customer_info_update` method.", - "params": [ - { - "name": "transaction_id", - "value": "1c186184-09ee-486c-82a7-aa7a0ab1119d" - }, - { - "name": "message", - "value": "Customer info requested" - } - ], - "result": { - "name": "AnchorPlatformResponse", - "value": { - "id": "1c186184-09ee-486c-82a7-aa7a0ab1119d", - "sep": "24", - "kind": "deposit", - "status": "completed", - "amount_expected": { - "amount": "1", - "asset": "stellar:USDC:GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5" - }, - "amount_in": { - "amount": "1", - "asset": "stellar:USDC:GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5" - }, - "amount_out": { - "amount": "0.9", - "asset": "iso4217:USD" - }, - "amount_fee": { - "amount": "0.1", - "asset": "stellar:USDC:GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5" - }, - "started_at": "2023-08-04T10:04:06.280923Z", - "updated_at": "2023-08-04T10:04:15.716233Z", - "message": "Transaction complete", - "source_account": "GB4GJAV4Q7DPGU7WI3H5TMVKEYZJ4JFLFEF3O3TRJKDPXK7NAMRBXWFL", - "destination_account": "GDIN5ZULIOT5YPBIXJXFGNH4TCNTDKIA4ZF6QQE3S2P5P44BHCQQJNDC" - } - } - } - ] - }, { "name": "request_offchain_funds", "summary": "Request offchain funds", diff --git a/platforms/anchor-platform/api-reference/platform/rpc/methods/README.mdx b/platforms/anchor-platform/api-reference/platform/rpc/methods/README.mdx index ff7de768a..af6f30302 100644 --- a/platforms/anchor-platform/api-reference/platform/rpc/methods/README.mdx +++ b/platforms/anchor-platform/api-reference/platform/rpc/methods/README.mdx @@ -32,7 +32,6 @@ Postman collection is available [here](https://documenter.getpostman.com/view/92 | | [notify_offchain_funds_pending](notify_offchain_funds_pending.mdx) | | | [request_trust](request_trust.mdx) | | | [notify_trust_set](notify_trust_set.mdx) | -| | [request_customer_info_update](request_customer_info_update.mdx) | | | [notify_customer_info_updated](notify_customer_info_updated.mdx) | | | [notify_transaction_error](notify_transaction_error.mdx) | | | [notify_transaction_expired](notify_transaction_expired.mdx) | diff --git a/platforms/anchor-platform/api-reference/platform/rpc/methods/request_customer_info_update.mdx b/platforms/anchor-platform/api-reference/platform/rpc/methods/request_customer_info_update.mdx deleted file mode 100644 index 350b72c00..000000000 --- a/platforms/anchor-platform/api-reference/platform/rpc/methods/request_customer_info_update.mdx +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: request_customer_info_update -hide_title: true ---- - -import { RpcMethod } from "@site/src/components/RpcMethod"; -import rpcSpec from "../anchor-platform.openrpc.json"; - - meth.name === "request_customer_info_update", - )[0] - } -/> diff --git a/platforms/anchor-platform/assets/sep31-transition-diagram.png b/platforms/anchor-platform/assets/sep31-transition-diagram.png index 3944ea0b1..8dae3cd7b 100644 Binary files a/platforms/anchor-platform/assets/sep31-transition-diagram.png and b/platforms/anchor-platform/assets/sep31-transition-diagram.png differ diff --git a/platforms/anchor-platform/assets/sep6-deposit-flow-diagram.png b/platforms/anchor-platform/assets/sep6-deposit-flow-diagram.png index 75d4d271a..fa947373a 100644 Binary files a/platforms/anchor-platform/assets/sep6-deposit-flow-diagram.png and b/platforms/anchor-platform/assets/sep6-deposit-flow-diagram.png differ diff --git a/platforms/anchor-platform/assets/sep6-withdrawal-flow-diagram.png b/platforms/anchor-platform/assets/sep6-withdrawal-flow-diagram.png index 0bf199f47..187b871aa 100644 Binary files a/platforms/anchor-platform/assets/sep6-withdrawal-flow-diagram.png and b/platforms/anchor-platform/assets/sep6-withdrawal-flow-diagram.png differ diff --git a/static/definitions/sep6_24_31_status_transition_diagrams.drawio b/static/definitions/sep6_24_31_status_transition_diagrams.drawio index 2c84dc85d..376b87649 100644 --- a/static/definitions/sep6_24_31_status_transition_diagrams.drawio +++ b/static/definitions/sep6_24_31_status_transition_diagrams.drawio @@ -1,258 +1,258 @@ - - - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -261,42 +261,42 @@ - + - + - + - + - + - + - + - + - + - + @@ -305,7 +305,7 @@ - + @@ -314,12 +314,12 @@ - + - + @@ -329,31 +329,31 @@ - + - + - + - + - + - + - + @@ -361,7 +361,7 @@ - + @@ -652,8 +652,8 @@ - - + + @@ -827,7 +827,7 @@ - + @@ -849,8 +849,8 @@ - - + + @@ -901,7 +901,7 @@ - + @@ -1184,11 +1184,23 @@ + + + + + + + + + + + + - - + + @@ -1298,7 +1310,7 @@ - + @@ -1400,6 +1412,14 @@ + + + + + + + +