Bill Credit Card Payments
Retrieve a bill credit card payment
QuickBooks Desktop API
Core Resources
- Auth Sessions
- End Users
Utilities
Transactions
- All Transactions
- Bill Check Payments
- Bill Credit Card Payments
- Bills
- Checks
- Credit Card Charges
- Credit Card Credits
- Credit Memos
- Estimates
- Inventory Adjustments
- Invoices
- Item Receipts
- Journal Entries
- Purchase Orders
- Receive-Payments
- Sales Orders
- Sales Receipts
- Time Tracking Activities
- Transfers
- Vendor Credits
General
- Account Tax Lines
- Accounts
- Classes
- Company
- Customers / Jobs
- Date-Driven Terms
- Employees
- Inventory Sites
- Payment Methods
- Payroll Wage Items
- Preferences
- Price Levels
- Sales Representatives
- Sales-Tax Codes
- Standard Terms
- Vendors
Items
- Discount Items
- Inventory Assembly Items
- Inventory Items
- Item Groups
- Item Sites
- Non-Inventory Items
- Sales-Tax Items
- Service Items
- Subtotal Items
Bill Credit Card Payments
Retrieve a bill credit card payment
Retrieves a bill credit card payment by ID.
GET
/
quickbooks-desktop
/
bill-credit-card-payments
/
{id}
import Conductor from 'conductor-node';
const client = new Conductor({
apiKey: process.env['CONDUCTOR_SECRET_KEY'], // This is the default and can be omitted
});
async function main() {
const billCreditCardPayment = await client.qbd.billCreditCardPayments.retrieve('123ABC-1234567890', {
conductorEndUserId: 'end_usr_1234567abcdefg',
});
console.log(billCreditCardPayment.id);
}
main();
{
"id": "123ABC-1234567890",
"objectType": "qbd_bill_credit_card_payment",
"createdAt": "2021-10-01T17:34:56.000Z",
"updatedAt": "2021-10-01T20:45:30.000Z",
"revisionNumber": "1721172183",
"vendor": {
"id": "80000001-1234567890",
"fullName": "Suppliers:ABC Office Supplies"
},
"payablesAccount": {
"id": "80000001-1234567890",
"fullName": "Accounts-Payable"
},
"transactionDate": "2021-10-01",
"creditCardAccount": {
"id": "80000001-1234567890",
"fullName": "Credit Card"
},
"amount": "1000.00",
"currency": {
"id": "80000001-1234567890",
"fullName": "USD"
},
"exchangeRate": 1.2345,
"amountInHomeCurrency": "1234.56",
"refNumber": "CARD-1234",
"memo": "Payment for office supplies - Invoice INV-1234",
"externalId": "12345678-abcd-1234-abcd-1234567890ab",
"appliedToTransactions": [
{
"transactionId": "123ABC-1234567890",
"transactionType": "invoice",
"transactionDate": "2021-10-01",
"refNumber": "PAYMENT-1234",
"balanceRemaining": "100.00",
"amount": "1000.00",
"discountAmount": "50.00",
"discountAccount": {
"id": "80000001-1234567890",
"fullName": "Discount Account"
},
"discountClass": {
"id": "80000001-1234567890",
"fullName": "Discounts"
},
"linkedTransactions": [
{
"id": "123ABC-1234567890",
"objectType": "qbd_linked_transaction",
"transactionType": "invoice",
"transactionDate": "2021-10-01",
"refNumber": "LINK-1234",
"linkType": "amount",
"amount": "1000.00"
}
]
}
],
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}
Authorizations
Your Conductor secret key using Bearer auth (e.g., "Authorization: Bearer {{YOUR_SECRET_KEY}}"
).
Headers
The ID of the EndUser to receive this request (e.g., "Conductor-End-User-Id: {{END_USER_ID}}"
).
Example:
"end_usr_1234567abcdefg"
Path Parameters
The QuickBooks-assigned unique identifier of the bill credit card payment to retrieve.
Example:
"123ABC-1234567890"
Response
200 - application/json
Returns the specified bill credit card payment.
The response is of type object
.
import Conductor from 'conductor-node';
const client = new Conductor({
apiKey: process.env['CONDUCTOR_SECRET_KEY'], // This is the default and can be omitted
});
async function main() {
const billCreditCardPayment = await client.qbd.billCreditCardPayments.retrieve('123ABC-1234567890', {
conductorEndUserId: 'end_usr_1234567abcdefg',
});
console.log(billCreditCardPayment.id);
}
main();
{
"id": "123ABC-1234567890",
"objectType": "qbd_bill_credit_card_payment",
"createdAt": "2021-10-01T17:34:56.000Z",
"updatedAt": "2021-10-01T20:45:30.000Z",
"revisionNumber": "1721172183",
"vendor": {
"id": "80000001-1234567890",
"fullName": "Suppliers:ABC Office Supplies"
},
"payablesAccount": {
"id": "80000001-1234567890",
"fullName": "Accounts-Payable"
},
"transactionDate": "2021-10-01",
"creditCardAccount": {
"id": "80000001-1234567890",
"fullName": "Credit Card"
},
"amount": "1000.00",
"currency": {
"id": "80000001-1234567890",
"fullName": "USD"
},
"exchangeRate": 1.2345,
"amountInHomeCurrency": "1234.56",
"refNumber": "CARD-1234",
"memo": "Payment for office supplies - Invoice INV-1234",
"externalId": "12345678-abcd-1234-abcd-1234567890ab",
"appliedToTransactions": [
{
"transactionId": "123ABC-1234567890",
"transactionType": "invoice",
"transactionDate": "2021-10-01",
"refNumber": "PAYMENT-1234",
"balanceRemaining": "100.00",
"amount": "1000.00",
"discountAmount": "50.00",
"discountAccount": {
"id": "80000001-1234567890",
"fullName": "Discount Account"
},
"discountClass": {
"id": "80000001-1234567890",
"fullName": "Discounts"
},
"linkedTransactions": [
{
"id": "123ABC-1234567890",
"objectType": "qbd_linked_transaction",
"transactionType": "invoice",
"transactionDate": "2021-10-01",
"refNumber": "LINK-1234",
"linkType": "amount",
"amount": "1000.00"
}
]
}
],
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}