-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
13 changed files
with
22 additions
and
75 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
[submodule "themes/hexon-hugo-theme"] | ||
path = themes/hexon-hugo-theme | ||
<<<<<<< HEAD | ||
url = [email protected]:OdinsPlasmaRifle/hexon-hugo-theme.git | ||
======= | ||
url = https://github.com/OdinsPlasmaRifle/hexon-hugo-theme.git | ||
>>>>>>> 352468ee464880e3a784cf2ad787f278d79c94a6 |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
date: 2018-09-17T15:21:22+02:00 | ||
title: Merchant checkout | ||
description: Merchent checkout API documentation. | ||
description: Merchant checkout API documentation. | ||
weight: 1 | ||
linkTo: /checkout/get-started/introduction | ||
--- |
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 |
---|---|---|
|
@@ -47,7 +47,7 @@ cancelled | The invoice has been set to cancelled by a manager. | |
"metadata": null, | ||
"status": "overpaid", | ||
"account": null, | ||
"redirect_url": "<domain>?request=deb62287-dbc6-4f11-8f83-d753f6cf1284", | ||
"redirect_url": "{{param appUrl}}?request=deb62287-dbc6-4f11-8f83-d753f6cf1284", | ||
"payer_email": "[email protected]", | ||
"return_url": null, | ||
"payment_processor_quotes": [ | ||
|
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 |
---|---|---|
|
@@ -20,22 +20,15 @@ The required information from the user is: | |
|
||
Once the user has provided this information you will need to PATCH the Invoice as follows: | ||
``` | ||
curl -X PATCH "/requests/<invoice-id>/" -H "accept: application/json" | ||
curl -X PATCH "{{<param invoicesApi>}}/api/requests/<invoice-id>/" -H "accept: application/json" | ||
-H "Content-Type: application/json" | ||
-d "{ \"payer_email\": \"[email protected]\", \"payer_mobile_number\": \"+27777777777\"}" | ||
``` | ||
|
||
If successful the user will receive an SMS with the OTP code. You will need to provide a way for the user to enter this code so you can make a POST request to: `/manager/businesses/<business_id>/invoice/<invoice-id>/otp-challenge` as follows: | ||
If successful the user will receive an SMS with the OTP code. You will need to provide a way for the user to enter this code so you can make a POST request to: `{{<param invoicesAPI>}}/api/manager/businesses/<business_id>/invoice/<invoice-id>/otp-challenge/` as follows: | ||
``` | ||
curl -X POST "/requests/<invoice-id>/otp_challenge/" | ||
curl -X POST "{{param invoicesApi}}/requests/<invoice-id>/otp_challenge/" | ||
-H "accept: application/json" -H "Content-Type: application/json" --data '{"otp": "401703"}' | ||
``` | ||
|
||
This is a simple Success/Response endpoint. On a successful 201 response a transfer will be created automatically between you and the user. Any errors will need to be forwarded to the end user. | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
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