Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Commit

Permalink
feat: add payment challenge (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyrille Bourgois authored and antleblanc committed Jun 14, 2019
1 parent 2c71564 commit 5bf3210
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/me/payment/method/me-payment-method.v6.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ angular.module("ovh-api-services").service("OvhApiMePayMethodV6", function ($res
},
edit: {
method: "PUT"
},
challenge: {
method: "POST",
url: "/me/payment/method/:paymentMethodId/challenge"
}
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ angular.module("ovh-api-services").service("OvhApiMePaymentMeanBankAccountV6", f
chooseAsDefaultPaymentMean: {
method: "POST",
url: "/me/paymentMean/bankAccount/:id/chooseAsDefaultPaymentMean"
},
challenge: {
method: "POST",
url: "/me/paymentMean/bankAccount/:id/challenge"
}
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ angular.module("ovh-api-services").service("OvhApiMePaymentMeanCreditCardV6", fu
chooseAsDefaultPaymentMean: {
method: "POST",
url: "/me/paymentMean/creditCard/:id/chooseAsDefaultPaymentMean"
},
challenge: {
method: "POST",
url: "/me/paymentMean/creditCard/:id/challenge"
}
});

Expand Down
4 changes: 4 additions & 0 deletions src/me/paymentMean/paypal/me-paymentMean-paypal.v6.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ angular.module("ovh-api-services").service("OvhApiMePaymentMeanPaypalV6", functi
chooseAsDefaultPaymentMean: {
method: "POST",
url: "/me/paymentMean/paypal/:id/chooseAsDefaultPaymentMean"
},
challenge: {
method: "POST",
url: "/me/paymentMean/paypal/:id/challenge"
}
});

Expand Down

0 comments on commit 5bf3210

Please sign in to comment.