Create network bulk feed
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
Object 1Object 2Object 3
Network Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| network | string | Yes | The network that the feed belongs to. Allowed: AMEX, MASTERCARD, VISA |
| type | string | No | Defaults to GL. The type of card network's bulk enrollment feed. |
| networkReference | string | Yes | The identifier associated with the card network's bulk enrollment feed. |
| subaccountId | uuid | Yes | The subaccount identifier. |
| expectedCardCount | integer | No | The expected number of cards that will be enrolled under this bulk feed. |
| newCards | integer | No | Defaults to 5. The number of synthetic Visa cards to create. Only valid for network: VISA. |
| accept | string | No | Defaults to application/hal+json. Allowed: application/hal+json, application/problem+json. |
Response Codes
- 201 Resource created
- 400 The server cannot or will not process the request due to something that is perceived to be a client error.
- 401 Authentication credentials were either missing or incorrect.
- 403 Authentication credentials used do not have have permissions to perform the request.
- 409 Request conflict with the current state of the target resource.
- 500 The server encountered an unexpected condition that prevented it from fulfilling the request.
Curl Example
curl --request POST \
--url https://api.astrada.co/network-bulk-feeds \
--header 'accept: application/hal+json' \
--header 'content-type: application/json' \
--data '{
"network": "AMEX",
"type": "GL",
"newCards": 5
}'
Response Example
{
"_links": {
"self": {
"href": "/network-bulk-feeds/75ea3c99-6bf5-4b16-8f68-0cdc43d75806"
}
},
"id": "75ea3c99-6bf5-4b16-8f68-0cdc43d75806",
"subaccountId": "f297d659-c13d-4219-aeaa-e10a845140a5",
"network": "MASTERCARD",
"networkReference": "G1234567",
"state": "submitted",
"type": "SMARTDATA",
"createdAt": "2024-12-19T14:45:00Z",
"updatedAt": "2024-12-19T14:45:00Z"
}