Checkout general payment link
Changed onStarts a payment against a general link by collecting the customer email and chosen currency, returning a checkout URL for that specific payment.
Request
- Base URLhttps://api.kyshi.co
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Code returned when the resource was created.
Request body
Example request
{
"localCurrency": "NGN",
"customer": {
"email": "dom@yopmail.com",
"firstName": "Dom",
"lastName": "Aba"
},
"redirectUrl": "https://merchant.example.com/payments/return"
}Response
Success.
Example response
{
"status": true,
"message": "Success",
"code": 200,
"data": {}
}Changes
- breaking
added to the
request propertyallOflist - breaking
the request property
became required - breaking
the
request property type changed fromobjectto no type - breaking
the response's body type changed from
objectto no type for status - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
the endpoint scheme security
ApiKeyAuthwas added to the API - info
added
subschema #2to the response bodyallOflist for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking