Skip to main content

Crate payrail

Crate payrail 

Source
Expand description

PayRail facade crate.

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.
PayRail
Facade entry point.
PayRailBuilder
Builder for PayRailClient.
PayRailClient
PayRail facade client.
PaymentEvent
Normalized payment event.
PaymentId
PayRail payment identifier.
PaymentRouter
Provider router used by the facade.
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§

BuiltinProvider
Built-in payment providers with cheap copy semantics.
CheckoutUiMode
Checkout user interface mode.
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.

Type Aliases§

Metadata
Request metadata.