- Partner
- Genel Bakış
- Buy
- Sell
- Customers
- Balances
- Card Storage
- Delivery
- Product PricesGET
- Get OrdersGET
- Get OrderGET
- Get Order (Alternative)POST
- Partner LegalPOST
- Order StatussesGET
- E-Commerce API
- Catalog
- Customers
- Customer Address
- Checkout
- Legal
- WS
- Minted PricesGET
Update Customer Cash Balance
Testing
Testing Env
Testing Env
PATCH
https://api.staging.mintedconnect.com/partner/balance/customer/
Last modified:2023-06-05 05:44:49
Maintainer:Not configured
Request
Authorization
Provide your encrypted digest scheme data in the
Authorization
header when making requests to protected resources.Example:
Authorization: Digest username=guest, realm="test", nonce="2", uri="/uri", response="***"
Header Params
api-version
string
optional
Example:
2
x-client-id
string
required
Default:
web
Accept-Language
string
optional
Default:
tr
Body Params application/json
external_id
string
required
cash_balance
integer
required
Example
{
"external_id": "{{external_customer_id}}",
"cash_balance": 1000
}
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 PATCH 'https://api.staging.mintedconnect.com/partner/balance/customer/' \
--header 'api-version: 2' \
--header 'api-version;' \
--header 'x-client-id;' \
--header 'Accept-Language: tr' \
--header 'Content-Type: application/json' \
--data-raw '{
"external_id": "MTD0018232",
"cash_balance": 1000
}'
Responses
🟢200OK
application/json
Body
data
object
required
customer_name
string
required
currency_code
string
required
balance
integer
required
real_balance
integer
required
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": {
"customer_name": "Deneme deneme",
"currency_code": "GBP",
"balance": 1000,
"real_balance": 1000
},
"success": true,
"code": 0,
"message": ""
}
🟠422insufficient partner balance
Modified at 2023-06-05 05:44:49