Skip to content
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 5 additions & 34 deletions localenv/mock-account-servicing-entity/generated/graphql.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* @param { import("knex").Knex } knex
* @returns { Promise<void> }
*/
exports.up = function (knex) {
return knex.schema.alterTable('outgoingPaymentCardDetails', function (table) {
table.dropColumn('expiry')
table.dropColumn('signature')

table.jsonb('data').notNullable()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mkurapov is this the TLV data?
If it is, the ASE would need to extract the TLV data in order to retrieve the txn-counter and related TLV data.

Copy link
Contributor Author

@mkurapov mkurapov Sep 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@koekiebox data is just JSON for flexibility, and in practice it is

{
    "signature": "", // generate AC response
    "payload": "", // generate AC payload
}

such that the cardholder's ASE can fetch it from the webhook and validate it.

See this Slack thread for example payload

table.timestamp('initiatedAt').notNullable()
})
}

/**
* @param { import("knex").Knex } knex
* @returns { Promise<void> }
*/
exports.down = function (knex) {
return knex.schema.alterTable('outgoingPaymentCardDetails', function (table) {
table.dropColumn('data')
table.dropColumn('initiatedAt')

table.string('signature').notNullable()
table.string('expiry').notNullable()
})
}
173 changes: 27 additions & 146 deletions packages/backend/src/graphql/generated/graphql.schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading