Create Payment Group
Request
Redirect URL | Method | # |
---|---|---|
https://app.lekirpay.com/api/payment_group/create | POST |
Parameter |
Parameter | Type | Position | Required? | Description |
---|---|---|---|---|
Content-Type | string |
Header |
Not Required |
application/json |
Accept | string |
Header |
Not Required |
application/json |
Authorization | string |
Header |
Yes |
Bearer TOKEN |
name | string |
Body |
Yes |
|
description | string |
Body |
Yes |
Example request
curl -X POST \ https://app.lekirpay.com/api/payment_group/create \ -H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImViZGJiMWMyMThiN2FlNGYxMjYwYTI5MTQzNWMzZTcxYzg2YTY5OTg2YmVjNzc5YjY3M2ZkZTk0M2I0MGIzMTAyYjM5YmZiMDQzNWI5N2NhIn0.eyJhdWQiOiI3MzQ2NzQxNyIsImp0aSI6ImViZGJiMWMyMThiN2FlNGYxMjYwYTI5MTQzNWMzZTcxYzg2YTY5OTg2YmVjNzc5YjY3M2ZkZTk0M2I0MGIzMTAyYjM5YmZiMDQzNWI5N2NhIiwiaWF0IjoxNTc2NzQ4NzE2LCJuYmYiOjE1NzY3NDg3MTYsImV4cCI6MTU3ODA0NDcxNSwic3ViIjoiIiwic2NvcGVzIjpbXX0.krOKzROJI87yBcU6-SXtqB9bpK2H6IH9GToiF28x9yzm3w-lJ7_IQvmpuFrltERDOx0pnGWdKnH9NrJB98TmsIsBlyiBQDLlRA8-PaarIO87pJ56UjqPLFhlNR7BYsR3EFvcxNRSLzftZjeyQNVA8CCOVyF2znTYG6knSj42idKY8TbJT_sSpz6f0-Vp813G0hEFWDI41dkJn0USgXKRsoepllxqfl3VnM-4DlMd1RfvDuaS8X2eFv6FThlFqlbqhKGOu2r86wIy7VER002h2k2MFaloJkWvx06bcoHEfG-3PwZG9FrTN7-S8VjpbUtRVbCfGlm7x0-p4-j0jGdkgxGyG6uwmghaQl4DL8tMCXGzjcItwT0GkfxQAFGTVbxC--53qsZRPUuEM8hPcUYeG8HMSAZZlBjNhaSCvUw9zoP2mXm8fH7wC5mSfLJaOLGutf3liXP67Wz_kQ6UeY-SqkHT1lAi8mOvvfHrVSxVObfd28iXIV7VMVHuGIVctsh9to71MCRxhHtVmi_I0VGncBJdzmAZFPwDwzGUNvTY8PjJWLf5b3IixXszw8o357mGEXmAucZySiCzD9gt3LjTaH9oZc505eWbarjpnMUdzRnRcKxvOujUVjyNGjB1LWzx7Hzu1WrjTVzuiRqUB3ts4nYyzTurC9pydf7KAHeBp-c' \ -F name=Bills \ -F 'description=Utilities bills'
Response
{ "name": "Bills", "description": "Utilities bills", "group_id": "2jhnt9fz2m", "status": "Active", "created_at": { "date": "2019-12-24 14:33:34.000000", "timezone_type": 3, "timezone": "Asia/Kuala_Lumpur" } }