Invoice
List All Invoice Payments
Changed onList all payment data for an invoice
get/billing/v1/invoices/{invoiceNumber}/payments
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
invoiceNumberinteger required
Invoice number.
Query parameters
countstring
Number of results to fetch. Used for paging.
fromDatenumber
From date.
method'ADP_INVOICE' | 'ARIBAPAY' | 'BT_BILL' | 'CLICKANDBUY' | 'CLOUDFOUNDRY' | 'CREDIT_CARD' | 'CUMULA_BILL' | 'DTAG' | 'EXTERNAL_INVOICE' | 'KREDITKARTE' | 'LASTSCHRIFT_MRNEXNET' | 'MANO_TEO_BILL' | 'MANUAL' | 'MARKETPLACE_CREDITS' | 'NETS_ARVATO_INVOICE' | 'NEXTEL' | 'PAYPAL' | 'ROGERS_CC_DTMF' | 'ROGERS_CC_POS' | 'SNAP' | 'TBILL' | 'THISTLE' | 'TOICLEARING'
Payment method.
result'FAILED' | 'GATEWAY_NOT_AVAILABLE' | 'MANUAL' | 'SUCCESSFUL'
Payment result.
sortField'AMOUNT' | 'DATE' | 'PAYMENT_ID'
Sort field.
sortOrder'ASC' | 'DESC'
Sort order.
startstring
First result index. Used for paging.
toDatenumber
To date.
Response
OK
Example response
[
{
"amount": 12345,
"company": {
"href": "...",
"id": "..."
},
"currency": "INR",
"date": 12345,
"gatewayResponse": {
"avs": true,
"code": "...",
"cvv": true,
"message": "..."
},
"id": 12345,
"links": [
{
"href": "...",
"rel": "..."
},
{
"href": "...",
"rel": "..."
}
],
"method": "PAYPAL",
"result": "GATEWAY_NOT_AVAILABLE",
"transactionId": "...",
"user": {
"href": "...",
"id": "..."
}
}
]Changes
- info
endpoint added
- info