CompanyPayment MethodRetrieve Payment Sources

API Description

  • List payment methods associated with company.

API Endpoint

GET
/api/v1/company/payment-sources

Query Parameters

NameDataTypeValue
company_token
StringwNpOV47PLkRuS8taZpMaPQDTU

Responses

🟢 Success
{
	"success": true,
	"message": "Payment source has been successfully retrieved.",
	"data": {
		"paymentSources": {
			"stripe": {
				"ach": [
					{
						"payment_source_id": "ba_1LezJRCHSfsB7Ydbx6uKIuO0",
						"source_name": "STRIPE TEST BANK",
						"last_4": "6789",
						"is_default": "0",
						"verification_status": "pending",
						"payload": {
							"account_holder_name": "John Doe",
							"currency": "usd",
							"routing_number": "110000000"
						}
					}
				],
				"creditCards": [
					{
						"payment_source_id": "card_1LezG3CHSfsB7Ydbfvm5pS8j",
						"source_name": "Visa",
						"last_4": "1111",
						"is_default": "1",
						"payload": {
							"exp_month": 11,
							"exp_year": 2023,
							"brand": "Visa"
						}
					}
				]
			}
		}
	},
	"meta": {},
	"errors": []
}