Carouseller
Home
  • 🚀Getting started
    • Payment glossary
  • Cashier integration
    • Key obtaining
    • Cashier opening
      • iFrame
      • Native version
    • Cashier opening 2.0
      • iFrame
    • Payment processing
    • Webhooks
      • Successful transaction conditions
      • Notification parameters
    • Report request
    • Tracking user's activity in the cashier
    • User reset conditions
    • Signature
  • Payment API
    • API 1.0
      • Key obtaining
      • Deposit
      • Payout
      • Transaction status
    • API 2.0
      • Payment Page Integration
      • Transaction statuses
    • 3DS handler
  • Transaction types
  • Payment methods
  • Test card numbers
Powered by GitBook
On this page
  • Request address
  • Reset parameters
  1. Cashier integration

User reset conditions

Successful user reset conditions.

User rotation reset made by API. To the below specified address send JSON with three parameters: site_id, site_login and signature.

Request address

https://a.papaya.ninja/api/clear/rotation/
curl -X POST -H "Content-Type: application/json" \
     -d '{"site_id": 21, "site_login": "551d0ad9072b30f3b71b989e", "signature": "50a29ef99a552115c4d8c6502a56be75384d77ff"}' https://a.papaya.ninja/api/clear/rotation/

Possible responds to the request:

{
    "error": null,
    "success": true
}

{
    "error": "Particular error.",
    "success": false
}
import requests

url = 'https://a.papaya.ninja/api/clear/rotation/'

json = dict(
    site_id=21,
    site_login="551d0ad9072b30f3b71b989e",
    signature="50a29ef99a552115c4d8c6502a56be75384d77ff"
)
response = requests.post(url, json=json)
data = response.json()

Possible responds to the request:

{
    "error": null,
    "success": true
}

{
    "error": "Particular error.",
    "success": false
}

Reset parameters

Main request parameters for user rotation reset

Parameter
Mandatory
Format
Description
Example

site_id

Yes

integer

Site identifier in the system

1

site_login

Yes

varchar(256)

User’s site login

user_test

signature

Yes

SHA-1

Request signature, see Request signature generating rules

50a29ef99a552115c4d8c6502a56be75384d77ff

PreviousTracking user's activity in the cashierNextSignature

Last updated 1 year ago

Page cover image