POST api/MeddivoService/AttachPaymentMethodToCustomer
Request Information
URI Parameters
None.
Body Parameters
AttachPaymentInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | string |
None. |
|
| PaymentMethodId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": "sample string 1",
"PaymentMethodId": "sample string 2"
}
application/xml, text/xml
Sample:
<AttachPaymentInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Meddivo.API.Service.Models"> <CustomerId>sample string 1</CustomerId> <PaymentMethodId>sample string 2</PaymentMethodId> </AttachPaymentInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PaymentMethod| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
None. |
|
| object | string |
None. |
|
| acss_debit | PaymentMethodAcssDebit |
None. |
|
| affirm | PaymentMethodAffirm |
None. |
|
| afterpay_clearpay | PaymentMethodAfterpayClearpay |
None. |
|
| alipay | PaymentMethodAlipay |
None. |
|
| au_becs_debit | PaymentMethodAuBecsDebit |
None. |
|
| bacs_debit | PaymentMethodBacsDebit |
None. |
|
| bancontact | PaymentMethodBancontact |
None. |
|
| billing_details | PaymentMethodBillingDetails |
None. |
|
| blik | PaymentMethodBlik |
None. |
|
| boleto | PaymentMethodBoleto |
None. |
|
| card | PaymentMethodCard |
None. |
|
| card_present | PaymentMethodCardPresent |
None. |
|
| cashapp | PaymentMethodCashapp |
None. |
|
| created | date |
None. |
|
| customer_balance | PaymentMethodCustomerBalance |
None. |
|
| eps | PaymentMethodEps |
None. |
|
| fpx | PaymentMethodFpx |
None. |
|
| giropay | PaymentMethodGiropay |
None. |
|
| grabpay | PaymentMethodGrabpay |
None. |
|
| ideal | PaymentMethodIdeal |
None. |
|
| interac_present | PaymentMethodInteracPresent |
None. |
|
| klarna | PaymentMethodKlarna |
None. |
|
| konbini | PaymentMethodKonbini |
None. |
|
| link | PaymentMethodLink |
None. |
|
| livemode | boolean |
None. |
|
| metadata | Dictionary of string [key] and string [value] |
None. |
|
| oxxo | PaymentMethodOxxo |
None. |
|
| p24 | PaymentMethodP24 |
None. |
|
| paynow | PaymentMethodPaynow |
None. |
|
| paypal | PaymentMethodPaypal |
None. |
|
| pix | PaymentMethodPix |
None. |
|
| promptpay | PaymentMethodPromptpay |
None. |
|
| radar_options | PaymentMethodRadarOptions |
None. |
|
| sepa_debit | PaymentMethodSepaDebit |
None. |
|
| sofort | PaymentMethodSofort |
None. |
|
| type | string |
None. |
|
| us_bank_account | PaymentMethodUsBankAccount |
None. |
|
| wechat_pay | PaymentMethodWechatPay |
None. |
|
| zip | PaymentMethodZip |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.