POST,GET | /api/PaymentGateway/GetPaymentGatewayById |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PaymentGatewayId | form | int | No | |
Name | form | string | No | |
Currency | form | string | No | |
TypeName | form | string | No | |
GatewayType | form | GatewayType | No | |
Created | form | DateTime | No | |
AccountingStartDate | form | DateTime | No | |
IsDefault | form | bool | No | |
IsPublic | form | bool | No | |
Disabled | form | bool | No | |
DisabledReason | form | string | No | |
Configuration | form | Configuration | No | |
Creditor | form | Creditor | No | |
IsCreditCard | form | bool | No | |
IsClubManagerCreditCard | form | bool | No | |
IsDirectDebit | form | bool | No | |
HasSignUpLink | form | bool | No | |
CanProvidePaymentToken | form | bool | No | |
CanProvidePaymentRedirect | form | bool | No | |
CanImport | form | bool | No | |
CanSupplyRawData | form | bool | No | |
CanImportPaymentMethod | form | bool | No | |
PublicTranslation | form | string | No | |
BankAccount | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ShowConfirmation | form | bool | No | |
ShowBillingDetails | form | bool | No | |
GatewayKey | form | string | No | |
HideCvv | form | bool | No | |
MinimumAdultDateOfBirth | form | DateTime | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | No | |
Schemes | form | Scheme[] | No | |
Name | form | string | No | |
AddressLine1 | form | string | No | |
AddressLine2 | form | string | No | |
AddressLine3 | form | string | No | |
City | form | string | No | |
CountryCode | form | string | No | |
PostalCode | form | string | No | |
Region | form | string | No | |
TermsAndConditionsUrl | form | string | No | |
Countries | form | string[] | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | No | |
Reference | form | string | No | |
form | string | No | ||
PhoneNumber | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/PaymentGateway/GetPaymentGatewayById HTTP/1.1
Host: api.clubmanagercentral.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"PaymentGatewayId":0}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"PaymentGatewayId":0,"Name":"String","Currency":"String","TypeName":"String","GatewayType":"Stripe","Created":"0001-01-01T00:00:00.0000000","AccountingStartDate":"0001-01-01T00:00:00.0000000","IsDefault":false,"IsPublic":false,"Disabled":false,"DisabledReason":"String","Configuration":{"ShowConfirmation":false,"ShowBillingDetails":false,"GatewayKey":"String","HideCvv":false,"MinimumAdultDateOfBirth":"0001-01-01T00:00:00.0000000"},"Creditor":{"Id":"String","Schemes":[{"Id":"String","Reference":"String","Email":"String","PhoneNumber":"String"}],"Name":"String","AddressLine1":"String","AddressLine2":"String","AddressLine3":"String","City":"String","CountryCode":"String","PostalCode":"String","Region":"String","TermsAndConditionsUrl":"String","Countries":["String"]},"IsCreditCard":false,"IsClubManagerCreditCard":false,"IsDirectDebit":false,"HasSignUpLink":false,"CanProvidePaymentToken":false,"CanProvidePaymentRedirect":false,"CanImport":false,"CanSupplyRawData":false,"CanImportPaymentMethod":false,"PublicTranslation":"Direct Debit","BankAccount":"String"}