Skip to content

Commit d7a465c

Browse files
Fix/solana payment (#35)
* Solana payment doc fixes
1 parent 11fd7ac commit d7a465c

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

mkdocs/docs/credentials/0.1/payment-request.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ General request format for payment from user.
1616
],
1717
"data":[{
1818
"@context": "https://schema.iden3.io/core/jsonld/payment.jsonld",
19-
"type":"Iden3PaymentRequestCryptoV1 | Iden3PaymentRailsRequestV1 | Iden3PaymentRailsERC20RequestV1",
19+
"type":"Iden3PaymentRequestCryptoV1 | Iden3PaymentRailsRequestV1 | Iden3PaymentRailsERC20RequestV1 | Iden3PaymentRailsSolanaRequestV1 | Iden3PaymentRailsSolanaSPLRequestV1",
2020
...
2121
}],
2222
"description":"you can pass the verification on our KYC provider by following the next link",
@@ -204,7 +204,7 @@ Type field specification:
204204
| type | Payment Type | "Iden3PaymentRailsSolanaRequestV1"||
205205
| @context | context for ld type | string ||
206206
| recipient | withdrawal address of the issuer | string ||
207-
| amount | amounts in lamports. | string (non negative integer) ||
207+
| amount | amounts in lamports | string (non negative integer) ||
208208
| expirationDate | expiration of specific payment request | string (ISO format) ||
209209
| proof | w3c security proof | object[] or object ||
210210
| metadata | any additional request metadata | string (hex) ||
@@ -227,7 +227,7 @@ Type field specification:
227227
| recipient | withdrawal address of the issuer | string ||
228228
| tokenAddress | address of the token contract | string ||
229229
| features | list of features supported by token contract | string[] ||
230-
| amount | smallest decimal for SPL tokens. | string (non negative integer) ||
230+
| amount | smallest decimal for SPL tokens | string (non negative integer) ||
231231
| expirationDate | expiration of specific payment request | string (ISO format) ||
232232
| proof | w3c security proof | object[] or object ||
233233
| metadata | any additional request metadata | string (hex) ||
@@ -452,7 +452,7 @@ For now only support proof type is [SolanaEd25519Signature2025](https://schema.i
452452
}
453453
```
454454

455-
??? solana native
455+
??? solana-native
456456
```json
457457
{
458458
"id": "84523aa3-1b1b-4cde-9b18-6662d796a020",
@@ -507,7 +507,7 @@ For now only support proof type is [SolanaEd25519Signature2025](https://schema.i
507507
}
508508
```
509509

510-
??? solana SPL
510+
??? solana-SPL
511511
```json
512512
{
513513
"id": "70574bc1-2472-4fa0-b7b1-b79a84376fab",

mkdocs/docs/credentials/0.1/payment.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ General payment message from user.
99
"payments": [
1010
{
1111
"@context": "https://schema.iden3.io/core/jsonld/payment.jsonld",
12-
"type": "Iden3PaymentCryptoV1 | Iden3PaymentRailsV1 | Iden3PaymentRailsERC20V1 | Iden3PaymentRailsSolanaV1 | Iden3PaymentRailsSolanaSPLV1,
12+
"type": "Iden3PaymentCryptoV1 | Iden3PaymentRailsV1 | Iden3PaymentRailsERC20V1 | Iden3PaymentRailsSolanaV1 | Iden3PaymentRailsSolanaSPLV1",
1313
...
1414
}
1515
]
@@ -91,12 +91,12 @@ Type field specification:
9191
| Field | Description | Type | Required |
9292
|--------------------------|-----------------------------------------|--------------------------------|----------|
9393
| nonce | Payment unique nonce | string (non negative integer) ||
94-
| type | Payment Type | "Iden3PaymentRailsERC20V1" ||
94+
| type | Payment Type | "Iden3PaymentRailsSolanaSPLV1" ||
9595
| @context | type ld context url | string ||
9696
| paymentData | Payment Type | object ||
9797
| paymentData.txId | Transaction hash | string ||
9898
| paymentData.chainId | chain id in which payment has been done | string ||
99-
| paymentData.tokenAddress | address of SPL contract | string ||
99+
| paymentData.tokenAddress | address of SPL contract | string ||
100100

101101

102102
**Examples of credential payment responses different payment types:**
@@ -182,7 +182,7 @@ Type field specification:
182182

183183
```
184184

185-
??? Solana native
185+
??? Solana-native
186186

187187
```json
188188
{
@@ -210,7 +210,7 @@ Type field specification:
210210

211211
```
212212

213-
??? Solana SPL
213+
??? Solana-SPL
214214

215215
```json
216216
{

0 commit comments

Comments
 (0)