-
Notifications
You must be signed in to change notification settings - Fork 8
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
[BRAAV-1092] Add page to trigger creation of an incoming wire #76
Conversation
Also made some changes to the chargeback mock endpoint to be consistent with paths used for mock
60382bd
to
1cce939
Compare
layouts/default.vue
Outdated
}, | ||
{ | ||
title: 'POST /mocks/payments/incomingWires', | ||
to: '/debug/payments/mocks/incomingWire', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would incomingWire
makes sense to client if we expose it as api path for mock push payment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I though incomingWires
would be more understandable than pushPayment
but open to suggestions on that one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
discussed offline. Will be using wirePayment
this will also help us distinguish with ach
@@ -1,5 +1,4 @@ | |||
import chargebacksApi, { | |||
CreateMockChargebackPayload, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can also simply remove the bracket here for formatting since we're only importing chargebacksApi
lib/mocksApi.ts
Outdated
import { getAPIHostname } from './apiTarget' | ||
|
||
export interface CreateMockIncomingWirePayload { | ||
trackingRefId: string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think trackingRef
would suffice. https://github.com/circlefin/platform-eft/blob/01a20ad08ca2bf4cd2212304d9824ca1828707c0/eft/src/main/java/com/circle/eft/external/wires/BankFiatAccountObject.java#L42 Would be nice if we match the response object.
@@ -90,6 +90,12 @@ | |||
Refund payment | |||
</a> | |||
</p> | |||
<p v-if="isSandbox"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to check isSmokebox
as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nvm, ignore me. I see you checking against isLive()
.
a8a8174
to
17c491f
Compare
Also made some changes to the chargeback mock endpoint to be consistent
with paths used for mock