Talkamie APIs
  1. finance
Talkamie APIs
  • https
    • alert
    • alerts
      • get alerts
    • auth
      • get user by token
      • sign up
      • sign in
      • sign out
    • availability
      • get custom availability
      • get weekly availability
      • set custom availability
      • set weekly availability
    • call
      • get call
    • calls
      • get call histories
    • chat
      • get chat
      • get messages
    • chats
      • get frequent chats
      • get unread chats
      • get chats
    • connect-request
    • connect-requests
      • get pending connection requests
      • get users you're in connection with
    • finance
      • subscriptions
        GET
      • web - tier subscription
        POST
      • web - cancel subscription
        DELETE
      • web - balance top-up
        POST
    • interests
      • get interests
    • otp
      • generate otp
      • verify otp
    • reviews
      • get your reviews
    • schedule
      • get a schedule
      • update a schedule
      • delete schedule
    • schedules
      • get all schedules
      • get past schedules
      • get upcoming schedules
    • signed-urls
      • files
    • user
      • update user
      • change password
      • get user
      • delete user
      • schedule a call
      • clear schedules
      • send connection request
      • cancel connection request
      • accept connection from user
      • reject connection request
      • send message request
      • cancel message request
      • accept message request
      • reject message request
      • get user reviews
      • review a user
      • update review
      • delete review
    • users
      • get users
    • verification
      • initiate background check
      • initiate face liveliness
  • wss
    • alert
    • auth
    • call
    • call-signal
    • chats
    • messaging
    • ping socket
  1. finance

web - tier subscription

Developing
Develop Env
https://test-api.talkamie.com/v1
Develop Env
https://test-api.talkamie.com/v1
POST
/web/finance/subscription/session
this initiates a subscription request for a user;
it returns an external link and a transaction ID; the external link is used to make the payment on a third-party platform;
when an error occurs, such as a network failure, and the user makes the same intent to subscribe, the transaction ID should be sent along, to avoid transaction duplicates;

Request

Header Params
Authorization
string 
required
Example:
Bearer <token>
Body Params application/json
tier
enum<integer> 
required
Allowed values:
12
periodicRate
enum<string> 
required
Allowed values:
monthlyyearly
transactionId
string 
optional
initially, a transaction ID is returned in the response; if the same request is to be sent again, the transaction ID should be sent with it to ensure idempotency while retrying with the same request, and to avoid duplicate transactions;
recurring
boolean 
optional
Example
{
    "tier": 1,
    "periodicRate": "monthly",
    "transactionId": "string",
    "recurring": true
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test-api.talkamie.com/v1/web/finance/subscription/session' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "tier": 1,
    "periodicRate": "monthly",
    "transactionId": "string",
    "recurring": true
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{
    "data": {
        "session": {
            "id": "string",
            "url": "https://some/url"
        },
        "transaction": {
            "id": "string"
        }
    }
}
Modified at 2025-07-30 06:00:05
Previous
subscriptions
Next
web - cancel subscription
Built with