This object represents payments and credits. Payments represent real money that were paid back by borrowers. Credits are adjustments made on a loan. Credits lower balances similar to payments. Credits can be issued by customer service representatives or supervisors.
Create a transaction. Permissions required depend on the object type passed:
type | permission |
---|---|
One Time Payment | transaction:create.onetimepayment |
Service Credit | transaction:create.servicecredit |
Down Payment | transaction:create.downpayment |
Once a loan has been onboarded to Peach's platform, valid loan statuses for each transaction type are as follows:
type | valid loan statuses |
---|---|
One Time Payment | active , accelerated , or chargedOff * |
Service Credit | active , accelerated , or chargedOff * |
Down Payment | active |
*=chargedOff
is only valid when the loan type configuation paymentAllowedWhenChargedOff
is true
.
During migration while a loan is in prepMigration
, valid loan statuses for each transaction type are as follows:
type | valid loan statuses |
---|---|
One Time Payment | originated |
Service Credit | originated |
Down Payment | active |
Created
Request Timeout
Locked
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "type": "oneTime",
- "externalId": "string",
- "failureReason": "insufficientFunds",
- "paymentInstrumentId": "string",
- "amount": 0,
- "evidenceDocumentId": "string",
- "isExternal": true,
- "drawId": "string",
- "status": "scheduled",
- "scheduledDate": "2019-08-24",
- "effectiveDate": "2019-08-24",
- "effectiveTimeOfDay": {
- "hour": 23,
- "minute": 59,
- "second": 0
}, - "holdDaysEndDate": "2019-08-24",
- "consentDocumentId": "string",
- "enablePrepayments": true,
- "caseId": "string"
}
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "status": "scheduled",
- "timestamps": {
- "effectiveDate": "2019-08-24",
- "originalEffectiveDate": "2019-08-24",
- "originalDisplayDate": "2019-08-24",
- "scheduledDate": "2019-08-24",
- "displayDate": "2019-08-24",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "initiatedAt": "2019-08-24T14:15:22Z",
- "pendingAt": "2019-08-24T14:15:22Z",
- "succeededAt": "2019-08-24T14:15:22Z",
- "failedAt": "2019-08-24T14:15:22Z",
- "canceledAt": "2019-08-24T14:15:22Z",
- "inDisputeAt": "2019-08-24T14:15:22Z",
- "chargebackAt": "2019-08-24T14:15:22Z",
- "appliedAt": "2019-08-24T14:15:22Z"
}, - "transactionType": "payment",
- "paymentDetails": {
- "type": "ach",
- "reason": "autoPay",
- "fromInstrumentId": "string",
- "fromInstrument": {
- "instrumentType": "bankAccount",
- "accountNumberLastFour": "string"
}, - "toInstrumentId": "string",
- "toInstrument": {
- "instrumentType": "bankAccount",
- "accountNumberLastFour": "string"
}
}, - "actualAmount": 0,
- "scheduledAmount": 0,
- "currency": "string",
- "processingFeeAmount": 0,
- "processingFeeType": "net",
- "processorTransactionId": "string",
- "processorReversalId": "string",
- "processorReconciliationId": "string",
- "avsResult": "s",
- "failureReason": "insufficientFunds",
- "failureDescriptionShort": "string",
- "failureDescriptionLong": "string",
- "processorFailureReason": "string",
- "processorFailureDetails": null,
- "achReturnCode": "strin",
- "reversedByTransactionId": "string",
- "reversedByTransactionExternalId": "string",
- "reversedByTransactionIds": [
- {
- "id": "string",
- "externalId": "string"
}
], - "reversesTransactionId": "string",
- "reversesTransactionExternalId": "string",
- "reversedAmount": 0,
- "parentTransactionId": "string",
- "createdBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "cancelReason": "invalidPaymentMethod",
- "holdDaysEndDate": "2019-08-24",
- "metaData": { },
- "customDisplayName": "string",
- "retryAttempt": 0,
- "processorMerchantId": "string",
- "achConfirmed": true,
- "achSameDay": true,
- "achProcessedSameDay": true,
- "cancelShortDescription": "string",
- "cancelLongDescription": "string",
- "retryOriginalTransactionId": "string",
- "isExternal": null,
- "isVirtual": null,
- "paidPrincipalAmount": null,
- "paidInterestAmount": null,
- "paidFeesAmount": null,
- "paidOverAmount": null,
- "serviceCreditDetails": {
- "type": "serviceAgent",
- "sponsor": "loanOwner",
- "reason": "oneTimePayment"
}, - "chargebackDetails": [
- {
- "id": "string",
- "externalId": "string",
- "caseId": "string",
- "status": "open",
- "amount": 0,
- "description": "string",
- "externalCaseNumber": "string",
- "reasonCode": "string",
- "category": "string"
}
], - "effectiveAmount": 0,
- "chargebackAmount": 0,
- "unroundedPaidPrincipalAmount": 0,
- "unroundedPaidInterestAmount": 0,
- "unroundedPaidFeesAmount": 0,
- "unroundedPaidOverAmount": 0,
- "initiatingBorrowerId": "string",
- "autopayPlanId": "string",
- "autopayPaymentIds": [
- 0
], - "enablePrepayments": true,
- "loanId": "string",
- "drawId": "string",
- "mainBorrowerId": "string"
}
}
Collection of Transactions
{- "status": 0,
- "total": 0,
- "count": 0,
- "nextUrl": "string",
- "previousUrl": "string",
- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "status": "scheduled",
- "timestamps": {
- "effectiveDate": "2019-08-24",
- "originalEffectiveDate": "2019-08-24",
- "originalDisplayDate": "2019-08-24",
- "scheduledDate": "2019-08-24",
- "displayDate": "2019-08-24",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "initiatedAt": "2019-08-24T14:15:22Z",
- "pendingAt": "2019-08-24T14:15:22Z",
- "succeededAt": "2019-08-24T14:15:22Z",
- "failedAt": "2019-08-24T14:15:22Z",
- "canceledAt": "2019-08-24T14:15:22Z",
- "inDisputeAt": "2019-08-24T14:15:22Z",
- "chargebackAt": "2019-08-24T14:15:22Z",
- "appliedAt": "2019-08-24T14:15:22Z"
}, - "transactionType": "payment",
- "paymentDetails": {
- "type": "ach",
- "reason": "autoPay",
- "fromInstrumentId": "string",
- "fromInstrument": {
- "instrumentType": "bankAccount",
- "accountNumberLastFour": "string"
}, - "toInstrumentId": "string",
- "toInstrument": {
- "instrumentType": "bankAccount",
- "accountNumberLastFour": "string"
}
}, - "actualAmount": 0,
- "scheduledAmount": 0,
- "currency": "string",
- "processingFeeAmount": 0,
- "processingFeeType": "net",
- "processorTransactionId": "string",
- "processorReversalId": "string",
- "processorReconciliationId": "string",
- "avsResult": "s",
- "failureReason": "insufficientFunds",
- "failureDescriptionShort": "string",
- "failureDescriptionLong": "string",
- "processorFailureReason": "string",
- "processorFailureDetails": null,
- "achReturnCode": "strin",
- "reversedByTransactionId": "string",
- "reversedByTransactionExternalId": "string",
- "reversedByTransactionIds": [
- {
- "id": "string",
- "externalId": "string"
}
], - "reversesTransactionId": "string",
- "reversesTransactionExternalId": "string",
- "reversedAmount": 0,
- "parentTransactionId": "string",
- "createdBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "cancelReason": "invalidPaymentMethod",
- "holdDaysEndDate": "2019-08-24",
- "metaData": { },
- "customDisplayName": "string",
- "retryAttempt": 0,
- "processorMerchantId": "string",
- "achConfirmed": true,
- "achSameDay": true,
- "achProcessedSameDay": true,
- "cancelShortDescription": "string",
- "cancelLongDescription": "string",
- "retryOriginalTransactionId": "string",
- "isExternal": null,
- "isVirtual": null,
- "paidPrincipalAmount": null,
- "paidInterestAmount": null,
- "paidFeesAmount": null,
- "paidOverAmount": null,
- "serviceCreditDetails": {
- "type": "serviceAgent",
- "sponsor": "loanOwner",
- "reason": "oneTimePayment"
}, - "chargebackDetails": [
- {
- "id": "string",
- "externalId": "string",
- "caseId": "string",
- "status": "open",
- "amount": 0,
- "description": "string",
- "externalCaseNumber": "string",
- "reasonCode": "string",
- "category": "string"
}
], - "effectiveAmount": 0,
- "chargebackAmount": 0,
- "unroundedPaidPrincipalAmount": 0,
- "unroundedPaidInterestAmount": 0,
- "unroundedPaidFeesAmount": 0,
- "unroundedPaidOverAmount": 0,
- "initiatingBorrowerId": "string",
- "autopayPlanId": "string",
- "autopayPaymentIds": [
- 0
], - "enablePrepayments": true,
- "loanId": "string",
- "drawId": "string",
- "mainBorrowerId": "string"
}
]
}
success
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "status": "scheduled",
- "timestamps": {
- "effectiveDate": "2019-08-24",
- "originalEffectiveDate": "2019-08-24",
- "originalDisplayDate": "2019-08-24",
- "scheduledDate": "2019-08-24",
- "displayDate": "2019-08-24",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "initiatedAt": "2019-08-24T14:15:22Z",
- "pendingAt": "2019-08-24T14:15:22Z",
- "succeededAt": "2019-08-24T14:15:22Z",
- "failedAt": "2019-08-24T14:15:22Z",
- "canceledAt": "2019-08-24T14:15:22Z",
- "inDisputeAt": "2019-08-24T14:15:22Z",
- "chargebackAt": "2019-08-24T14:15:22Z",
- "appliedAt": "2019-08-24T14:15:22Z"
}, - "transactionType": "payment",
- "paymentDetails": {
- "type": "ach",
- "reason": "autoPay",
- "fromInstrumentId": "string",
- "fromInstrument": {
- "instrumentType": "bankAccount",
- "accountNumberLastFour": "string"
}, - "toInstrumentId": "string",
- "toInstrument": {
- "instrumentType": "bankAccount",
- "accountNumberLastFour": "string"
}
}, - "actualAmount": 0,
- "scheduledAmount": 0,
- "currency": "string",
- "processingFeeAmount": 0,
- "processingFeeType": "net",
- "processorTransactionId": "string",
- "processorReversalId": "string",
- "processorReconciliationId": "string",
- "avsResult": "s",
- "failureReason": "insufficientFunds",
- "failureDescriptionShort": "string",
- "failureDescriptionLong": "string",
- "processorFailureReason": "string",
- "processorFailureDetails": null,
- "achReturnCode": "strin",
- "reversedByTransactionId": "string",
- "reversedByTransactionExternalId": "string",
- "reversedByTransactionIds": [
- {
- "id": "string",
- "externalId": "string"
}
], - "reversesTransactionId": "string",
- "reversesTransactionExternalId": "string",
- "reversedAmount": 0,
- "parentTransactionId": "string",
- "createdBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "cancelReason": "invalidPaymentMethod",
- "holdDaysEndDate": "2019-08-24",
- "metaData": { },
- "customDisplayName": "string",
- "retryAttempt": 0,
- "processorMerchantId": "string",
- "achConfirmed": true,
- "achSameDay": true,
- "achProcessedSameDay": true,
- "cancelShortDescription": "string",
- "cancelLongDescription": "string",
- "retryOriginalTransactionId": "string",
- "isExternal": null,
- "isVirtual": null,
- "paidPrincipalAmount": null,
- "paidInterestAmount": null,
- "paidFeesAmount": null,
- "paidOverAmount": null,
- "serviceCreditDetails": {
- "type": "serviceAgent",
- "sponsor": "loanOwner",
- "reason": "oneTimePayment"
}, - "chargebackDetails": [
- {
- "id": "string",
- "externalId": "string",
- "caseId": "string",
- "status": "open",
- "amount": 0,
- "description": "string",
- "externalCaseNumber": "string",
- "reasonCode": "string",
- "category": "string"
}
], - "effectiveAmount": 0,
- "chargebackAmount": 0,
- "unroundedPaidPrincipalAmount": 0,
- "unroundedPaidInterestAmount": 0,
- "unroundedPaidFeesAmount": 0,
- "unroundedPaidOverAmount": 0,
- "initiatingBorrowerId": "string",
- "autopayPlanId": "string",
- "autopayPaymentIds": [
- 0
], - "enablePrepayments": true,
- "loanId": "string",
- "drawId": "string",
- "mainBorrowerId": "string"
}
}
Updated
Request Timeout
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "status": "scheduled",
- "timestamps": {
- "effectiveDate": "2019-08-24",
- "scheduledDate": "2019-08-24",
- "displayDate": "2019-08-24",
- "initiatedAt": "2019-08-24T14:15:22Z",
- "pendingAt": "2019-08-24T14:15:22Z",
- "succeededAt": "2019-08-24T14:15:22Z",
- "failedAt": "2019-08-24T14:15:22Z",
- "canceledAt": "2019-08-24T14:15:22Z",
- "inDisputeAt": "2019-08-24T14:15:22Z",
- "chargebackAt": "2019-08-24T14:15:22Z"
}, - "transactionType": "payment",
- "paymentDetails": {
- "type": "ach",
- "reason": "autoPay",
- "fromInstrumentId": "string",
- "fromInstrument": {
- "instrumentType": "bankAccount"
}, - "toInstrumentId": "string",
- "toInstrument": {
- "instrumentType": "bankAccount"
}
}, - "actualAmount": 0,
- "scheduledAmount": 0,
- "currency": "string",
- "processingFeeAmount": 0,
- "processingFeeType": "net",
- "processorTransactionId": "string",
- "processorReversalId": "string",
- "processorReconciliationId": "string",
- "avsResult": "s",
- "failureReason": "insufficientFunds",
- "processorFailureReason": "string",
- "processorFailureDetails": null,
- "achReturnCode": "strin",
- "parentTransactionId": "string",
- "cancelReason": "invalidPaymentMethod",
- "holdDaysEndDate": "2019-08-24",
- "metaData": { },
- "customDisplayName": "string",
- "retryAttempt": 0,
- "isExternal": null,
- "isVirtual": null,
- "paidPrincipalAmount": null,
- "paidInterestAmount": null,
- "paidFeesAmount": null,
- "paidOverAmount": null,
- "serviceCreditDetails": {
- "type": "serviceAgent",
- "sponsor": "loanOwner",
- "reason": "oneTimePayment"
}
}
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "status": "scheduled",
- "timestamps": {
- "effectiveDate": "2019-08-24",
- "originalEffectiveDate": "2019-08-24",
- "originalDisplayDate": "2019-08-24",
- "scheduledDate": "2019-08-24",
- "displayDate": "2019-08-24",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "initiatedAt": "2019-08-24T14:15:22Z",
- "pendingAt": "2019-08-24T14:15:22Z",
- "succeededAt": "2019-08-24T14:15:22Z",
- "failedAt": "2019-08-24T14:15:22Z",
- "canceledAt": "2019-08-24T14:15:22Z",
- "inDisputeAt": "2019-08-24T14:15:22Z",
- "chargebackAt": "2019-08-24T14:15:22Z",
- "appliedAt": "2019-08-24T14:15:22Z"
}, - "transactionType": "payment",
- "paymentDetails": {
- "type": "ach",
- "reason": "autoPay",
- "fromInstrumentId": "string",
- "fromInstrument": {
- "instrumentType": "bankAccount",
- "accountNumberLastFour": "string"
}, - "toInstrumentId": "string",
- "toInstrument": {
- "instrumentType": "bankAccount",
- "accountNumberLastFour": "string"
}
}, - "actualAmount": 0,
- "scheduledAmount": 0,
- "currency": "string",
- "processingFeeAmount": 0,
- "processingFeeType": "net",
- "processorTransactionId": "string",
- "processorReversalId": "string",
- "processorReconciliationId": "string",
- "avsResult": "s",
- "failureReason": "insufficientFunds",
- "failureDescriptionShort": "string",
- "failureDescriptionLong": "string",
- "processorFailureReason": "string",
- "processorFailureDetails": null,
- "achReturnCode": "strin",
- "reversedByTransactionId": "string",
- "reversedByTransactionExternalId": "string",
- "reversedByTransactionIds": [
- {
- "id": "string",
- "externalId": "string"
}
], - "reversesTransactionId": "string",
- "reversesTransactionExternalId": "string",
- "reversedAmount": 0,
- "parentTransactionId": "string",
- "createdBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "cancelReason": "invalidPaymentMethod",
- "holdDaysEndDate": "2019-08-24",
- "metaData": { },
- "customDisplayName": "string",
- "retryAttempt": 0,
- "processorMerchantId": "string",
- "achConfirmed": true,
- "achSameDay": true,
- "achProcessedSameDay": true,
- "cancelShortDescription": "string",
- "cancelLongDescription": "string",
- "retryOriginalTransactionId": "string",
- "isExternal": null,
- "isVirtual": null,
- "paidPrincipalAmount": null,
- "paidInterestAmount": null,
- "paidFeesAmount": null,
- "paidOverAmount": null,
- "serviceCreditDetails": {
- "type": "serviceAgent",
- "sponsor": "loanOwner",
- "reason": "oneTimePayment"
}, - "chargebackDetails": [
- {
- "id": "string",
- "externalId": "string",
- "caseId": "string",
- "status": "open",
- "amount": 0,
- "description": "string",
- "externalCaseNumber": "string",
- "reasonCode": "string",
- "category": "string"
}
], - "effectiveAmount": 0,
- "chargebackAmount": 0,
- "unroundedPaidPrincipalAmount": 0,
- "unroundedPaidInterestAmount": 0,
- "unroundedPaidFeesAmount": 0,
- "unroundedPaidOverAmount": 0,
- "initiatingBorrowerId": "string",
- "autopayPlanId": "string",
- "autopayPaymentIds": [
- 0
], - "enablePrepayments": true,
- "loanId": "string",
- "drawId": "string",
- "mainBorrowerId": "string"
}
}
canceled
A Transaction
Request Timeout
Locked
{- "status": "scheduled",
- "scheduledDate": "2019-08-24",
- "amount": 0,
- "externalId": "string",
- "caseId": "string"
}
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "status": "scheduled",
- "timestamps": {
- "effectiveDate": "2019-08-24",
- "originalEffectiveDate": "2019-08-24",
- "originalDisplayDate": "2019-08-24",
- "scheduledDate": "2019-08-24",
- "displayDate": "2019-08-24",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "initiatedAt": "2019-08-24T14:15:22Z",
- "pendingAt": "2019-08-24T14:15:22Z",
- "succeededAt": "2019-08-24T14:15:22Z",
- "failedAt": "2019-08-24T14:15:22Z",
- "canceledAt": "2019-08-24T14:15:22Z",
- "inDisputeAt": "2019-08-24T14:15:22Z",
- "chargebackAt": "2019-08-24T14:15:22Z",
- "appliedAt": "2019-08-24T14:15:22Z"
}, - "transactionType": "payment",
- "paymentDetails": {
- "type": "ach",
- "reason": "autoPay",
- "fromInstrumentId": "string",
- "fromInstrument": {
- "instrumentType": "bankAccount",
- "accountNumberLastFour": "string"
}, - "toInstrumentId": "string",
- "toInstrument": {
- "instrumentType": "bankAccount",
- "accountNumberLastFour": "string"
}
}, - "actualAmount": 0,
- "scheduledAmount": 0,
- "currency": "string",
- "processingFeeAmount": 0,
- "processingFeeType": "net",
- "processorTransactionId": "string",
- "processorReversalId": "string",
- "processorReconciliationId": "string",
- "avsResult": "s",
- "failureReason": "insufficientFunds",
- "failureDescriptionShort": "string",
- "failureDescriptionLong": "string",
- "processorFailureReason": "string",
- "processorFailureDetails": null,
- "achReturnCode": "strin",
- "reversedByTransactionId": "string",
- "reversedByTransactionExternalId": "string",
- "reversedByTransactionIds": [
- {
- "id": "string",
- "externalId": "string"
}
], - "reversesTransactionId": "string",
- "reversesTransactionExternalId": "string",
- "reversedAmount": 0,
- "parentTransactionId": "string",
- "createdBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "cancelReason": "invalidPaymentMethod",
- "holdDaysEndDate": "2019-08-24",
- "metaData": { },
- "customDisplayName": "string",
- "retryAttempt": 0,
- "processorMerchantId": "string",
- "achConfirmed": true,
- "achSameDay": true,
- "achProcessedSameDay": true,
- "cancelShortDescription": "string",
- "cancelLongDescription": "string",
- "retryOriginalTransactionId": "string",
- "isExternal": null,
- "isVirtual": null,
- "paidPrincipalAmount": null,
- "paidInterestAmount": null,
- "paidFeesAmount": null,
- "paidOverAmount": null,
- "serviceCreditDetails": {
- "type": "serviceAgent",
- "sponsor": "loanOwner",
- "reason": "oneTimePayment"
}, - "chargebackDetails": [
- {
- "id": "string",
- "externalId": "string",
- "caseId": "string",
- "status": "open",
- "amount": 0,
- "description": "string",
- "externalCaseNumber": "string",
- "reasonCode": "string",
- "category": "string"
}
], - "effectiveAmount": 0,
- "chargebackAmount": 0,
- "unroundedPaidPrincipalAmount": 0,
- "unroundedPaidInterestAmount": 0,
- "unroundedPaidFeesAmount": 0,
- "unroundedPaidOverAmount": 0,
- "initiatingBorrowerId": "string",
- "autopayPlanId": "string",
- "autopayPaymentIds": [
- 0
], - "enablePrepayments": true,
- "loanId": "string",
- "drawId": "string",
- "mainBorrowerId": "string"
}
}
In some cases a borrower might chargeback/dispute a payment that they made in the past. Only transactions in succeeded
status can be charged back.
If the payment/transaction isExternal=true
, the caller can post chargeback in two ways:
inDispute
or chargeback
directly. The chargeback amount defaults to the full amount of the transaction.
The system will create a chargeback object automatically. This option is the easiest way to tell the system about a chargeback.Create transaction chargeback
endpoint. This option allows the caller to provide more details about the chargeback.
This option should be used for multiple partial chargebacks. Keep in mind that a transaction can have multiple chargebacks and reversals.It's important to not mix the options above because it can create edge cases and confusion.
If the payment/transaction is isExternal=false
, the caller cannot change the transaction status to inDispute
or chargeback
nor create chargeback(s)
via Create transaction chargeback
endpoint. Chargebacks will be received directly from the payment processor.
Chargeback
Request Timeout
{- "status": "open",
- "amount": 0,
- "caseId": "string",
- "externalId": "string",
- "externalCaseNumber": "string",
- "reasonCode": "string",
- "category": "string"
}
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "externalId": "string",
- "caseId": "string",
- "status": "open",
- "amount": 0,
- "description": "string",
- "externalCaseNumber": "string",
- "reasonCode": "string",
- "category": "string"
}
}
Chargebacks
{- "data": [
- {
- "id": "string",
- "externalId": "string",
- "caseId": "string",
- "status": "open",
- "amount": 0,
- "description": "string",
- "externalCaseNumber": "string",
- "reasonCode": "string",
- "category": "string"
}
]
}
Chargeback
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "externalId": "string",
- "caseId": "string",
- "status": "open",
- "amount": 0,
- "description": "string",
- "externalCaseNumber": "string",
- "reasonCode": "string",
- "category": "string"
}
}
Chargeback
{- "caseId": "string",
- "status": "open",
- "amount": 0,
- "description": "string",
- "externalCaseNumber": "string",
- "reasonCode": "string",
- "category": "string"
}
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "externalId": "string",
- "caseId": "string",
- "status": "open",
- "amount": 0,
- "description": "string",
- "externalCaseNumber": "string",
- "reasonCode": "string",
- "category": "string"
}
}
Backdate a transaction. Can only be applied to transactions with status=succeeded
or status=pending
. Can be applied to payments or service credits.
Backdated
Request Timeout
Locked
{- "effectiveDate": "2019-08-24",
- "effectiveTimeOfDay": {
- "hour": 23,
- "minute": 59,
- "second": 0
}, - "caseId": "string"
}
{- "message": "Loan is locked for updates. Please try again."
}