create credit wallet
POST/org/:orgId/buyer/:buyerId/wallet
create a new credit wallet for the buyer
Request
Path Parameters
Organization ID
Buyer ID
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
nullable
The payment method id in payment provider, such as stripe payment method id.
info
object
The close date of the wallet if applicable.
stripePaymentMethod
object
bacs_debit
object
Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
Last four digits of the bank account number.
Sort code of the bank account. (e.g., 10-20-30
)
card
object
Card brand.
Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
The brand to use when displaying the card, this accounts for customer's brand choice on dual-branded cards. Can be american_express
, cartes_bancaires
, diners_club
, discover
, eftpos_australia
, interac
, jcb
, mastercard
, union_pay
, visa
, or other
and may contain more values in the future.
Two-digit number representing the card's expiration month.
Four-digit number representing the card's expiration year.
Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
Card funding type. Can be credit
, debit
, prepaid
, or unknown
.
The last four digits of the card.
Time at which the object was created. Measured in seconds since the Unix epoch.
Unique identifier for the payment method on stripe.
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
String representing the object’s type. Always has the value payment_method
.
sepa_debit
object
Bank code of bank associated with the bank account.
Branch code of bank associated with the bank account.
Two-letter ISO code representing the country the bank account is located in.
Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
Last four characters of the IBAN.
us_bank_account
object
Account holder type: individual or company.
Account type: checkings or savings. Defaults to checking if omitted.
The name of the bank.
Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
Last four digits of the bank account number.
Routing number of the bank account.
Possible values: [``, ADYEN
, ALIBABA
, AWS
, AWS_CHINA
, AZURE
, GCP
, GOOGLE
, HUBSPOT
, LAGO
, MARKETO
, METRONOME
, MICROSOFT
, ORACLE
, ORB
, REDHAT
, SALESFORCE
, SLACK
, STRIPE
, ZOHO
]
Possible values: [ACTIVE
, DELETED
, PENDING_VERIFY
, EXPIRED
, CLOSED
]
Possible values: [ach_debit
, bacs_debit
, card
, credit
, sepa_debit
]
{
"buyerID": "string",
"creationTime": "2024-08-12T01:02:12.833Z",
"currency": "string",
"expireTime": "2024-08-12T01:02:12.834Z",
"externalID": "string",
"id": "string",
"info": {
"closeDate": "2024-08-12T01:02:12.834Z",
"stripePaymentMethod": {
"bacs_debit": {
"fingerprint": "string",
"last4": "string",
"sort_code": "string"
},
"card": {
"brand": "string",
"country": "string",
"display_brand": "string",
"exp_month": 0,
"exp_year": 0,
"fingerprint": "string",
"funding": "string",
"last4": "string"
},
"created": 0,
"id": "string",
"livemode": true,
"object": "string",
"sepa_debit": {
"bank_code": "string",
"branch_code": "string",
"country": "string",
"fingerprint": "string",
"last4": "string"
},
"us_bank_account": {
"account_holder_type": "string",
"account_type": "string",
"bank_name": "string",
"fingerprint": "string",
"last4": "string",
"routing_number": "string"
}
},
"stripeSetupIntentId": "string"
},
"lastUpdateTime": "2024-08-12T01:02:12.834Z",
"name": "string",
"organizationID": "string",
"partner": "",
"startTime": "2024-08-12T01:02:12.834Z",
"status": "ACTIVE",
"totalAmount": 0,
"type": "ach_debit",
"usedAmount": 0
}
Bad request error
- application/json
- Schema
Schema
string
Internal server error
- application/json
- Schema
Schema
string