POST
/
V2.01
/
{ClientId}
/
payins
/
payment-methods
/
googlepay
{
    "AuthorId":"6697855",
    "CreditedWalletId":"6697856",
    "DebitedFunds":{
        "Currency":"EUR",
        "Amount":1000
    },
    "Fees":{
        "Currency":"EUR",
        "Amount":0
    },
    "StatementDescriptor":"Statement",
    "Tag":"Google Pay PayIn",
    "IpAddress":"159.180.248.187",
    "SecureModeReturnURL":"https://docs.mangopay.com/please-ignore",
    "SecureMode":"DEFAULT",
    "ReturnURL":"https://docs.mangopay.com/please-ignore",
    "BrowserInfo":{
       "AcceptHeader":"application/json,text/javascript,*/*;q=0.01<",
        "JavaEnabled":true,
        "Language":"fr",
        "ColorDepth":32,
        "ScreenHeight":667,
        "ScreenWidth":375,
        "TimeZoneOffset":"-120",
        "UserAgent":"Mozilla/5.0 (iPhone; CPU iPhone OS 13_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148",
        "JavascriptEnabled":true
    },
    "PaymentData":"{\"signature\":\"MEUCIQDc49/Bw1lTk8ok2fUe4UT2q955C01N2av40WJ28pMt0QIgBxiXHZbccHuqEQHyNJJw8SM337fxd8A3kJFqhsf4pHo\\u003d\",\"intermediateSigningKey\":{\"signedKey\":\"{\\\"keyValue\\\":\\\"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE8bX5bzBELcoJ1pPhEHtTIhpZQsRgVIMtRf9R5yRyC9c9WH8bvgxIx40qH4aQ+btVM/rwKuDE8cs+dERH2gjUjw\\\\u003d\\\\u003d\\\",\\\"keyExpiration\\\":\\\"1688804022772\\\"}\",\"signatures\":[\"MEUCIF2OifAlN5PG+isU+xxX8/OU5MTk81hBulSmp9bu8caDAiEAkdRqb8uo4CUx4kMiA317A1b+5BxRUc/8+QMyc9Ikjfg\\u003d\"]},\"protocolVersion\":\"ECv2\",\"signedMessage\":\"{\\\"encryptedMessage\\\":\\\"tsTuUpytOkm8ENo1PpyzsHk6jxGDus/sSNQwqZeoPNw/NMQX2LJxJ6OTS4Yt+iNM7v4iuFC0eUWiy58xCQHKANeO/y66GJWMaDjPW2FBqBksb1WHXxP5KmgglACSqXtOMmjuYxVT6MeO4EfdsT4vGHRP0adP+Lkfj1tfjM1K0HyRWbLcwU9YXU0j83wV3PW28oxdFY5F4DC+Bhk7J5bZhIf5jymRXy3sR0kDoE/Qi4fUIdvgoHzi6MvppxCaEgwCygvfxu+vddP/7dshnL9+OFaDpoAp6is8I4UYbscNHkLosfBPwyUtndLMkDfNKUJ3yus92KSfbcK0iif3kXSMmV6ZrN873S7f27bsCsHhAlywOFpACorBNO8FzX/ediCsSi+n5kWOxe9oewGOeME2RNTsoy8an23be8yTek3YKajIhJRFW/9OtVnNmKOqwgw0F8nPFTjuSVPZbkinYS46Tr+KjOcr5aznEElkmk6OWgX1xSVkHZPpoW8XZdhB6Vs/5eWP6URncDZYN2EWtpWuz1+CAVKEjD95gcQGvzhmlPB0duiV76psDik8ojf2B6QfPJxV\\\",\\\"ephemeralPublicKey\\\":\\\"BJ0QIVwltj1vH2NAmYgUYBRrNymcOtTTP3QJnSc+enFGigIhNS87PZyA0PZ4iT/tifOqBj6barpJMwSQeO3nbJ0\\\\u003d\\\",\\\"tag\\\":\\\"R0iTOk4bogyVkf0STTvdiFq4kebJS7GN5/zxoBuCNNs\\\\u003d\\\"}\"}",
    "Billing":{
        "FirstName":"Arthur",
        "LastName":"Doe",
        "Address":{
            "AddressLine1":"The Oasis",
            "AddressLine2":"Rue des Plantes",
            "City":"Paris",
            "Region":"Ile de France",
            "PostalCode":"75001",
            "Country":"FR"
        }
    },
    "Shipping":{
        "FirstName":"John",
        "LastName":"Doe",
        "Address":{
            "AddressLine1":"The Oasis",
            "AddressLine2":"Rue des Plantes",
            "City":"Paris",
            "Region":"Ile de France",
            "PostalCode":"2345",
            "Country":"FR"
        }
    }
}  
{
    "Id": "wt_7607f14c-2929-431c-a989-ea4f48352ead",
    "Tag": "Created using the Mangopay API Postman collection",
    "CreationDate": 1706097560,
    "AuthorId": "213407540",
    "DebitedFunds": {
        "Currency": "EUR",
        "Amount": 100
    },
    "CreditedFunds": {
        "Currency": "EUR",
        "Amount": 100
    },
    "Fees": {
        "Currency": "EUR",
        "Amount": 0
    },
    "Status": "SUCCEEDED",
    "ResultCode": "000000",
    "ResultMessage": "Success",
    "ExecutionDate": 1706097562,
    "Type": "PAYIN",
    "Nature": "REGULAR",
    "CreditedWalletId": "213407543",
    "CreditedUserId": "213407540",
    "PaymentType": "GOOGLE_PAY",
    "ExecutionType": "DIRECT",
    "StatementDescriptor": "Mangopay",
    "SecureMode": "DEFAULT",
    "SecureModeReturnURL": "https://docs.mangopay.com/please-ignore",
    "SecureModeRedirectURL": null,
    "SecureModeNeeded": false,
    "SecurityInfo": null,
    "BrowserInfo": {
        "AcceptHeader": "application/json,text/javascript,*/*;q=0.01<",
        "JavaEnabled": true,
        "Language": "fr",
        "ColorDepth": 32,
        "ScreenHeight": 667,
        "ScreenWidth": 375,
        "TimeZoneOffset": -120,
        "UserAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148",
        "JavascriptEnabled": true
    },
    "IpAddress": "ddcd:543d:1cd4:a9e4:7a29:6cd1:93b6:772d",
    "CardInfo": {
        "BIN": "555555",
        "IssuingBank": "CIAGROUP",
        "IssuerCountryCode": "BR",
        "Type": "DEBIT",
        "SubType": "PREPAID",
        "Brand": "MASTERCARD"
    }
}  

Body parameters

AuthorId
string
required
The unique identifier of the user at the source of the transaction.
CreditedWalletId
string
required
The unique identifier of the credited wallet.
DebitedFunds
object
required
Information about the debited funds.
Fees
string
required
Information about the fees taken by the platform for this transaction (and hence transferred to the Fees Wallet).
StatementDescriptor
string
Max. length: 10 characters; only alphanumeric and spacesCustom description to appear on the user’s bank statement along with the platform name. Different banks may show more or less information. See the Customizing bank statement references article for details.
Tag
string
Max. length: 255 charactersCustom data that you can add to this object.
For transactions (pay-in, transfer, payout), you can use this parameter to identify corresponding information regarding the user, transaction, or payment methods on your platform.
IpAddress
string
required
The IP address of the end user initiating the transaction, in IPV4 or IPV6 format.
SecureModeReturnURL
string
required
Max. length: 255 charactersThe URL to which users are automatically returned after 3DS2 if it is triggered (i.e., if the SecureModeNeeded parameter is set to true).
SecureMode
string
Allowed values: DEFAULT, FORCE, NO_CHOICEDefault value: DEFAULTThe mode applied for the 3DS2 protocol for CB, Visa, and Mastercard. The options are:
  • DEFAULT – Requests an exemption to strong customer authentication (SCA), and thus a frictionless payment experience, if allowed by your Mangopay contract and accepted by the issuer.
  • FORCE – Requests SCA.
  • NO_CHOICE – Leaves the choice to the issuer whether to allow for a frictionless payment experience or to enforce SCA.
BrowserInfo
object
required
Information about the browser used by the end user (author) to perform the payment.
PaymentData
string
required
The data returned by Google Pay containing information about the payment.
Billing
string
Default value: FirstName, LastName, and Address information of the Shipping object if supplied.Information about the end user billing address. If left empty, the default values will be automatically taken into account.
Shipping
string
Default value: FirstName, LastName, and Address information of the Billing object, if supplied, otherwise of the user (author).Information about the end user’s shipping address. If left empty, the default values will be automatically taken into account.
ProfilingAttemptReference
string
The unique reference generated for the profiling session, used by the fraud prevention solution to produce recommendations for the transaction using the profiling data.Note: Parameter not returned by the API. Profiling feature available on request – contact Mangopay via the Dashboard for more information.

Responses

{
    "Id": "wt_7607f14c-2929-431c-a989-ea4f48352ead",
    "Tag": "Created using the Mangopay API Postman collection",
    "CreationDate": 1706097560,
    "AuthorId": "213407540",
    "DebitedFunds": {
        "Currency": "EUR",
        "Amount": 100
    },
    "CreditedFunds": {
        "Currency": "EUR",
        "Amount": 100
    },
    "Fees": {
        "Currency": "EUR",
        "Amount": 0
    },
    "Status": "SUCCEEDED",
    "ResultCode": "000000",
    "ResultMessage": "Success",
    "ExecutionDate": 1706097562,
    "Type": "PAYIN",
    "Nature": "REGULAR",
    "CreditedWalletId": "213407543",
    "CreditedUserId": "213407540",
    "PaymentType": "GOOGLE_PAY",
    "ExecutionType": "DIRECT",
    "StatementDescriptor": "Mangopay",
    "SecureMode": "DEFAULT",
    "SecureModeReturnURL": "https://docs.mangopay.com/please-ignore",
    "SecureModeRedirectURL": null,
    "SecureModeNeeded": false,
    "SecurityInfo": null,
    "BrowserInfo": {
        "AcceptHeader": "application/json,text/javascript,*/*;q=0.01<",
        "JavaEnabled": true,
        "Language": "fr",
        "ColorDepth": 32,
        "ScreenHeight": 667,
        "ScreenWidth": 375,
        "TimeZoneOffset": -120,
        "UserAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148",
        "JavascriptEnabled": true
    },
    "IpAddress": "ddcd:543d:1cd4:a9e4:7a29:6cd1:93b6:772d",
    "CardInfo": {
        "BIN": "555555",
        "IssuingBank": "CIAGROUP",
        "IssuerCountryCode": "BR",
        "Type": "DEBIT",
        "SubType": "PREPAID",
        "Brand": "MASTERCARD"
    }
}  
{
    "AuthorId":"6697855",
    "CreditedWalletId":"6697856",
    "DebitedFunds":{
        "Currency":"EUR",
        "Amount":1000
    },
    "Fees":{
        "Currency":"EUR",
        "Amount":0
    },
    "StatementDescriptor":"Statement",
    "Tag":"Google Pay PayIn",
    "IpAddress":"159.180.248.187",
    "SecureModeReturnURL":"https://docs.mangopay.com/please-ignore",
    "SecureMode":"DEFAULT",
    "ReturnURL":"https://docs.mangopay.com/please-ignore",
    "BrowserInfo":{
       "AcceptHeader":"application/json,text/javascript,*/*;q=0.01<",
        "JavaEnabled":true,
        "Language":"fr",
        "ColorDepth":32,
        "ScreenHeight":667,
        "ScreenWidth":375,
        "TimeZoneOffset":"-120",
        "UserAgent":"Mozilla/5.0 (iPhone; CPU iPhone OS 13_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148",
        "JavascriptEnabled":true
    },
    "PaymentData":"{\"signature\":\"MEUCIQDc49/Bw1lTk8ok2fUe4UT2q955C01N2av40WJ28pMt0QIgBxiXHZbccHuqEQHyNJJw8SM337fxd8A3kJFqhsf4pHo\\u003d\",\"intermediateSigningKey\":{\"signedKey\":\"{\\\"keyValue\\\":\\\"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE8bX5bzBELcoJ1pPhEHtTIhpZQsRgVIMtRf9R5yRyC9c9WH8bvgxIx40qH4aQ+btVM/rwKuDE8cs+dERH2gjUjw\\\\u003d\\\\u003d\\\",\\\"keyExpiration\\\":\\\"1688804022772\\\"}\",\"signatures\":[\"MEUCIF2OifAlN5PG+isU+xxX8/OU5MTk81hBulSmp9bu8caDAiEAkdRqb8uo4CUx4kMiA317A1b+5BxRUc/8+QMyc9Ikjfg\\u003d\"]},\"protocolVersion\":\"ECv2\",\"signedMessage\":\"{\\\"encryptedMessage\\\":\\\"tsTuUpytOkm8ENo1PpyzsHk6jxGDus/sSNQwqZeoPNw/NMQX2LJxJ6OTS4Yt+iNM7v4iuFC0eUWiy58xCQHKANeO/y66GJWMaDjPW2FBqBksb1WHXxP5KmgglACSqXtOMmjuYxVT6MeO4EfdsT4vGHRP0adP+Lkfj1tfjM1K0HyRWbLcwU9YXU0j83wV3PW28oxdFY5F4DC+Bhk7J5bZhIf5jymRXy3sR0kDoE/Qi4fUIdvgoHzi6MvppxCaEgwCygvfxu+vddP/7dshnL9+OFaDpoAp6is8I4UYbscNHkLosfBPwyUtndLMkDfNKUJ3yus92KSfbcK0iif3kXSMmV6ZrN873S7f27bsCsHhAlywOFpACorBNO8FzX/ediCsSi+n5kWOxe9oewGOeME2RNTsoy8an23be8yTek3YKajIhJRFW/9OtVnNmKOqwgw0F8nPFTjuSVPZbkinYS46Tr+KjOcr5aznEElkmk6OWgX1xSVkHZPpoW8XZdhB6Vs/5eWP6URncDZYN2EWtpWuz1+CAVKEjD95gcQGvzhmlPB0duiV76psDik8ojf2B6QfPJxV\\\",\\\"ephemeralPublicKey\\\":\\\"BJ0QIVwltj1vH2NAmYgUYBRrNymcOtTTP3QJnSc+enFGigIhNS87PZyA0PZ4iT/tifOqBj6barpJMwSQeO3nbJ0\\\\u003d\\\",\\\"tag\\\":\\\"R0iTOk4bogyVkf0STTvdiFq4kebJS7GN5/zxoBuCNNs\\\\u003d\\\"}\"}",
    "Billing":{
        "FirstName":"Arthur",
        "LastName":"Doe",
        "Address":{
            "AddressLine1":"The Oasis",
            "AddressLine2":"Rue des Plantes",
            "City":"Paris",
            "Region":"Ile de France",
            "PostalCode":"75001",
            "Country":"FR"
        }
    },
    "Shipping":{
        "FirstName":"John",
        "LastName":"Doe",
        "Address":{
            "AddressLine1":"The Oasis",
            "AddressLine2":"Rue des Plantes",
            "City":"Paris",
            "Region":"Ile de France",
            "PostalCode":"2345",
            "Country":"FR"
        }
    }
}