Recurrent Payments

This endpoint is used to initiate a recurrent (subscription-style) payment using previously stored payment credentials.\ It allows merchants to charge customers on a recurring basis without requiring them to re-enter card or wallet details each time.

πŸ” Recurrent Payments

Endpoint:

POST https://secure.carusell.world/pay/recurrent


πŸ•’ Recent Requests

Log in with your api_key to view request and response history.


πŸ“₯ Request Structure

You must include:

  • data: A base64-encoded JSON string with details of the recurring transaction.
  • sign: A HMAC-SHA256 signature generated using the encoded data and your secret_key.

Signature Formula:

sign = HMAC_SHA256(base64(data), secret_key)

πŸ” Recurrent Payments

Endpoint:

POST https://secure.carusell.world/pay/recurrent


πŸ”§ Body Parameters

NameTypeRequiredDescription
datastringβœ…A base64-encoded JSON string with recurring charge details (e.g. previous transaction reference, amount, currency)
signstringβœ…HMAC signature created from the data using your secret_key

βœ… Response

Status Code: 200 OK

Example:

{
"status": "processed", "transaction_id": "rec_txn_20250711", "message": "Recurring payment successfully initiated" }

The customer is not redirected during this process. You should store and monitor the transaction status using /get_orders_data or callbacks.