File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ export type CreatePaymentRequest = {
4545 schedule ?: PaymentRequestSchedule
4646 smartAccountId ?: string
4747 clientPaymentId ?: string
48+ isSandbox : boolean
4849}
4950
5051export type PaymentRequestSchedule =
@@ -147,6 +148,8 @@ export type PaymentRequest = {
147148 updatedAt : Date
148149 /**! Identification from client that can be used to track payment */
149150 clientPaymentId : string | null
151+ /**! Indicates if the paymentRequest is sandbox */
152+ isSandbox : boolean
150153}
151154
152155export type PaymentRequestAutomaticPix = Omit < PaymentRequest , 'amount' >
@@ -156,4 +159,4 @@ export type CallbackUrls = {
156159 error ?: string
157160}
158161
159- export type CreatePaymentRequestAutomaticPix = Pick < CreatePaymentRequest , 'description' | 'recipientId' | 'customerId' | 'callbackUrls' | 'clientPaymentId' > & PaymentRequestAutomaticPixDetails
162+ export type CreatePaymentRequestAutomaticPix = Pick < CreatePaymentRequest , 'description' | 'recipientId' | 'customerId' | 'callbackUrls' | 'clientPaymentId' > & PaymentRequestAutomaticPixDetails & { isSandbox : boolean }
You can’t perform that action at this time.
0 commit comments