-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
xendit-devx-bot
committed
Sep 27, 2023
1 parent
93d3dbe
commit 782843b
Showing
45 changed files
with
2,415 additions
and
5,943 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,6 +122,42 @@ paths: | |
requestBody: | ||
content: | ||
application/json: | ||
examples: | ||
Account linking for E-Wallet: | ||
value: | ||
type: EWALLET | ||
reusability: MULTIPLE_USE | ||
customer: | ||
reference_id: customer-123 | ||
type: INDIVIDUAL | ||
individual_detail: | ||
given_names: John | ||
surname: Doe | ||
ewallet: | ||
channel_code: OVO | ||
channel_properties: | ||
success_return_url: https://redirect.me/success | ||
failure_return_url: https://redirect.me/failure | ||
cancel_return_url: https://redirect.me/cancel | ||
metadata: | ||
sku: example-1234 | ||
Account linking for PH Direct Debit: | ||
value: | ||
type: DIRECT_DEBIT | ||
direct_debit: | ||
channel_code: BPI | ||
channel_properties: | ||
success_return_url: https://redirect.me/success | ||
failure_return_url: https://redirect.me/failure | ||
reusability: MULTIPLE_USE | ||
customer: | ||
reference_id: customer-123 | ||
type: INDIVIDUAL | ||
individual_detail: | ||
given_names: John | ||
surname: Doe | ||
email: [email protected] | ||
mobile_number: 628774494404 | ||
schema: | ||
$ref: '#/components/schemas/PaymentMethodParameters' | ||
responses: | ||
|
@@ -187,42 +223,6 @@ paths: | |
"200": | ||
content: | ||
application/json: | ||
examples: | ||
Account linking for PH Direct Debit: | ||
value: | ||
type: DIRECT_DEBIT | ||
direct_debit: | ||
channel_code: BPI | ||
channel_properties: | ||
success_return_url: https://redirect.me/success | ||
failure_return_url: https://redirect.me/failure | ||
reusability: MULTIPLE_USE | ||
customer: | ||
reference_id: customer-123 | ||
type: INDIVIDUAL | ||
individual_detail: | ||
given_names: John | ||
surname: Doe | ||
email: [email protected] | ||
mobile_number: 628774494404 | ||
Account linking for E-Wallet: | ||
value: | ||
type: EWALLET | ||
reusability: MULTIPLE_USE | ||
customer: | ||
reference_id: customer-123 | ||
type: INDIVIDUAL | ||
individual_detail: | ||
given_names: John | ||
surname: Doe | ||
ewallet: | ||
channel_code: OVO | ||
channel_properties: | ||
success_return_url: https://redirect.me/success | ||
failure_return_url: https://redirect.me/failure | ||
cancel_return_url: https://redirect.me/cancel | ||
metadata: | ||
sku: example-1234 | ||
schema: | ||
$ref: '#/components/schemas/PaymentMethod' | ||
description: Request successful | ||
|
Oops, something went wrong.
782843b
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.
Is there any "Upgrade Guide" documentation from v2 to v3?
What i see here: https://developers.xendit.co/api-reference/#create-invoice
is still using v2
782843b
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.
@whousehomestay Not yet, may I ask what sort of information could be useful to you in an upgrade guide? I'm happy to write something on our Docs if its useful.
Meanwhile, have you taken a look at this https://github.com/xendit/xendit-php/blob/master/docs/Invoice/InvoiceApi.md? It is API Reference for our new V3 SDK 🙏
782843b
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.
If i'm not mistaken, some functions on v2 are renamed right? maybe it will be useful if there is a doc covered what actually changed from v2. So anyone who want to upgrade from v2 to v3, will see how big the effort, and how much changes must be made. Thank you. 😸
782843b
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.
Ah sure sure, we'll put this on our roadmap to have a guide for this. Thanks for the feedback!
For Invoice, since the underlying API is the same), the changes will be quite small. So you might be able to port over with minimal effort 🙏