FieldName | Mandatory? | Field Type | Description | Sample |
---|---|---|---|---|
requestId | No | Int | “6224A847-4867-41EE-851D-36CC8BA1B” |
Field Name | Field Type | Description |
---|---|---|
Code | Integer | |
IsSuccess | Boolean | |
Key | String | |
Message | String | See Return Codes Table* |
Number | String |
1 2 3 4 5 6 7 8 9 | var client = new RestClient("https://webservices.gr8pay.com/v2/balance.svc/GetRequest"); client.Timeout = -1; var request = new RestRequest(Method.POST); request.AddHeader("Content-Type", "application/json"); request.AddHeader("applicationToken", "fed45b9d-429f-449e-96a7-48ea02d8156a"); request.AddHeader("your_app_Token", "fd8e72b2-a769-4d2b-a656-f54001aaeaf5"); request.AddParameter("application/json", "{rn "requestId": intrn}", ParameterType.RequestBody); IRestResponse response = client.Execute(request); Console.WriteLine(response.Content); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | var settings = { "url": "https://webservices.gr8pay.com/v2/balance.svc/GetRequest", "method": "POST", "timeout": 0, "headers": { "Content-Type": "application/json", "applicationToken": "fed45b9d-429f-449e-96a7-48ea02d8156a", "your_app_Token": "fd8e72b2-a769-4d2b-a656-f54001aaeaf5" }, "data": "{rn "requestId": intrn}", }; $.ajax(settings).done(function (response) { console.log(response); }); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | <!--?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL =--> "https://webservices.gr8pay.com/v2/balance.svc/GetRequest", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS =>"{rn "requestId": intrn}", CURLOPT_HTTPHEADER => array( "Content-Type: application/json", "applicationToken: fed45b9d-429f-449e-96a7-48ea02d8156a", "your_app_Token: fd8e72b2-a769-4d2b-a656-f54001aaeaf5" ), )); $response = curl_exec($curl); curl_close($curl); echo $response; |
FieldName | Mandatory? | Field Type | Description | Sample | |
---|---|---|---|---|---|
filters | No | array | “6224A847-4867-41EE-851D-36CC8BA1B” | ||
CurrentIso | No | string | GBP | ||
StoredPaymentMethodID | No | int | |||
sortAndPage | No | array | |||
PageNumber | No | int | |||
PageSize | No | int |
Field Name | Field Type | Description |
---|---|---|
Code | Integer | |
IsSuccess | Boolean | |
Key | String | |
Message | String | See Return Codes Table* |
Number | String |
1 2 3 4 5 6 7 8 9 | var client = new RestClient("https://webservices.gr8pay.com/v2/balance.svc/GetRequests"); client.Timeout = -1; var request = new RestRequest(Method.POST); request.AddHeader("Content-Type", "application/json"); request.AddHeader("applicationToken", "fed45b9d-429f-449e-96a7-48ea02d8156a"); request.AddHeader("your_app_Token", "fd8e72b2-a769-4d2b-a656-f54001aaeaf5"); request.AddParameter("application/json", "{rn "filters": {rn "CurrencyIso": "string",rn "StoredPaymentMethodID": intrn },rn "sortAndPage": {rn "PageNumber": int,rn "PageSize": intrn }rn}", ParameterType.RequestBody); IRestResponse response = client.Execute(request); Console.WriteLine(response.Content); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | var settings = { "url": "https://webservices.gr8pay.com/v2/balance.svc/GetRequests", "method": "POST", "timeout": 0, "headers": { "Content-Type": "application/json", "applicationToken": "fed45b9d-429f-449e-96a7-48ea02d8156a", "your_app_Token": "fd8e72b2-a769-4d2b-a656-f54001aaeaf5" }, "data": "{rn "filters": {rn "CurrencyIso": "string",rn "StoredPaymentMethodID": intrn },rn "sortAndPage": {rn "PageNumber": int,rn "PageSize": intrn }rn}", }; $.ajax(settings).done(function (response) { console.log(response); }); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | <!--?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL =--> "https://webservices.gr8pay.com/v2/balance.svc/GetRequests", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS =>"{rn "filters": {rn "CurrencyIso": "string",rn "StoredPaymentMethodID": intrn },rn "sortAndPage": {rn "PageNumber": int,rn "PageSize": intrn }rn}", CURLOPT_HTTPHEADER => array( "Content-Type: application/json", "applicationToken: fed45b9d-429f-449e-96a7-48ea02d8156a", "your_app_Token: fd8e72b2-a769-4d2b-a656-f54001aaeaf5" ), )); $response = curl_exec($curl); curl_close($curl); echo $response; |
FieldName | Mandatory? | Field Type | Description | Sample | |
---|---|---|---|---|---|
filters | No | array | “6224A847-4867-41EE-851D-36CC8BA1B” | ||
CurrentIso | No | string | GBP | ||
StoredPaymentMethodID | No | int | |||
sortAndPage | No | array | |||
PageNumber | No | int | |||
PageSize | No | int |
Field Name | Field Type | Description |
---|---|---|
Code | Integer | |
IsSuccess | Boolean | |
Key | String | |
Message | String | See Return Codes Table* |
Number | String |
1 2 3 4 5 6 7 8 9 | var client = new RestClient("https://webservices.gr8pay.com/v2/balance.svc/GetRows"); client.Timeout = -1; var request = new RestRequest(Method.POST); request.AddHeader("Content-Type", "application/json"); request.AddHeader("applicationToken", "fed45b9d-429f-449e-96a7-48ea02d8156a"); request.AddHeader("your_app_Token", "fd8e72b2-a769-4d2b-a656-f54001aaeaf5"); request.AddParameter("application/json", "{rn "filters": {rn "CurrencyIso": "string",rn "StoredPaymentMethodID": intrn },rn "sortAndPage": {rn "PageNumber": int,rn "PageSize": intrn }rn}", ParameterType.RequestBody); IRestResponse response = client.Execute(request); Console.WriteLine(response.Content); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | var settings = { "url": "https://webservices.gr8pay.com/v2/balance.svc/GetRows", "method": "POST", "timeout": 0, "headers": { "Content-Type": "application/json", "applicationToken": "fed45b9d-429f-449e-96a7-48ea02d8156a", "your_app_Token": "fd8e72b2-a769-4d2b-a656-f54001aaeaf5" }, "data": "{rn "filters": {rn "CurrencyIso": "string",rn "StoredPaymentMethodID": intrn },rn "sortAndPage": {rn "PageNumber": int,rn "PageSize": intrn }rn}", }; $.ajax(settings).done(function (response) { console.log(response); }); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | <!--?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL =--> "https://webservices.gr8pay.com/v2/balance.svc/GetRows", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS =>"{rn "filters": {rn "CurrencyIso": "string",rn "StoredPaymentMethodID": intrn },rn "sortAndPage": {rn "PageNumber": int,rn "PageSize": intrn }rn}", CURLOPT_HTTPHEADER => array( "Content-Type: application/json", "applicationToken: fed45b9d-429f-449e-96a7-48ea02d8156a", "your_app_Token: fd8e72b2-a769-4d2b-a656-f54001aaeaf5" ), )); $response = curl_exec($curl); curl_close($curl); echo $response; |
FieldName | Mandatory? | Field Type | Description | Sample |
---|---|---|---|---|
currencyIsoCode | No | string | GBP |
Field Name | Field Type | Description |
---|---|---|
Code | Integer | |
IsSuccess | Boolean | |
Key | String | |
Message | String | See Return Codes Table* |
Number | String |
1 2 3 4 5 6 7 8 9 | var client = new RestClient("https://webservices.gr8pay.com/v2/balance.svc/GetTotal"); client.Timeout = -1; var request = new RestRequest(Method.POST); request.AddHeader("Content-Type", "application/json"); request.AddHeader("applicationToken", "fed45b9d-429f-449e-96a7-48ea02d8156a"); request.AddHeader("your_app_Token", "fd8e72b2-a769-4d2b-a656-f54001aaeaf5"); request.AddParameter("application/json", "{rn "currencyIsoCode": "string"rn}", ParameterType.RequestBody); IRestResponse response = client.Execute(request); Console.WriteLine(response.Content); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | var settings = { "url": "https://webservices.gr8pay.com/v2/balance.svc/GetTotal", "method": "POST", "timeout": 0, "headers": { "Content-Type": "application/json", "applicationToken": "fed45b9d-429f-449e-96a7-48ea02d8156a", "your_app_Token": "fd8e72b2-a769-4d2b-a656-f54001aaeaf5" }, "data": JSON.stringify({"currencyIsoCode":"string"}), }; $.ajax(settings).done(function (response) { console.log(response); }); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | <!--?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL =--> "https://webservices.gr8pay.com/v2/balance.svc/GetTotal", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS =>"{rn "currencyIsoCode": "string"rn}", CURLOPT_HTTPHEADER => array( "Content-Type: application/json", "applicationToken: fed45b9d-429f-449e-96a7-48ea02d8156a", "your_app_Token: fd8e72b2-a769-4d2b-a656-f54001aaeaf5" ), )); $response = curl_exec($curl); curl_close($curl); echo $response; |
FieldName | Mandatory? | Field Type | Description | Sample |
---|---|---|---|---|
requestId | No | int | “6224A847-4867-41EE-851D-36CC8BA1B” | |
Approve | No | boolean | ||
pinCode | No | string | ||
Text | No | string |
Field Name | Field Type | Description |
---|---|---|
Code | Integer | |
IsSuccess | Boolean | |
Key | String | |
Message | String | See Return Codes Table* |
Number | String |
1 2 3 4 5 6 7 8 9 | var client = new RestClient("https://webservices.gr8pay.com/v2/balance.svc/ReplyRequest"); client.Timeout = -1; var request = new RestRequest(Method.POST); request.AddHeader("Content-Type", "application/json"); request.AddHeader("applicationToken", "fed45b9d-429f-449e-96a7-48ea02d8156a"); request.AddHeader("your_app_Token", "fd8e72b2-a769-4d2b-a656-f54001aaeaf5"); request.AddParameter("application/json", "{rn "requestId": int,rn "approve": boolean,rn "pinCode": "string",rn "text": "string"rn}", ParameterType.RequestBody); IRestResponse response = client.Execute(request); Console.WriteLine(response.Content); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | var settings = { "url": "https://webservices.gr8pay.com/v2/balance.svc/ReplyRequest", "method": "POST", "timeout": 0, "headers": { "Content-Type": "application/json", "applicationToken": "fed45b9d-429f-449e-96a7-48ea02d8156a", "your_app_Token": "fd8e72b2-a769-4d2b-a656-f54001aaeaf5" }, "data": "{rn "requestId": int,rn "approve": boolean,rn "pinCode": "string",rn "text": "string"rn}", }; $.ajax(settings).done(function (response) { console.log(response); }); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | <!--?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL =--> "https://webservices.gr8pay.com/v2/balance.svc/ReplyRequest", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS =>"{rn "requestId": int,rn "approve": boolean,rn "pinCode": "string",rn "text": "string"rn}", CURLOPT_HTTPHEADER => array( "Content-Type: application/json", "applicationToken: fed45b9d-429f-449e-96a7-48ea02d8156a", "your_app_Token: fd8e72b2-a769-4d2b-a656-f54001aaeaf5" ), )); $response = curl_exec($curl); curl_close($curl); echo $response; |
FieldName | Mandatory? | Field Type | Description | Sample |
---|---|---|---|---|
destAccountId | No | string | “6224A847-4867-41EE-851D-36CC8BA1B” | |
Amount | No | decimal | ||
currencyIso | No | string | GBP |
Field Name | Field Type | Description |
---|---|---|
Code | Integer | |
IsSuccess | Boolean | |
Key | String | |
Message | String | See Return Codes Table* |
Number | String |
1 2 3 4 5 6 7 8 9 | var client = new RestClient("https://webservices.gr8pay.com/v2/balance.svc/RequestAmount"); client.Timeout = -1; var request = new RestRequest(Method.POST); request.AddHeader("Content-Type", "application/json"); request.AddHeader("applicationToken", "fed45b9d-429f-449e-96a7-48ea02d8156a"); request.AddHeader("your_app_Token", "fd8e72b2-a769-4d2b-a656-f54001aaeaf5"); request.AddParameter("application/json", "{rn "destAccountId": "string",rn "amount": decimal,rn "currencyIso": "string",rn "text": "string"rn}", ParameterType.RequestBody); IRestResponse response = client.Execute(request); Console.WriteLine(response.Content); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | var settings = { "url": "https://webservices.gr8pay.com/v2/balance.svc/RequestAmount", "method": "POST", "timeout": 0, "headers": { "Content-Type": "application/json", "applicationToken": "fed45b9d-429f-449e-96a7-48ea02d8156a", "your_app_Token": "fd8e72b2-a769-4d2b-a656-f54001aaeaf5" }, "data": "{rn "destAccountId": "string",rn "amount": decimal,rn "currencyIso": "string",rn "text": "string"rn}", }; $.ajax(settings).done(function (response) { console.log(response); }); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | <!--?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL =--> "https://webservices.gr8pay.com/v2/balance.svc/RequestAmount", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS =>"{rn "destAccountId": "string",rn "amount": decimal,rn "currencyIso": "string",rn "text": "string"rn}", CURLOPT_HTTPHEADER => array( "Content-Type: application/json", "applicationToken: fed45b9d-429f-449e-96a7-48ea02d8156a", "your_app_Token: fd8e72b2-a769-4d2b-a656-f54001aaeaf5" ), )); $response = curl_exec($curl); curl_close($curl); echo $response; |
FieldName | Mandatory? | Field Type | Description | Sample |
---|---|---|---|---|
destAccountId | No | string | ||
Amount | No | decimal | ||
currencyIso | No | string | GBP | |
pinCode | No | string | ||
Text | No | string |
Field Name | Field Type | Description |
---|---|---|
Code | Integer | |
IsSuccess | Boolean | |
Key | String | |
Message | String | See Return Codes Table* |
Number | String |
1 2 3 4 5 6 7 8 9 | var client = new RestClient("https://webservices.gr8pay.com/v2/balance.svc/TransferAmount"); client.Timeout = -1; var request = new RestRequest(Method.POST); request.AddHeader("Content-Type", "application/json"); request.AddHeader("applicationToken", "fed45b9d-429f-449e-96a7-48ea02d8156a"); request.AddHeader("your_app_Token", "fd8e72b2-a769-4d2b-a656-f54001aaeaf5"); request.AddParameter("application/json", "{rn "destAccountId": "string",rn "amount": decimal,rn "currencyIso": "string",rn "pinCode": "string",rn "text": "string"rn}", ParameterType.RequestBody); IRestResponse response = client.Execute(request); Console.WriteLine(response.Content); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | var settings = { "url": "https://webservices.gr8pay.com/v2/balance.svc/TransferAmount", "method": "POST", "timeout": 0, "headers": { "Content-Type": "application/json", "applicationToken": "fed45b9d-429f-449e-96a7-48ea02d8156a", "your_app_Token": "fd8e72b2-a769-4d2b-a656-f54001aaeaf5" }, "data": "{rn "destAccountId": "string",rn "amount": decimal,rn "currencyIso": "string",rn "pinCode": "string",rn "text": "string"rn}", }; $.ajax(settings).done(function (response) { console.log(response); }); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | <!--?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL =--> "https://webservices.gr8pay.com/v2/balance.svc/TransferAmount", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS =>"{rn "destAccountId": "string",rn "amount": decimal,rn "currencyIso": "string",rn "pinCode": "string",rn "text": "string"rn}", CURLOPT_HTTPHEADER => array( "Content-Type: application/json", "applicationToken: fed45b9d-429f-449e-96a7-48ea02d8156a", "your_app_Token: fd8e72b2-a769-4d2b-a656-f54001aaeaf5" ), )); $response = curl_exec($curl); curl_close($curl); echo $response; |