Endpoints orders management
Orders
Create a new instance of order by merchantGlobalOrderId.
- scaleexpert product identifier for marketplace services.
- The given solutionCode must already be subscribed to by the marketplace.
- solutionCode must match this format ^MP\w{4}-\w{4}$
- Refer to the reference documentation for the marketPlace solution codes.
MPFRGE-S1YP
External reference Id of the Order on the merchant side as a whole - as long as the items are not dispatched separately.
1234-azerty-56789
Total amount of the order
64
Currency code applicable to prices based on ISO4217. 3 letter currency code
EUR
used to define the type of the order. Default value PURCHASE
PURCHASE
Possible values: External reference Id of the Buyer on the merchant side.
1234-azerty-56789
POST /baas/uatc/marketplace/api/v1/orders HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 281
{
"solutionCode": "MPFRGE-S1YP",
"merchantGlobalOrderId": "1234-azerty-56789",
"amount": 64,
"currencyCode": "EUR",
"orderType": "PURCHASE",
"merchantBuyerId": "1234-azerty-56789",
"items": [
{
"gtin": "7512345678915",
"label": "Tea cup",
"quantity": 4,
"price": 15.55,
"currencyCode": "EUR",
"amount": 64
}
]
}
{
"orderId": 123456789
}
Update the amount of an order by orderId (technical identifier)
Unique technical identifier of the order
- scaleexpert product identifier for marketplace services.
- The given solutionCode must already be subscribed to by the marketplace.
- solutionCode must match this format ^MP\w{4}-\w{4}$
- Refer to the reference documentation for the marketPlace solution codes.
MPFRGE-S1YP
amount of the order
64
PATCH /baas/uatc/marketplace/api/v1/orders/{orderId} HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 42
{
"solutionCode": "MPFRGE-S1YP",
"amount": 64
}
{
"orderId": 123456,
"solutionCode": "MPFRGE-S1YP",
"merchantGlobalOrderId": "1234-azerty-56789",
"amount": 65.15,
"currencyCode": "EUR",
"orderType": "PURCHASE",
"merchantBuyerId": "1234-azerty-56789",
"registrationTimestamp": "2023-04-22T06:00:00.000Z",
"lastUpdateTimestamp": "2023-04-22T06:00:00.000Z",
"items": [
{
"gtin": "7512345678915",
"label": "Tea cup",
"quantity": 4,
"price": 15.55,
"currencyCode": "EUR",
"amount": 64
}
],
"transactions": [
{
"transactionId": 123456789,
"type": "PAYMENT",
"executionDate": "2023-04-22T06:00:00.000Z",
"amount": 64,
"currencyCode": "EUR",
"merchantTransactionId": "1234-azerty-56789",
"paymentMethodName": "PAYXPERT_SG",
"isPaid": true,
"dueDate": "2017-07-21",
"paidAmount": 65
}
],
"orderSplits": [
{
"splits": [
{
"sellerId": 123456789,
"amount": 65,
"amountType": "SELLER_PAYMENT",
"fee": 65,
"feeType": "MKTP_FEES",
"currencyCode": "EUR",
"model": "3P",
"splitProducerFeeAmount": 65,
"isCashed": true
}
]
}
],
"payoutSellers": [
{
"payoutSellerId": 123456789,
"merchantPayoutSellerId": "1234-azerty-56789",
"reasonLabel": "payout for April 2023",
"executionDate": "2023-04-22T06:00:00.000Z",
"transfers": [
{
"merchantTransferId": "1234-azerty-56789",
"payoutAmount": 65,
"currencyCode": "EUR"
}
],
"payoutOrders": [
{
"payoutRequestedAmount": 65,
"payoutEffectiveAmount": 20,
"payoutResidualAmount": 0,
"currencyCode": "EUR"
}
],
"payoutPayment": {
"paymentStatus": "PENDING",
"paymentAmount": 85,
"currencyCode": "EUR"
}
}
]
}
Retrieve the list of orders including products and transactions information for a specific merchant (marketplace).
Page number, starting from 1.
1
Example: 1
A limit on the number of objects to be returned. Limit can range between 1 and 100.
10
Example: 10
Date of the last update on the order. Using the ISO format in UTC YYYY-MM-DD (new transaction, new payout, other....)
2023-02-13
GET /baas/uatc/marketplace/api/v1/orders HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"pageCount": 1,
"orders": [
{
"orderId": 123456,
"solutionCode": "MPFRGE-S1YP",
"merchantGlobalOrderId": "1234-azerty-56789",
"amount": 65.15,
"currencyCode": "EUR",
"orderType": "PURCHASE",
"merchantBuyerId": "1234-azerty-56789",
"registrationTimestamp": "2023-04-22T06:00:00.000Z",
"lastUpdateTimestamp": "2023-04-22T06:00:00.000Z",
"items": [
{
"gtin": "7512345678915",
"label": "Tea cup",
"quantity": 4,
"price": 15.55,
"currencyCode": "EUR",
"amount": 64
}
],
"transactions": [
{
"transactionId": 123456789,
"type": "PAYMENT",
"executionDate": "2023-04-22T06:00:00.000Z",
"amount": 64,
"currencyCode": "EUR",
"merchantTransactionId": "1234-azerty-56789",
"paymentMethodName": "PAYXPERT_SG",
"isPaid": true,
"dueDate": "2017-07-21",
"paidAmount": 65
}
],
"orderSplits": [
{
"splits": [
{
"sellerId": 123456789,
"amount": 65,
"amountType": "SELLER_PAYMENT",
"fee": 65,
"feeType": "MKTP_FEES",
"currencyCode": "EUR",
"model": "3P",
"splitProducerFeeAmount": 65,
"isCashed": true
}
]
}
],
"payoutSellers": [
{
"payoutSellerId": 123456789,
"merchantPayoutSellerId": "1234-azerty-56789",
"reasonLabel": "payout for April 2023",
"executionDate": "2023-04-22T06:00:00.000Z",
"transfers": [
{
"merchantTransferId": "1234-azerty-56789",
"payoutAmount": 65,
"currencyCode": "EUR"
}
],
"payoutOrders": [
{
"payoutRequestedAmount": 65,
"payoutEffectiveAmount": 20,
"payoutResidualAmount": 0,
"currencyCode": "EUR"
}
],
"payoutPayment": {
"paymentStatus": "PENDING",
"paymentAmount": 85,
"currencyCode": "EUR"
}
}
]
}
]
}
Delete an order by orderId (technical identifier)
Unique technical identifier of the order
DELETE /baas/uatc/marketplace/api/v1/orders/{orderId} HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{}
OrderSplits
Split an order to allocate amounts to different sellers
- scaleexpert product identifier for marketplace services.
- The given solutionCode must already be subscribed to by the marketplace.
- solutionCode must match this format ^MP\w{4}-\w{4}$
- Refer to the reference documentation for the marketPlace solution codes.
MPFRGE-S1YP
External reference Id of the Order on the merchant side as a whole - as long as the items are not dispatched separately.
1234-azerty-56789
POST /baas/uatc/marketplace/api/v1/order-splits HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 218
{
"solutionCode": "MPFRGE-S1YP",
"merchantGlobalOrderId": "1234-azerty-56789",
"splits": [
{
"sellerId": 123456789,
"amount": 65,
"amountType": "SELLER_PAYMENT",
"fee": 65.15,
"feeType": "MKTP_FEES",
"currencyCode": "EUR",
"model": "3P"
}
]
}
{}
Transactions
Create a new instance of transaction related to the order.
- scaleexpert product identifier for marketplace services.
- The given solutionCode must already be subscribed to by the marketplace.
- solutionCode must match this format ^MP\w{4}-\w{4}$
- Refer to the reference documentation for the marketPlace solution codes.
MPFRGE-S1YP
External reference Id of the order on the merchant side as a whole - as long as the items are not dispatched separately.
1234-azerty-56789
External reference Id of the transaction on the merchant side.
1234-azerty-56789
type of the transaction
PAYMENT
Possible values: Transaction execution date. Using the ISO format in UTC YYYY-MM-DDThh:mm:ss.SSSZ
2023-04-22T06:00:00.000Z
Transaction amount
65
Currency code applicable to prices based on ISO4217. 3 letter currency code
EUR
payment method name
PAYXPERT_SG
Possible values: the date notation as yyyy-mm-dd.
2017-07-21
POST /baas/uatc/marketplace/api/v1/transactions HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 268
{
"solutionCode": "MPFRGE-S1YP",
"merchantGlobalOrderId": "1234-azerty-56789",
"merchantTransactionId": "1234-azerty-56789",
"type": "PAYMENT",
"executionDate": "2023-04-22T06:00:00.000Z",
"amount": 65,
"currencyCode": "EUR",
"paymentMethodName": "PAYXPERT_SG",
"dueDate": "2017-07-21"
}
{
"transactionId": 321,
"solutionCode": "MPFRGE-S1YP",
"merchantGlobalOrderId": "1234-azerty-56789",
"merchantTransactionId": "1234-azerty-56789",
"orderId": 123456789,
"type": "PAYMENT",
"executionDate": "2023-04-22T06:00:00.000Z",
"amount": 65,
"currencyCode": "EUR",
"paymentMethodName": "PAYXPERT_SG",
"isPaid": true,
"dueDate": "2017-07-21",
"paidAmount": 65
}
Retrieve a transaction by transactionId (technical identifier)
Unique technical identifier of the transaction
GET /baas/uatc/marketplace/api/v1/transactions/{transactionId} HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"transactionId": 321,
"solutionCode": "MPFRGE-S1YP",
"merchantGlobalOrderId": "1234-azerty-56789",
"merchantTransactionId": "1234-azerty-56789",
"orderId": 123456789,
"type": "PAYMENT",
"executionDate": "2023-04-22T06:00:00.000Z",
"amount": 65,
"currencyCode": "EUR",
"paymentMethodName": "PAYXPERT_SG",
"isPaid": true,
"dueDate": "2017-07-21",
"paidAmount": 65
}
Retrieve the list of transactions for a specific merchant (marketplace).
Page number, starting from 1.
1
Example: 1
A limit on the number of objects to be returned. Limit can range between 1 and 100.
10
Example: 10
GET /baas/uatc/marketplace/api/v1/transactions HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"pageCount": 1,
"transactions": [
{
"transactionId": 321,
"solutionCode": "MPFRGE-S1YP",
"merchantGlobalOrderId": "1234-azerty-56789",
"merchantTransactionId": "1234-azerty-56789",
"orderId": 123456789,
"type": "PAYMENT",
"executionDate": "2023-04-22T06:00:00.000Z",
"amount": 65,
"currencyCode": "EUR",
"paymentMethodName": "PAYXPERT_SG",
"isPaid": true,
"dueDate": "2017-07-21",
"paidAmount": 65
}
]
}
Update the dueDate of a transaction by transactionId (technical identifier)
Unique technical identifier of the transaction
- scaleexpert product identifier for marketplace services.
- The given solutionCode must already be subscribed to by the marketplace.
- solutionCode must match this format ^MP\w{4}-\w{4}$
- Refer to the reference documentation for the marketPlace solution codes.
MPFRGE-S1YP
the date notation as yyyy-mm-dd.
2017-07-21
PATCH /baas/uatc/marketplace/api/v1/transactions/{transactionId} HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 53
{
"solutionCode": "MPFRGE-S1YP",
"dueDate": "2017-07-21"
}
{
"transactionId": 321,
"solutionCode": "MPFRGE-S1YP",
"merchantGlobalOrderId": "1234-azerty-56789",
"merchantTransactionId": "1234-azerty-56789",
"orderId": 123456789,
"type": "PAYMENT",
"executionDate": "2023-04-22T06:00:00.000Z",
"amount": 65,
"currencyCode": "EUR",
"paymentMethodName": "PAYXPERT_SG",
"isPaid": true,
"dueDate": "2017-07-21",
"paidAmount": 65
}
Delete a transaction by transactionId (technical identifier)
Unique technical identifier of the transaction
DELETE /baas/uatc/marketplace/api/v1/transactions/{transactionId} HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{}
Transferts
Make a transfer for a seller account or a marketplace account for purposes such as the payment of a subscription, of a fee or for commercial gesture. The transfers are always initiated by the merchant (marketplace), wether they are in its favor or in the seller's favor.There can never be a transfer between two sellers.
- scaleexpert product identifier for marketplace services.
- The given solutionCode must already be subscribed to by the marketplace.
- solutionCode must match this format ^MP\w{4}-\w{4}$
- Refer to the reference documentation for the marketPlace solution codes.
MPFRGE-S1YP
Identify the transfer way. TRANSFER_TO_MARKETPLACE is a payment from the seller to the marketplace. TRANSFER_TO_SELLER is the opposite
TRANSFER_TO_MARKETPLACE
Possible values: Attach the transfer to a specific accounting category for reporting use
SUBSCRIPTION
Possible values: Label of the payout. Max 140 characters. Displayed to the receiver of funds.
payout for April 2023
Transfer execution date. Using the ISO format in UTC YYYY-MM-DDThh:mm:ss.SSSZ. Current date by default.
Transfer Amount.
65.15
Currency code applicable to prices based on ISO4217. 3 letter currency code
EUR
Unique internal identifier for a seller
123456789
External reference Id of the transfer on the merchant side.
9887975454
POST /baas/uatc/marketplace/api/v1/transfers HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 254
{
"solutionCode": "MPFRGE-S1YP",
"accountingEntry": "TRANSFER_TO_MARKETPLACE",
"reasonCode": "SUBSCRIPTION",
"reasonLabel": "payout for April 2023",
"executionDate": "text",
"amount": 65.15,
"currencyCode": "EUR",
"sellerId": 123456789,
"merchantTransferId": "9887975454"
}
{
"transferId": 123456789,
"sellerId": 123456789,
"merchantTransferId": "9887975454",
"solutionCode": "MPFRGE-S1YP",
"accountingEntry": "TRANSFER_TO_MARKETPLACE",
"reasonCode": "SUBSCRIPTION",
"reasonLabel": "payout for April 2023",
"executionDate": "text",
"amount": 65.15,
"currencyCode": "EUR",
"status": "PENDING"
}
Retrieve the list of transfers created by a specific merchant (marketplace).
Page number, starting from 1.
1
Example: 1
A limit on the number of objects to be returned. Limit can range between 1 and 100.
10
Example: 10
GET /baas/uatc/marketplace/api/v1/transfers HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"pageCount": 1,
"transfers": [
{
"transferId": 123456789,
"sellerId": 123456789,
"merchantTransferId": "9887975454",
"solutionCode": "MPFRGE-S1YP",
"accountingEntry": "TRANSFER_TO_MARKETPLACE",
"reasonCode": "SUBSCRIPTION",
"reasonLabel": "payout for April 2023",
"executionDate": "text",
"amount": 65.15,
"currencyCode": "EUR",
"status": "PENDING"
}
]
}
Retrieve a transfer by transferId (technical identifier)
Unique technical identifier of the transfer
GET /baas/uatc/marketplace/api/v1/transfers/{transferId} HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"pageCount": 1,
"transfers": [
{
"transferId": 123456789,
"sellerId": 123456789,
"merchantTransferId": "9887975454",
"solutionCode": "MPFRGE-S1YP",
"accountingEntry": "TRANSFER_TO_MARKETPLACE",
"reasonCode": "SUBSCRIPTION",
"reasonLabel": "payout for April 2023",
"executionDate": "text",
"amount": 65.15,
"currencyCode": "EUR",
"status": "PENDING"
}
]
}
Delete a transfer by transferId (technical identifier). Only transfer with PENDING status can be deleted
Unique technical identifier of the transfer
DELETE /baas/uatc/marketplace/api/v1/transfers/{transferId} HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{}
PayoutMerchants
A payoutMerchant is used to transfer funds to the external bank account of the merchant (marketplace)
External reference Id of the payoutMerchant on the merchant side.
1234-azerty-56789
- scaleexpert product identifier for marketplace services.
- The given solutionCode must already be subscribed to by the marketplace.
- solutionCode must match this format ^MP\w{4}-\w{4}$
- Refer to the reference documentation for the marketPlace solution codes.
MPFRGE-S1YP
Label of the payout. Max 140 characters. Displayed to the receiver of funds.
payout for April 2023
Execution date. Using the ISO format in UTC YYYY-MM-DDThh:mm:ss.SSSZ. Current date by default
2023-04-22T06:00:00.000Z
Payout merchant amount
65
Currency code applicable to prices based on ISO4217. 3 letter currency code
EUR
POST /baas/uatc/marketplace/api/v1/payout-merchants HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 191
{
"merchantPayoutMerchantId": "1234-azerty-56789",
"solutionCode": "MPFRGE-S1YP",
"reasonLabel": "payout for April 2023",
"executionDate": "2023-04-22T06:00:00.000Z",
"amount": 65,
"currencyCode": "EUR"
}
{
"payoutMerchantId": 4,
"merchantPayoutMerchantId": "1234-azerty-56789",
"solutionCode": "MPFRGE-S1YP",
"reasonLabel": "payout for April 2023",
"executionDate": "2023-04-22T06:00:00.000Z",
"amount": 65,
"currencyCode": "EUR",
"status": "PENDING"
}
Retrieve the list of payoutMerchant for a specific merchant (marketplace).
Page number, starting from 1.
1
Example: 1
A limit on the number of objects to be returned. Limit can range between 1 and 100.
10
Example: 10
GET /baas/uatc/marketplace/api/v1/payout-merchants HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"pageCount": 1,
"payoutMerchants": [
{
"payoutMerchantId": 4,
"merchantPayoutMerchantId": "1234-azerty-56789",
"solutionCode": "MPFRGE-S1YP",
"reasonLabel": "payout for April 2023",
"executionDate": "2023-04-22T06:00:00.000Z",
"amount": 65,
"currencyCode": "EUR",
"status": "PENDING"
}
]
}
Retrieve specific payoutMerchant by payoutMerchantId (technical identifier)
Unique technical identifier of the payoutMerchant
GET /baas/uatc/marketplace/api/v1/payout-merchants/{payoutMerchantId} HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"payoutMerchantId": 4,
"merchantPayoutMerchantId": "1234-azerty-56789",
"solutionCode": "MPFRGE-S1YP",
"reasonLabel": "payout for April 2023",
"executionDate": "2023-04-22T06:00:00.000Z",
"amount": 65,
"currencyCode": "EUR",
"status": "PENDING"
}
To delete a payoutMerchant, Only payoutMerchant with PENDING status can be deleted
Unique technical identifier of the payoutMerchant
DELETE /baas/uatc/marketplace/api/v1/payout-merchants/{payoutMerchantId} HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Accept: */*
{}
PayoutSellers
A payoutSeller is used to transfer funds to the external bank account of the Seller.
Unique technical identifier of the seller
- scaleexpert product identifier for marketplace services.
- The given solutionCode must already be subscribed to by the marketplace.
- solutionCode must match this format ^MP\w{4}-\w{4}$
- Refer to the reference documentation for the marketPlace solution codes.
MPFRGE-S1YP
Label of the payout. Max 140 characters. Displayed to the receiver of funds.
payout for April 2023
Execution date. Using the ISO format in UTC YYYY-MM-DDThh:mm:ss.SSSZ. Current date by default
2023-04-22T06:00:00.000Z
External reference Id of the payoutSeller on the merchant side.
1234-azerty-56789
Currency code applicable to prices based on ISO4217. 3 letter currency code
EUR
POST /baas/uatc/marketplace/api/v1/sellers/{sellerId}/payout-sellers HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 324
{
"solutionCode": "MPFRGE-S1YP",
"reasonLabel": "payout for April 2023",
"executionDate": "2023-04-22T06:00:00.000Z",
"transfers": [
{
"merchantTransferId": "1234-azerty-56789"
}
],
"payoutOrders": [
{
"merchantGlobalOrderId": "1234-azerty-56789",
"payoutRequestedAmount": 65
}
],
"merchantPayoutSellerId": "1234-azerty-56789",
"currencyCode": "EUR"
}
{
"payoutSellerId": 4,
"merchantPayoutSellerId": "1234-azerty-56789",
"solutionCode": "MPFRGE-S1YP",
"reasonLabel": "payout for April 2023",
"executionDate": "2023-04-22T06:00:00.000Z",
"transfers": [
{
"merchantTransferId": "1234-azerty-56789",
"payoutAmount": 65,
"currencyCode": "EUR"
}
],
"payoutOrders": [
{
"merchantGlobalOrderId": "1234-azerty-56789",
"payoutRequestedAmount": 65,
"payoutEffectiveAmount": 20,
"payoutResidualAmount": 0,
"currencyCode": "EUR"
}
],
"payoutPayment": {
"paymentStatus": "PENDING",
"paymentAmount": 85,
"currencyCode": "EUR"
}
}
Retrieve the list of payoutSeller for a specific seller.
Unique technical identifier of the seller
Page number, starting from 1.
1
Example: 1
A limit on the number of objects to be returned. Limit can range between 1 and 100.
10
Example: 10
GET /baas/uatc/marketplace/api/v1/sellers/{sellerId}/payout-sellers HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"pageCount": 1,
"payoutSellers": [
{
"payoutSellerId": 4,
"merchantPayoutSellerId": "1234-azerty-56789",
"solutionCode": "MPFRGE-S1YP",
"reasonLabel": "payout for April 2023",
"executionDate": "2023-04-22T06:00:00.000Z",
"transfers": [
{
"merchantTransferId": "1234-azerty-56789",
"payoutAmount": 65,
"currencyCode": "EUR"
}
],
"payoutOrders": [
{
"merchantGlobalOrderId": "1234-azerty-56789",
"payoutRequestedAmount": 65,
"payoutEffectiveAmount": 20,
"payoutResidualAmount": 0,
"currencyCode": "EUR"
}
],
"payoutPayment": {
"paymentStatus": "PENDING",
"paymentAmount": 85,
"currencyCode": "EUR"
}
}
]
}
Retrieve specific payoutSeller by payoutSellerId (technical identifier)
Unique technical identifier of the seller
Unique technical identifier of the payoutSeller
GET /baas/uatc/marketplace/api/v1/sellers/{sellerId}/payout-sellers/{payoutSellerId} HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"payoutSellerId": 4,
"merchantPayoutSellerId": "1234-azerty-56789",
"solutionCode": "MPFRGE-S1YP",
"reasonLabel": "payout for April 2023",
"executionDate": "2023-04-22T06:00:00.000Z",
"transfers": [
{
"merchantTransferId": "1234-azerty-56789",
"payoutAmount": 65,
"currencyCode": "EUR"
}
],
"payoutOrders": [
{
"merchantGlobalOrderId": "1234-azerty-56789",
"payoutRequestedAmount": 65,
"payoutEffectiveAmount": 20,
"payoutResidualAmount": 0,
"currencyCode": "EUR"
}
],
"payoutPayment": {
"paymentStatus": "PENDING",
"paymentAmount": 85,
"currencyCode": "EUR"
}
}
To delete a payoutSeller, Only payoutSeller with PENDING status can be deleted
Unique technical identifier of the seller
Unique technical identifier of the payoutSeller
DELETE /baas/uatc/marketplace/api/v1/sellers/{sellerId}/payout-sellers/{payoutSellerId} HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{}
PayoutSellerAmounts
A payoutSeller is used to transfer funds to the external bank account of the Seller from an amount.
Unique technical identifier of the seller
- scaleexpert product identifier for marketplace services.
- The given solutionCode must already be subscribed to by the marketplace.
- solutionCode must match this format ^MP\w{4}-\w{4}$
- Refer to the reference documentation for the marketPlace solution codes.
MPFRGE-S1YP
Label of the payout. Max 140 characters. Displayed to the receiver of funds.
payout for April 2023
Execution date. Using the ISO format in UTC YYYY-MM-DDThh:mm:ss.SSSZ. Current date by default
2023-04-22T06:00:00.000Z
External reference Id of the payoutSellerAmount on the merchant side.
1234-azerty-56789
POST /baas/uatc/marketplace/api/v1/sellers/{sellerId}/payout-seller-amounts HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 211
{
"solutionCode": "MPFRGE-S1YP",
"reasonLabel": "payout for April 2023",
"executionDate": "2023-04-22T06:00:00.000Z",
"payout": {
"askedAmount": 65,
"currencyCode": "EUR"
},
"merchantPayoutSellerAmountId": "1234-azerty-56789"
}
{
"payoutSellerAmountId": 4,
"solutionCode": "MPFRGE-S1YP",
"reasonLabel": "payout for April 2023",
"executionDate": "2023-04-22T06:00:00.000Z",
"payout": {
"askedAmount": 65,
"payoutAmount": 20,
"payoutAvailableAmount": 0,
"currencyCode": "EUR"
},
"payoutPayment": {
"paymentStatus": "PENDING",
"paymentAmount": 85,
"currencyCode": "EUR"
},
"merchantPayoutSellerAmountId": "1234-azerty-56789"
}
Retrieve the list of payoutSellerAmount for a specific Seller.
Unique technical identifier of the seller
Page number, starting from 1.
1
Example: 1
A limit on the number of objects to be returned. Limit can range between 1 and 100.
10
Example: 10
GET /baas/uatc/marketplace/api/v1/sellers/{sellerId}/payout-seller-amounts HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"pageCount": 1,
"payoutSellerAmounts": [
{
"payoutSellerAmountId": 4,
"solutionCode": "MPFRGE-S1YP",
"reasonLabel": "payout for April 2023",
"executionDate": "2023-04-22T06:00:00.000Z",
"payout": {
"askedAmount": 65,
"payoutAmount": 20,
"payoutAvailableAmount": 0,
"currencyCode": "EUR"
},
"payoutPayment": {
"paymentStatus": "PENDING",
"paymentAmount": 85,
"currencyCode": "EUR"
},
"merchantPayoutSellerAmountId": "1234-azerty-56789"
}
]
}
Retrieve specific payoutSellerAmount by payoutSellerAmountId (technical identifier)
Unique technical identifier of the seller
Unique technical identifier of payoutSellerAmount
GET /baas/uatc/marketplace/api/v1/sellers/{sellerId}/payout-seller-amounts/{payoutSellerAmountId} HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"payoutSellerAmountId": 4,
"solutionCode": "MPFRGE-S1YP",
"reasonLabel": "payout for April 2023",
"executionDate": "2023-04-22T06:00:00.000Z",
"payout": {
"askedAmount": 65,
"payoutAmount": 20,
"payoutAvailableAmount": 0,
"currencyCode": "EUR"
},
"payoutPayment": {
"paymentStatus": "PENDING",
"paymentAmount": 85,
"currencyCode": "EUR"
},
"merchantPayoutSellerAmountId": "1234-azerty-56789"
}
To delete a payoutSellerAmount, Only payoutSellerAmount with PENDING status can be deleted
Unique technical identifier of the seller
Unique technical identifier of payoutSellerAmount
DELETE /baas/uatc/marketplace/api/v1/sellers/{sellerId}/payout-seller-amounts/{payoutSellerAmountId} HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{}
Accounts
Retrieve the list of accounts for a specific merchant.
Page number, starting from 1.
1
Example: 1
A limit on the number of objects to be returned. Limit can range between 1 and 100.
10
Example: 10
Balances extraction date of the account values. Default value is the current date
type of the account to consider.
when Lines are needed in the answer. Default value FALSE.
false
GET /baas/uatc/marketplace/api/v1/accounts HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"pageCount": 1,
"accounts": [
{
"accountType": "SETTLEMENT",
"balanceExtractionDate": "2023-04-22T06:00:00.000Z",
"currentBalance": 9999.99,
"forecastBalance": 4850,
"currency": "EUR",
"balancesHistory": {
"openingBalance": 4500.1,
"closingBalance": 6321.11,
"date": "2023-04-22T06:00:00.000Z"
},
"lines": [
{
"lineId": 123456,
"accountingEntry": "SETTLEMENT",
"accountingLabel": "transfer or payment reason or other",
"merchantGlobalOrderId": "1234-azerty-56789",
"operationDate": "2023-04-22T06:00:00.000Z",
"cashedDate": "2023-04-22T06:00:00.000Z",
"isCashed": true,
"lineType": "DEBIT",
"amount": 65
}
]
}
]
}
Retrieve the accounts for a specific seller.
Unique technical identifier of the seller
Page number, starting from 1.
1
Example: 1
A limit on the number of objects to be returned. Limit can range between 1 and 100.
10
Example: 10
Balances extraction date of the account values. Default value is the current date
when Lines are needed in the answer. Default value FALSE.
false
GET /baas/uatc/marketplace/api/v1/sellers/{sellerId}/accounts HTTP/1.1
Host: api.scalexpert.uatc.societegenerale.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"pageCount": 1,
"accounts": [
{
"accountType": "SETTLEMENT",
"balanceExtractionDate": "2023-04-22T06:00:00.000Z",
"currentBalance": 9999.99,
"forecastBalance": 4850,
"currency": "EUR",
"balancesHistory": {
"openingBalance": 4500.1,
"closingBalance": 6321.11,
"date": "2023-04-22T06:00:00.000Z"
},
"lines": [
{
"lineId": 123456,
"accountingEntry": "SETTLEMENT",
"accountingLabel": "transfer or payment reason or other",
"merchantGlobalOrderId": "1234-azerty-56789",
"operationDate": "2023-04-22T06:00:00.000Z",
"cashedDate": "2023-04-22T06:00:00.000Z",
"isCashed": true,
"lineType": "DEBIT",
"amount": 65
}
]
}
]
}
Last updated
Was this helpful?