POST api/BillingService/AddAdyenGooglePayPaymentMethod
Documentation for 'AddAdyenGooglePayPaymentMethod'.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
request | Documentation for 'request'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "description": "sample string 1", "payment_gateway_name": "sample string 2", "payment_method": { "type": "sample string 1", "googlePayToken": "sample string 2", "googlePayCardNetwork": "sample string 3" } }
application/xml, text/xml
Sample:
<AddAdyenGooglePayPaymentMethodRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MMS.RestApi.Entities.Billing"> <description>sample string 1</description> <payment_gateway_name>sample string 2</payment_gateway_name> <payment_method> <googlePayCardNetwork>sample string 3</googlePayCardNetwork> <googlePayToken>sample string 2</googlePayToken> <type>sample string 1</type> </payment_method> </AddAdyenGooglePayPaymentMethodRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{ "payment_method_text_id": "sample string 1", "authorisation_state": 64, "is_success": true, "error_message": "sample string 4", "exception_name": "sample string 5", "error_code": 6 }
application/xml, text/xml
Sample:
<AddPaymentMethodResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MMS.RestApi.Entities.Billing"> <error_code xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">6</error_code> <error_message xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">sample string 4</error_message> <exception_name xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">sample string 5</exception_name> <is_success xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">true</is_success> <authorisation_state>64</authorisation_state> <payment_method_text_id>sample string 1</payment_method_text_id> </AddPaymentMethodResponse>