🔗 Console REST APIPayment Methods

Get payment methods

Retrieves all payment methods for the organization with default method marked

GET
/api/payment-methods

Authorization

headerAuthorization<token>

API Key is required to access the endpoints

Response Body

Successfully retrieved payment methods

  1. response
[index: integer]?
curl -X GET 'https://api-console.apibricks.io/api/payment-methods'
[  {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "idOrganization": "9bf7f388-1dbc-4a73-92b2-4ad35e7fe880",    "idProvider": "string",    "createdTime": "2019-08-24T14:15:22Z",    "externalId": "string",    "externalType": "string",    "data": "string",    "removedTime": "2019-08-24T14:15:22Z",    "lastFailedTime": "2019-08-24T14:15:22Z",    "lastSuccessTime": "2019-08-24T14:15:22Z",    "cardFingerPrint": "string",    "isDefault": true,    "organization": {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "stripeId": "string",      "name": "string",      "company": "string",      "country": "string",      "address1": "string",      "address2": "string",      "city": "string",      "postalCode": "string",      "region": "string",      "purchaseOrder": "string",      "billingEmail": "string",      "autoRechargeEnabled": 0,      "autoRechargeBalanceGoesBelowUsd": 0,      "autoRechargeBalanceBackUpToUsd": 0,      "creditBalance": 0,      "creditUninvoicedCurrent": 0,      "creditUninvoicedLimit": 0,      "creditUsageYesterday": 0,      "creditUsageToday": 0,      "creditUsageTodayUpdatedAt": "2019-08-24T14:15:22Z",      "pastDueUsd": 0,      "pastDueSince": "2019-08-24T14:15:22Z",      "apiKeysActiveCount": 0,      "ticketsLiveWaitOnProvider": 0,      "ticketsLiveWaitOnCustomer": 0,      "ticketsNotLive": 0,      "totalPaidUsd": 0,      "totalPaidUsdLastW": 0,      "totalPaidUsdLastM": 0,      "totalPaidUsdLastQ": 0,      "totalPaidUsdLastY": 0,      "tier": "string",      "lifetimeValueTier": 0,      "lifetimeValueNextTierUsdCents": 0,      "firstPaymentDate": "2019-08-24T14:15:22Z",      "lastAuditTrailEvent": "2019-08-24T14:15:22Z",      "usageInvoicedUpToExcl": "2019-08-24T14:15:22Z",      "paymentMethodsLiveCount": 0,      "quotaThresholdLastNotification": "2019-08-24T14:15:22Z",      "quotaExceededLastNotification": "2019-08-24T14:15:22Z",      "allNotificationsEmail": "string",      "actionRequiredNotificationsEmail": "string",      "creditsLowBalanceLastNotification": "2019-08-24T14:15:22Z",      "timeCreated": "2019-08-24T14:15:22Z",      "teamMembersCount": 0,      "spendMgmtEnabled": 0,      "spendMgmtCreditUsageDailyHardLimit": 0,      "spendMgmtCreditUsageDailyNotifyThreshold": 0,      "spendMgmtCreditUsageWebhookUrl": "string",      "spendMgmtNotifyLimitLastNotification": "2019-08-24T14:15:22Z",      "spendMgmtHardLimitLastNotification": "2019-08-24T14:15:22Z",      "slackChannelRequestedTime": "2019-08-24T14:15:22Z",      "status": "string",      "statusChangedTime": "2019-08-24T14:15:22Z",      "statusSuspendedReason": "string",      "billingMode": "string",      "customReferralCode": "string",      "creatingConsoleLoginId": "7f89452b-58d1-48d0-aa99-f05e613e9699",      "stripeConnectAccountId": "string",      "referralPayoutMethod": "string",      "stripeConnectReleasedUtc": "2019-08-24T14:15:22Z"    }  }]