Payment Source Response

November 13, 2025 ยท View on GitHub

The payment source used to fund the payment.

Structure

PaymentSourceResponse

Fields

NameTypeTagsDescriptionGetterSetter
CardCardResponseOptionalThe payment card to use to fund a payment. Card can be a credit or debit card.CardResponse getCard()setCard(CardResponse card)
PaypalPaypalWalletResponseOptionalThe PayPal Wallet response.PaypalWalletResponse getPaypal()setPaypal(PaypalWalletResponse paypal)
BancontactBancontactPaymentObjectOptionalInformation used to pay Bancontact.BancontactPaymentObject getBancontact()setBancontact(BancontactPaymentObject bancontact)
BlikBlikPaymentObjectOptionalInformation used to pay using BLIK.BlikPaymentObject getBlik()setBlik(BlikPaymentObject blik)
EpsEpsPaymentObjectOptionalInformation used to pay using eps.EpsPaymentObject getEps()setEps(EpsPaymentObject eps)
GiropayGiropayPaymentObjectOptionalInformation needed to pay using giropay.GiropayPaymentObject getGiropay()setGiropay(GiropayPaymentObject giropay)
IdealIdealPaymentObjectOptionalInformation used to pay using iDEAL.IdealPaymentObject getIdeal()setIdeal(IdealPaymentObject ideal)
MybankMybankPaymentObjectOptionalInformation used to pay using MyBank.MybankPaymentObject getMybank()setMybank(MybankPaymentObject mybank)
P24P24PaymentObjectOptionalInformation used to pay using P24(Przelewy24).P24PaymentObject getP24()setP24(P24PaymentObject p24)
SofortSofortPaymentObjectOptionalInformation used to pay using Sofort.SofortPaymentObject getSofort()setSofort(SofortPaymentObject sofort)
TrustlyTrustlyPaymentObjectOptionalInformation needed to pay using Trustly.TrustlyPaymentObject getTrustly()setTrustly(TrustlyPaymentObject trustly)
ApplePayApplePayPaymentObjectOptionalInformation needed to pay using ApplePay.ApplePayPaymentObject getApplePay()setApplePay(ApplePayPaymentObject applePay)
GooglePayGooglePayWalletResponseOptionalGoogle Pay Wallet payment data.GooglePayWalletResponse getGooglePay()setGooglePay(GooglePayWalletResponse googlePay)
VenmoVenmoWalletResponseOptionalVenmo wallet response.VenmoWalletResponse getVenmo()setVenmo(VenmoWalletResponse venmo)

Example (as JSON)

{
  "card": {
    "name": "name6",
    "last_digits": "last_digits0",
    "brand": "CB_NATIONALE",
    "available_networks": [
      "DELTA"
    ],
    "type": "UNKNOWN"
  },
  "paypal": {
    "email_address": "email_address0",
    "account_id": "account_id4",
    "account_status": "VERIFIED",
    "name": {
      "given_name": "given_name2",
      "surname": "surname8"
    },
    "phone_type": "FAX"
  },
  "bancontact": {
    "name": "name0",
    "country_code": "country_code0",
    "bic": "bic2",
    "iban_last_chars": "iban_last_chars8",
    "card_last_digits": "card_last_digits4"
  },
  "blik": {
    "name": "name2",
    "country_code": "country_code2",
    "email": "email4",
    "one_click": {
      "consumer_reference": "consumer_reference2"
    }
  },
  "eps": {
    "name": "name6",
    "country_code": "country_code6",
    "bic": "bic8"
  }
}