Page History
| Info |
|---|
Pay attention to the description of the parameters payment_url_success_id / payment_url_fail_id/ payment_url_pending_id and success_url / fail_url / pending_url. |
For the description of all the plug-in parameters click here.
API integration
Creating payment
URL: https://api.{URL_сервера}/api/v1/transaction/create/sinpemovil?secret={pluginapi_secret}
At this stage, we provide the details of the wallet to which the user must make a payment.
Request method:POST
Format:
JSON
Parameters:
Name | Type | Required | Max Length | Description |
| currency | string | yes | 3 | Currency code. |
label | string | yes | 190 | The unique identifier (ID) of the user who makes the payment. |
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
{
'currency': 'CRC',
'label': 'eligendi'
} |
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
{
"status": "ok",
"params": {
"identifier": "81354111",
"is_check_amount": true
}
} |
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
{
'status': 'fail',
'message': 'MESSAGE'
} |
Activation request
URL: https://api.{server_URL_}/api/v1/transaction/activate?secret={pluginapi_secret}
At this stage, the user sends the transaction number, which you send to Paykassma for activation.
Request method:
POST
Format:
JSON
Parameters:
Name | Type | Required | Max Length | Description |
| currency_code | string | yes | 3 | Currency code. |
wallet_type | string | yes | 190 | Method (Payment system). |
| label | string | yes | 190 | The unique identifier (ID) of the user who makes the payment. |
| key1 | string | yes | 190 | Transaction number received from the user. Length from 20 to 28 digits. |
| amount | float | yes | 256 | Amount of transaction. |
| custom_transaction_id | string | yes | 190 | Transaction ID in the Client's system. Must be unique. |
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
{
"currency_code": "CRC",
"wallet_type": "sinpemovil",
"label":"user",
"key1": "56309385895898488688",
"amount": 450,
"custom_transaction_id": "123465477897"
} |
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
{
"status": "ok",
"deposit": true,
"deposit_amount": 450,
"currency": {
"code": "CRC",
"symbol": "CRC"
}
} |
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
{
"status": "possible_transaction_created",
"message": "Transaction not found. Possible transaction created"
} |
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
{
"status": "fail",
"message": "MESSAGE"
} |
Deposit postback
For the general documentation on post backs click here.
Example of a deposit postback for a sinpemovil
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
{
"signature": "09887a95fab0928cd69a1bd8c6a925fe1d7bb97c",
"wallet_type": "sinpemovil",
"amount": 450,
"currency_code": "CRC",
"label": "eligendi",
"direction": "ingoing",
"created_datetime": "2025-12-18 10:27:40",
"access_key": "Qeiwk34Mdk2pdi1Jqi",
"additional_data": [
{
"activated_datetime": "2025-12-18 10:27:39",
"exchanger_identifier": "NAME",
"comment": "",
"amount": "450",
"currency_code": "CRC",
"wallet_type": "sinpemovil",
"stockpiling_id": 1104695,
"transaction_id": "56309385895898488688",
"transaction_type": 0,
"plugin_custom_order_id": "123465477897",
"withdrawal_id": null,
"withdrawal_status": null,
"account_number": "",
"account_name": "",
"account_email": "",
"bank_details": {
"bank_code": "",
"branch_code": ""
}
}
]
} |
| Warning |
|---|
The Paykassma server is waiting for a response in json {"status": "ok"} response code 200, otherwise, when receiving a different response, Paykassma will forward the postback with a certain frequency. |
Withdrawals for users
For the general documentation on the withdrawals of funds click here.
Creating withdrawal
URL: https://api.{server_URL}/v2/withdrawal/create
Request method:
POST
Format:
JSON
Parameters:
Name | Type | Required | Description |
| withdrawal_id | string | yes | Withdrawal ID, if the parameter is not passed, then the system generates withdrawal_id. |
| payment_system | string | yes | Payment system. |
| amount | int | required | Additional requirements:
|
| currency_code | string | yes | Currency code. |
label | string | yes | The unique identifier (ID) of the user who makes the payment. |
| account_number | string | yes | The user's account number (8 digits). |
| account_name | string | yes | Name and Surname of the account holder. |
is_test | boolean | yes | The is_test parameter possible values:
|
| signature | string | yes | Signature generated with private_key. |
| Code Block | ||||
|---|---|---|---|---|
| ||||
{
"withdrawal_id": "test12d2345678",
"payment_system": "sinpemovil_ml",
"amount": 5000,
"currency_code": "CRC",
"label": "testuser",
"account_number": "76512163584",
"account_name": "Account Name",
"is_test": false,
"signature": "1971080e38149f0e22cc2bc53f29b387705fb780"
} |
| Code Block | ||||
|---|---|---|---|---|
| ||||
{
"status": "ok",
} |
| Code Block | ||||
|---|---|---|---|---|
| ||||
{
"status": "fail",
"message": "MESSAGE"
} |
*If, when trying to create a withdrawal request, the amount of account balances in the currency of the request is less than the total amount of new and still incomplete applications, the error message"Insufficient balance" will be displayed (to configure this functionality, contact the TS Paykassma).
| Code Block | ||||
|---|---|---|---|---|
| ||||
{
"status": "fail",
"message": {
"withdrawals_sum_amount": [
"Insufficient balance"
]
}
} |
Example of a withdrawal postback for a Sinpe Movil
| Code Block | ||||
|---|---|---|---|---|
| ||||
{
"signature": "6919e2a69bcc18968afe04053e9d40d5272d6083",
"wallet_type": "sinpemovil_ml",
"amount": 5000,
"currency_code": "CRC",
"label": "testuser",
"direction": "outgoing",
"created_datetime": "2025-11-14 14:39:45",
"access_key": "uowkn0b3LfBxpcWYHi4_",
"additional_data": [
{
"activated_datetime": "",
"exchanger_identifier": "",
"comment": "",
"amount": "5000",
"currency_code": "CRC",
"wallet_type": "sinpemovil_ml",
"stockpiling_id": null,
"transaction_id": "",
"transaction_type": null,
"plugin_custom_order_id": "",
"withdrawal_id": "test12d2345678",
"withdrawal_status": 1,
"account_number": "76512163584",
"account_name": "Account Name",
"account_email": "",
"bank_details": {
"bank_code": null,
"branch_code": null
}
}
]
} |
| Warning |
|---|
The Paykassma server is waiting for a response in json {"status": "ok"} response code 200, otherwise, when receiving a different response, Paykassma will forward the postback with a certain frequency. |
Withdrawal statuses
ID | Name | Description |
|---|---|---|
1 | PROCESSED | Status for withdrawal when the withdrawal request has been successfully processed. |
5 | REJECTED | Status for withdrawal when the withdrawal request was rejected. |
Creating withdrawal request in Paykassma BO
To create a withdrawal request, you need to go to the Withdrawals pagePayments → Withdrawals and perform the following steps:
- Press the button "Add withdrawal request".
- Select payment system from list.
- Fill in the fields to create the request in the next window(the list of fields is standardized and not all fields are required. To create a request for a specific PS, you should fill in the required fields for this PS).
Required fields for sinpemovil payout:
- Label (user ID)
- Amount
- Currency code
- Wallet recipient
- Recipient's email. - After payment the withdrawal status will change.
Paykassma does not send postback for withdrawals created manually.



