curl --request POST \
--url http://localhost/mogl/mogl-backend/api/updatePayment \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"default_method": "S",
"paypal_id": "paypal@example.com"
}
'curl --request POST \
--url http://localhost/mogl/mogl-backend/api/updatePayment \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"default_method": "S",
"paypal_id": "paypal@example.com"
}
'Documentation Index
Fetch the complete documentation index at: https://developer.mogl.online/llms.txt
Use this file to discover all available pages before exploring further.
JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.
Payment settings updated