Preview - new service methods and APIs
These are the new service methods in development.
raylopay/product/:variation_id/is_supported
raylopay/product/:variation_id/is_supportedThis service method checks whether a given product or product variation is supported by Raylo Pay.
Full URL: https://<domain>/rest/V1/raylopay/product/:variation_id/is_supported
Parameters (URL segment):
:variation_id— string, ID of a product or product variation.
Return type:
{
"success": true,
"result": {
"isSupported": boolean
}
} | {
"success": false,
"error": string,
}Example return value:
{
"success": true,
"result": {
"isSupported": true
}
}raylopay/order/send_update
raylopay/order/send_updateThis service method checks whether a given product or product variation is supported by Raylo Pay.
Full URL: https://<domain>/rest/V1/raylopay/order/send_update
Parameters (POST body):
Return type:
Example return value:
Notes:
If the update call originates from the same system, it will be possible to call a PHP API directly. An indicative implementation of it's interface, both for rest calls and direct PHP calls:
Last updated
Was this helpful?