PaymentInstrument
Retrieve the default payment instrument
Changed onRetrieve the default payment instrument for a given user and company
get/billing/v1/paymentInstruments/default
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
companyUuidstring
User's company UUID
userUuidstring
User's UUID
Response
OK
Example response
{
"accountDisplay": "...",
"billingAddress": {
"city": "...",
"companyName": "...",
"country": "...",
"fax": "...",
"faxExtension": "...",
"firstName": "...",
"lastName": "...",
"phone": "...",
"phoneExtension": "...",
"poBox": "...",
"salutation": "...",
"state": "...",
"street1": "...",
"street2": "...",
"zip": "..."
},
"company": {
"href": "...",
"id": "..."
},
"createdOn": 12345,
"creditCard": {
"expirationMonth": 12345,
"expirationYear": 12345,
"name": "...",
"number": "...",
"securityCode": "...",
"type": "AMEX"
},
"id": "...",
"isDefault": true,
"paymentMethod": "MANO_TEO_BILL",
"user": {
"href": "...",
"id": "..."
},
"vatId": "..."
}Changes
- info
endpoint added
- info