Skip to main content

Crate payrail_core

Crate payrail_core 

Source
Expand description

Provider-neutral payment abstractions for PayRail.

Structs§

CaptureRequest
Capture request.
CaptureResponse
Capture response.
CardPaymentMethod
Card payment marker.
CountryCode
ISO 3166-1 alpha-2 country code.
CreatePaymentRequest
Request to create a payment.
CreatePaymentRequestBuilder
Builder for CreatePaymentRequest.
CryptoPaymentMethod
Crypto payment configuration.
CurrencyCode
ISO 4217 currency code.
Customer
Optional customer details attached to a payment request.
IdempotencyKey
Idempotency key used to make provider write operations retry-safe.
MerchantReference
Merchant reference.
MinorAmount
Integer amount in the smallest currency unit.
MobileMoneyPaymentMethod
Mobile Money payment configuration.
Money
Money represented in minor units.
PayPalPaymentMethod
PayPal payment marker.
PaymentEvent
Normalized payment event.
PaymentId
PayRail payment identifier.
PaymentSession
Normalized payment creation response.
PaymentStatusResponse
Normalized payment status response.
PhoneNumber
Validated E.164-style phone number.
ProviderErrorDetails
Redacted provider error details safe to expose to application code.
ProviderReference
Provider reference.
RefundRequest
Refund request.
RefundResponse
Refund response.
StablecoinPaymentMethod
Stablecoin payment configuration.
WebhookEventId
Webhook event identifier.
WebhookRequest
Raw webhook request data required for verification.

Enums§

CryptoAsset
Crypto asset.
CryptoNetwork
Crypto settlement network.
Environment
Provider environment.
MobileMoneyOperator
Mobile Money operator.
NextAction
Action the application or payer must take next.
PaymentError
PayRail error type.
PaymentEventType
Normalized payment event type.
PaymentMethod
Provider-neutral payment method.
PaymentProvider
Supported payment providers.
PaymentStatus
Normalized payment status.
StablecoinAsset
Stablecoin asset.

Traits§

CapturablePaymentConnector
Optional capture capability.
PaymentConnector
Base payment connector operations.

Type Aliases§

Metadata
Request metadata.