GuidesAPI ReferenceChangelog
GuidesAPI ReferenceChangelog
  1. Schemas
  • Schemas
    • CardExpiry
    • InitiateCryptoPaymentDTO
    • Card
    • InitializeCryptoPaymentOutputDto
    • Customer
    • Address
    • InitiateCardPaymentDTO
    • InitializeCardPaymentOutputDto
  1. Schemas

InitiateCardPaymentDTO

{
    "reference": "order_12345",
    "currency": "USD",
    "amount": 100.5,
    "callback_url": "https://example.com/callback",
    "card": {
        "number": "4111111111111111",
        "security_code": "123",
        "expiry": {
            "month": "12",
            "year": "2025"
        }
    },
    "customer": {
        "first_name": "John",
        "last_name": "Doe",
        "email": "john.doe@example.com",
        "phone_number": "+1234567890"
    },
    "billing": {
        "city": "Lagos",
        "state": "Lagos State",
        "country": "Nigeria",
        "zip_code": "100001",
        "address1": "1234 Elm Street",
        "address2": "Apt 567"
    },
    "shipping": {
        "city": "Lagos",
        "state": "Lagos State",
        "country": "Nigeria",
        "zip_code": "100001",
        "address1": "1234 Elm Street",
        "address2": "Apt 567"
    },
    "auth_method": "3ds",
    "userDeviceDetails": {},
    "metadata": {}
}
Built with