Skip to content

Commit

Permalink
Merge pull request #312 from mercadopago/feature/add-external-3DS-req…
Browse files Browse the repository at this point in the history
…uest-fields

Add external 3DS request fields
  • Loading branch information
meliguilhermefernandes authored Jul 16, 2024
2 parents 81d6f50 + 06119da commit d38a6ce
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion src/clients/payment/create/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export declare type PaymentCreateRequest = {
metadata?: any,
notification_url?: string,
payment_method_id?: string,
payment_method?: PaymentMethod,
statement_descriptor?: string,
token?: string,
transaction_amount?: number,
Expand Down Expand Up @@ -116,7 +117,26 @@ export declare type AdditionalInfo = {
shipments?: Shipments,
};

export declare type PaymentMethod = {
data?: PaymentMethodData,
type?: string,
}

export declare type PaymentMethodData = {
authentication?: PaymentMethodDataAuthentication,
}

export declare type PaymentMethodDataAuthentication = {
acs_trans_id?: string,
authentication_status?: string,
cryptogram?: string,
ds_trans_id?: string,
eci?: string,
three_ds_server_trans_id?: string,
three_ds_version?: string,
type?: string,
}

export declare type TransactionDetailsRequest = {
financial_institution?: string,
};

0 comments on commit d38a6ce

Please sign in to comment.