Returns list of users with sort/limit + pagination
string Email or part of email | |
externalUserId | string External user ID |
isActivated | boolean Is activated user card |
isBlocked | boolean Is blocked user card |
limit | integer Maximum number of transactions to return |
page | integer Page number of transactions to return |
orderColumn | string Column to order the transactions by |
orderDirection | string Direction to order the transactions by (ASC or DESC) |
dateFrom | string <date> Start date of the transactions to filter by |
dateTo | string <date> End date of the transactions to filter by |
{- "data": {
- "0": {
- "id": 1,
- "uuid": "2fbcccc7-b3a6-3f88-975b-68f96a8e4a4c",
- "type": "some_user_type",
- "externalUserId": "846814538",
- "isActivated": true,
- "isBlocked": true,
- "createdAt": {
- "date": "2024-03-14 10:43:33.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "updatedAt": {
- "date": "2024-03-14 10:43:33.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "blockedAt": null
}
}, - "links": {
- "rel": "current",
- "href": "/api/v1/user?page=1"
}, - "meta": {
- "currentPage": 1,
- "lastPage": 1,
- "perPage": 50,
- "total": 1
}
}
The endpoint creates a user in CentroWallet along with additional parameters for authorization (such as creating a "user" on the authorization server, an "oauth client" for this authentication backend user, etc).
An additional parameter that could be sent is paymentAccounts, and in this case, a payment account will be created.
Important! The "oauthUrl" parameter contains customer authorization data. The merchant needs to use a library to generate a QR code with the data from this parameter.
email required | string <email> User email |
type | string User type |
isActivated | boolean Activate user card |
isBlocked | boolean Block user card (all requests will be blocked) |
externalUserId required | string External user ID (User ID in merchant system) |
Array of objects |
{- "type": "string",
- "isActivated": true,
- "isBlocked": true,
- "externalUserId": "string",
- "paymentAccounts": [
- {
- "name": "string",
- "description": "string",
- "currency": "string",
- "system": "centrobill",
- "method": "string",
- "type": "fiat",
- "webhookUrl": null
}
]
}
{- "userId": 17,
- "type": "some-user-type",
- "activated": true,
- "blocked": false,
- "oauthUrl": "otpauth://totp/Centro%20Wallet:fake23%40email.com?secret=LZO4ZUG2XGJG4AWMZ3KR6FDFBQC2EX7L&issuer=Centro%20Wallet&algorithm=SHA1&digits=6&period=30",
- "paymentAccounts": {
- "0": {
- "id": 100,
- "uuid": "b728afc1-6fe6-4c22-9c77-b1a4b7617786",
- "user_id": 46,
- "name": "Payment account in \"USD\"",
- "type": "fiat",
- "description": null,
- "balance": 0,
- "decimals": 3,
- "currency": "USD",
- "method": "card",
- "account_number": null,
- "brand": null,
- "expiration_month": null,
- "expiration_year": null,
- "is_active": true,
- "autoreload": false,
- "autoreload_amount": null,
- "autoreload_min_amount": null,
- "is_notify": false,
- "notify_amount": null,
- "created_at": "2024-07-26T07:54:18.000000Z",
- "updated_at": "2024-07-26T07:54:18.000000Z",
- "last_used": null,
- "payment_system": "centrobill",
}
}
}
{- "id": 1,
- "uuid": "2fbcccc7-b3a6-3f88-975b-68f96a8e4a4c",
- "type": "some_user_type",
- "externalUserId": "846814538",
- "isActivated": true,
- "isBlocked": true,
- "createdAt": {
- "date": "2024-03-14 10:43:33.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "updatedAt": {
- "date": "2024-03-14 10:43:33.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "blockedAt": null
}
The endpoint updates information about the user's card.
id required | integer User ID |
isActivated required | boolean Activate user card |
isBlocked | boolean Block user card (all requests will be blocked) |
type | string User type |
externalUserId | string External user ID (User ID in merchant system) |
{- "isActivated": true,
- "isBlocked": true,
- "type": "string",
- "externalUserId": "string"
}
{- "id": 1,
- "uuid": "2fbcccc7-b3a6-3f88-975b-68f96a8e4a4c",
- "type": "some_user_type",
- "externalUserId": 846814538,
- "isActivated": true,
- "isBlocked": true,
- "createdAt": {
- "date": "2024-03-14T10:43:33.000Z",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "updatedAt": {
- "date": "2024-03-14T10:43:33.000Z",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "blockedAt": null
}
The endpoint makes a request to the authorization server and regenerates the URL for the Authenticator.
Important! The "oauthUrl" parameter contains customer authorization data. The merchant needs to use a library to generate a QR code with the data from this parameter.
id required | integer User ID |
{- "userId": 17,
- "activated": true,
- "blocked": false,
- "oauthUrl": "otpauth://totp/Centro%20Wallet:fake23%40email.com?secret=LZO4ZUG2XGJG4AWMZ3KR6FDFBQC2EX7L&issuer=Centro%20Wallet&algorithm=SHA1&digits=6&period=30"
}
Endpoint for obtaining a new pair of accessToken and refreshToken based on the provided refreshToken.
Important! This endpoint uses if you plan to use authorization via clients access/refresh tokens
id required | integer |
refreshToken | string The refresh token |
{- "refreshToken": "string"
}
{- "tokenType": "string",
- "expiresIn": 0,
- "accessToken": "string",
- "refreshToken": "string"
}
Authorizes the user by email and code from the Authenticator and returns tokens (access token and refresh token) for making requests on behalf of the customer.
Important! This endpoint uses if you plan to use authorization via clients access/refresh tokens
email required | string <email> Email of the user to authorize |
code required | string 6 characters Code from the Authenticator app (TOTP token) |
{- "code": "string"
}
{- "tokenType": "string",
- "expiresIn": 0,
- "accessToken": "string",
- "refreshToken": "string"
}
Returns a list of customer payment accounts based on the filters provided in the request.
clientId required | string Client ID. * Required for authorization via MerchantApiKey |
system | string Payment system which uses for PA |
currency | string Payment account currency |
isActive | boolean Activate payment account |
isAutoReload | boolean Enable auto reload payment account |
isNotify | boolean Enable notification about low balance |
type | string Payment account type |
[- {
- "id": 0,
- "uuid": "string",
- "user_id": 0,
- "name": "string",
- "type": "string",
- "description": "string",
- "balance": 0,
- "currency": "string",
- "method": "string",
- "account_number": "string",
- "brand": "string",
- "expiration_month": 0,
- "expiration_year": 0,
- "is_active": true,
- "autoreload": true,
- "autoreload_amount": 0,
- "autoreload_min_amount": 0,
- "is_notify": true,
- "notify_amount": 0,
- "created_at": {
- "date": "2019-08-24T14:15:22Z",
- "timezone_type": 0,
- "timezone": "string"
}, - "updated_at": {
- "date": "2019-08-24T14:15:22Z",
- "timezone_type": 0,
- "timezone": "string"
}, - "last_used": {
- "date": "2019-08-24T14:15:22Z",
- "timezone_type": 0,
- "timezone": "string"
}, - "payment_system": "string",
- "webhook_url": "string"
}
]
Creates a new payment account based on the data from the request.
clientId required | integer Client ID. * Required for authorization via MerchantApiKey |
method required | string Payment method |
system required | string Payment system |
currency required | string Currency |
name | string Payment account name |
description | string Payment account description |
type | string Default: "fiat" Enum: "fiat" "promo" Payment account type |
webhookUrl | string Default webhook URL for payment account |
{- "clientId": 0,
- "method": "string",
- "system": "string",
- "currency": "string",
- "name": "string",
- "description": "string",
- "type": "fiat",
- "webhookUrl": "string"
}
{- "id": "3",
- "uuid": "58b214bf-3fae-40b6-ad19-8c5424892135",
- "user_id": 10,
- "name": "some payment account name",
- "type": "some payment account type",
- "description": "some description",
- "balance": 5.33,
- "currency": "USD",
- "method": "card",
- "account_number": "223344****6804",
- "brand": "mastercard",
- "expiration_month": 2,
- "expiration_year": 28,
- "is_active": true,
- "autoreload": false,
- "autoreload_amount": 1.23,
- "autoreload_min_amount": 1.23,
- "is_notify": true,
- "notify_amount": 2.34,
- "created_at": {
- "date": "2024-03-18 10:03:11.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "updated_at": {
- "date": "2024-03-26 12:35:23.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "last_used": {
- "date": "2024-03-18 10:03:11.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "payment_system": "centrobill",
}
Returns information about customer payment account.
id required | integer Payment account ID |
clientId required | string Client ID. * Required for authorization via MerchantApiKey |
{- "id": "3",
- "uuid": "58b214bf-3fae-40b6-ad19-8c5424892135",
- "user_id": 10,
- "name": "some payment account name",
- "type": "some payment account type",
- "description": "some description",
- "balance": 5.33,
- "currency": "USD",
- "method": "card",
- "account_number": "223344****6804",
- "brand": "mastercard",
- "expiration_month": 2,
- "expiration_year": 28,
- "is_active": true,
- "autoreload": false,
- "autoreload_amount": 1.23,
- "autoreload_min_amount": 1.23,
- "is_notify": true,
- "notify_amount": 2.34,
- "created_at": {
- "date": "2024-03-18 10:03:11.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "updated_at": {
- "date": "2024-03-26 12:35:23.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "last_used": {
- "date": "2024-03-18 10:03:11.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "payment_system": "centrobill",
}
Updates information about customer payment account based on data from request.
id required | integer |
clientId required | integer Client ID. * Required for authorization via MerchantApiKey |
name | string Payment account name |
description | string Payment account description |
isActive | boolean Payment account active status |
isAutoReload | boolean Payment account auto reload status |
autoReloadAmount | number <float> Auto reload amount |
autoReloadMinAmount | number <float> Auto reload minimum amount |
isNotify | boolean Notify status |
notifyAmount | number <float> Notify amount |
webhookUrl | string Default webhook URL for payment account |
{- "clientId": 0,
- "name": "string",
- "description": "string",
- "isActive": true,
- "isAutoReload": true,
- "autoReloadAmount": 0,
- "autoReloadMinAmount": 0,
- "isNotify": true,
- "notifyAmount": 0,
- "webhookUrl": "string"
}
{- "id": "3",
- "uuid": "58b214bf-3fae-40b6-ad19-8c5424892135",
- "user_id": 10,
- "name": "some payment account name",
- "type": "some payment account type",
- "description": "some description",
- "balance": 5.33,
- "currency": "USD",
- "method": "card",
- "account_number": "223344****6804",
- "brand": "mastercard",
- "expiration_month": 2,
- "expiration_year": 28,
- "is_active": true,
- "autoreload": false,
- "autoreload_amount": 1.23,
- "autoreload_min_amount": 1.23,
- "is_notify": true,
- "notify_amount": 2.34,
- "created_at": {
- "date": "2024-03-18 10:03:11.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "updated_at": {
- "date": "2024-03-26 12:35:23.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "last_used": {
- "date": "2024-03-18 10:03:11.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "payment_system": "centrobill",
}
The endpoint creates a request for refilling the payment account balance.
id required | integer ID of the payment account to refill |
clientId required | integer Client ID. * Required for authorization via MerchantApiKey |
name required | string Name of the refill request |
amount required | number Amount to refill the payment account balance |
required | object |
emailOptions | boolean Whether to send email notifications |
redirectUrl | string <uri> URL to redirect after the refill request is processed |
webhookUrl | string <uri> URL for sending webhook with information about result of operation |
secure | boolean Is need 3D secure check |
test | boolean Is test transaction |
merchantOrderId | string Merchant order ID |
object Metadata parameter. Format "key-value" array | |
forceCheckout | boolean Is need to force Checkout instead Quick sale |
object Payment data |
{- "clientId": 0,
- "name": "string",
- "amount": 0,
- "consumer": {
- "firstName": "string",
- "lastName": "string",
- "ip": "string",
- "userAgent": "string",
- "browserAcceptHeader": "string",
- "browserJavaEnabled": true,
- "browserLanguage": "string",
- "browserColorDepth": 0,
- "browserScreenHeight": 0,
- "browserScreenWidth": 0,
- "browserTimezone": "string",
- "phone": "string",
- "country": "str",
- "state": "string",
- "city": "string",
- "zip": "string",
- "address": "string",
- "birthday": "2019-08-24"
}, - "emailOptions": true,
- "secure": true,
- "test": true,
- "merchantOrderId": "string",
- "metadata": {
- "amountMods": [
- {
- "amount": 0,
- "title": [ ]
}
]
}, - "forceCheckout": true,
- "payment": {
- "domain": "string"
}
}
{- "result": "processing",
- "action": "redirect",
- "code": 0,
}
The endpoint adds extra money to customers wallet (NON fiat money)
id required | integer ID of the payment account to top-up |
clientId required | integer Client ID. * Required for authorization via MerchantApiKey |
reason | string Reason for the top-up |
amount required | float Amount of transaction. Value can be positive or negative. Based on that will be created transaction with type "income" or "outcome" |
merchantOrderId | string Merchant order ID |
metadata | object Metadata. Format "key-value" array |
dateExpire | date <Y-m-d H:i:s> Date when virtual transaction will be expired. IMPORTANT! This parameter is available for payment account with type "PROMO". |
{- "clientId": 35,
- "reason": "test income",
- "amount": 2.45,
- "merchantOrderId": "112233",
- "metadata": {
- "key": "some metadata"
}
}
{- "id": 414,
- "uuid": "40286065-3b54-4a2a-8a90-4fe9552ef252",
- "userId": 35,
- "billing": "centrobill",
- "paymentAccountId": 58,
- "type": "outcome",
- "paymentMethod": null,
- "isVirtual": false,
- "price": 0.01,
- "balance": 26.69,
- "remainingAmount": "01.23",
- "fullCovered": false,
- "currency": "USD",
- "action": "deposit",
- "mode": "wallet",
- "status": "success",
- "descriptor": "test name",
- "merchantOrderID": "112233",
- "metadata": {
- "key": "some metadata"
}, - "accountNumber": "",
- "brand": "",
- "expirationMonth": "",
- "expirationYear": "",
- "message": "",
- "code": "",
- "email": "",
- "firstname": "",
- "lastname": "",
- "country": "",
- "zip": "",
- "child": {
- "0": {
- "id": 430,
- "uuid": "bf85d79e-bb4d-4ecb-b75c-774df142ff6d",
- "userId": 35,
- "billing": "centrobill",
- "paymentAccountId": 59,
- "type": "outcome",
- "paymentMethod": null,
- "isVirtual": true,
- "price": 0.11,
- "balance": 26.69,
- "remainingAmount": "00.11",
- "currency": "USD",
- "action": "deposit",
- "mode": "void",
- "status": "success",
- "descriptor": null,
- "merchantOrderID": "void12345",
- "metadata": "some metadata",
- "accountNumber": "",
- "brand": "",
- "expirationMonth": "",
- "expirationYear": "",
- "message": "some void reason",
- "code": "",
- "email": "",
- "firstname": "",
- "lastname": "",
- "country": "",
- "zip": "",
- "child": [ ],
- "date": {
- "date": "2024-06-11 12:04:07.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}
}
}, - "date": {
- "date": "2024-06-07 11:37:43.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "dateExpire": {
- "date": "2024-09-03 13:15:22.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "balanceTotal": {
- "USD": "11.01",
- "EUR": "101.23",
- "BTC": "0.00000001"
}, - "paymentAccountType": "fiat"
}
The endpoint transfer money from one payment account to another.
Important: sender payment account and recipient payment account should have the same currency and have the same merchant
id required | integer ID of the payment account which sends money (sender) |
clientId required | integer Client ID. * Required for authorization via MerchantApiKey |
recipientPaymentAccountId required | integer ID of the payment account which receive money (recipient) |
reason | string Reason for the top-up |
amount required | float Transfer amount in format XX.YY |
merchantOrderId | string Merchant order ID |
metadata | object Metadata. Format "key-value" array |
{- "clientId": 35,
- "recipientPaymentAccountId": 59,
- "reason": "test transfer",
- "amount": 0.11,
- "merchantOrderId": "some order id 123",
- "metadata": {
- "key": "some metadata"
}
}
{- "id": 346,
- "uuid": "6d4050b6-e99f-4c8d-b085-77fa723b70b5",
- "userId": 35,
- "senderPaymentAccountId": 58,
- "recipientPaymentAccountId": 59,
- "type": "outcome",
- "price": 0.11,
- "balance": 12.33,
- "currency": "USD",
- "action": "deposit",
- "mode": "wallet",
- "status": "success",
- "merchantOrderId": "some order id 123",
- "metadata": {
- "key": "some metadata"
}, - "message": "test transfer",
- "createdAt": {
- "date": "2024-06-06 08:31:30.606546",
- "timezone_type": 3,
- "timezone": "UTC"
}
}
Makes payment from users payment account.
IMPORTANT! transaction currency should be the same as a wallet currency
clientId required | integer Client ID. * Required for authorization via MerchantApiKey |
paymentAccountId required | integer ID of the payment account to make the payment from |
amount required | number Amount to pay |
currency required | string Currency of the payment |
name required | string Name of the payment |
merchantOrderId required | string Merchant order ID |
metadata | object Metadata. Format "key-value" array |
webhookUrl | url Webhook url for sending result about operation |
{- "clientId": 35,
- "paymentAccountId": 58,
- "amount": 0.01,
- "currency": "USD",
- "name": "test name",
- "merchantOrderId": "some order id 123",
- "metadata": {
- "key": "some metadata"
},
}
{- "id": 414,
- "uuid": "40286065-3b54-4a2a-8a90-4fe9552ef252",
- "userId": 35,
- "billing": "centrobill",
- "paymentAccountId": 59,
- "type": "outcome",
- "paymentMethod": null,
- "isVirtual": false,
- "price": 0.01,
- "balance": 26.69,
- "remainingAmount": "01.23",
- "currency": "USD",
- "action": "deposit",
- "mode": "wallet",
- "status": "success",
- "descriptor": "test name",
- "merchantOrderID": "112233",
- "metadata": {
- "key": "some metadata"
}, - "accountNumber": "",
- "brand": "",
- "expirationMonth": "",
- "expirationYear": "",
- "message": "",
- "code": "",
- "email": "",
- "firstname": "",
- "lastname": "",
- "country": "",
- "zip": "",
- "child": {
- "0": {
- "id": 430,
- "uuid": "bf85d79e-bb4d-4ecb-b75c-774df142ff6d",
- "userId": 35,
- "billing": "centrobill",
- "paymentAccountId": 59,
- "type": "outcome",
- "paymentMethod": null,
- "isVirtual": true,
- "price": 0.11,
- "balance": 26.69,
- "currency": "USD",
- "action": "deposit",
- "mode": "void",
- "status": "success",
- "descriptor": null,
- "merchantOrderID": "void12345",
- "metadata": {
- "key": "some metadata"
}, - "accountNumber": "",
- "brand": "",
- "expirationMonth": "",
- "expirationYear": "",
- "message": "some void reason",
- "code": "",
- "email": "",
- "firstname": "",
- "lastname": "",
- "country": "",
- "zip": "",
- "child": [ ],
- "date": {
- "date": "2024-06-11 12:04:07.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}
}
}, - "date": {
- "date": "2024-06-07 11:37:43.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "balanceTotal": {
- "USD": "11.01",
- "EUR": "101.23",
- "BTC": "0.00000001"
}
}
Returns list of customer transactions with sort/limit + pagination
clientId | string Client ID |
limit | integer Maximum number of transactions to return |
page | integer Page number of transactions to return |
orderColumn | string Enum: "created_at" "billing" "payment_method" "external_transaction_id" "currency" "price" "expire_date" Column to order the transactions by |
orderDirection | string Enum: "asc" "desc" Direction to order the transactions by (asc or desc) |
paymentAccountId | integer ID of the payment account to filter the transactions by |
type | string Enum: "income" "outcome" Type of the transactions to filter by (income or outcome) |
paymentMethod | string Payment method to filter the transactions by |
virtual | boolean Whether to filter the transactions by virtual or not |
action | string Action of the transactions to filter by (charge or refund) |
mode | string Mode of the transactions to filter by (wallet or card) |
status | string Status of the transactions to filter by (success or fail) |
descriptor | string Descriptor of the transactions to filter by |
merchantOrderId | string Merchant order ID |
dateFrom | string <date> Start date of the transactions to filter by |
dateTo | string <date> End date of the transactions to filter by |
onlyWithExpireDate | boolean Whether to filter the transactions has non-empty expire date or not |
lastTransactionId | integer Endpoint returns list of transaction where Transaction ID is upper than lastTransactionId |
idList | Array of integers List of transaction IDs |
{- "data": [
- {
- "id": 0,
- "uuid": "string",
- "userId": 0,
- "billing": "string",
- "paymentAccountId": 0,
- "type": "string",
- "paymentMethod": "string",
- "isVirtual": true,
- "price": 0,
- "balance": 0,
- "remainingAmount": 0,
- "fullCovered": null,
- "currency": "string",
- "action": "string",
- "mode": "string",
- "status": "string",
- "descriptor": "string",
- "merchantOrderId": "string",
- "metadata": { },
- "accountNumber": "string",
- "brand": "string",
- "expirationMonth": "string",
- "expirationYear": "string",
- "message": "string",
- "code": "string",
- "email": "string",
- "firstname": "string",
- "lastname": "string",
- "country": "string",
- "zip": "string",
- "child": {
- "0": { },
- "1": { }
}, - "date": {
- "date": "2019-08-24T14:15:22Z",
- "timezone_type": 0,
- "timezone": "string"
}, - "dateExpire": {
- "date": "2019-08-24T14:15:22Z",
- "timezone_type": 0,
- "timezone": "string"
}, - "balanceTotal": {
- "currency": "string"
}, - "paymentAccountType": "string"
}
], - "links": [
- {
- "rel": "string",
- "href": "string"
}
], - "meta": {
- "currentPage": 0,
- "lastPage": 0,
- "perPage": 0,
- "total": 0
}
}
Returns information about customer payment account.
id required | integer Transaction ID |
clientId required | string Client ID. * Required for authorization via MerchantApiKey |
{- "id": 414,
- "uuid": "40286065-3b54-4a2a-8a90-4fe9552ef252",
- "userId": 35,
- "billing": "centrobill",
- "paymentAccountId": 58,
- "type": "outcome",
- "paymentMethod": null,
- "isVirtual": false,
- "price": 0.01,
- "balance": 26.69,
- "remainingAmount": "01.23",
- "fullCovered": false,
- "currency": "USD",
- "action": "deposit",
- "mode": "wallet",
- "status": "success",
- "descriptor": "test name",
- "merchantOrderID": "112233",
- "metadata": {
- "key": "some metadata"
}, - "accountNumber": "",
- "brand": "",
- "expirationMonth": "",
- "expirationYear": "",
- "message": "",
- "code": "",
- "email": "",
- "firstname": "",
- "lastname": "",
- "country": "",
- "zip": "",
- "child": {
- "0": {
- "id": 430,
- "uuid": "bf85d79e-bb4d-4ecb-b75c-774df142ff6d",
- "userId": 35,
- "billing": "centrobill",
- "paymentAccountId": 59,
- "type": "outcome",
- "paymentMethod": null,
- "isVirtual": true,
- "price": 0.11,
- "balance": 26.69,
- "remainingAmount": "00.11",
- "currency": "USD",
- "action": "deposit",
- "mode": "void",
- "status": "success",
- "descriptor": null,
- "merchantOrderID": "void12345",
- "metadata": "some metadata",
- "accountNumber": "",
- "brand": "",
- "expirationMonth": "",
- "expirationYear": "",
- "message": "some void reason",
- "code": "",
- "email": "",
- "firstname": "",
- "lastname": "",
- "country": "",
- "zip": "",
- "child": [ ],
- "date": {
- "date": "2024-06-11 12:04:07.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}
}
}, - "date": {
- "date": "2024-06-07 11:37:43.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "dateExpire": {
- "date": "2024-09-03 13:15:22.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "balanceTotal": {
- "USD": "11.01",
- "EUR": "101.23",
- "BTC": "0.00000001"
}, - "paymentAccountType": "fiat"
}
Makes "void" operation for requested transaction and child transactions.
id required | integer Transaction ID |
clientId required | integer Client ID. * Required for authorization via MerchantApiKey |
reason | string Reason for the top-up |
merchantOrderId | string Merchant order ID |
metadata | object Metadata. Format "key-value" array |
{- "clientId": 35,
- "reason": "some void reason",
- "merchantOrderId": "void12345",
- "metadata": {
- "key": "some metadata"
}
}
{- "id": 414,
- "uuid": "40286065-3b54-4a2a-8a90-4fe9552ef252",
- "userId": 35,
- "billing": "centrobill",
- "paymentAccountId": 58,
- "type": "outcome",
- "paymentMethod": null,
- "isVirtual": false,
- "price": 0.01,
- "balance": 26.69,
- "remainingAmount": "01.23",
- "fullCovered": false,
- "currency": "USD",
- "action": "deposit",
- "mode": "wallet",
- "status": "success",
- "descriptor": "test name",
- "merchantOrderID": "112233",
- "metadata": {
- "key": "some metadata"
}, - "accountNumber": "",
- "brand": "",
- "expirationMonth": "",
- "expirationYear": "",
- "message": "",
- "code": "",
- "email": "",
- "firstname": "",
- "lastname": "",
- "country": "",
- "zip": "",
- "child": {
- "0": {
- "id": 430,
- "uuid": "bf85d79e-bb4d-4ecb-b75c-774df142ff6d",
- "userId": 35,
- "billing": "centrobill",
- "paymentAccountId": 59,
- "type": "outcome",
- "paymentMethod": null,
- "isVirtual": true,
- "price": 0.11,
- "balance": 26.69,
- "remainingAmount": "00.11",
- "currency": "USD",
- "action": "deposit",
- "mode": "void",
- "status": "success",
- "descriptor": null,
- "merchantOrderID": "void12345",
- "metadata": "some metadata",
- "accountNumber": "",
- "brand": "",
- "expirationMonth": "",
- "expirationYear": "",
- "message": "some void reason",
- "code": "",
- "email": "",
- "firstname": "",
- "lastname": "",
- "country": "",
- "zip": "",
- "child": [ ],
- "date": {
- "date": "2024-06-11 12:04:07.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}
}
}, - "date": {
- "date": "2024-06-07 11:37:43.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "dateExpire": {
- "date": "2024-09-03 13:15:22.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "balanceTotal": {
- "USD": "11.01",
- "EUR": "101.23",
- "BTC": "0.00000001"
}, - "paymentAccountType": "fiat"
}
Returns information about success/failure transaction on refill request
IMPORTANT! Webhook will be sent to the URL from webhookUrl
{- "id": 491,
- "uuid": "1e0c7986-c099-49c6-a067-66beffff2d79",
- "userId": 35,
- "billing": "centrobill",
- "paymentAccountId": 80,
- "type": "income",
- "paymentMethod": "card",
- "isVirtual": true,
- "price": 2.45,
- "balance": 100.45,
- "currency": "USD",
- "action": "charge",
- "mode": "test",
- "status": "success",
- "descriptor": "centrohelp.eu",
- "merchantOrderID": "orderId1234",
- "metadata": "some merchant metadata123123",
- "accountNumber": "411111****1111",
- "brand": "visa",
- "expirationMonth": "8",
- "expirationYear": "28",
- "message": "Approved",
- "code": "0",
- "firstname": "testName",
- "lastname": "lastnameName",
- "country": "DEU",
- "zip": "12345",
- "child": [ ],
- "date": {
- "date": "2024-07-01 14:23:29.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "balanceTotal": {
- "USD": "11.01",
- "EUR": "101.23",
- "BTC": "0.00000001"
}
}