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
9 changes: 8 additions & 1 deletion dev/apollo-federation/supergraph.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ type BridgeAddExternalAccountPayload
@join__type(graph: PUBLIC)
{
errors: [Error!]!
externalAccount: BridgeExternalAccount
externalAccount: BridgeExternalAccountLink
}

type BridgeCreateVirtualAccountPayload
Expand All @@ -287,6 +287,13 @@ type BridgeExternalAccount
status: String!
}

type BridgeExternalAccountLink
@join__type(graph: PUBLIC)
{
expiresAt: String!
linkUrl: String!
}

input BridgeInitiateKycInput
@join__type(graph: PUBLIC)
{
Expand Down
1 change: 1 addition & 0 deletions dev/config/base-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ bridge:
dwIDAQAB
-----END PUBLIC KEY-----
transfer: "<replace>"
external_account: "<replace>"
timestampSkewMs: 300000

# See Foreign Exchange Rates: https://www.firstglobal-bank.com/
Expand Down
7 changes: 6 additions & 1 deletion src/graphql/public/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ input BankAccountInput {

type BridgeAddExternalAccountPayload {
errors: [Error!]!
externalAccount: BridgeExternalAccount
externalAccount: BridgeExternalAccountLink
}

type BridgeCreateVirtualAccountPayload {
Expand All @@ -258,6 +258,11 @@ type BridgeExternalAccount {
status: String!
}

type BridgeExternalAccountLink {
expiresAt: String!
linkUrl: String!
}

input BridgeInitiateKycInput {
email: String
full_name: String
Expand Down