@@ -1055,7 +1055,25 @@ The body object must contain:
10551055 "per_transaction" : " 10000.00" ,
10561056 "per_day" : " 50000.00" ,
10571057 "currency" : " USD"
1058- }
1058+ },
1059+ "allowedBeneficiaries" : [
1060+ {
1061+ "@id" : " did:example:vendor-1" ,
1062+ "name" : " Approved Vendor 1"
1063+ },
1064+ {
1065+ "@id" : " did:example:vendor-2" ,
1066+ "name" : " Approved Vendor 2"
1067+ }
1068+ ],
1069+ "allowedSettlementAddresses" : [
1070+ " eip155:1:0x742d35Cc6e4dfE2eDFaD2C0b91A8b0780EDAEb58" ,
1071+ " eip155:1:0x89abcdefabcdefabcdefabcdefabcdefabcdef12"
1072+ ],
1073+ "allowedAssets" : [
1074+ " eip155:1/slip44:60" ,
1075+ " eip155:1/erc20:0xA0b86a33E6441b7178bb7094b2c4b6e5066d68B7"
1076+ ]
10591077 }
10601078 }
10611079}
@@ -1094,7 +1112,11 @@ The body object must contain:
10941112 "per_transaction" : " 5000.00" ,
10951113 "per_day" : " 25000.00" ,
10961114 "currency" : " USD"
1097- }
1115+ },
1116+ "allowedAssets" : [
1117+ " eip155:1/erc20:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" ,
1118+ " eip155:1/erc20:0x6B175474E89094C44Da98b954EedeAC495271d0F"
1119+ ]
10981120 }
10991121 }
11001122}
@@ -1192,12 +1214,32 @@ Requests a connection between agents with specified constraints.
11921214| -----------| ------| ----------| ---------| -------------|
11931215| @context | string | Yes | Draft ([ TAIP-15] ) | JSON-LD context "https://tap.rsvp/schema/1.0" |
11941216| @type | string | Yes | Draft ([ TAIP-15] ) | JSON-LD type "https://tap.rsvp/schema/1.0#Connect" |
1195- | agent | object | No | Draft ([ TAIP-15] ) | Details of the requesting agent |
1196- | principal | [ Party] ( #party ) | Yes | Draft ([ TAIP-15] ) | Party object representing the principal the agent acts on behalf of |
1197- | constraints | object | Yes | Draft ([ TAIP-15] ) | Transaction constraints for the connection |
1217+ | requester | [ Party] ( #party ) | Yes | Draft ([ TAIP-15] ) | Party object representing the party requesting the connection |
1218+ | principal | [ Party] ( #party ) | Yes | Draft ([ TAIP-15] ) | Party object representing the party the requesting agent acts on behalf of |
1219+ | agents | array | Yes | Draft ([ TAIP-15] ) | Array of agent objects involved in the connection process |
1220+ | constraints | object | Yes | Draft ([ TAIP-15] ) | Transaction constraints for the connection (see [ constraints table] ( #transaction-constraints ) ) |
11981221| expiry | string | No | Draft ([ TAIP-15] ) | ISO 8601 datetime indicating when the connection request expires |
11991222| agreement | string | No | Draft ([ TAIP-15] ) | URL or identifier of terms agreed to by the principal |
12001223
1224+ #### Transaction Constraints
1225+
1226+ The ` constraints ` object defines the boundaries and permissions for transactions performed through an established connection:
1227+
1228+ | Attribute | Type | Required | Status | Description |
1229+ | -----------| ------| ----------| ---------| -------------|
1230+ | purposes | array | No | Draft ([ TAIP-15] ) | Array of [ TAIP-13] purpose codes that are allowed |
1231+ | categoryPurposes | array | No | Draft ([ TAIP-15] ) | Array of [ TAIP-13] category purpose codes that are allowed |
1232+ | limits | object | No | Draft ([ TAIP-15] ) | Financial limits for transactions |
1233+ | limits.per_transaction | string | No | Draft ([ TAIP-15] ) | Maximum amount per transaction |
1234+ | limits.per_day | string | No | Draft ([ TAIP-15] ) | Maximum daily total |
1235+ | limits.per_week | string | No | Draft ([ TAIP-15] ) | Maximum weekly total |
1236+ | limits.per_month | string | No | Draft ([ TAIP-15] ) | Maximum monthly total |
1237+ | limits.per_year | string | No | Draft ([ TAIP-15] ) | Maximum yearly total |
1238+ | limits.currency | string | Yes* | Draft ([ TAIP-15] ) | ISO 4217 currency code (* required if limits are specified) |
1239+ | allowedBeneficiaries | array | No | Draft ([ TAIP-15] ) | Array of [ TAIP-6] Party objects representing approved payment recipients |
1240+ | allowedSettlementAddresses | array | No | Draft ([ TAIP-15] ) | Array of [ CAIP-10] addresses permitted for settlement |
1241+ | allowedAssets | array | No | Draft ([ TAIP-15] ) | Array of [ CAIP-19] asset identifiers that can be transacted |
1242+
12011243#### Example Connect Message
12021244``` json
12031245{
@@ -1233,7 +1275,25 @@ Requests a connection between agents with specified constraints.
12331275 "per_transaction" : " 10000.00" ,
12341276 "per_day" : " 50000.00" ,
12351277 "currency" : " USD"
1236- }
1278+ },
1279+ "allowedBeneficiaries" : [
1280+ {
1281+ "@id" : " did:example:vendor-1" ,
1282+ "name" : " Approved Vendor 1"
1283+ },
1284+ {
1285+ "@id" : " did:example:vendor-2" ,
1286+ "name" : " Approved Vendor 2"
1287+ }
1288+ ],
1289+ "allowedSettlementAddresses" : [
1290+ " eip155:1:0x742d35Cc6e4dfE2eDFaD2C0b91A8b0780EDAEb58" ,
1291+ " eip155:1:0x89abcdefabcdefabcdefabcdefabcdefabcdef12"
1292+ ],
1293+ "allowedAssets" : [
1294+ " eip155:1/slip44:60" ,
1295+ " eip155:1/erc20:0xA0b86a33E6441b7178bb7094b2c4b6e5066d68B7"
1296+ ]
12371297 },
12381298 "agreement" : " https://example.com/terms/v2.1"
12391299 }
@@ -1315,7 +1375,20 @@ This flow demonstrates establishing a connection between a B2B service and a VAS
13151375 "per_transaction" : " 10000.00" ,
13161376 "per_day" : " 50000.00" ,
13171377 "currency" : " USD"
1318- }
1378+ },
1379+ "allowedBeneficiaries" : [
1380+ {
1381+ "@id" : " did:example:vendor-1" ,
1382+ "name" : " Approved Vendor 1"
1383+ }
1384+ ],
1385+ "allowedSettlementAddresses" : [
1386+ " eip155:1:0x742d35Cc6e4dfE2eDFaD2C0b91A8b0780EDAEb58"
1387+ ],
1388+ "allowedAssets" : [
1389+ " eip155:1/slip44:60" ,
1390+ " eip155:1/erc20:0xA0b86a33E6441b7178bb7094b2c4b6e5066d68B7"
1391+ ]
13191392 }
13201393 }
13211394}
@@ -1426,7 +1499,12 @@ In self-onboarding scenarios, the agent and principal can be the same entity (e.
14261499 "per_transaction" : " 50000.00" ,
14271500 "per_day" : " 250000.00" ,
14281501 "currency" : " USD"
1429- }
1502+ },
1503+ "allowedAssets" : [
1504+ " eip155:1/slip44:60" ,
1505+ " eip155:1/erc20:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" ,
1506+ " eip155:1/erc20:0x6B175474E89094C44Da98b954EedeAC495271d0F"
1507+ ]
14301508 },
14311509 "agreement" : " https://wallet-service.com/terms-of-service/v3.0"
14321510 }
0 commit comments