Skip to content

Conversation

kashif-m
Copy link
Contributor

@kashif-m kashif-m commented Jun 4, 2024

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

Closes #4873

Additional Changes

  • This PR modifies the API contract
  • This PR modifies the database schema
  • This PR modifies application configuration/environment variables

Motivation and Context

New payout connector for processing bank transfers across the globe

How did you test it?

Tested locally using SEPA bank transfers.

  • Create and fulfill a regular payout
--header 'Content-Type: application/json' \
--header 'api-key: dev_XhH91FQTTImKOhMZRLkDoFDtRdonZXh6OiVc86ytl2uQ9GypNeBVThSLhGLFA0xY' \
--data-raw '{
    "amount": 100,
    "currency": "EUR",
    "customer_id": "cus_VBGzaXfSY4EWNedRITF0",
    "email": "[email protected]",
    "name": "John Doe",
    "phone": "999999999",
    "phone_country_code": "+65",
    "description": "Its my first payout request",
    "payout_type": "bank",
    "priority": "regular",
    "payout_method_data": {
        "bank": {
            "iban": "NL57INGB4654188101"
        }
    },
    "connector": [
        "adyenplatform"
    ],
    "billing": {
        "address": {
            "line1": "Raadhuisplein",
            "line2": "92",
            "city": "Hoogeveen",
            "state": "FL",
            "zip": "7901 BW",
            "country": "NL",
            "first_name": "John",
            "last_name": "Doe"
        },
        "phone": {
            "number": "0650242319",
            "country_code": "+31"
        }
    },
    "entity_type": "Individual",
    "recurring": true,
    "metadata": {
        "ref": "123"
    },
    "confirm": true,
    "auto_fulfill": false
}'

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code
  • I added unit tests for my changes where possible

@kashif-m kashif-m self-assigned this Jun 4, 2024
@kashif-m kashif-m requested review from a team as code owners June 4, 2024 14:06
Narayanbhat166
Narayanbhat166 previously approved these changes Jun 5, 2024
@Gnanasundari24 Gnanasundari24 enabled auto-merge June 5, 2024 11:38
@Gnanasundari24 Gnanasundari24 added this pull request to the merge queue Jun 5, 2024
Merged via the queue into main with commit 32cf06c Jun 5, 2024
@Gnanasundari24 Gnanasundari24 deleted the adyenplatform_integ branch June 5, 2024 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Integrate AdyenPlatform for processing payouts
5 participants