Shift transactions
Shift one or more transactions between open statements. For example, a transaction can be moved from a future statement to an earlier open statement. A transaction can also be moved to a statement farther in the future. A maximum of 24 shifts are allowed per request.
This endpoint generates an Transaction updated event for each transaction that is shifted. After all the transactions are successfully shifted, it generates a Transactions shifted event.
Note: This endpoint requires an account token - an access token encoded with a Pismo account ID. Tokens can expire quickly, which can result in a 401 Unauthorized message.
Request
- Base URLhttps://sandbox.pismolabs.io
- URLhttps://sandbox.pismolabs.io/statements-v2/v1/accounts/{accountId}/transactions/shifts
- AuthHTTP bearer
Path parameters
Account ID
Request body
Example request
{
"tracking_id": "3ea22692-a209-11eb-89a2-f73e179dcbc2,",
"shifts": [
{
"transaction_id": 10,
"new_statement_id": 5
},
{
"transaction_id": 11,
"desired_cycle_date": "2023-12-25"
}
]
}Response
OK - Indicates that the server accepted the request and created the resource.
Example response
{
"transaction_statement_shift_id": 211452,
"desired_cycle_date": "2023-12-25",
"tracking_id": "3ea22692-a209-11eb-89a2-f73e179dcbc2",
"shifts": [
{
"tracking_id": "3ea22692-a209-11eb-89a2-f73e179dcbc2,",
"shifts": [
{
"transaction_id": 10,
"new_statement_id": 5
},
{
"transaction_id": 11,
"desired_cycle_date": "2023-12-25"
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.