Skip to content

Commit

Permalink
add fields
Browse files Browse the repository at this point in the history
  • Loading branch information
vicorrea25 committed Aug 29, 2024
1 parent 16e4d86 commit e60bce2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Releases

## VERSION 2.0.15
- Include reference_id in Data in Payment Method in Payment
- Include external_reference_id in Data in Payment Method in Payment
- Include external_resource_url in Data in Payment Method in Payment

## VERSION 2.0.14
- Change application_fee type for number

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mercadopago",
"version": "2.0.14",
"version": "2.0.15",
"description": "Mercadopago SDK for Node.js",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
3 changes: 3 additions & 0 deletions src/clients/payment/commonTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ export declare type Rules = {
export declare type Data = {
routing_data?: MerchantAccount;
rules?: Rules;
reference_id?: string;
external_reference_id?: string;
external_resource_url?: string;
};

export declare type PaymentMethod = {
Expand Down

0 comments on commit e60bce2

Please sign in to comment.