Retrieve a credit card refund
Changed onRetrieves a credit card refund by ID.
IMPORTANT: If you need to fetch multiple specific credit card refunds by ID, use the list endpoint instead with the ids parameter. It accepts an array of IDs so you can batch the request into a single call, which is significantly faster.
get/quickbooks-desktop/credit-card-refunds/{id}
Request
- Base URLhttps://api.conductor.is/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The QuickBooks-assigned unique identifier of the credit card refund to retrieve.
Example:123ABC-1234567890
Headers
Conductor-End-User-Idstring required
The ID of the End-User to receive this request.
Example:end_usr_1234567abcdefg
Response
Returns the specified credit card refund.
Example response
{
"id": "123ABC-1234567890",
"objectType": "qbd_credit_card_refund",
"createdAt": "2025-01-01T12:34:56+00:00",
"updatedAt": "2025-02-01T12:34:56+00:00",
"revisionNumber": "1721172183",
"customer": {
"id": "80000001-1234567890",
"fullName": "Acme Corporation"
},
"refundFromAccount": {
"id": "80000001-1234567890",
"fullName": "Undeposited Funds"
},
"receivablesAccount": {
"id": "80000001-1234567890",
"fullName": "Accounts-Receivable"
},
"transactionDate": "2024-10-01",
"refNumber": "REFUND-1234",
"totalAmount": "1000.00",
"currency": {
"id": "80000001-1234567890",
"fullName": "USD"
},
"exchangeRate": 1.2345,
"totalAmountInHomeCurrency": "1234.56",
"address": {
"line1": "Conductor Labs Inc.",
"line2": "540 Market St.",
"line3": "Suite 100",
"city": "San Francisco",
"state": "CA",
"postalCode": "94110",
"country": "United States",
"note": "Conductor HQ"
},
"paymentMethod": {
"id": "80000001-1234567890",
"fullName": "Credit Card"
},
"memo": "Refund to customer for duplicate credit card charge",
"creditCardTransaction": {
"request": {
"number": "xxxxxxxxxxxx1234",
"expirationMonth": 12,
"expirationYear": 2024,
"name": "John Doe",
"address": "1234 Main St, Anytown, USA, 12345",
"postalCode": "12345",
"commercialCardCode": "corporate",
"transactionMode": "card_not_present",
"transactionType": "charge"
},
"response": {
"statusMessage": "Success",
"creditCardTransactionId": "1234567890",
"merchantAccountNumber": "1234567890",
"authorizationCode": "1234567890",
"avsStreetStatus": "pass",
"avsZipStatus": "pass",
"cardSecurityCodeMatch": "pass",
"reconBatchId": "1234567890",
"paymentGroupingCode": 2,
"paymentStatus": "completed",
"transactionAuthorizedAt": "2024-01-01T12:34:56Z",
"transactionAuthorizationStamp": 2,
"clientTransactionId": "1234567890"
}
},
"externalId": "12345678-abcd-1234-abcd-1234567890ab",
"refundAppliedToTransactions": [
{
"transactionId": "123ABC-1234567890",
"transactionType": "invoice",
"transactionDate": "2024-10-01",
"refNumber": "CREDIT-1234",
"creditRemaining": "25.11",
"refundAmount": "15.00",
"creditRemainingInHomeCurrency": "25.11",
"refundAmountInHomeCurrency": "15.00"
}
],
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}Changes
- warning
added the new
transfer_inventoryenum value to the//response property for the response status
- warning
- warning
added the new
unknownenum value to the//response property for the response status
- warning