Skip to content
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

Submitting FIS12 Logs to ONDC #1931

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
117 changes: 117 additions & 0 deletions FIS12/flow_1_with_aggregator/confirm_1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
{
"context": {
"domain": "ONDC:FIS12",
"location": {
"country": {
"code": "IND"
},
"city": {
"code": "*"
}
},
"transaction_id": "37b847ca-9a01-4116-b6e7-2f61440fac48",
"message_id": "7058843f-5e91-4141-b0a8-1ea0743168f9",
"action": "confirm",
"timestamp": "2025-01-28T11:56:42.000Z",
"version": "2.0.0",
"bap_uri": "https://preprod-ondc.airpay.ninja/FS",
"bap_id": "preprod-ondc.airpay.ninja",
"bpp_id": "pramaan.ondc.org/beta/preprod/mock/seller",
"bpp_uri": "https://pramaan.ondc.org/beta/preprod/mock/seller",
"ttl": "PT10M"
},
"message": {
"order": {
"provider": {
"id": "c29d8cf3-5eeb-4aac-9eff-f5fadfd4dbc3"
},
"items": [
{
"id": "3b55859a-0d94-427e-b1ef-9deab8cb6928",
"xinput": {
"form": {
"id": "6b3a685a-00b4-466a-88e0-a933f11fe020"
},
"form_response": {
"status": "SUCCESS",
"submission_id": "4c0fe218-02c5-4245-ad55-28f873d7753f"
}
}
}
],
"payments": [
{
"id": "c1663db3-6761-4be6-81e7-570bcc694a74",
"collected_by": "BPP",
"type": "ON_ORDER",
"status": "NOT-PAID",
"params": {
"bank_code": "XXXXXXXX",
"bank_account_number": "xxxxxxxxxxxxxx",
"virtual_payment_address": "9988199772@okicic"
},
"tags": [
{
"descriptor": {
"code": "BUYER_FINDER_FEES"
},
"display": false,
"list": [
{
"descriptor": {
"code": "BUYER_FINDER_FEES_TYPE"
},
"value": "percent-annualized"
},
{
"descriptor": {
"code": "BUYER_FINDER_FEES_PERCENTAGE"
},
"value": "1"
}
]
},
{
"descriptor": {
"code": "SETTLEMENT_TERMS"
},
"display": false,
"list": [
{
"descriptor": {
"code": "SETTLEMENT_AMOUNT"
},
"value": "1666.67"
},
{
"descriptor": {
"code": "SETTLEMENT_TYPE"
},
"value": "neft"
},
{
"descriptor": {
"code": "DELAY_INTEREST"
},
"value": "5"
},
{
"descriptor": {
"code": "STATIC_TERMS"
},
"value": "https=>//bap.credit.becknprotocol.io/personal-banking/loans/personal-loan"
},
{
"descriptor": {
"code": "OFFLINE_CONTRACT"
},
"value": "true"
}
]
}
]
}
]
}
}
}
116 changes: 116 additions & 0 deletions FIS12/flow_1_with_aggregator/init_1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
{
"context": {
"domain": "ONDC:FIS12",
"location": {
"country": {
"code": "IND"
},
"city": {
"code": "*"
}
},
"transaction_id": "37b847ca-9a01-4116-b6e7-2f61440fac48",
"message_id": "6be5fb41-07a7-4d2e-b6bd-fa902d9ed149",
"action": "init",
"timestamp": "2025-01-28T11:54:42.000Z",
"version": "2.0.0",
"bap_uri": "https://preprod-ondc.airpay.ninja/FS",
"bap_id": "preprod-ondc.airpay.ninja",
"ttl": "PT10M",
"bpp_id": "pramaan.ondc.org/beta/preprod/mock/seller",
"bpp_uri": "https://pramaan.ondc.org/beta/preprod/mock/seller"
},
"message": {
"order": {
"provider": {
"id": "c29d8cf3-5eeb-4aac-9eff-f5fadfd4dbc3"
},
"items": [
{
"id": "3b55859a-0d94-427e-b1ef-9deab8cb6928",
"xinput": {
"form": {
"id": "ad7922ac-5746-4c98-a4ab-949ad270daa3"
},
"form_response": {
"status": "SUCCESS",
"submission_id": "ba280c21-818c-4f62-802f-927cba135d3b"
}
}
}
],
"payments": [
{
"collected_by": "BPP",
"type": "ON_ORDER",
"status": "NOT-PAID",
"params": {
"bank_code": "XXXXXXXX",
"bank_account_number": "xxxxxxxxxxxxxx",
"virtual_payment_address": "9988199772@okicic"
},
"tags": [
{
"descriptor": {
"code": "BUYER_FINDER_FEES"
},
"display": false,
"list": [
{
"descriptor": {
"code": "BUYER_FINDER_FEES_TYPE"
},
"value": "percent-annualized"
},
{
"descriptor": {
"code": "BUYER_FINDER_FEES_PERCENTAGE"
},
"value": "1"
}
]
},
{
"descriptor": {
"code": "SETTLEMENT_TERMS"
},
"display": false,
"list": [
{
"descriptor": {
"code": "SETTLEMENT_AMOUNT"
},
"value": "1666.67"
},
{
"descriptor": {
"code": "SETTLEMENT_TYPE"
},
"value": "neft"
},
{
"descriptor": {
"code": "DELAY_INTEREST"
},
"value": "5"
},
{
"descriptor": {
"code": "STATIC_TERMS"
},
"value": "https=>//bap.credit.becknprotocol.io/personal-banking/loans/personal-loan"
},
{
"descriptor": {
"code": "OFFLINE_CONTRACT"
},
"value": "true"
}
]
}
]
}
]
}
}
}
117 changes: 117 additions & 0 deletions FIS12/flow_1_with_aggregator/init_2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
{
"context": {
"domain": "ONDC:FIS12",
"location": {
"country": {
"code": "IND"
},
"city": {
"code": "*"
}
},
"transaction_id": "37b847ca-9a01-4116-b6e7-2f61440fac48",
"message_id": "fa8b702a-4326-4799-b897-7e34eb8a900f",
"action": "init",
"timestamp": "2025-01-28T11:55:11.000Z",
"version": "2.0.0",
"bap_uri": "https://preprod-ondc.airpay.ninja/FS",
"bap_id": "preprod-ondc.airpay.ninja",
"ttl": "PT10M",
"bpp_id": "pramaan.ondc.org/beta/preprod/mock/seller",
"bpp_uri": "https://pramaan.ondc.org/beta/preprod/mock/seller"
},
"message": {
"order": {
"provider": {
"id": "c29d8cf3-5eeb-4aac-9eff-f5fadfd4dbc3"
},
"items": [
{
"id": "3b55859a-0d94-427e-b1ef-9deab8cb6928",
"xinput": {
"form": {
"id": "144152e4-4a42-442f-82d3-136f34e0625a"
},
"form_response": {
"status": "SUCCESS",
"submission_id": "425e16db-ccca-406f-bd19-8f006493a200"
}
}
}
],
"payments": [
{
"id": "c1663db3-6761-4be6-81e7-570bcc694a74",
"collected_by": "BPP",
"type": "ON_ORDER",
"status": "NOT-PAID",
"params": {
"bank_code": "XXXXXXXX",
"bank_account_number": "xxxxxxxxxxxxxx",
"virtual_payment_address": "9988199772@okicic"
},
"tags": [
{
"descriptor": {
"code": "BUYER_FINDER_FEES"
},
"display": false,
"list": [
{
"descriptor": {
"code": "BUYER_FINDER_FEES_TYPE"
},
"value": "percent-annualized"
},
{
"descriptor": {
"code": "BUYER_FINDER_FEES_PERCENTAGE"
},
"value": "1"
}
]
},
{
"descriptor": {
"code": "SETTLEMENT_TERMS"
},
"display": false,
"list": [
{
"descriptor": {
"code": "SETTLEMENT_AMOUNT"
},
"value": "1666.67"
},
{
"descriptor": {
"code": "SETTLEMENT_TYPE"
},
"value": "neft"
},
{
"descriptor": {
"code": "DELAY_INTEREST"
},
"value": "5"
},
{
"descriptor": {
"code": "STATIC_TERMS"
},
"value": "https=>//bap.credit.becknprotocol.io/personal-banking/loans/personal-loan"
},
{
"descriptor": {
"code": "OFFLINE_CONTRACT"
},
"value": "true"
}
]
}
]
}
]
}
}
}
Loading