Admin User Functionalities APIs
POSTAdd Payment Options (Create)
- Description
- Creates a
userPaymentOptions
record in the Core Service.- Request Endpoint
- POST https://<Example api server address>/admin/paymentoption
- Parameters
- None.
- cURL syntax
curl --include \ --request POST \ --header "Content-Type: application/json" \ --data-binary "{ \"name\":\"PYZfEElGNZ\", \"countries\":[ \"India\", \"USA\", \"England\" ], \"logo\":\"logoimagename\" }" \ 'https://core.dev.Example.net/api/admin/paymentoption'
- POST body attributes (JSON)
Attribute Type Use Description name
String Required Payment method name. countries
Array Optional An array of country names. logo
String Optional Logo image name of payment method. - POST body
Headers: Content-Type: application/json
{ "name": "PYZfEElGNZ", "countries": [ "India", "USA", "England" ], "logo": "logoimagename" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "name": "PYZfEElGNZ", "countries": [{ "data": { "id": "3ed17309-945d-4e7d-bf5a-a3832007b303", "deleted": false, "name": "PYZfEElGNZ", "countries": [ "India", "USA", "England" ], "logo": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/logoimagename", "enabled": true }, "detail": null, "error": false, "message": "Adding payment options successful." } "India", "USA", "England" ], "logo": "logoimagename" }
POSTAdd Payment Provider Gateway
- Description
- Adds a new payment provider gateway.
- Request Endpoint
- POST https://<Example api server address>/admin/payment/provider/gateway
- Parameters
- None.
- cURL syntax
curl --include \ --request POST \ --header "Content-Type: application/json" \ --data-binary "{ \"name\" : \"psp123\", \"externalId\" : \"EX123\" }" \ 'https://core.dev.Example.net/api/admin/payment/provider/gateway'
- POST body attributes (JSON)
Attribute Type Use Description name
String Required A unique name for a payment provider gateway. externalId
String Required External Id for the payment provider gateway. - POST body
Headers: Content-Type: application/json
{ "name": "psp123", "externalId": "EX123" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "5c0d464a-ce3d-408c-858b-ab7fa465d13e", "deleted": false, "name": "psp123", "externalId": "EX123" }, "detail": null, "error": false, "message": "Adding new payment provider gateway successful." }
POSTAdd / Reject Transaction Reason
- Description
- Adds a new reject reason for a transaction.
- Request Endpoint
- POST https://<Example api server address>/admin/reject/reason
- Parameters
- None.
- cURL syntax
curl --include \ --request POST \ --header "Content-Type: application/json" \ --data-binary "{ \"reason\" : \"Rejected by casino - Fraud\" }" \ 'https://core.dev.Example.net/api/admin/reject/reason'
- POST body attributes (JSON)
Attribute Type Use Description reason
String Required Reason for a reject transaction. - POST body
Headers: Content-Type: application/json
{ "reason": "Rejected by casino - Fraud" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "153fb4ea-96b9-4ec9-b5d9-1f1324d56192", "deleted": false, "reason": "Rejected by casino - Fraud" }, "detail": null, "error": false, "message": "Adding reject transaction reason successful." }
POSTBlacklisting an Existing User
- Description
- Blacklists an existing user.
- Request Endpoint
- POST https://<Example api server address>/admin/user/blacklist
- Parameters
- None.
- cURL syntax
curl --include \ --request POST \ --header "Content-Type: application/json" \ --data-binary "{ \"userId\" : \"784095a0-1771-4e7a-a3fd-f9335125c0c2\", \"userStatus\" : \"BLACKLISTED_CS\" }" \ 'https://core.dev.Example.net/api/admin/user/blacklist'
- POST body attributes (JSON)
Attribute Type Use Description userId
String Required UUID of an existing user. userStatus
String Required Status to blacklist. It can be either "BLACKLISTED", "BLACKLISTED_CS", or "BLACKLISTED_FRAUD". - POST body
Headers: Content-Type: application/json
{ "userId": "784095a0-1771-4e7a-a3fd-f9335125c0c2", "userStatus": "BLACKLISTED_CS" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": true, "detail": null, "error": false, "message": "Blacklisting an User successful." }
POSTBlacklisting an Existing User Payment Method
- Description
- Blacklists an existing user payment method.
- Request Endpoint
- POST https://<Example api server address>/admin/user/payment/info/blacklist
- Parameters
- None.
- cURL syntax
curl --include \ --request POST \ --header "Content-Type: application/json" \ --data-binary "{ \"userId\" : \"577e3736-2394-47be-9e3f-29142b4d49fd\", \"blacklistedPMs\" : [ { \"paymentId\" : \"d6d1daa8-e6fd-43ad-af98-18221dc41632\", \"status\" : \"BLACKLISTED_CS\" } ] }" \ 'https://core.dev.Example.net/api/admin/user/payment/info/blacklist'
- POST body attributes (JSON)
Attribute Type Use Description userId
String Required UUID of an existing user. blacklistPMs
Array Required An array of the following objects. paymentId
String Optional UUID of a user payment info. status
String Optional Status to blacklist. It can be either "BLACKLISTED", "BLACKLISTED_CS", or "BLACKLISTED_FRAUD". - POST body
Headers: Content-Type: application/json
{ "userId": "577e3736-2394-47be-9e3f-29142b4d49fd", "blacklistedPMs": [ { "paymentId": "d6d1daa8-e6fd-43ad-af98-18221dc41632", "status": "BLACKLISTED_CS" } ] }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": true, "detail": null, "error": false, "message": "Blacklisting an User payment method successful." }
PUTChange an Admin User Password
- Description
- Changes an admin user password.
- Request Endpoint
- PUT https://<Example api server address>/admin/user/{id}/password/change
- Parameters
Parameter Type Use Description id String Required uuid of the admin user. - cURL syntax
curl --include \ --request PUT \ --header "Content-Type: application/json" \ --data-binary "{ \"oldPassword\":\"hello\", \"newPassword\": \"whatever\" }" \ 'https://core.dev.Example.net/api/admin/user/id/password/change'
- PUT body attributes (JSON)
Attribute Type Use Description oldPassword
String Required The old password. newPassword
String Required The new password. - PUT body
Headers: Content-Type: application/json
{ "oldPassword": "hello", "newPassword": "whatever" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "6e99ee70-8094-4c3c-b42f-bd2a7c144b87", "email": "admin@gmail.com", "firstName": "Admin", "loginId": "admin", "lastName": "User", "role": "SUPER_ADMIN" }, "detail": null, "error": false, "message": "Changing admin user password successful" }
PUTComplete Admin User Registration
- Description
- Completes an admin user registration.
- Request Endpoint
- PUT https://<Example api server address>/admin/user/registration
- Parameters
- None.
- cURL syntax
curl --include \ --request PUT \ --header "Content-Type: application/json" \ --data-binary "{ \"email\": \"shruthi.hebbalkar@innoflexion.com\", \"firstName\": \"Admin\", \"lastName\": \"User\", \"loginId\": \"admin\", \"password\":\"hello4\", \"confirmPassword\": \"hello4\", \"phoneNumber\": \"+919886916543\" }" \ 'https://core.dev.Example.net/api/admin/user/registration'
- PUT body attributes (JSON)
Attribute Type Use Description String Required Email address of an admin user. firstname
String Required First name of an admin user. lastname
String Required Last name of an admin user. loginId
String Required Unique login id of an admin user. password
String Required 6 digit alpha numeric password. confirmpassword
String Required 6 digit alpha numeric password. phoneNumber
String Required The phone number. - PUT body
Headers: Content-Type: application/json
{ "email": "shruthi.hebbalkar@innoflexion.com", "firstName": "Admin", "lastName": "User", "loginId": "admin", "password": "hello4", "confirmPassword": "hello4" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "f3f3228a-2bce-4fab-a15e-0cec4e819aea", "email": "shruthi.hebbalkar@innoflexion.com", "firstName": "Admin", "loginId": "admin", "lastName": "User", "role": "MARKETING_ADMIN", "lastEmailSent": 1471598902742, "emailToken": "992a246e-46c2-4f04-8114-268483c97bbd", "emailVerificationStatus": "VERIFIED", "emailPinResetStatus": "RESET_NA", "twoFactorEnabled": false, "attemptsBeforeTwoFactor": 0, "twoFactorLoginExpiryDate": null, "passwordCreated": true, "passwordResetDate": null }, "detail": null, "error": false, "message": "Admin user registration completed successfully." }
POSTCreate Affiliate
- Description
- Creates a new affiliate.
- Request Endpoint
- POST https://<Example api server address>/admin/affiliate
- Parameters
- None.
- cURL syntax
curl --include \ --request POST \ --header "Content-Type: application/json" \ --data-binary "{ \"launchMode\" : \"DEEPLINK\" }" \ 'https://core.dev.Example.net/api/admin/affiliate'
- POST body attributes (JSON)
Attribute Type Use Description launchMode
String Required Unique launchMode. It can be "INTENT", "DEEPLINK", or "API". - POST body
Headers: Content-Type: application/json
{ "launchMode": "DEEPLINK" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "ffe5c6a3-58b6-4636-88fe-6bcc168e0758", "deleted": false, "launchMode": "DEEPLINK" }, "detail": null, "error": false, "message": "Creating affiliate successful." }
POSTCreate An Admin User
- Description
- Creates an admin user. This role can be either:
- "SUPER_ADMIN"
- "MARKETING_ADMIN"
- "CUSTOMER_SUPPORT_USER"
- Request Endpoint
- POST https://<Example api server address>/admin/user
- Parameters
- None.
- cURL syntax
curl --include \ --request POST \ --header "Content-Type: application/json" \ --data-binary "{ \"email\":\"shruthi.hebbalkar@innoflexion.com\", \"role\": \"MARKETING_ADMIN\" }" \ 'https://core.dev.Example.net/api/admin/user'
- POST body attributes (JSON)
Attribute Type Use Description String Required Email address of an admin user. role
String Required Role required for an admin user. - POST body
Headers: Content-Type: application/json
{ "loginId": "manishm7", "email": "manish7@gmail.com", "firstName": "manish", "lastName": "manwani", "role": "MARKETING_ADMIN" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "ac35adb7-3b2d-42a7-bff2-d7d858a334e2", "updatedBy": "", "blockStatus": "NORMAL", "email": "manish7@gmail.com", "firstName": "manish", "loginId": "manishm7", "lastName": null, "password": "1000:ca894118deef83fa829ff3b9f9b968d8a8660a360306d0cb:98927ea4a1f16b6d68758353032e670d1e07340ec277f4e1", "registrationDate": 1460354771195 }, "detail": null, "error": false, "message": "Admin user create successfully" }
POSTCreate (Application Affiliate)
- Description
- Creates a new application affiliate.
- Request Endpoint
- POST https://<Example api server address>/admin/application/affiliate
- Parameters
- None.
- cURL syntax
curl --include \ --request POST \ --header "Content-Type: application/json" \ --data-binary "{ \"current\":true, \"affiliateLaunchMode\":\"xngfwVGtUM\", \"applicationId\":\"d53ade49-1d66-4732-b9c7-0952b2b0e0b2\", \"affiliateLaunchData\":{ \"data\":\"SDKFG\" } }" \ 'https://core.dev.Example.net/api/admin/application/affiliate'
- POST body attributes (JSON)
Attribute Type Use Description affiliateLaunchMode
String Required Unique launchMode. It can be "INTENT", "DEEPLINK", or "API". affiliateLaunchData
String Required Unique launch data. applicationId
String Required UUID of a game app. - POST body
Headers: Content-Type: application/json
{ "current": true, "affiliateLaunchMode": "xngfwVGtUM", "applicationId": "d53ade49-1d66-4732-b9c7-0952b2b0e0b2", "affiliateLaunchData": { "data": "SDKFG" } }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "1a26523b-d413-49f7-8b44-245ad050ad37", "createdOn": 1479717735208, "lastModifiedOn": 1479717735208, "updatedBy": "", "deleted": false, "affiliateLaunchMode": "xngfwVGtUM", "affiliateLaunchData": { "data": "SDKFG" }, "current": true, "application": { "id": "d53ade49-1d66-4732-b9c7-0952b2b0e0b2", "createdOn": 1479717725614, "lastModifiedOn": 1479717725614, "updatedBy": "", "deleted": false, "name": "WvBeuKPEGR", "appPackage": "appPac", "bundleIdentifier": "IDKLbvNgpH", "casino": { "id": "94055132-d0f5-468d-a78f-19be20e92b42", "createdOn": 1479717725210, "lastModifiedOn": 1479717725210, "updatedBy": "", "deleted": false, "name": "IZLsUCofyP", "videoUrl": null, "imageUrl": null, "description": null, "website": null, "icon": null, "banner": null, "deletedBy": null, "deletedOn": null, "operatorStatus": "VERIFIED", "email": "970143f64ef441e5bc131414c9051670@gmail.com", "userRole": "OPERATOR", "firstName": null, "lastName": null, "address": null, "externalId": "94055132-d0f5-468d-a78f-19be20e92b42", "featuredAppId": null, "latestAppId": null }, "casinoId": null, "categories": [ { "id": "2b88659c-ea30-4590-9d78-6c167e93d965", "createdOn": 1479717725161, "lastModifiedOn": 1479717725161, "updatedBy": "", "deleted": false, "imageUrl": "http://www.google.com/betting.png", "name": "yUrRqXlpQx", "description": "Some poker category", "videoUrl": "https://www.google.com/betting-video.mov", "iconUrl": "https://www.google.com/betting-icon.png", "colorCode": "#FFFFFF", "heroImageReference": "https://www.google.com/hero.png", "priority": 1, "deletedBy": null, "deletedOn": null, "apps": null } ], "categoryIds": null, "downloads": 0, "featured": false, "applicationVersionIds": null, "keywords": null, "latestBuild": null, "latestVersion": "v0.3", "initialVersionPublishDate": null, "latestVersionPublishDate": null, "order": null, "paragraph1": "1 paragraph", "paragraph2": "2st paragraph", "paragraph3": "4th para", "paragraph4": null, "presetPriceList": null, "price": 3436, "publisherId": "a62fdb51-068f-4889-956f-a6c83cc0d29a", "publisher": { "id": "a62fdb51-068f-4889-956f-a6c83cc0d29a", "createdOn": 1479717725502, "lastModifiedOn": 1479717725502, "updatedBy": "", "deleted": false, "name": "CcEtQndXOH", "description": null, "email": "e1fb177c226349a1a4779040b907b062@gmail.com", "website": null, "phone": null, "publisherStatus": "VERIFIED", "operatorId": "94055132-d0f5-468d-a78f-19be20e92b42", "userRole": "PUBLISHER" }, "ranking": null, "subtitle": null, "updated": null, "status": "DRAFTED", "downloadLink": null, "compatibility": "kitkat", "sizeOnDisk": null, "permissionDetails": null, "additionalDetails": "This application is very popular", "tags": null, "rating": { "count": 0, "overall": 0, "gamePlay": 0, "design": 0, "ease": 0 }, "silent": null, "normal": { "min": 1, "max": 1 }, "mandatory": null, "downgrade": null, "deletedBy": null, "deletedOn": null, "image": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/abcd.png", "sliderImages": [ { "id": "feb8961b-5be0-4510-bca8-f313b3df9521", "image": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/slider1.jpg", "order": 1 }, { "id": "fda65759-38eb-4b85-8b45-c02e0e6332bd", "image": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/slider2.jpg", "order": 0 } ], "banner": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/banner1.png", "video": null, "icon": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/icon.png", "featuredImage": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/abcd.jpeg", "privacyPolicy": "www.privecypolicy.com/2345", "locationSupported": [ "India", "UK" ], "languageSupported": [ "English", "French" ], "affiliateLaunchMode": null, "affiliateLaunchData": null, "editorsPick": false, "live": false, "reviewer": null } }, "detail": null, "error": false, "message": "Creating application affiliate successful", "code": "1000" }
POSTCreate Password for an Admin User
- Description
- Creates a 6 digit alpha numeric password for an existing admin user. Role can be one of:
- "SUPER_ADMIN" or
- "MARKETING_ADMIN" or
- "CUSTOMER_SUPPORT_USER"
- Request Endpoint
- POST https://<Example api server address>/admin/user/password
- Parameters
- None.
- cURL syntax
curl --include \ --request POST \ --header "Content-Type: application/json" \ --data-binary "{ \"emailAddress\": \"san.sh555@gmail.com\", \"password\": \"shruti\" }" \ 'https://core.dev.Example.net/api/admin/user/password'
- POST body
Headers: Content-Type: application/json
{ "emailAddress": "san.sh555@gmail.com", "password": "shruti" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": true, "detail": null, "error": false, "message": "creating password successful" }
DELETEDelete Affiliate
- Description
- Deletes an existing affiliate.
- Request Endpoint
- DELETE https://<Example api server address>/admin/affiliate/{id}
- Parameters
Parameter Type Use Description id String Required UUID of an affiliate. - cURL syntax
curl --include \ --request DELETE \ 'https://core.dev.Example.net/api/admin/affiliate/id'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": true, "detail": null, "error": false, "message": "Deleting an incentive successful." }
DELETEDelete an Admin User
- Description
- Deletes an existing admin user.
- Request Endpoint
- DELETE https://<Example api server address>/admin/user/{id}
- Parameters
Parameter Type Use Description id String Required uuid of the admin user. - cURL syntax
curl --include \ --request DELETE \ 'https://core.dev.Example.net/api/admin/user/id'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": true, "detail": null, "error": false, "message": "Deleting admin user successful" }
DELETEDelete (Application Affiliate)
- Description
- Deletes an existing application affiliate.
- Request Endpoint
- DELETE https://<Example api server address>/admin/application/affiliate/{id}
- Parameters
Parameter Type Use Description id String Required UUID of an casino affiliate. - cURL syntax
curl --include \ --request DELETE \ 'https://core.dev.Example.net/api/admin/application/affiliate/id'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "1a26523b-d413-49f7-8b44-245ad050ad37", "createdOn": 1479717735208, "lastModifiedOn": 1479717735890, "updatedBy": "", "deleted": true, "affiliateLaunchMode": "2648fee2-b9df-44ca-8fdf-18b7ab42e169", "affiliateLaunchData": { "data": "SDKFG" }, "current": true, "application": { "id": "d53ade49-1d66-4732-b9c7-0952b2b0e0b2", "createdOn": 1479717725614, "lastModifiedOn": 1479717725614, "updatedBy": "", "deleted": false, "name": "WvBeuKPEGR", "appPackage": "appPac", "bundleIdentifier": "IDKLbvNgpH", "casino": { "id": "94055132-d0f5-468d-a78f-19be20e92b42", "createdOn": 1479717725210, "lastModifiedOn": 1479717725210, "updatedBy": "", "deleted": false, "name": "IZLsUCofyP", "videoUrl": null, "imageUrl": null, "description": null, "website": null, "icon": null, "banner": null, "deletedBy": null, "deletedOn": null, "operatorStatus": "VERIFIED", "email": "970143f64ef441e5bc131414c9051670@gmail.com", "userRole": "OPERATOR", "firstName": null, "lastName": null, "address": null, "externalId": "94055132-d0f5-468d-a78f-19be20e92b42", "featuredAppId": null, "latestAppId": null }, "casinoId": null, "categories": [ { "id": "2b88659c-ea30-4590-9d78-6c167e93d965", "createdOn": 1479717725161, "lastModifiedOn": 1479717725161, "updatedBy": "", "deleted": false, "imageUrl": "http://www.google.com/betting.png", "name": "yUrRqXlpQx", "description": "Some poker category", "videoUrl": "https://www.google.com/betting-video.mov", "iconUrl": "https://www.google.com/betting-icon.png", "colorCode": "#FFFFFF", "heroImageReference": "https://www.google.com/hero.png", "priority": 1, "deletedBy": null, "deletedOn": null, "apps": null } ], "categoryIds": null, "downloads": 0, "featured": false, "applicationVersionIds": null, "keywords": null, "latestBuild": null, "latestVersion": "v0.3", "initialVersionPublishDate": null, "latestVersionPublishDate": null, "order": null, "paragraph1": "1 paragraph", "paragraph2": "2st paragraph", "paragraph3": "4th para", "paragraph4": null, "presetPriceList": null, "price": 3436, "publisherId": "a62fdb51-068f-4889-956f-a6c83cc0d29a", "publisher": { "id": "a62fdb51-068f-4889-956f-a6c83cc0d29a", "createdOn": 1479717725502, "lastModifiedOn": 1479717725502, "updatedBy": "", "deleted": false, "name": "CcEtQndXOH", "description": null, "email": "e1fb177c226349a1a4779040b907b062@gmail.com", "website": null, "phone": null, "publisherStatus": "VERIFIED", "operatorId": "94055132-d0f5-468d-a78f-19be20e92b42", "userRole": "PUBLISHER" }, "ranking": null, "subtitle": null, "updated": null, "status": "DRAFTED", "downloadLink": null, "compatibility": "kitkat", "sizeOnDisk": null, "permissionDetails": null, "additionalDetails": "This application is very popular", "tags": null, "rating": { "count": 0, "overall": 0, "gamePlay": 0, "design": 0, "ease": 0 }, "silent": null, "normal": { "min": 1, "max": 1 }, "mandatory": null, "downgrade": null, "deletedBy": null, "deletedOn": null, "image": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/abcd.png", "sliderImages": [ { "id": "feb8961b-5be0-4510-bca8-f313b3df9521", "image": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/slider1.jpg", "order": 1 }, { "id": "fda65759-38eb-4b85-8b45-c02e0e6332bd", "image": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/slider2.jpg", "order": 0 } ], "banner": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/banner1.png", "video": null, "icon": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/icon.png", "featuredImage": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/abcd.jpeg", "privacyPolicy": "www.privecypolicy.com/2345", "locationSupported": [ "India", "UK" ], "languageSupported": [ "English", "French" ], "affiliateLaunchMode": null, "affiliateLaunchData": null, "editorsPick": false, "live": false, "reviewer": null } }, "detail": null, "error": false, "message": "Deleting application affiliate successful", "code": "1000" }
DELETEDelete Payment Option
- Description
- Request Endpoint
- DELETE https://<Example api server address>/admin/paymentoption/{id}
- Parameters
Parameter Type Use Description id String Required Payment ID that was created. - cURL syntax
curl --include \ --request DELETE \ 'https://core.dev.Example.net/api/admin/paymentoption/id'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": true, "detail": null, "error": false, "message": "Payment Option delete successful" }
DELETEDelete Payment Provider Gateway
- Description
- Deletes a payment provider gateway.
- Request Endpoint
- DELETE https://<Example api server address>/admin/payment/provider/gateway/{id}
- Parameters
Parameter Type Use Description id String Required A gateway id. - cURL syntax
curl --include \ --request DELETE \ 'https://core.dev.Example.net/api/admin/payment/provider/gateway/id'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": true, "detail": null, "error": false, "message": "Deleting provider gateway successful." }
DELETEDelete Reject Transaction Reason
- Description
- Deletes an existing reject transaction reason.
- Request Endpoint
- DELETE https://<Example api server address>/admin/reject/reason/{id}
- Parameters
Parameter Type Use Description id String Required UUID of an existing reject transaction reason. - cURL syntax
curl --include \ --request DELETE \ 'https://core.dev.Example.net/api/admin/reject/reason/id'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": true, "detail": null, "error": false, "message": "Deleting reject transaction reason successful." }
PUTDisable / Enable Admin Change Password
- Description
- Allows an admin to enable or disable changing of a password.
- Request Endpoint
- PUT https://<Example api server address>/admin/enable/disable/password
- Parameters
- None.
- cURL Syntax
curl --include \ --request PUT \ --header "Content-Type: application/json" \ --data-binary "{ \"adminUserId\": [\"82be048c-afaf-477d-a207-abbc8dd7f425\"], \"changePassword\": \"true\" }" \ 'https://core.dev.Example.net/api/admin/enable/disable/password'
- PUT body attributes (JSON)
Attribute Type Use Description adminUserId
String (Array) Optional UUID of an admin user. changePassword
Boolean Required Choose to change the password. - PUT body
Headers: Content-Type: application/json
{ "adminUserId": [ "82be048c-afaf-477d-a207-abbc8dd7f425" ], "changePassword": "true" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": true, "detail": null, "error": false, "message": "Enable/Disable change password successful", "code": "1000" }
POSTFetch Admin User Actions
- Description
- Fetches an Admin User’s actions/activities based on a time filter. At least one of the values should be passed.
- Request Endpoint
- POST https://<Example api server address>/admin/user/actions
- Parameters
- None.
- cURL syntax
curl --include \ --request POST \ --header "Content-Type: application/json" \ --data-binary "{ \"adminUserId\" : \"612d0cac-92e3-41b4-a0dc-beac308dfa1e\", \"field\" : \"createdOn\", \"operation\" : \"EQUAL\", \"startDate\" : \"2016-08-10\", \"endDate\" : \"2016-08-30\" }" \ 'https://core.dev.Example.net/api/admin/user/actions'
- POST body attributes (JSON)
Attribute Type Use Description adminUserId
String Optional UUID of an Admin user. field
String Optional Field can be addedOn. operation
String Optional Can be either EQUAL or RANGE. startDate
String Optional Start date of a user action to filter. endDate
String Optional End date till user actions are to be filtered. - POST body
Headers: Content-Type: application/json
{ "adminUserId": "612d0cac-92e3-41b4-a0dc-beac308dfa1e", "field": "createdOn", "operation": "EQUAL", "startDate": "2016-08-10", "endDate": "2016-08-30" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "cc43b065-841f-4c35-b511-a420a90326ed", "action": "createAdminUser", "error": null, "addedOn": 1471549066862 } ], "detail": null, "error": false, "message": "Fetching Admin User's actions successful." }
GETFetch All (Application Affiliate)
- Description
- Fetches all existing affiliates.
- Request Endpoint
- GET https://<Example api server address>/admin/application/affiliate
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/application/affiliate'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
200 Headers Content-Type:application/json Body { "data": [ { "id": "51608b02-344e-4ba1-81a9-79c2488e03e5", "createdOn": 1479714219989, "lastModifiedOn": 1479714220944, "updatedBy": "", "deleted": false, "affiliateLaunchMode": "JmWDGOpiGe", "affiliateLaunchData": { "data": "SDKFG" }, "current": true, "application": { "id": "9ba2ad5c-a75a-4a24-88ea-7ef4694ccfaa", "createdOn": 1479714201879, "lastModifiedOn": 1479714201879, "updatedBy": "", "deleted": false, "name": "vTTNwlfIQV", "appPackage": "appPac", "bundleIdentifier": "iiHJZXvEkI", "casino": { "id": "002feecb-c1de-40d5-9f01-6e27922d61ef", "createdOn": 1479714201430, "lastModifiedOn": 1479714201430, "updatedBy": "", "deleted": false, "name": "bGOhvyHAHQ", "videoUrl": null, "imageUrl": null, "description": null, "website": null, "icon": null, "banner": null, "deletedBy": null, "deletedOn": null, "operatorStatus": "VERIFIED", "email": "64fc7a16e2c446e5a27ec6d92b1bdcf3@gmail.com", "userRole": "OPERATOR", "firstName": null, "lastName": null, "address": null, "externalId": "002feecb-c1de-40d5-9f01-6e27922d61ef", "featuredAppId": null, "latestAppId": null }, "casinoId": null, "categories": [ { "id": "38595f25-855d-4360-9bf5-5d8f389a6092", "createdOn": 1479714201387, "lastModifiedOn": 1479714201387, "updatedBy": "", "deleted": false, "imageUrl": "http://www.google.com/betting.png", "name": "luxdJIBFAf", "description": "Some poker category", "videoUrl": "https://www.google.com/betting-video.mov", "iconUrl": "https://www.google.com/betting-icon.png", "colorCode": "#FFFFFF", "heroImageReference": "https://www.google.com/hero.png", "priority": 1, "deletedBy": null, "deletedOn": null, "apps": null } ], "categoryIds": null, "downloads": 0, "featured": false, "applicationVersionIds": null, "keywords": null, "latestBuild": null, "latestVersion": "v0.3", "initialVersionPublishDate": null, "latestVersionPublishDate": null, "order": null, "paragraph1": "1 paragraph", "paragraph2": "2st paragraph", "paragraph3": "4th para", "paragraph4": null, "presetPriceList": null, "price": 3436, "publisherId": "c190dfe0-7ed2-4f9b-aeb6-ca8f32cdf86d", "publisher": { "id": "c190dfe0-7ed2-4f9b-aeb6-ca8f32cdf86d", "createdOn": 1479714201699, "lastModifiedOn": 1479714201699, "updatedBy": "", "deleted": false, "name": "CsMOzTuBDk", "description": null, "email": "c327492acff341c1a9c6bef76d44364f@gmail.com", "website": null, "phone": null, "publisherStatus": "VERIFIED", "operatorId": "002feecb-c1de-40d5-9f01-6e27922d61ef", "userRole": "PUBLISHER" }, "ranking": null, "subtitle": null, "updated": null, "status": "DRAFTED", "downloadLink": null, "compatibility": "kitkat", "sizeOnDisk": null, "permissionDetails": null, "additionalDetails": "This application is very popular", "tags": null, "rating": { "count": 0, "overall": 0, "gamePlay": 0, "design": 0, "ease": 0 }, "silent": null, "normal": { "min": 1, "max": 1 }, "mandatory": null, "downgrade": null, "deletedBy": null, "deletedOn": null, "image": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/abcd.png", "sliderImages": [ { "id": "71f92f16-5653-4f5c-9d99-aa8bfbff5c95", "image": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/slider1.jpg", "order": 1 }, { "id": "5bee363f-b47e-4a0f-98ca-a587b6d70334", "image": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/slider2.jpg", "order": 0 } ], "banner": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/banner1.png", "video": null, "icon": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/icon.png", "featuredImage": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/abcd.jpeg", "privacyPolicy": "www.privecypolicy.com/2345", "locationSupported": [ "India", "UK" ], "languageSupported": [ "English", "French" ], "affiliateLaunchMode": null, "affiliateLaunchData": null, "editorsPick": false, "live": false, "reviewer": null } }, { "id": "1a26523b-d413-49f7-8b44-245ad050ad37", "createdOn": 1479717735208, "lastModifiedOn": 1479717735710, "updatedBy": "", "deleted": false, "affiliateLaunchMode": "xngfwVGtUM", "affiliateLaunchData": { "data": "SDKFG" }, "current": true, "application": { "id": "d53ade49-1d66-4732-b9c7-0952b2b0e0b2", "createdOn": 1479717725614, "lastModifiedOn": 1479717725614, "updatedBy": "", "deleted": false, "name": "WvBeuKPEGR", "appPackage": "appPac", "bundleIdentifier": "IDKLbvNgpH", "casino": { "id": "94055132-d0f5-468d-a78f-19be20e92b42", "createdOn": 1479717725210, "lastModifiedOn": 1479717725210, "updatedBy": "", "deleted": false, "name": "IZLsUCofyP", "videoUrl": null, "imageUrl": null, "description": null, "website": null, "icon": null, "banner": null, "deletedBy": null, "deletedOn": null, "operatorStatus": "VERIFIED", "email": "970143f64ef441e5bc131414c9051670@gmail.com", "userRole": "OPERATOR", "firstName": null, "lastName": null, "address": null, "externalId": "94055132-d0f5-468d-a78f-19be20e92b42", "featuredAppId": null, "latestAppId": null }, "casinoId": null, "categories": [ { "id": "2b88659c-ea30-4590-9d78-6c167e93d965", "createdOn": 1479717725161, "lastModifiedOn": 1479717725161, "updatedBy": "", "deleted": false, "imageUrl": "http://www.google.com/betting.png", "name": "yUrRqXlpQx", "description": "Some poker category", "videoUrl": "https://www.google.com/betting-video.mov", "iconUrl": "https://www.google.com/betting-icon.png", "colorCode": "#FFFFFF", "heroImageReference": "https://www.google.com/hero.png", "priority": 1, "deletedBy": null, "deletedOn": null, "apps": null } ], "categoryIds": null, "downloads": 0, "featured": false, "applicationVersionIds": null, "keywords": null, "latestBuild": null, "latestVersion": "v0.3", "initialVersionPublishDate": null, "latestVersionPublishDate": null, "order": null, "paragraph1": "1 paragraph", "paragraph2": "2st paragraph", "paragraph3": "4th para", "paragraph4": null, "presetPriceList": null, "price": 3436, "publisherId": "a62fdb51-068f-4889-956f-a6c83cc0d29a", "publisher": { "id": "a62fdb51-068f-4889-956f-a6c83cc0d29a", "createdOn": 1479717725502, "lastModifiedOn": 1479717725502, "updatedBy": "", "deleted": false, "name": "CcEtQndXOH", "description": null, "email": "e1fb177c226349a1a4779040b907b062@gmail.com", "website": null, "phone": null, "publisherStatus": "VERIFIED", "operatorId": "94055132-d0f5-468d-a78f-19be20e92b42", "userRole": "PUBLISHER" }, "ranking": null, "subtitle": null, "updated": null, "status": "DRAFTED", "downloadLink": null, "compatibility": "kitkat", "sizeOnDisk": null, "permissionDetails": null, "additionalDetails": "This application is very popular", "tags": null, "rating": { "count": 0, "overall": 0, "gamePlay": 0, "design": 0, "ease": 0 }, "silent": null, "normal": { "min": 1, "max": 1 }, "mandatory": null, "downgrade": null, "deletedBy": null, "deletedOn": null, "image": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/abcd.png", "sliderImages": [ { "id": "feb8961b-5be0-4510-bca8-f313b3df9521", "image": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/slider1.jpg", "order": 1 }, { "id": "fda65759-38eb-4b85-8b45-c02e0e6332bd", "image": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/slider2.jpg", "order": 0 } ], "banner": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/banner1.png", "video": null, "icon": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/icon.png", "featuredImage": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/abcd.jpeg", "privacyPolicy": "www.privecypolicy.com/2345", "locationSupported": [ "India", "UK" ], "languageSupported": [ "English", "French" ], "affiliateLaunchMode": null, "affiliateLaunchData": null, "editorsPick": false, "live": false, "reviewer": null } } ], "detail": null, "error": false, "message": "Fetching application affiliates info successful", "code": "1000" }
GETFetch All Admin Users
- Description
- Fetches all of the admin users. Supports pagination with the "offset" and "limit" parameters (attributes).
- Request Endpoint
- GET https://<Example api server address>/admin/user
- Parameters
Parameter Type Use Description offset Integer Optional Enables an offset to the pagination. limit Integer Optional Sets a limit to the pagination. - cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/user'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "content": [ { "id": "6e99ee70-8094-4c3c-b42f-bd2a7c144b87", "email": "admin@gmail.com", "firstName": "Admin", "loginId": "admin", "lastName": "User", "role": "SUPER_ADMIN" }, { "id": "780e10d4-5a0d-4f0c-aa9c-a9325709e6f6", "email": "nagamohan1986@gmail.com", "firstName": "Jack", "loginId": "jcryan", "lastName": "Ryan", "role": "SUPER_ADMIN" }, { "id": "9b4d2556-e307-4c2b-8d56-7216170e4b5c", "email": "ivishwas.s@gmail.com", "firstName": "Vishwas", "loginId": "vishwas", "lastName": "Shashidhar", "role": "MARKETING_ADMIN" } ], "last": true, "totalPages": 1, "totalElements": 3, "size": 70, "number": 0, "sort": null, "first": true, "numberOfElements": 3 }, "detail": null, "error": false, "message": "Fetching admin users successful" }
GETFetch All Affiliates
- Description
- Fetches all existing affiliates.
- Request Endpoint
- GET https://<Example api server address>/admin/affiliate
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/affiliate'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "64c8058a-5a33-4d4d-9e82-2609faab602f", "deleted": false, "launchMode": "INTENT" }, { "id": "ffe5c6a3-58b6-4636-88fe-6bcc168e0758", "deleted": false, "launchMode": "DEEPLINKS" } ], "detail": null, "error": false, "message": "Fetching affiliates info successful" }
GETFetch All Deleted Admin User's
- Description
- Fetches all deleted admin user’s actions.
- Request Endpoint
- GET https://<Example api server address>/admin/deleted
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/deleted'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "c260b1a6-b9b6-40c7-9efb-606169811f34", "deleted": true, "email": "san.sh555@gmail.com", "firstName": null, "loginId": null, "lastName": null, "role": "MARKETING_ADMIN", "lastEmailSent": 1472114854802, "emailToken": "9b9ff174-e996-432a-b261-4e972a32bdfc", "emailVerificationStatus": "VERIFICATION_PENDING", "emailPinResetStatus": "RESET_NA", "twoFactorEnabled": false, "attemptsBeforeTwoFactor": 0, "twoFactorLoginExpiryDate": null, "passwordCreated": null, "passwordResetDate": null } ], "detail": null, "error": false, "message": "Fetching deleted admin user successful" }
GETFetch All Payment Options
- Description
- Fetches all the payment options available.
- Request Endpoint
- GET https://<Example api server address>/admin/paymentoption/
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/paymentoption/'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "content": [ { "id": "26eff59f-7675-4723-b723-1a3219ec3792", "deleted": false, "name": "tLRZfpqogB", "countries": [], "logo": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/logoimagename", "enabled": true }, { "id": "a401dbd7-f67a-419f-85a5-6dc150597fe7", "deleted": false, "name": "spqcrcCrNz", "countries": [ "India", "USA", "England" ], "logo": null, "enabled": true }, { "id": "95576c54-d5fd-4e21-add0-328a68072186", "deleted": false, "name": "gJtGhoAZCH", "countries": [ "India", "USA", "England" ], "logo": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/logoimagename", "enabled": true }, { "id": "a17a3460-a099-4b23-9d66-8c1efa8065f1", "deleted": false, "name": "zUDbLdJOcM", "countries": [], "logo": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/logoimagename", "enabled": true }, { "id": "09971624-2fd9-418f-9ac5-c11c37f66b68", "deleted": false, "name": "uXZTORoMJk", "countries": [ "India", "USA", "England" ], "logo": null, "enabled": true }, { "id": "3ed17309-945d-4e7d-bf5a-a3832007b303", "deleted": false, "name": "IYhZOtucPk", "countries": [ "India", "USA", "England" ], "logo": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/logoimagename", "enabled": false }, { "id": "decb2b30-5628-47ae-91e4-1c0ea7207aba", "deleted": false, "name": "pINacktkJF", "countries": [], "logo": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/logoimagename", "enabled": true }, { "id": "65c60c64-5a81-44e7-91f4-9bda50384b47", "deleted": false, "name": "oWUFNLctem", "countries": [ "India", "USA", "England" ], "logo": null, "enabled": true } ], "totalPages": 1, "last": true, "totalElements": 8, "size": 70, "number": 0, "sort": null, "first": true, "numberOfElements": 8 }, "detail": null, "error": false, "message": "Fetching all payment options successful." }
GETFetch All Payment Provider Gateway Detail
- Description
- Fetches a payment provider gateway.
- Request Endpoint
- GET https://<Example api server address>/admin/payment/provider/gateway
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/paymentoption/'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "5c0d464a-ce3d-408c-858b-ab7fa465d13e", "deleted": false, "name": "psp123", "externalId": "EX123" } ], "detail": null, "error": false, "message": "Fetching all payment provider gateway successful." }
GETFetch All Reject Reasons
- Description
- Fetches all reject reasons.
- Request Endpoint
- GET https://<Example api server address>/admin/reasons
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/reasons'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ "Rejected by casino", "Rejected by Casino - Fraud" ], "detail": null, "error": false, "message": "Fetching all reject transaction reasons successful." }
GETFetch All Reject Transaction Reasons
- Description
- Fetches all reject transaction reasons.
- Request Endpoint
- GET https://<Example api server address>/admin/reject/reason
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/reject/reason'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "75552c7b-ccc4-42db-88fa-83d321b76883", "deleted": false, "reason": "Rejected by casino" }, { "id": "3ad8fb65-8e3f-4792-99e9-5e623a701425", "deleted": false, "reason": "Rejected by Casino - Fraud" } ], "detail": null, "error": false, "message": "Fetching all reject transaction reasons successful." }
GETFetch Blacklisted Users
- Description
- Fetches blacklisted users.
- Request Endpoint
- GET https://<Example api server address>/admin/blacklists
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/blacklists'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "784095a0-1771-4e7a-a3fd-f9335125c0c2", "deleted": false, "addresses": null, "devices": [ { "id": "9146350a-8104-4fd3-aa2c-601afc43f2a9", "deleted": false, "description": "Old Device", "deviceStatus": "NORMAL", "manufacturer": "Apple", "model": "iPhone 5", "os": "iOS 9", "udid": "2083718938012321038243", "simStateHashCode": null, "simCardState": null, "deletedUdid": null, "deletedBy": null, "deletedOn": null, "name": null, "brand": null, "androidID": null, "advertiserID": null, "operator": null, "country": null, "language": null, "screenWidthInPixels": null, "screenHeightInPixels": null, "screenWidthInInches": null, "screenHeightInInches": null } ], "emailAuthenticationChannels": [], "firstName": "Shruti", "fullName": "Shruti Nagarkar", "groupTag": [ "FACEBOOK", "Apple", "United Kingdom", "iOS 9", "1234234", "iPhone 5" ], "lastName": "Nagarkar", "locationCountry": "United Kingdom", "locationZipCode": "1234234", "mobileAuthenticationChannels": [], "pinCreated": true, "profileImagePath": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/default-profile-image.png", "profileName": "RN Shruti", "registrationDate": 1475233003451, "socialAuthenticationChannels": [ { "addedOn": 1475233006112, "blockStatus": "NORMAL", "deletedOn": null, "lastUsedOn": 1475233006112, "loginType": "FACEBOOK", "socialId": "sfwef34535xe", "deleted": false, "recycleSocialId": null, "emailAddress": null, "profileName": null } ], "status": "BLACKLISTED_FRAUD", "timezone": null, "userSetting": { "autoUpdateBetcadeApp": true, "autoUpdateDownloadedApps": true, "monthlyDepositMaxLimit": 0, "monthlyDepositMaxLimitCurrency": "GBP", "prefillUserInfoInCasino": true, "receiveEmailReceipt": true, "receiveNotifications": true, "shareRegistrationInfo": true, "userEmailProvided": true, "versionOfDownloadedBetcadeApp": "v1", "wifiDownloadLimitInMB": 0, "preferredCategories": [], "autoSaveCard": true, "autoAddHomeIcon": true, "receiveUpdateNotifications": true, "receiveAutoUpdatedNotifications": true, "receiveRecommendationNotifications": true, "appSetting": { "autoUpdateApps": 2, "addIconHomeScreen": false, "saveNewCreditOrDebitCards": true, "appUpdatesAvailable": true, "appsWereAutoUpdated": true, "recommendedContentAvailable": true } }, "verified": true, "pinResetDate": null, "kycStatus": null, "singularId": null, "acquisitionIds": null, "userAuditInfo": { "initialLoginDate": 1475233003451, "initialLoginIp": "127.0.0.1", "initialLoginLocation": " ", "initialRegistrationDate": 1475240921772, "initialRegistrationIp": "127.0.0.1", "initialRegistrationLocation": " " }, "email": "rn.shruti@gmail.com", "phone": "+918050022027", "dob": 663878340000, "statusBeforeBlacklisting": "ACTIVE", "testUser": null } ], "detail": null, "error": false, "message": "Fetching blacklisted Users successful." }
GETFetch Blacklisted Payment Methods
- Description
- Fetches all blacklisted payment methods.
- Request Endpoint
- GET https://<Example api server address>/admin/blacklisted/payment/info
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/blacklisted/payment/info'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "d6d1daa8-e6fd-43ad-af98-18221dc41632", "deleted": false, "addedOn": 1474964779435, "defaultPaymentInfo": true, "fullName": "Shruthi", "issuingAuthority": "HDFC", "lastUsedOn": 1474964777785, "nickName": "Vishwas Shashidhar", "paymentInfoStatus": "BLACKLISTED_CS", "paymentProvider": "PAYLETTER", "paymentType": "CREDITCARD", "providerPaymentId": "dcssd5a3", "providerPaymentNumber": "2006", "providerToken": "1000000000005331", "deletedBy": null, "deletedOn": null, "extRisk3DSEnrolledCard": null, "extRisk3DSResult": null, "deviceUdid": "2083718938012321038243", "cardBrand": "Visa", "cardBinCountry": "India", "originalCardNumber": null, "statusBeforeBlacklisting": "VERIFIED" } ], "detail": null, "error": false, "message": "Fetching blacklisted payment methods successful." }
GETFetch Blacklisted Users Payment Method
- Description
- Fetches a blacklisted user's payment method.
- Request Endpoint
- GET https://<Example api server address>/admin/user/{id}/blacklisted/payment/info
- Parameters
Parameter Type Use Description id String Required UUID of an existing user. - cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/user/id/blacklisted/payment/info'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "d6d1daa8-e6fd-43ad-af98-18221dc41632", "deleted": false, "addedOn": 1474964779435, "defaultPaymentInfo": true, "fullName": "Shruthi", "issuingAuthority": "HDFC", "lastUsedOn": 1474964777785, "nickName": "Vishwas Shashidhar", "paymentInfoStatus": "BLACKLISTED_CS", "paymentProvider": "PAYLETTER", "paymentType": "CREDITCARD", "providerPaymentId": "dcssd5a3", "providerPaymentNumber": "2006", "providerToken": "1000000000005331", "deletedBy": null, "deletedOn": null, "extRisk3DSEnrolledCard": null, "extRisk3DSResult": null, "deviceUdid": "2083718938012321038243", "cardBrand": "Visa", "cardBinCountry": "India", "originalCardNumber": null, "statusBeforeBlacklisting": "VERIFIED" } ], "detail": null, "error": false, "message": "Fetching blacklisted payment methods successful." }
GETFetch By ID (Application Affiliate)
- Description
- Fetches an existing application affiliate By ID.
- Request Endpoint
- GET https://<Example api server address>/admin/application/affiliate/{id}
- Parameters
Parameter Type Use Description id String Required UUID of an application affiliate - cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/application/affiliate/id'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "1a26523b-d413-49f7-8b44-245ad050ad37", "createdOn": 1479717735208, "lastModifiedOn": 1479717735208, "updatedBy": "", "deleted": false, "affiliateLaunchMode": "xngfwVGtUM", "affiliateLaunchData": { "data": "SDKFG" }, "current": true, "application": { "id": "d53ade49-1d66-4732-b9c7-0952b2b0e0b2", "createdOn": 1479717725614, "lastModifiedOn": 1479717725614, "updatedBy": "", "deleted": false, "name": "WvBeuKPEGR", "appPackage": "appPac", "bundleIdentifier": "IDKLbvNgpH", "casino": { "id": "94055132-d0f5-468d-a78f-19be20e92b42", "createdOn": 1479717725210, "lastModifiedOn": 1479717725210, "updatedBy": "", "deleted": false, "name": "IZLsUCofyP", "videoUrl": null, "imageUrl": null, "description": null, "website": null, "icon": null, "banner": null, "deletedBy": null, "deletedOn": null, "operatorStatus": "VERIFIED", "email": "970143f64ef441e5bc131414c9051670@gmail.com", "userRole": "OPERATOR", "firstName": null, "lastName": null, "address": null, "externalId": "94055132-d0f5-468d-a78f-19be20e92b42", "featuredAppId": null, "latestAppId": null }, "casinoId": null, "categories": [ { "id": "2b88659c-ea30-4590-9d78-6c167e93d965", "createdOn": 1479717725161, "lastModifiedOn": 1479717725161, "updatedBy": "", "deleted": false, "imageUrl": "http://www.google.com/betting.png", "name": "yUrRqXlpQx", "description": "Some poker category", "videoUrl": "https://www.google.com/betting-video.mov", "iconUrl": "https://www.google.com/betting-icon.png", "colorCode": "#FFFFFF", "heroImageReference": "https://www.google.com/hero.png", "priority": 1, "deletedBy": null, "deletedOn": null, "apps": null } ], "categoryIds": null, "downloads": 0, "featured": false, "applicationVersionIds": null, "keywords": null, "latestBuild": null, "latestVersion": "v0.3", "initialVersionPublishDate": null, "latestVersionPublishDate": null, "order": null, "paragraph1": "1 paragraph", "paragraph2": "2st paragraph", "paragraph3": "4th para", "paragraph4": null, "presetPriceList": null, "price": 3436, "publisherId": "a62fdb51-068f-4889-956f-a6c83cc0d29a", "publisher": { "id": "a62fdb51-068f-4889-956f-a6c83cc0d29a", "createdOn": 1479717725502, "lastModifiedOn": 1479717725502, "updatedBy": "", "deleted": false, "name": "CcEtQndXOH", "description": null, "email": "e1fb177c226349a1a4779040b907b062@gmail.com", "website": null, "phone": null, "publisherStatus": "VERIFIED", "operatorId": "94055132-d0f5-468d-a78f-19be20e92b42", "userRole": "PUBLISHER" }, "ranking": null, "subtitle": null, "updated": null, "status": "DRAFTED", "downloadLink": null, "compatibility": "kitkat", "sizeOnDisk": null, "permissionDetails": null, "additionalDetails": "This application is very popular", "tags": null, "rating": { "count": 0, "overall": 0, "gamePlay": 0, "design": 0, "ease": 0 }, "silent": null, "normal": { "min": 1, "max": 1 }, "mandatory": null, "downgrade": null, "deletedBy": null, "deletedOn": null, "image": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/abcd.png", "sliderImages": [ { "id": "feb8961b-5be0-4510-bca8-f313b3df9521", "image": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/slider1.jpg", "order": 1 }, { "id": "fda65759-38eb-4b85-8b45-c02e0e6332bd", "image": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/slider2.jpg", "order": 0 } ], "banner": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/banner1.png", "video": null, "icon": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/icon.png", "featuredImage": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/abcd.jpeg", "privacyPolicy": "www.privecypolicy.com/2345", "locationSupported": [ "India", "UK" ], "languageSupported": [ "English", "French" ], "affiliateLaunchMode": null, "affiliateLaunchData": null, "editorsPick": false, "live": false, "reviewer": null } }, "detail": null, "error": false, "message": "Fetching application affiliates info successful", "code": "1000" }
GETFetch Current Application Affiliate
- Description
- Fetches an existing current application affiliate.
- Request Endpoint
- GET https://<Example api server address>/admin/application/default/affiliate
- Parameters
- None.
- cURL Syntax
curl --include \ 'https://core.dev.Example.net/api/admin/application/default/affiliate'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "3b548093-97ff-44a6-8503-1b14fd0a5963", "createdOn": 1479714177013, "lastModifiedOn": 1479714177830, "updatedBy": "", "deleted": true, "affiliateLaunchMode": "1bf0aa0d-b0b2-42e3-8ff6-0545c511a8c2", "affiliateLaunchData": { "data": "SDKFG" }, "current": true, "application": { "id": "805e61fe-2254-4c30-a7da-c50cff8bbb1e", "createdOn": 1479714163755, "lastModifiedOn": 1479714163755, "updatedBy": "", "deleted": false, "name": "NAvcEZbbPw", "appPackage": "appPac", "bundleIdentifier": "fscWqaZYWx", "casino": { "id": "e81fc854-6bbf-4eb1-9438-c7ff4242b8bd", "createdOn": 1479714163008, "lastModifiedOn": 1479714163008, "updatedBy": "", "deleted": false, "name": "EUXmwoonoY", "videoUrl": null, "imageUrl": null, "description": null, "website": null, "icon": null, "banner": null, "deletedBy": null, "deletedOn": null, "operatorStatus": "VERIFIED", "email": "de785f96e960423482e68bbbb93154f7@gmail.com", "userRole": "OPERATOR", "firstName": null, "lastName": null, "address": null, "externalId": "e81fc854-6bbf-4eb1-9438-c7ff4242b8bd", "featuredAppId": null, "latestAppId": null }, "casinoId": null, "categories": [ { "id": "39524ef3-3875-44e5-8b39-c59862c0a8e3", "createdOn": 1479714162848, "lastModifiedOn": 1479714162848, "updatedBy": "", "deleted": false, "imageUrl": "http://www.google.com/betting.png", "name": "sPhaZYEvYJ", "description": "Some poker category", "videoUrl": "https://www.google.com/betting-video.mov", "iconUrl": "https://www.google.com/betting-icon.png", "colorCode": "#FFFFFF", "heroImageReference": "https://www.google.com/hero.png", "priority": 1, "deletedBy": null, "deletedOn": null, "apps": null } ], "categoryIds": null, "downloads": 0, "featured": false, "applicationVersionIds": null, "keywords": null, "latestBuild": null, "latestVersion": "v0.3", "initialVersionPublishDate": null, "latestVersionPublishDate": null, "order": null, "paragraph1": "1 paragraph", "paragraph2": "2st paragraph", "paragraph3": "4th para", "paragraph4": null, "presetPriceList": null, "price": 3436, "publisherId": "79a6a4a0-d759-4486-a814-ae65501748d1", "publisher": { "id": "79a6a4a0-d759-4486-a814-ae65501748d1", "createdOn": 1479714163464, "lastModifiedOn": 1479714163464, "updatedBy": "", "deleted": false, "name": "MCzfKNuKIe", "description": null, "email": "4621c41e67f04d03933746530d1fada5@gmail.com", "website": null, "phone": null, "publisherStatus": "VERIFIED", "operatorId": "e81fc854-6bbf-4eb1-9438-c7ff4242b8bd", "userRole": "PUBLISHER" }, "ranking": null, "subtitle": null, "updated": null, "status": "DRAFTED", "downloadLink": null, "compatibility": "kitkat", "sizeOnDisk": null, "permissionDetails": null, "additionalDetails": "This application is very popular", "tags": null, "rating": { "count": 0, "overall": 0, "gamePlay": 0, "design": 0, "ease": 0 }, "silent": null, "normal": { "min": 1, "max": 1 }, "mandatory": null, "downgrade": null, "deletedBy": null, "deletedOn": null, "image": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/abcd.png", "sliderImages": [ { "id": "4fe1dfbf-ee7a-4703-a79e-998a87e9cedb", "image": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/slider1.jpg", "order": 1 }, { "id": "44250dfe-e412-4648-be98-064c5376c916", "image": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/slider2.jpg", "order": 0 } ], "banner": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/banner1.png", "video": null, "icon": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/icon.png", "featuredImage": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/abcd.jpeg", "privacyPolicy": "www.privecypolicy.com/2345", "locationSupported": [ "India", "UK" ], "languageSupported": [ "English", "French" ], "affiliateLaunchMode": null, "affiliateLaunchData": null, "editorsPick": false, "live": false, "reviewer": null } }, "detail": null, "error": false, "message": "Fetching default casino affiliates info successful", "code": "1000" }
GETFetch Payment Options By Country Name
- Description
- Help the admin to get the existing Fetch Payment Options by passing a country name.
- Request Endpoint
- GET https://<Example api server address>/admin/paymentoption/{country}
- Parameters
Parameter Type Use Description country String Required The country name. - cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/paymentoption/country'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "a401dbd7-f67a-419f-85a5-6dc150597fe7", "deleted": false, "name": "spqcrcCrNz", "countries": [ "India", "USA", "England" ], "logo": null, "enabled": true }, { "id": "95576c54-d5fd-4e21-add0-328a68072186", "deleted": false, "name": "gJtGhoAZCH", "countries": [ "India", "USA", "England" ], "logo": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/logoimagename", "enabled": true }, { "id": "09971624-2fd9-418f-9ac5-c11c37f66b68", "deleted": false, "name": "uXZTORoMJk", "countries": [ "India", "USA", "England" ], "logo": null, "enabled": true }, { "id": "3ed17309-945d-4e7d-bf5a-a3832007b303", "deleted": false, "name": "IYhZOtucPk", "countries": [ "India", "USA", "England" ], "logo": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/logoimagename", "enabled": false }, { "id": "65c60c64-5a81-44e7-91f4-9bda50384b47", "deleted": false, "name": "oWUFNLctem", "countries": [ "India", "USA", "England" ], "logo": null, "enabled": true } ], "detail": null, "error": false, "message": "Fetching payment option successful." }
GETFetch Project Service Names
- Description
- Gives a list of service names present in the Client project which will be useful for fetching admin user actions by eventType.
- Request Endpoint
- GET https://<Example api server address>/admin/services
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/services'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ "changePublisherPassword", "moveTransactionsToPast", "fetchAppByLocation", "addLanguage", "chargeBack", "fetchApplicationReviews", "getUserStatus", "create", "saveSdkInfo", "transferCredentialsToCasino", "setCasinoUserData", "getApplicationsFromWishList", "disablePaymentForCountries", "uploadMessagesForContextAndLanguage", "createBetcadeAppVersion", "deleteByEmailAddressesIn", "fetchAllIncentives", "loginPublisher", "sendInvitation", "reinvitePublisher", "checkForPaymentInfoExpiry", "getUsersByCohort", "deleteIncentive", "addMessage", "fetchAllPublishersAndOperators", "createDeviceAppHistory", "findByUserAndApplicationsIn", "deleteProfileImage", "getUserPMForPayout", "updateSliderImage", "updateLanguage", "createCohortCriteria", "editUserCredentialStatus", "getStarterPacks", "fetchTransactionHistoryByUserId", "blacklistUserOrDeviceOrPayment", "getCohort", "fetchUserAttributes", "fetchUserSearchHistory", "purgeAllDeletedUser", "deletePromoCode", "fetchApplicationsAttributes", "uaAcquisitionDownloadPage", "updatePublisher", "fetchApplicationsByMonthUpdates", "purgeUser", "fetchAllDeveloperApiKeys", "create", "setIncentives", "findOne", "getNotifications", "fetchAllAdminUsers", "getApplicationEventsByApplication", "getUserTransactionRefundHistory", "updateUserPin", "fetchUserApplicationReview", "fetchApplicationsByOperator", "deleteSliderImage", "whiteListUserOrDeviceOrPayment", "getAllLanguageCodes", "getUserChargeBackHistory", "setShareRegistrationInfo", "fetchPopularSearch", "getPromoCodeInfoByPC", "logoutAdminUser", "addApplicationReview", "fetchPublisherByOperator", "getReportsByApplication", "fetchAuditTrailDataForUser", "addOrUpdateDevice", "saveAdminLoginLogoutAction", "uploadUserHelpSupportFile", "getCohortCriteria", "updateApplicationReview", "findByCategories", "createBulk", "addLogin", "publisherSetUpAccount", "updateCohortCriteria", "dropDatabase", "getUsedPromocodeDetails", "generateXLsxReport", "findAll", "getApplicationEvents", "verifyEmailLogin", "addPaymentMethod", "loginOperator", "fetchAllowedCountriesForPayment", "resetPublisherPasswordRequest", "delete", "saveUserAction", "updateJobInfo", "findByCasino", "delete", "checkPaymentInfoExists", "resetPasswordSendAuthentication", "getSimCardStateChange", "create", "findByModel", "setCredential", "loginAdminUserFromTwoFactorAuth", "create", "uploadTerms", "deleteImage", "getAllLanguageNames", "createNewJob", "findByUserAndApplication", "findAllPaymentMethodsForUser", "withdrawSuspendCasino", "updatePaymentMethod", "applyPromoCodeBonus", "addToWishList", "removeLogin", "getByPassSMSCodeSetting", "createPassword", "updatePartialApplicationEvent", "getChargeBackHistoryByUser", "disableDeveloperApiKey", "loginStore", "findByName", "fetchAllTerms", "findAllTickets", "purgeAllInactiveUser", "generateDeveloperApiKey", "findByTag", "updateContactDetails", "fetchCommonKeywords", "saveKeyword", "create", "tagApplication", "getAllChargeBackTransactions", "create", "uaAcquisitionLinkSent", "payout", "fetchBlockedUser", "approve", "completeAdminRegistration", "findByName", "updateCasino", "withdrawPublisherInvitation", "findByName", "createBetcadeApp", "fetchByCriteria", "getAllRefundTransactions", "getAllUserTags", "getChargeBackHistoryByTransactionId", "fetchAllCountries", "findAllSdkInfo", "checkUserStatus", "getAllReports", "reportApp", "findAllUser", "resetPublisherPasswordRequestVerify", "fetchUserActions", "getRefundHistoryByTransactionId", "updateUserGroup", "fetchAll", "updateUser", "delete", "getUserByGroup", "saveKycInfo", "delete", "fetchAllCasinoApiKeys", "verifyAdminEmailLogin", "getAllLocationCodes", "createPreRegistrationUser", "rescheduleJob", "fetchUserCasinoWallet", "loginThirdParty", "refund", "findSdkInfoByDevice", "fetchDeveloperKey", "addPromoCodeInfo", "fetchApplicationsByWeekUpdates", "loginStoreUser", "deleteUserGroup", "communicateUserUser", "findSdkInfoByUser", "fetchTerms", "fetchUserTransactionAttributes", "getMobileVerificationStatus", "deletePaymentMethod", "findBlacklistUsers", "fetchUserSearchHistory", "verifyOperator", "edit", "fetchAllMessages", "addDeposit", "edit", "getUserTransactionPayoutHistory", "findAll", "editUserStatus", "setDefaultPaymentAmount", "deletePublisher", "getPromoCodeInfoByPCAndAppId", "deleteAdminUser", "updateUserSettings", "fetchDeletedUser", "fetchCusomerSupport", "resetAdminUserPassword", "deleteAppEvent", "verifyUserLogin", "findAll", "uploadProfileImage", "getAllLocationNames", "fetchAdminUser", "resendSmsCode", "enablePaymentForCountries", "findAll", "logoutAdminUser", "fetchIncentivesOfApplication", "getAppDownloadsByUserId", "doKycCheckDuringPMCreation", "fetchAppByLanguage", "deleteByMobileNumbersIn", "deleteAllPaymentMethodsForUser", "addLocation", "fetchLastUsedAmountForUserAndApp", "delete", "validateTwoFactorAuthToken", "findByCasinoId", "findAllUserMessageWihLog", "searchApplicationsByCategory", "verifyCasinoResetPassword", "getPromoCodeInfoByAppId", "findAll", "changeAdminUserPassword", "deleteApplicationEvent", "updateAdminUser", "uaAcquisitionCampaignLandingPage", "disableRefreshTokensForApiKey", "findAll", "createDeveloperApiKey", "communicateUserByCohortView", "monitorCVVFraud", "createAdminUser", "generateCasinoKey", "createCohort", "enableDeveloperApiKey", "saveActions", "saveUserTransactionEvent", "getMessageByAction", "fetchByCriteria", "search", "fetchVersionDetails", "uaAcquisitionDownloadStarted", "applyIncentive", "fetchBlockedPaymentInfo", "addUserMessageWihLog", "withdrawSuspendPublisher", "updateUserKycMobileOrEmail", "setPreferredCategories", "edit", "casinoVerifyPin", "addImage", "updateApplicationEvent", "addEditSimCardStateChange", "suspendCasino", "getUserPrivateInfoFromSaka", "findByUser", "edit", "getAllLanguages", "getAllTimezonesGroupdByCountry", "getUserDeviceAppHistory", "resendEmailToken", "getPromoCodeInfoById", "fetchProjectServiceNames", "findOne", "getPayoutHistoryByUserPaymentInfoId", "uploadUserByXLS", "updateMessage", "findOne", "addApplicationEvent", "findAll", "readXLSFromFolderAndAddUser", "generatePdfReport", "getAllPromoCodeInfo", "generateApiKey", "saveUserEvents", "searchAdminUser", "createTwoFactorToken", "getEmailVerificationStatus", "uaAcquisitionOnUserLogin", "edit", "verifyPublisher", "enableCasinoKey", "updateLocation", "prefillCasinoRegistrationForm", "getPayoutHistoryByUser", "getRefundHistoryByUser", "deleteUser", "disableCasinoKey", "fetchPublisher", "uaAcquisitionAppLaunched", "deleteFromWishList", "searchByKeyword", "resendEmailCode", "createPublisher", "deleteMessage", "getCriteriaFields", "loginAdminUser", "getUserTransactions", "getAllLocation", "updatePromoCodeInfo", "fetchMessagesForLanguageAndContext", "login", "updateIncentive", "uploadLatestVersion", "loginSdkUser", "fetchApplicationsByPublisher", "createIncentive", "findByUdid", "fetchUserTransactionEvent", "createPin", "updateGameAppVersion", "findOne", "createAnalyticsEvent", "uploadFiles", "uploadFiles", "getVerificationPendingCredentials", "updatePaymentMethodStatus", "deleteBySocialIdIn", "loginSdk", "downloadLogFile", "getReportsByUser", "verifyMobile", "checkForUpdates", "getLiveApplicationEvents", "verifyPublisherStatus", "updateUserSearchHistory", "createNewAccessTokenFromRefreshToken", "resetCasinoPasswordRequest", "findByBanner", "assignNewPublisherToGameApp", "changeCasinoPassword", "findPaymentMethodInfo", "forcePurgeUser", "findByCriteria", "findOne", "suspendPublisher", "findOne", "fetchPaymentMethodStatus", "getAllPayoutTransactions", "findOne", "getBetcadeAppInfo", "fetchUserKYCHistory", "create" ], "detail": null, "error": false, "message": "Fetching project service names successful." }
GETFetch Payment Provider Gateway Detail
- Description
- Fetches a payment provider gateway by passing an id.
- Request Endpoint
- GET https://<Example api server address>/admin/payment/provider/gateway/{id}
- Parameters
Parameter Type Use Description id String Required The gateway id. - cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/payment/provider/gateway/id'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "5c0d464a-ce3d-408c-858b-ab7fa465d13e", "deleted": false, "name": "psp123", "externalId": "EX123" }, "detail": null, "error": false, "message": "Fetching payment provider gateway successful." }
GETFetch Reject Transaction Reason Detail
- Description
- Fetches details of an existing reject transaction reason.
- Request Endpoint
- GET https://<Example api server address>/admin/reject/reason/{id}
- Parameters
Parameter Type Use Description id String Required UUID of an existing reject transaction reason. - cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/reject/reason/id'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "3ad8fb65-8e3f-4792-99e9-5e623a701425", "deleted": false, "reason": "Rejected by Casino - Fraud" }, "detail": null, "error": false, "message": "Fetching reject transaction reason detail successful." }
GETFetch Single Admin User
- Description
- Fetch a single admin user record.
- Request Endpoint
- GET https://<Example api server address>/admin/user/{id}
- Parameters
Parameter Type Use Description id String Required uuid of the admin user. - cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/user/id'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "6e99ee70-8094-4c3c-b42f-bd2a7c144b87", "email": "admin@gmail.com", "firstName": "Admin", "loginId": "admin", "lastName": "User", "role": "SUPER_ADMIN" }, "detail": null, "error": false, "message": "Fetching single admin user record successful" }
GETFind One Affiliate (By Id)
- Description
- Fetches an existing affiliate by Id.
- Request Endpoint
- GET https://<Example api server address>/admin/affiliate/{id}
- Parameters
Parameter Type Use Description id String Required UUID of an affiliate. - cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/affiliate/id'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "ffe5c6a3-58b6-4636-88fe-6bcc168e0758", "deleted": false, "launchMode": "DEEPLINKS" } ], "detail": null, "error": false, "message": "Fetching affiliates info successful" }
GETLogout Admin User
- Description
- Logout an admin user from the Example account.
- Request Endpoint
- GET https://<Example api server address>/logout/admin/{id}
- Parameters
Parameter Type Use Description id String Required The UUID of an admin user. - cURL syntax
curl --include \ 'https://core.dev.Example.net/api/logout/admin/id'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": true, "detail": null, "error": false, "message": "Admin user logout successful." }
POSTResend Admin Email Token
- Description
- Resends a token to the email address. Role can be one of:
- "SUPER_ADMIN" or
- "MARKETING_ADMIN" or
- "CUSTOMER_SUPPORT_USER"
- Request Endpoint
- POST https://<Example api server address>admin/user/resend/email/token
- Parameters
- None.
- cURL syntax
curl --include \ --request POST \ --header "Content-Type: application/json" \ --data-binary "{ \"emailActionType\": \"REGISTER\", \"emailAddress\":\"san.sh555@gmail.com\" }" \ 'https://core.dev.Example.net/api/admin/user/resend/email/token'
- POST body
Headers: Content-Type: application/json
{ "emailActionType": "REGISTER", "emailAddress": "san.sh555@gmail.com" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": true, "detail": null, "error": false, "message": "Resending email token successful" }
POSTResetting an Admin User Password
- Description
- A link is sent to an email address to reset the password when an admin user forgets his password. Use the token sent to your email address to verify the admin user.
- Request Endpoint
- POST https://<Example api server address>/admin/user/reset/password
- Parameters
- None.
- cURL syntax
curl --include \ --request POST \ 'https://core.dev.Example.net/api/admin/user/reset/password'
- POST body
Headers: Content-Type: application/json
{ "emailAddress": "san.sh555@gmail.com" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": true, "detail": null, "error": false, "message": "Resetting the admin user password link successful" }
GETSearch Admin Users
- Description
- Search for admin users.
- Request Endpoint
- GET https://<Example api server address>/admin/user/search?searchType=EMAIL&keyword=abc@gmail.com&offset=0&limit=1
- Parameters
Parameter Type Use Description searchType String Required Search by type, for example "EMAIL". keyword String Required The type's format, for example "abc@gmail.com" offset Integer Optional Enables an offset to the pagination. limit Integer Optional Sets a limit to the pagination. - cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/user/search?searchType=EMAIL&keyword=abc@gmail.com&offsset=0&limit=1
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "content": [ { "id": "9b4d2556-e307-4c2b-8d56-7216170e4b5c", "email": "ivishwas.s@gmail.com", "firstName": "Vishwas", "loginId": "vishwas", "lastName": "Shashidhar", "role": "MARKETING_ADMIN" } ], "last": true, "totalPages": 1, "totalElements": 1, "size": 70, "number": 0, "sort": null, "first": true, "numberOfElements": 1 }, "detail": null, "error": false, "message": "Searching admin users successful" }
PUTUpdate Admin User Password After Force Reset PIN
- Description
- Changes the admin user password to those who are intimated to change their password.
- Request Endpoint
- PUT https://<Example api server address>/admin/update/password
- Parameters
- None.
- cURL Syntax
curl --include \ --request PUT \ --header "Content-Type: application/json" \ --data-binary "{ \"email\" : \"shruti@gmial.com\", \"password\" : \"Dbq@124\", \"confirmPassword\" : \"Dbq@124\" }" \ 'https://core.dev.Example.net/api/admin/update/password'
- PUT body attributes (JSON)
Attribute Type Use Description String Required Email address of an Admin User. password
String Required Password for an admin user. Must contain a combination of at least: an upper character, a lower character, a number, a symbol, and must be a minimum of 6 characters. confirmPassword
String Required Re-enter the password. - PUT body
Headers: Content-Type: application/json
{ "email": "shruti@gmial.com", "password": "Dbq@124", "confirmPassword": "Dbq@124" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": true, "detail": null, "error": false, "message": "Updating Admin User password successful.", "code": "1000" }
PUTUpdate Affiliate
- Description
- Request Endpoint
- PUT https://<Example api server address>/admin/affiliate/{id}
- Parameters
Parameter Type Use Description id String Required UUID of an affiliate. - cURL syntax
curl --include \ --request PUT \ --header "Content-Type: application/json" \ --data-binary "{ \"launchMode\" : \"API\" }" \ 'https://core.dev.Example.net/api/admin/affiliate/id'
- PUT body attributes (JSON)
Attribute Type Use Description launchMode
String Required Unique launchMode. It can be "INTENT", "DEEPLINK", or "API". - PUT body
Headers: Content-Type: application/json
{ "launchMode": "API" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "ffe5c6a3-58b6-4636-88fe-6bcc168e0758", "deleted": false, "launchMode": "API" }, "detail": null, "error": false, "message": "Updating affiliate successful." }
PUTUpdate an Admin User
- Description
- Updates an existing admin user. This role can be either:
- "SUPER_ADMIN"
- "MARKETING_ADMIN"
- "CUSTOMER_SUPPORT_USER"
- Request Endpoint
- PUT https://<Example api server address>/admin/user/{id}
- Parameters
Parameter Type Use Description id String Required uuid of the admin user. - cURL syntax
curl --include \ --request PUT \ --header "Content-Type: application/json" \ --data-binary "{ \"firstName\":\"manish\", \"lastName\": \"akshdkas\", \"loginId\":\"manishm7\", \"role\": \"MARKETING_ADMIN\" }" \ 'https://core.dev.Example.net/api/admin/user/id'
- PUT body
Headers: Content-Type: application/json
{ "firstName": "manish", "lastName": "akshdkas", "role": "MARKETING_ADMIN" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "ac35adb7-3b2d-42a7-bff2-d7d858a334e2", "updatedBy": "", "blockStatus": "NORMAL", "email": "manish7@gmail.com", "firstName": "manish", "loginId": "manishm7", "lastName": "akshdkas, "registrationDate": 1460354771195 }, "detail": null, "error": false, "message": "Updating admin user successful" }
PUTUpdate (Application Affiliate)
- Description
- Updates an existing application affiliate.
- Request Endpoint
- PUT https://<Example api server address>/admin/application/affiliate/{id}
- Parameters
Parameter Type Use Description id String Required UUID of a casino affiliate. - cURL syntax
curl --include \ --request PUT \ --header "Content-Type: application/json" \ --data-binary "{ \"current\":true, \"affiliateLaunchMode\":\"xngfwVGtUM\", \"affiliateLaunchData\":{ \"data\":\"SDKFG\" } }" \ 'https://core.dev.Example.net/api/admin/application/affiliate/id'
- PUT body attributes (JSON)
Attribute Type Use Description affiliateLaunchMode
String Required Unique launchMode. It can be "INTENT", "DEEPLINK", or "API". affiliateLaunchData
String Required Unique launch data. current
Boolean Required Sets whether current or not. - PUT body
Headers: Content-Type: application/json
{ "affiliateLaunchMode": "INTENT", "affiliateLaunchData": { "data": "SDKFG" }, "current": true }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "2ccf4cc3-55a5-471c-93c0-85f3ad9d4e7b", "deleted": false, "affiliateLaunchMode": "INTENT", "affiliateLaunchData": { "data": "SDKFG" }, "casino": { "id": "2ffc77e5-6dea-45a7-8b40-bb19e9b2615a", "deleted": false, "name": "DgDvmvkDXG", "videoUrl": null, "imageUrl": null, "description": null, "website": null, "icon": null, "banner": null, "deletedBy": null, "deletedOn": null, "operatorStatus": "INVITED", "email": "5b5afdb68dc4469d93432c263e57625b@gmail.com", "userRole": "OPERATOR", "firstName": null, "lastName": null, "address": null, "externalId": null, "featuredAppId": null, "latestAppId": null }, "current": true }, "detail": null, "error": false, "message": "Updating casino affiliate successful" }
PUTUpdate Payment Options
- Description
- Request Endpoint
- PUT https://<Example api server address>/admin/paymentoption/{id}
- Parameters
Parameter Type Use Description id String Required The payment id that was created. - cURL syntax
curl --include \ --request PUT \ --header "Content-Type: application/json" \ --data-binary "{ \"name\":\"MasterCard\", \"countries\":[ \"India\", \"USA\", \"England\" ], \"logo\":\"logoimagename\", \"enabled\":true }" \ 'https://core.dev.Example.net/api/admin/paymentoption/id'
- PUT body attributes (JSON)
Attribute Type Use Description name
String Required The payment method name. countries
Array Optional An array of country names. logo
String Optional Logo image name of the payment method. enabled
Boolean Optional True / false. - PUT body
Headers: Content-Type: application/json
{ "name": "MasterCard", "countries": [ "India", "USA", "England" ], "logo": "logoimagename", "enabled": true }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "3ed17309-945d-4e7d-bf5a-a3832007b303", "deleted": false, "name": "MasterCard", "countries": [ "India", "USA", "England" ], "logo": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/logoimagename", "enabled": true }, "detail": null, "error": false, "message": "Updating payment options successful." }
PUTUpdate Payment Provider Gateway
- Description
- Adds a new payment provider gateway.
- Request Endpoint
- PUT https://<Example api server address>/admin/payment/provider/gateway/{id}
- Parameters
Parameter Type Use Description id String Required UUID of an existing payment provider gateway. - cURL syntax
curl --include \ --request PUT \ --header "Content-Type: application/json" \ --data-binary "{ \"name\" : \"psp123\", \"externalId\" : \"EX456\" }" \ 'https://core.dev.Example.net/api/admin/payment/provider/gateway/id'
- PUT body attributes (JSON)
Attribute Type Use Description name
String Required An unique name for the payment provider gateway. externalId
String Required External Id for the payment provider gateway. - PUT body
Headers: Content-Type: application/json
{ "name": "psp123", "externalId": "EX456" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "5c0d464a-ce3d-408c-858b-ab7fa465d13e", "deleted": false, "name": "psp123", "externalId": "EX456" }, "detail": null, "error": false, "message": "Updating payment provider gateway successful." }
PUTUpdate Reject Transaction Reason
- Description
- Updates an existing reject reason.
- Request Endpoint
- PUT https://<Example api server address>/admin/reject/reason
- Parameters
- None.
- cURL syntax
curl --include \ --request PUT \ --header "Content-Type: application/json" \ --data-binary "{ \"rejectReasonId\" : \"153fb4ea-96b9-4ec9-b5d9-1f1324d56192\", \"reason\" : \"Rejected by Casino - Fraud\" }" \ 'https://core.dev.Example.net/api/admin/reject/reason'
- PUT body attributes (JSON)
Attribute Type Use Description rejectReasonId
String Required UUID of an existing reject reason. reason
String Required Reason for rejecting the transaction. - PUT body
Headers: Content-Type: application/json
{ "rejectReasonId": "153fb4ea-96b9-4ec9-b5d9-1f1324d56192", "reason": "Rejected by Casino - Fraud" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "153fb4ea-96b9-4ec9-b5d9-1f1324d56192", "deleted": false, "reason": "Rejected by Casino - Fraud" }, "detail": null, "error": false, "message": "Updating reject transaction reason successful." }
GETVerify Admin User Email Token
- Description
- Verifies the admin user by token which is sent to the given email address. This role can be either:
- "SUPER_ADMIN"
- "MARKETING_ADMIN"
- "CUSTOMER_SUPPORT_USER"
- Request Endpoint
- GET https://<Example api server address>/admin/user/email/verify/{token}/
- Parameters
Parameter Type Use Description token String Required Token that is sent to the email address. - cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/user/email/verify/encodedEmail/token/actionType'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": true, "detail": null, "error": false, "message": "Admin email token verified successfully" }
PUTWhitelisting an Existing User
- Description
- Whitelists an existing user.
- Request Endpoint
- PUT https://<Example api server address>/admin/user/whitelist
- Parameters
- None.
- cURL syntax
curl --include \ --request PUT \ 'https://core.dev.Example.net/api/admin/user/id/whitelist'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": true, "detail": null, "error": false, "message": "Whitelisting an User successful." }
PUTWhitelisting an Existing User Payment Method
- Description
- Whitelists an existing user payment method.
- Request Endpoint
- PUT https://<Example api server address>/admin/{id}/user/{paymentid}/whitelist
- Parameters
Parameter Type Use Description id String Required UUID of an existing user. paymentId String Required UUID of a payment method of a user. - cURL syntax
curl --include \ --request PUT \ 'https://core.dev.Example.net/api/admin/id/user/paymentid/whitelist'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": true, "detail": null, "error": false, "message": "Whitelisting an User Payment method successful." }