Merchant transactions
Create merchant transaction
Create a new merchant transaction (sale) for a specific merchant associated with a marketplace.
This endpoint allows for the creation of merchant sale transactions with installment support, MDR calculations, and scheduled payment dates. The default status is SCHEDULED. However, if the merchant is a marketplace scheduler, the transaction will automatically be set to WAITING_SPLIT status.
This endpoint generates a Merchant transaction created event.
post/v1/marketplaces/{marketplaceId}/merchants/{merchantId}/transactions
Request
- Base URLhttps://sandbox.pismolabs.io/sellers
- URLhttps://sandbox.pismolabs.io/sellers/v1/marketplaces/{marketplaceId}/merchants/{merchantId}/transactions
- AuthHTTP bearer
Path parameters
marketplaceIdinteger required
Marketplace ID
merchantIdinteger required
Merchant ID
Headers
Authorizationstring required
Authorization token
Request body
Example request
{
"event_date": "2023-01-01T12:00:00Z",
"installments": 1,
"processing_code": "999999",
"currency_code": "BRL"
}Response
Successfully list merchant transactions
Example response
{
"items": [
{
"merchant_id": 1,
"installment": 1,
"number_of_installments": 1,
"event_date": "2023-01-01T12:00:00Z",
"scheduled_payment_date": "2023-01-02",
"marketplace_id": 1,
"currency_code": "BRL",
"discount_amount": 1.99,
"discount_details": [
{
"name": "EMISSION_FEE",
"amount": 10
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.