Refinancing
Get payment agreement
Get a payment agreement by account ID and payment agreement ID.
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.
get/statements/v4/accounts/{accountId}/installment-payments/{id}
Request
- Base URLhttps://sandbox.pismolabs.io
- URLhttps://sandbox.pismolabs.io/statements/v4/accounts/{accountId}/installment-payments/{id}
- AuthHTTP bearer
Path parameters
accountIdinteger required
Example:101
Account ID
idstring required
Example:4101
Payment agreement ID
Headers
Authorizationstring required
Account token, not a regular access token. Account tokens are encoded with an account ID. Tokens can expire quickly, which can result in an Unauthorized message.
Response
Ok
Example response
{
"id": 1000,
"statement_agreement": true,
"compulsory": true,
"status": "PROCESSED",
"created_at": "2021-08-10T00:00:00",
"credit_transaction": {
"amount": 40,
"transaction_id": 77489,
"transaction_type": 712,
"statement_id": 9497889
},
"payment_datetime": "2021-04-14T12:00:00-03:00",
"agreement_amount": 4111.56,
"agreement_balance": 2055.89,
"error_message": "Authorization Error",
"iof_transactions": [
{
"amount": 5.12,
"transaction_id": 77489,
"transaction_type": 715,
"statement_id": 9497889
}
],
"installments": [
{
"instalment": 1,
"amount": 40,
"transaction_id": 77489,
"transaction_type": 715,
"interest_amount": 12.35,
"interest_rate": 0.1,
"iof_amount": 1.35,
"statement_id": 9497889
}
],
"custom_transactions": [
{
"amount": 150,
"transaction_id": 77489,
"transaction_type": 715,
"statement_id": 9497889,
"instalment": 1
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.