Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] PHP: Refactor Subscription API to Activate #1199

Open
rachael444 opened this issue Aug 25, 2024 · 0 comments
Open

[Fix] PHP: Refactor Subscription API to Activate #1199

rachael444 opened this issue Aug 25, 2024 · 0 comments
Labels

Comments

@rachael444
Copy link

rachael444 commented Aug 25, 2024

Description

Subscription endpoint for activate

Route

/api/v1/subscriptions/{subscriptionId}/activate

Request Body

subscriptionId *

Response Body


{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "transactionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "plan": "string",
  "frequency": "string",
  "isActive": true,
  "amount": 0,
  "startDate": "2024-08-25T19:08:47.346Z",
  "expiryDate": "2024-08-25T19:08:47.346Z",
  "createdAt": "2024-08-25T19:08:47.346Z",
  "updatedAt": "2024-08-25T19:08:47.346Z"
}	

Link for referrence

https://staging.api-csharp.boilerplate.hng.tech/docs/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant