-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PARTNER-146: Add external_account_id to SEP-9 #1410
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the difference between the id
sent in SEP-12 requests vs. the external_account_id
parameter? They seem like the same thing to me.
Very good point. I guess it would depend on how the partner is planning on handling things on their side, but yes I believe they could potentially be the same thing as Sep-12's |
Ideally, it should be the same (I don't see why they should be different, actually). This field is to be used in other SEPs that may not use SEP-12, to pass the customer's ID along the KYC (mainly, it's for SEP-24) |
I think so. Adding something like |
This matches SEP-31's design of having |
@JakeUrban do you think we need to add |
I think adding the |
I think it actually makes sense to pass customer_id before KYC. |
Ah you're right. The
|
ecosystem/sep-0006.md
Outdated
@@ -331,6 +331,7 @@ Name | Type | Description | |||
`amount` | string | (optional) The amount of the asset the user would like to deposit with the anchor. This field may be necessary for the anchor to determine what KYC information is necessary to collect. | |||
`country_code` | string | (optional) The [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) code of the user's current address. This field may be necessary for the anchor to determine what KYC information is necessary to collect. | |||
`claimable_balance_supported` | string | (optional) `true` if the client supports receiving deposit transactions as a claimable balance, `false` otherwise. | |||
| `customer_id` | string | (optional) ID of an account associated with this user (identified by JWT) used by the anchor. If the anchor supports [SEP-12], the `customer_id` field should match [SEP-12] Customer's id. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't quite understand the definition.
ID of an account associated with this user (identified by JWT) used by the anchor.
Is the account
supposed to be some kind of off-chain record, like a github account? Or are you referring to a Stellar account here?
When you say (identified by JWT)
, are you referring to the user or their account mentioned above?
Unrelatedly, lets make sure we're being consistent with how we use "id" vs. "IDand remove the capital C in
Customer's`.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the account supposed to be some kind of off-chain record, like a github account
Yes, off-chain account (internal anchor's account)
When you say (identified by JWT), are you referring to the user or their account mentioned above?
Account + memo combination
I will rephrase description so it's more clear
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with the grammar edits made in my comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
No description provided.